You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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`
6 days ago
..
binding.go Refactor locale&string&template related code (#29165) 12 months ago
cookie.go Delete legacy cookie before setting new cookie (#31306) 8 months ago
data.go Refactor request context (#32956) 1 month ago
flash.go Refactor context flash msg and global variables (#33375) 6 days ago
locale.go Refactor cookie (#24107) 2 years ago