0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-31 20:15:38 +01:00
gitea/routers/web/repo
Lunny Xiao 783a021889
Never use /api/v1 from Gitea UI Pages (#19318)
Reusing `/api/v1` from Gitea UI Pages have pros and cons.
Pros:
1) Less code copy

Cons:
1) API/v1 have to support shared session with page requests.
2) You need to consider for each other when you want to change something about api/v1 or page.

This PR moves all dependencies to API/v1 from UI Pages.

Partially replace #16052
2022-04-07 20:59:56 +02:00
..
activity.go
attachment.go
blame.go
branch.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
cherry_pick.go
commit.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
compare.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
download.go
editor_test.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
editor.go
http_test.go
http.go Remove git.Command.Run and git.Command.RunInDir* (#19280) 2022-04-01 10:55:30 +08:00
issue_content_history.go Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2022-04-03 17:46:48 +08:00
issue_dependency.go
issue_label_test.go
issue_label.go Move some issue methods as functions (#19255) 2022-03-29 16:57:33 +02:00
issue_lock.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
issue.go Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
lfs.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
main_test.go
middlewares.go
migrate.go Use a more general (and faster) method to sanitize URLs with credentials (#19239) 2022-03-31 10:25:40 +08:00
milestone.go
packages.go Package registry changes (#19305) 2022-04-06 03:32:09 +02:00
patch.go
projects_test.go
projects.go Move project files into models/project sub package (#17704) 2022-03-29 22:16:31 +08:00
pull_review.go
pull.go Remove git.Command.Run and git.Command.RunInDir* (#19280) 2022-04-01 10:55:30 +08:00
release_test.go
release.go
repo.go Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
search.go
setting_protected_branch.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
setting.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
settings_test.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
tag.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
topic.go
view.go
webhook.go Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
wiki_test.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
wiki.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00