1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-04-30 04:35:06 +00:00
gitea/modules/validation
wxiaoguang 2c1ff8701a
Refactor context flash msg and global variables ()
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_test.go Validate OAuth Redirect URIs () 2024-11-28 10:50:27 +08:00
binding.go Validate OAuth Redirect URIs () 2024-11-28 10:50:27 +08:00
glob_pattern_test.go Refactor context flash msg and global variables () 2025-01-25 14:36:47 +00:00
helpers_test.go
helpers.go Refactor context flash msg and global variables () 2025-01-25 14:36:47 +00:00
refname_test.go Refactor context flash msg and global variables () 2025-01-25 14:36:47 +00:00
regex_pattern_test.go Refactor context flash msg and global variables () 2025-01-25 14:36:47 +00:00
validurl_test.go Refactor context flash msg and global variables () 2025-01-25 14:36:47 +00:00
validurllist_test.go Refactor context flash msg and global variables () 2025-01-25 14:36:47 +00:00