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 Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
cookie.go Delete legacy cookie before setting new cookie (#31306) 2024-06-11 11:31:23 +08:00
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 Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00