You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules
a1012112796 3273fb9af1
use level config in main section when subsection not set level (#15176)
in previouse if a log subsetcion not set level
it will use ``info`` as default value.

this pr will make default value (``[log] -> LEVEL``) useable.

example config:
```INI
[log]
MODE = console
LEVEL = Trace

[log.console]
LEVEL =
STDERR = false
```

previous result:
```JSON
// console:
{
  "level": "info",
  ...................
}
```

after change:

```JSON
// console:
{
  "level": "track",
  ...................
}
```

Signed-off-by: a1012112796 <1012112796@qq.com>

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
3 years ago
..
analyze Exclude generated files from language statistics (#11653) 4 years ago
auth Add SameSite setting for cookies (#14900) 3 years ago
avatar Avatars and Repo avatars support storing in minio (#12516) 4 years ago
base Add some Unit-Tests (#14500) 3 years ago
cache [Vendor] Update go-redis to v8.5.0 (#13749) 3 years ago
charset Ensure that the detected charset order is set in chardet test (#12574) 4 years ago
context Add SameSite setting for cookies (#14900) 3 years ago
convert Expose resolver via API (#15167) 3 years ago
cron Cron job to cleanup hook_task table (#13080) 3 years ago
doctor Delete Labels & IssueLabels on Repo Delete too (#15039) 3 years ago
emoji Fix several render issues (#14986) 3 years ago
eventsource Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
forms Add DefaultMergeStyle option to repository (#14789) 3 years ago
generate Add gitea-vet (#10948) 4 years ago
git support gitmailmap in GetCodeActivityStats() (#15009) 3 years ago
gitgraph [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 4 years ago
graceful Make internal SSH server host key path configurable (#14918) 3 years ago
hcaptcha hCaptcha Support (#12594) 4 years ago
highlight Use existing analyzer module for language detection for highlighting (#13522) 4 years ago
httpcache Use IsProd instead of testing if it's equal. (#14336) 4 years ago
httplib Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
indexer Move Bleve and Elastic code indexers to use a common cat-file --batch (#14781) 3 years ago
lfs Fix race in LFS ContentStore.Put(...) (#14895) 3 years ago
log Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
markup Clusterfuzz found another way (#15160) 3 years ago
matchlist Add Allow-/Block-List for Migrate & Mirrors (#13610) 4 years ago
metrics Prometheus endpoint (#5256) 6 years ago
migrations [Vendor] update gitea-sdk v0.14.0 (#15103) 3 years ago
nosql [Vendor] Update go-redis to v8.5.0 (#13749) 3 years ago
notification [refactor] Unify the export of user data via API (#15144) 3 years ago
options Add StatDir and replace com.StatDir (#14099) 4 years ago
password Check passwords against HaveIBeenPwned (#12716) 4 years ago
pprof Add golangci (#6418) 5 years ago
private Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
process Reduce data races (#14549) 3 years ago
public Update docs and comments to remove macaron (#14491) 3 years ago
queue Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
recaptcha Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
references Add mentionable teams to tributeValues and change team mention rules to gh's style (#13198) 4 years ago
repofiles [Refactor] remove possible resource leak (#15067) 3 years ago
repository Update repository size on cron gc task (#15177) 3 years ago
secret Attachments: Add extension support, allow all types for releases (#12465) 4 years ago
session Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
setting use level config in main section when subsection not set level (#15176) 3 years ago
ssh Make internal SSH server host key path configurable (#14918) 3 years ago
storage Fix race in local storage (#14888) 3 years ago
structs Expose resolver via API (#15167) 3 years ago
svg Fix filepath basename on Windows for SVG bindata (#12241) 4 years ago
sync Fix missing unlock in uniquequeue (#9790) 5 years ago
task Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
templates Prevent incorrect HTML escaping in swagger.json (#14957) 3 years ago
test Move middlewares to web/middleware (#14480) 3 years ago
timeutil Fix display since time round (#14226) 3 years ago
translation Use i18n.Reset to reload locales (#15073) 3 years ago
upload Update golangci-lint to version 1.31.0 (#13102) 4 years ago
uri Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244) 4 years ago
user Add gitea-vet (#10948) 4 years ago
util [API] Add pagination to ListBranches (#14524) 3 years ago
validation Move macaron to chi (#14293) 3 years ago
web Add SameSite setting for cookies (#14900) 3 years ago