gitea/services
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
..
actions Added Description Field for Secrets and Variables (#33526) 2025-03-17 19:24:54 +00:00
agit Move git references checking to gitrepo packages to reduce expose of repository path (#33891) 2025-03-15 19:48:59 -07:00
asymkey Don't create duplicated functions for code repositories and wiki repositories (#33924) 2025-03-19 11:17:19 -07:00
attachment
auth Fix some migration and repo name problems (#33986) 2025-03-24 20:26:58 -07:00
automerge Move git references checking to gitrepo packages to reduce expose of repository path (#33891) 2025-03-15 19:48:59 -07:00
context Add a config option to block "expensive" pages for anonymous users (#34024) 2025-03-30 05:26:19 +00:00
contexttest Add file tree to file view page (#32721) 2025-03-15 16:26:49 +08:00
convert Decouple diff stats query from actual diffing (#33810) 2025-03-08 17:36:08 +08:00
cron Use default Git timeout when checking repo health (#33593) 2025-02-14 15:13:56 +00:00
doctor add additional ReplaceAll in pathsep to cater for different pathsep (#34061) 2025-03-30 12:46:28 +08:00
externalaccount
feed Only use prev and next buttons for pagination on user dashboard (#33981) 2025-03-23 19:52:43 +00:00
forms Add anonymous access support for private/unlisted repositories (#34051) 2025-03-29 13:26:41 +08:00
git Move commits signature and verify functions to service layers (#33605) 2025-02-16 12:24:07 +00:00
gitdiff enable staticcheck QFxxxx rules (#34064) 2025-03-29 17:32:28 -04:00
indexer
issue Pull request updates will also trigger code owners review requests (#33744) 2025-03-13 19:36:14 -07:00
lfs enable staticcheck QFxxxx rules (#34064) 2025-03-29 17:32:28 -04:00
mailer enable staticcheck QFxxxx rules (#34064) 2025-03-29 17:32:28 -04:00
markup Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
migrations Fix some migration and repo name problems (#33986) 2025-03-24 20:26:58 -07:00
mirror Fail mirroring more gracefully (#34002) 2025-03-26 18:04:46 +00:00
notify Add workflow_job webhook (#33694) 2025-03-11 10:40:38 -07:00
oauth2_provider Introduce OrgList and add LoadTeams, optimaze Load teams for orgs (#32543) 2024-11-26 21:55:06 +00:00
org Decouple context from repository related structs (#33823) 2025-03-08 13:12:46 -08:00
packages Add a config option to block "expensive" pages for anonymous users (#34024) 2025-03-30 05:26:19 +00:00
projects Fix project issues list and counting (#33594) 2025-02-17 05:14:56 +00:00
pull Move git references checking to gitrepo packages to reduce expose of repository path (#33891) 2025-03-15 19:48:59 -07:00
release Move git references checking to gitrepo packages to reduce expose of repository path (#33891) 2025-03-15 19:48:59 -07:00
repository enable staticcheck QFxxxx rules (#34064) 2025-03-29 17:32:28 -04:00
secrets Added Description Field for Secrets and Variables (#33526) 2025-03-17 19:24:54 +00:00
task
uinotification
user Refactor repository transfer (#33211) 2025-01-30 05:40:44 +00:00
versioned_migration Add global lock for migrations to make upgrade more safe with multiple replications (#33706) 2025-03-07 21:08:53 +00:00
webhook enable staticcheck QFxxxx rules (#34064) 2025-03-29 17:32:28 -04:00
webtheme Improve theme display (#30671) 2025-03-08 21:38:11 +00:00
wiki Don't create duplicated functions for code repositories and wiki repositories (#33924) 2025-03-19 11:17:19 -07:00