0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-14 14:53:17 +01:00
gitea/modules/web/middleware
wxiaoguang 2c1ff8701a
Refactor context flash msg and global variables (#33375)
1. add `GetSiteCookieFlashMessage` to help to parse flash message
2. clarify `handleRepoHomeFeed` logic
3. remove unnecessary global variables, use `sync.OnceValue` instead
4. add some tests for `IsUsableUsername` and `IsUsableRepoName`
2025-01-25 14:36:47 +00:00
..
binding.go
cookie.go
data.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
flash.go Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
locale.go