gitea/modules/web
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
..
middleware Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
routing Support performance trace (#32973) 2025-01-21 18:57:07 +00:00
types Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
handler.go Prepare for support performance trace (#33286) 2025-01-15 20:05:18 +00:00
routemock_test.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
routemock.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
router_combo.go Refactor arch route handlers (#32993) 2024-12-28 03:31:46 +00:00
router_path.go Refactor package (routes and error handling, npm peer dependency) (#33111) 2025-01-06 22:45:20 +08:00
router_test.go Refactor maven package registry (#33049) 2024-12-31 05:30:52 +00:00
router.go Refactor arch route handlers (#32993) 2024-12-28 03:31:46 +00:00