0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-26 15:56:10 -05:00
forgejo/models
Gusted 2236574d50 [BUG] Don't remove builtin OAuth2 applications
- When the database consistency is being run it would check for any
OAuth2 applications that don't have an existing user. However there are
few special OAuth2 applications that don't have an user set, because
they are global applications.
- This was not taken into account by the database consistency checker
and were removed if the database consistency check was being run with
autofix enabled.
- Take into account to ignore these global OAuth2 applications when
running the database consistency check.
- Add unit tests.
- Ref: https://codeberg.org/Codeberg/Community/issues/1530

(cherry picked from commit 6af8f3a3f2)
2024-04-06 07:03:41 +00:00
..
actions Cancel previous runs of the same PR automatically (#29961) 2024-03-26 16:51:56 +01:00
activities [Port] gitea#29930: Move notifications to a standalone file 2024-03-28 14:21:42 +01:00
admin
asymkey models/asymkey: Implement Tag verification 2024-04-01 13:42:11 +00:00
auth [BUG] Don't remove builtin OAuth2 applications 2024-04-06 07:03:41 +00:00
avatars Replace 10 more gt- classes with tw- (#29945) 2024-03-26 19:04:27 +01:00
db [FEAT] Mark database errors in tests as failure 2024-04-02 15:00:58 +00:00
dbfs
fixtures [TESTS] pull review deleted from gitea#29888 2024-04-03 08:13:14 +00:00
forgejo/semver
forgejo_migrations [FEAT] Configure if protected branch rule should apply to admins 2024-04-01 19:31:43 +00:00
git [FEAT] Configure if protected branch rule should apply to admins 2024-04-01 19:31:43 +00:00
issues [GITEA] Apply changes to archived labels 2024-04-03 20:14:39 +00:00
migrations Fix migration v292 (#30153) 2024-03-30 07:17:32 +01:00
organization Respect DEFAULT_ORG_MEMBER_VISIBLE setting when adding creator to org (#30013) 2024-03-26 19:04:28 +01:00
packages Fix incorrect relative/absolute URL usages (#29531) 2024-03-06 12:10:46 +08:00
perm
project Fix migration v292 (#30153) 2024-03-30 07:17:32 +01:00
pull
repo [I18N] Allow custom repo size format 2024-04-02 18:04:32 +00:00
secret Make runs-on support variable expression (#29468) 2024-03-11 23:36:59 +07:00
shared/types
system
unit
unittest [Windows] prevent ? in testdata path 2024-03-15 13:15:46 +01:00
user [BUG] Don't delete inactive emails explicitly 2024-03-29 15:14:09 +01:00
webhook Merge pull request '[TESTS] fail when log.Error is called' (#2657) from oliverpool/forgejo:fail_test_on_log_error into forgejo 2024-03-24 07:28:31 +00:00
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go
repo_transfer_test.go