Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Giteabot
21cd5c2f3d
Fix all possible setting error related storages and added some tests ( #23911 ) ( #25244 )
...
Backport #23911 by @lunny
Follow up #22405
Fix #20703
This PR rewrites storage configuration read sequences with some breaks
and tests. It becomes more strict than before and also fixed some
inherit problems.
- Move storage's MinioConfig struct into setting, so after the
configuration loading, the values will be stored into the struct but not
still on some section.
- All storages configurations should be stored on one section,
configuration items cannot be overrided by multiple sections. The
prioioty of configuration is `[attachment]` > `[storage.attachments]` |
`[storage.customized]` > `[storage]` > `default`
- For extra override configuration items, currently are `SERVE_DIRECT`,
`MINIO_BASE_PATH`, `MINIO_BUCKET`, which could be configured in another
section. The prioioty of the override configuration is `[attachment]` >
`[storage.attachments]` > `default`.
- Add more tests for storages configurations.
- Update the storage documentations.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 years ago
..
actions
Add step start time to `ViewStepLog` ( #24980 )
2 years ago
setting
Add user level action runners ( #24995 )
2 years ago
activity.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
attachment.go
Fix all possible setting error related storages and added some tests ( #23911 ) ( #25244 )
2 years ago
blame.go
Sort repo topic labels by name ( #24123 )
2 years ago
branch.go
Use the type RefName for all the needed places and fix pull mirror sync bugs ( #24634 )
2 years ago
cherry_pick.go
Rename almost all Ctx functions ( #22071 )
2 years ago
commit.go
Pass 'not' to commit count ( #24473 )
2 years ago
compare.go
Don't list root repository on compare page if pulls not allowed ( #24183 )
2 years ago
download.go
Fix all possible setting error related storages and added some tests ( #23911 ) ( #25244 )
2 years ago
editor.go
API endpoint for changing/creating/deleting multiple files ( #24887 )
2 years ago
editor_test.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
find.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
helper.go
Refactor authors dropdown (send get request from frontend to avoid long wait time) ( #23890 )
2 years ago
helper_test.go
Refactor authors dropdown (send get request from frontend to avoid long wait time) ( #23890 )
2 years ago
http.go
Redesign Scoped Access Tokens ( #24767 )
2 years ago
http_test.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
issue.go
Fix `MilestoneIDs` when querying issues ( #25125 ) ( #25141 )
2 years ago
issue_content_history.go
Move helpers to be prefixed with `gt-` ( #22879 )
2 years ago
issue_dependency.go
Add API to manage issue dependencies ( #17935 )
2 years ago
issue_label.go
Make label templates have consistent behavior and priority ( #23749 )
2 years ago
issue_label_test.go
Make label templates have consistent behavior and priority ( #23749 )
2 years ago
issue_lock.go
Fix improper HTMLURL usages in Go code ( #22839 )
2 years ago
issue_pin.go
Followup to pinned Issues ( #24945 )
2 years ago
issue_stopwatch.go
Speed up HasUserStopwatch & GetActiveStopwatch ( #23051 )
2 years ago
issue_test.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
issue_timetrack.go
Fix improper HTMLURL usages in Go code ( #22839 )
2 years ago
issue_watch.go
Rewrite logger system ( #24726 )
2 years ago
lfs.go
Introduce path Clean/Join helper functions ( #23495 )
2 years ago
main_test.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
middlewares.go
Use graceful editorconfig loader to reduce errors when loading malformed editorconfigs ( #21257 )
2 years ago
migrate.go
Make repo migration cancelable and fix various bugs ( #24605 )
2 years ago
milestone.go
Improve Gitea's web context, decouple "issue template" code into service package ( #24590 )
2 years ago
packages.go
Use dynamic package type list ( #22263 )
2 years ago
patch.go
Redirect to the commit page after applying patch ( #23056 )
2 years ago
projects.go
Merge `new project` templates into one ( #24985 )
2 years ago
projects_test.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
pull.go
Add IsErrRepoFilesAlreadyExist check when fork repo ( #24678 )
2 years ago
pull_review.go
Make Ctrl+Enter submit a pending comment (starting review) instead of submitting a single comment ( #23245 )
2 years ago
release.go
fix: release page for empty or non-existing target ( #24470 )
2 years ago
release_test.go
fix: release page for empty or non-existing target ( #24470 )
2 years ago
render.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
repo.go
Fix all possible setting error related storages and added some tests ( #23911 ) ( #25244 )
2 years ago
search.go
Fix improper HTMLURL usages in Go code ( #22839 )
2 years ago
setting.go
Hide 'Mirror Settings' when unneeded, improve hints ( #24433 )
2 years ago
setting_protected_branch.go
Support for status check pattern ( #24633 )
2 years ago
settings_test.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
tag.go
Add main landmark to templates and adjust titles ( #22670 )
2 years ago
topic.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
treelist.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
view.go
Improve Gitea's web context, decouple "issue template" code into service package ( #24590 )
2 years ago
view_test.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
webhook.go
New webhook trigger for receiving Pull Request review requests ( #24481 )
2 years ago
wiki.go
Decouple the different contexts from each other ( #24786 )
2 years ago
wiki_test.go
Make wiki title supports dashes and improve wiki name related features ( #24143 )
2 years ago