forgejo-aneksajo/services/auth
Matthias Riße ce5195eaac Add git-annex p2phttp support (#42)
This adds a new endpoint under `/git-annex-p2phttp` which acts as an
authenticating proxy to git-annex' p2phttp server. This makes it
possible to set `annex+<server-url>/git-annex-p2phttp` as
`remote.<name>.annexurl` and use git-annex fully over http(s) with the
normal credentials and access tokens provided by Forgejo.

Fixes #25.

Reviewed-on: https://codeberg.org/matrss/forgejo-aneksajo/pulls/42
Co-authored-by: Matthias Riße <m.risse@fz-juelich.de>
Co-committed-by: Matthias Riße <m.risse@fz-juelich.de>
2025-07-29 11:43:43 +02:00
..
source chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00
additional_scopes_test.go tests additional grant scopes 2024-08-09 14:58:15 +02:00
auth.go Add git-annex p2phttp support (#42) 2025-07-29 11:43:43 +02:00
auth_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
basic.go git-annex: support downloading over HTTP 2025-07-29 11:43:42 +02:00
group.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
httpsign.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00
interface.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
main_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
oauth2.go [v12.0/forgejo] Revert "feat: remove API authentication methods that uses the URL query (#7924)" (#8653) 2025-07-24 17:53:11 +02:00
oauth2_test.go [v12.0/forgejo] fix: ASCII equal fold for authorization header (#8459) 2025-07-10 01:30:07 +02:00
reverseproxy.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
reverseproxy_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
session.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
signin.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
source.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
sync.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00