0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-22 09:22:35 +01:00
gitea/models
Jason Song d67e40684f
Improve LoadUnitConfig to handle invalid or duplicate units (#23736)
The old code just parses an invalid key to `TypeInvalid` and uses it as
normal, and duplicate keys will be kept.

So this PR will ignore invalid key and log warning and also deduplicate
valid units.
2023-04-03 16:42:38 +08:00
..
actions Fix checks for needs in Actions (#23789) 2023-03-30 22:33:17 +08:00
activities Improve indices for action table (#23532) 2023-03-24 23:44:33 +08:00
admin
asymkey
auth Fix 500 error if there is a name conflict when edit authentication source (#23832) 2023-03-31 22:32:18 +08:00
avatars Avoid warning for system setting when start up (#23054) 2023-02-24 18:23:13 +08:00
db Test renderReadmeFile (#23185) 2023-03-09 09:24:23 +08:00
dbfs
fixtures Replace repo.namedBlob by git.TreeEntry. (#22898) 2023-03-15 16:51:39 -05:00
git Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
issues Add API to manage issue dependencies (#17935) 2023-03-28 13:23:25 -04:00
migrations Display image size for multiarch container images (#23821) 2023-04-02 17:53:37 +08:00
organization Add missing tabs to org projects page (#22705) 2023-03-10 09:18:20 -06:00
packages Add Swift package registry (#22404) 2023-03-13 15:28:39 -05:00
perm
project Use project.IconName instead of repeated unreadable if-else chains (#23538) 2023-03-19 14:44:48 +02:00
pull
repo Set repository link based on the url in package.json for npm packages (#20379) 2023-03-28 13:55:03 -04:00
secret
system Avoid warning for system setting when start up (#23054) 2023-02-24 18:23:13 +08:00
unit Improve LoadUnitConfig to handle invalid or duplicate units (#23736) 2023-04-03 16:42:38 +08:00
unittest Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
user Add login name and source id for admin user searching API (#23376) 2023-03-15 19:53:01 +08:00
webhook Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate.go
migrate_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go Avoid warning for system setting when start up (#23054) 2023-02-24 18:23:13 +08:00
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go