gitea/modules/validation
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_test.go
binding.go
glob_pattern_test.go Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
helpers_test.go
helpers.go Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
refname_test.go Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
regex_pattern_test.go Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
validurl_test.go Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
validurllist_test.go Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00