1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-05-02 05:35:24 +00:00
gitea/modules
wxiaoguang b59705fa34
Add a config option to block "expensive" pages for anonymous users ()
Fix 

```
;; 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 Artifacts download api for artifact actions v4 () 2025-02-16 08:32:54 +08:00
activitypub Enable tenv and testifylint rules () 2024-12-15 10:41:29 +00:00
analyze Refactor older tests to use testify () 2025-01-09 09:21:47 +08:00
assetfs Fix unittest and repo create bug () 2024-12-31 18:45:05 +08:00
auth Fix pam auth test regression () 2025-01-09 21:09:11 +08:00
avatar
badge Update action status badge layout () 2025-03-28 15:12:47 +00:00
base Add material icons for file list () 2025-03-10 15:57:17 +08:00
cache Use test context in tests and new loop system in benchmarks () 2025-02-20 09:57:40 +00:00
charset
container Refactor sidebar assignee&milestone&project selectors () 2024-11-11 04:07:54 +08:00
csv Use test context in tests and new loop system in benchmarks () 2025-02-20 09:57:40 +00:00
dump Enable tenv and testifylint rules () 2024-12-15 10:41:29 +00:00
emoji Refactor older tests to use testify () 2025-01-09 09:21:47 +08:00
eventsource Refactor older tests to use testify () 2025-01-09 09:21:47 +08:00
fileicon Add old svg class name to git entry icon () 2025-03-14 23:11:29 +08:00
generate
git enable staticcheck QFxxxx rules () 2025-03-29 17:32:28 -04:00
gitrepo Don't create duplicated functions for code repositories and wiki repositories () 2025-03-19 11:17:19 -07:00
globallock Use test context in tests and new loop system in benchmarks () 2025-02-20 09:57:40 +00:00
graceful Refactor pprof labels and process desc () 2024-12-20 12:17:14 +08:00
gtprof enable staticcheck QFxxxx rules () 2025-03-29 17:32:28 -04:00
hcaptcha
highlight Full-file syntax highlighting for diff pages () 2025-03-09 12:51:58 +08:00
hostmatcher
htmlutil Refactor HTMLFormat, update chroma render, fix js error () 2025-01-08 03:44:32 +00:00
httpcache Refactor cache-control () 2025-03-13 07:04:50 +08:00
httplib Refactor cache-control () 2025-03-13 07:04:50 +08:00
indexer enable staticcheck QFxxxx rules () 2025-03-29 17:32:28 -04:00
issue/template Refactor older tests to use testify () 2025-01-09 09:21:47 +08:00
json Fix some migration and repo name problems () 2025-03-24 20:26:58 -07:00
label
lfs Use test context in tests and new loop system in benchmarks () 2025-02-20 09:57:40 +00:00
lfstransfer Fix LFS URL () 2025-03-10 17:36:02 +08:00
log enable staticcheck QFxxxx rules () 2025-03-29 17:32:28 -04:00
markup enable staticcheck QFxxxx rules () 2025-03-29 17:32:28 -04:00
mcaptcha
metrics
migration remove context from retry downloader () 2025-03-14 00:28:57 +00:00
nosql Refactor older tests to use testify () 2025-01-09 09:21:47 +08:00
optional Move ParseBool to optional () 2025-03-24 03:53:30 +00:00
options
packages Refactor error system () 2025-03-03 05:36:10 +00:00
paginator Only use prev and next buttons for pagination on user dashboard () 2025-03-23 19:52:43 +00:00
pprof
private Drop timeout for requests made to the internal hook api () 2025-03-21 12:52:14 -07:00
process Use test context in tests and new loop system in benchmarks () 2025-02-20 09:57:40 +00:00
proxy
proxyprotocol
public Refactor cache-control () 2025-03-13 07:04:50 +08:00
queue Use test context in tests and new loop system in benchmarks () 2025-02-20 09:57:40 +00:00
recaptcha
references enable staticcheck QFxxxx rules () 2025-03-29 17:32:28 -04:00
regexplru
repository Use filepath.Join instead of path.Join for file system file operations () 2025-03-24 14:50:28 -07:00
reqctx Add material icons for file list () 2025-03-10 15:57:17 +08:00
secret Upgrade golangci-lint to v1.64.5 () 2025-02-21 00:05:40 +08:00
session
setting Add a config option to block "expensive" pages for anonymous users () 2025-03-30 05:26:19 +00:00
sitemap
ssh Fine tune ssh related comments and code () 2024-12-15 06:07:50 +00:00
storage enable staticcheck QFxxxx rules () 2025-03-29 17:32:28 -04:00
structs Added Description Field for Secrets and Variables () 2025-03-17 19:24:54 +00:00
svg Add sub issue list support () 2024-12-24 01:54:19 +00:00
sync
system Refactor fixture loading for testing () 2024-12-30 04:06:57 +00:00
tailmsg Support performance trace () 2025-01-21 18:57:07 +00:00
templates enable staticcheck QFxxxx rules () 2025-03-29 17:32:28 -04:00
test Refactor template & test related code () 2024-12-22 15:33:19 +00:00
testlogger Use test context in tests and new loop system in benchmarks () 2025-02-20 09:57:40 +00:00
timeutil Refactor DateUtils and merge TimeSince () 2024-11-04 11:30:00 +00:00
translation Refactor error system () 2025-03-03 05:36:10 +00:00
turnstile
typesniffer Add avif image file support () 2024-11-15 00:55:50 +00:00
updatechecker
uri
user Refactor older tests to use testify () 2025-01-09 09:21:47 +08:00
util enable staticcheck QFxxxx rules () 2025-03-29 17:32:28 -04:00
validation Refactor context flash msg and global variables () 2025-01-25 14:36:47 +00:00
web Improve log format () 2025-03-08 21:47:11 +08:00
webhook Add workflow_job webhook () 2025-03-11 10:40:38 -07:00
zstd