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 Validate OAuth Redirect URIs (#32643) 2024-11-28 10:50:27 +08:00
binding.go Validate OAuth Redirect URIs (#32643) 2024-11-28 10:50:27 +08:00
glob_pattern_test.go Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
helpers_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
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