Prepare common tmpl functions in a middleware#33957
Merged
wxiaoguang merged 3 commits intogo-gitea:mainfrom Mar 25, 2025
Merged
Prepare common tmpl functions in a middleware#33957wxiaoguang merged 3 commits intogo-gitea:mainfrom
wxiaoguang merged 3 commits intogo-gitea:mainfrom
Conversation
Contributor
Author
678be73 to
a57efe0
Compare
lunny
approved these changes
Mar 21, 2025
hiifong
approved these changes
Mar 25, 2025
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Mar 26, 2025
* giteaofficial/main: Enable color output in govulncheck (go-gitea#34012) Update Makefile test comments (go-gitea#34013) Move duplicated functions (go-gitea#33977) Git client will follow 301 but 307 (go-gitea#34005) Prepare common tmpl functions in a middleware (go-gitea#33957) Update go mod dependencies (go-gitea#33988) Fix some migration and repo name problems (go-gitea#33986) [skip ci] Updated translations via Crowdin Use filepath.Join instead of path.Join for file system file operations (go-gitea#33978) Add changelog for 1.23.6 (go-gitea#33975) Fix incorrect code search indexer options (go-gitea#33992) Auto expand "New PR" form (go-gitea#33971) Move ParseBool to optional (go-gitea#33979)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fix the TODO in
routers/web/web.go, and avoid the unnecessaryGetActiveStopwatchSQL query in non-related route handlers.