]> source.dussan.org Git - gitea.git/commit
Remove dependent on session auth for api/v1 routers (#19321)
authorLunny Xiao <xiaolunwen@gmail.com>
Fri, 8 Apr 2022 04:22:10 +0000 (12:22 +0800)
committerGitHub <noreply@github.com>
Fri, 8 Apr 2022 04:22:10 +0000 (06:22 +0200)
commit3c3d49899f0f7206e190bdeecdc4da248cc7e686
tree7d1f57f7655142b47b5adeb197943c74c1e6f8c9
parent75f8534c3a8678f4b55e557960450230cf909b93
Remove dependent on session auth for api/v1 routers (#19321)

* Remove dependent on session auth for api/v1 routers

* Remove unnecessary session on API context

* remove missed header

* fix test

* fix missed api/v1
23 files changed:
integrations/api_issue_test.go
integrations/api_org_test.go
integrations/api_releases_test.go
integrations/api_repo_topic_test.go
integrations/api_team_test.go
integrations/api_user_heatmap_test.go
integrations/integration_test.go
integrations/issue_test.go
modules/context/api.go
routers/api/v1/api.go
routers/api/v1/misc/swagger.go [deleted file]
routers/init.go
routers/web/misc/markdown.go [new file with mode: 0644]
routers/web/misc/swagger.go [new file with mode: 0644]
routers/web/web.go
services/auth/auth.go
templates/repo/diff/box.tmpl
templates/repo/diff/comment_form.tmpl
templates/repo/editor/edit.tmpl
templates/repo/issue/comment_tab.tmpl
templates/repo/issue/view_content.tmpl
templates/repo/release/new.tmpl
templates/repo/wiki/new.tmpl