gitea/routers/private
wxiaoguang b59705fa34
Add a config option to block "expensive" pages for anonymous users (#34024)
Fix #33966

```
;; User must sign in to view anything.
;; It could be set to "expensive" to block anonymous users accessing some pages which consume a lot of resources,
;; for example: block anonymous AI crawlers from accessing repo code pages.
;; The "expensive" mode is experimental and subject to change.
;REQUIRE_SIGNIN_VIEW = false
```
2025-03-30 05:26:19 +00:00
..
tests/repos Fix verifyCommits error when push a new branch (#26664) 2023-08-30 02:27:53 +00:00
actions.go Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
default_branch.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
hook_post_receive_test.go Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
hook_post_receive.go Auto expand "New PR" form (#33971) 2025-03-24 14:28:02 +00:00
hook_pre_receive.go enable staticcheck QFxxxx rules (#34064) 2025-03-29 17:32:28 -04:00
hook_proc_receive.go User facing messages for AGit errors (#33012) 2025-01-27 02:33:39 +00:00
hook_verification_test.go Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
hook_verification.go Remove context from git struct (#33793) 2025-03-04 11:56:11 -08:00
internal_repo.go [Feature] Private README.md for organization (#32872) 2024-12-31 04:22:09 +00:00
internal.go Avoid duplicate SetContextValue call (#33564) 2025-02-12 14:25:46 +08:00
key.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
mail.go Split mail sender sub package from mailer service package (#32618) 2024-11-30 01:15:41 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
manager_process.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
manager_unix.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
manager_windows.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
manager.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
restore_repo.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
serv.go Add a config option to block "expensive" pages for anonymous users (#34024) 2025-03-30 05:26:19 +00:00
ssh_log.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00