0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-06 23:03:46 +01:00
gitea/models
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
..
actions Refactor RefName (#33234) 2025-01-13 14:01:53 +08:00
activities Refactor RefName (#33234) 2025-01-13 14:01:53 +08:00
admin
asymkey
auth
avatars
db Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
dbfs
fixtures Only allow admins to rename default/protected branches (#33276) 2025-01-15 20:51:49 +00:00
git Improve sync fork behavior (#33319) 2025-01-20 15:17:47 +08:00
issues Make tracked time representation display as hours (#33315) 2025-01-19 09:30:44 +08:00
migrations Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
organization
packages
perm Support public code/issue access for private repositories (#33127) 2025-01-14 01:53:34 +00:00
project
pull Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
renderhelper
repo Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
secret
shared/types
system
unit
unittest Refactor ref type (#33242) 2025-01-14 15:35:34 +08:00
user Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
webhook Refactor webhook events (#33337) 2025-01-23 18:53:06 +00:00
main_test.go
repo_test.go
repo.go