1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 14:11:36 +02:00
gitea/modules
wxiaoguang cc1d61f1f5
Use InitWorkPathAndCfgProvider for environment-to-ini to avoid unnecessary checks (#25480)
Fix #25481

The `InitWorkPathAndCommonConfig` calls `LoadCommonSettings` which does
many checks like "current user is root or not".

Some commands like "environment-to-ini" shouldn't do such check, because
it might be run with "root" user at the moment (eg: the docker's setup
script)

ps: in the future, the docker's setup script should be improved to avoid
Gitea's command running with "root"
2023-06-24 09:13:35 +00:00
..
actions
activitypub
analyze
assetfs
auth
avatar
base Update octicons and use octicon-file-directory-symlink (#25453) 2023-06-22 22:05:52 +00:00
cache
charset
container
context Refactor indexer (#25174) 2023-06-23 12:37:56 +00:00
csv
doctor Refactor path & config system (#25330) 2023-06-21 13:50:26 +08:00
emoji
eventsource
generate
git Fix index generation parallelly failure (#25235) 2023-06-15 02:14:43 +02:00
gitgraph
graceful
hcaptcha
highlight
hostmatcher
html
httpcache
httplib Use fetch to send requests to create issues/comments (#25258) 2023-06-16 06:32:43 +00:00
indexer Fix Init of db indexer (#25470) 2023-06-23 14:39:52 +00:00
issue/template
json
label
lfs
log
markup Refactor path & config system (#25330) 2023-06-21 13:50:26 +08:00
mcaptcha
metrics Use a separate admin page to show global stats, remove actions stat (#25062) 2023-06-03 22:03:41 +08:00
migration
mirror
nosql
notification
options
packages
paginator
pprof
private
process
proxy
proxyprotocol
public
queue
recaptcha
references
regexplru
repository Move some regexp out of functions (#25430) 2023-06-21 19:57:18 +00:00
secret
session
setting Use InitWorkPathAndCfgProvider for environment-to-ini to avoid unnecessary checks (#25480) 2023-06-24 09:13:35 +00:00
sitemap
ssh Refactor path & config system (#25330) 2023-06-21 13:50:26 +08:00
storage Fix all possible setting error related storages and added some tests (#23911) 2023-06-14 11:42:38 +08:00
structs Fix Permission in API returned repository struct (#25388) 2023-06-22 13:08:08 +00:00
svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
sync
system
templates Fix missing commit message body when the message has leading newlines (#25418) 2023-06-21 09:14:34 +00:00
test Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
testlogger Refactor path & config system (#25330) 2023-06-21 13:50:26 +08:00
timeutil
translation
turnstile
typesniffer
updatechecker
upload
uri
user
util Store and use seconds for timeline time comments (#25392) 2023-06-23 12:12:39 +00:00
validation
web Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
webhook