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.
c53ad052d8
Some bugs caused by less unit tests in fundamental packages. This PR refactor `setting` package so that create a unit test will be easier than before. - All `LoadFromXXX` files has been splited as two functions, one is `InitProviderFromXXX` and `LoadCommonSettings`. The first functions will only include the code to create or new a ini file. The second function will load common settings. - It also renames all functions in setting from `newXXXService` to `loadXXXSetting` or `loadXXXFrom` to make the function name less confusing. - Move `XORMLog` to `SQLLog` because it's a better name for that. Maybe we should finally move these `loadXXXSetting` into the `XXXInit` function? Any idea? --------- Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: delvh <dev.lh@web.de> |
1 year ago | |
---|---|---|
.. | ||
actions | 1 year ago | |
activitypub | 1 year ago | |
analyze | 1 year ago | |
auth | 1 year ago | |
avatar | 1 year ago | |
base | 1 year ago | |
cache | 1 year ago | |
charset | 1 year ago | |
container | 1 year ago | |
context | 1 year ago | |
csv | 1 year ago | |
doctor | 1 year ago | |
emoji | 1 year ago | |
eventsource | 1 year ago | |
generate | 1 year ago | |
git | 1 year ago | |
gitgraph | 1 year ago | |
graceful | 1 year ago | |
hcaptcha | 1 year ago | |
highlight | 1 year ago | |
hostmatcher | 1 year ago | |
html | 1 year ago | |
httpcache | 1 year ago | |
httplib | 1 year ago | |
indexer | 1 year ago | |
issue/template | 1 year ago | |
json | 1 year ago | |
lfs | 1 year ago | |
log | 1 year ago | |
markup | 1 year ago | |
mcaptcha | 1 year ago | |
metrics | 1 year ago | |
migration | 1 year ago | |
mirror | 1 year ago | |
nosql | 1 year ago | |
notification | 1 year ago | |
options | 1 year ago | |
packages | 1 year ago | |
paginator | 1 year ago | |
pprof | 1 year ago | |
private | 1 year ago | |
process | 1 year ago | |
proxy | 1 year ago | |
proxyprotocol | 1 year ago | |
public | 1 year ago | |
queue | 1 year ago | |
recaptcha | 1 year ago | |
references | 1 year ago | |
regexplru | 1 year ago | |
repository | 1 year ago | |
secret | 1 year ago | |
session | 1 year ago | |
setting | 1 year ago | |
sitemap | 1 year ago | |
ssh | 1 year ago | |
storage | 1 year ago | |
structs | 1 year ago | |
svg | 1 year ago | |
sync | 1 year ago | |
system | 1 year ago | |
templates | 1 year ago | |
test | 1 year ago | |
timeutil | 1 year ago | |
translation | 1 year ago | |
turnstile | 1 year ago | |
typesniffer | 1 year ago | |
updatechecker | 1 year ago | |
upload | 1 year ago | |
uri | 1 year ago | |
user | 1 year ago | |
util | 1 year ago | |
validation | 1 year ago | |
watcher | 1 year ago | |
web | 1 year ago | |
webhook | 1 year ago |