-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor web routes #30519
Refactor web routes #30519
Conversation
d9a0935
to
9192fad
Compare
a94ef9a
to
2fd0b7a
Compare
121614e
to
a74db6e
Compare
a74db6e
to
9718a2b
Compare
CI passes, hopefully nothing breaks. Even if there is any regression, it should be easy to fix, and I will fix in first time. This PR is still far from ideal, it is only slightly better than before ..... so I guess there would need more fixes in the future. |
per #30519 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's my review from before the PR was merged:
* giteaofficial/main: Add an api test for updating user (go-gitea#30539) [skip ci] Updated translations via Crowdin Expose fuzzy search for issues/pulls (go-gitea#29701) Allow everyone to read or write a wiki by a repo unit setting (go-gitea#30495) Support nuspec manifest download for nuget packages (go-gitea#28921) Fix branch_protection api shows users/teams who has no readAccess (go-gitea#30291) Correct locale string rendering (go-gitea#30522) Run `go generate` and `go vet` on all packages (go-gitea#30529) Fix and tweak pull request commit list (go-gitea#30528) Refactor web routes (go-gitea#30519) Fix install page checkboxes and dropdown width (go-gitea#30526) # Conflicts: # routers/web/user/home.go # templates/user/dashboard/issues.tmpl
Re-organize the routes in web.go and use ctx constants instead of
context.UnitTypes()