forgejo/models
Giteabot 376fa0d8c4
Forbid removing the last admin user () ()
Backport  by @yp05327

Co-authored-by: yp05327 <576951401@qq.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2024-01-16 01:51:46 +00:00
..
actions Fix schedule tasks bugs () () 2024-01-14 23:54:22 +01:00
activities Speed up loading the dashboard on mysql/mariadb () () 2024-01-15 02:01:25 +00:00
admin Next round of db.DefaultContext refactor () 2023-09-16 14:39:12 +00:00
asymkey Retry SSH key verification with additional CRLF if it failed () () 2023-12-14 12:50:26 +08:00
auth Avoid cycle-redirecting user/login page () () 2023-12-30 20:50:08 +08:00
avatars Refactor system setting () () 2023-10-05 10:37:59 +00:00
db Avoid cycle-redirecting user/login page () () 2023-12-30 20:50:08 +08:00
dbfs Fix content holes in Actions task logs file () 2023-06-28 19:07:29 +02:00
fixtures Fix comment permissions () () 2023-11-25 23:43:23 +00:00
git Fix GetCommitStatuses () () 2024-01-15 19:30:12 +01:00
issues Upgrade xorm to new version which supported update join for all supported databases () () 2023-12-31 13:57:36 +08:00
migrations handle repository.size column being NULL in migration v263 () () 2023-12-05 14:51:56 +00:00
organization Another round of db.DefaultContext refactor () () 2023-09-25 19:24:35 +02:00
packages move repository deletion to service layer () 2023-09-08 04:51:15 +00:00
perm move repository deletion to service layer () 2023-09-08 04:51:15 +00:00
project Fix comment permissions () () 2023-11-25 23:43:23 +00:00
pull refactor some functions to support ctx as first parameter () 2022-12-03 10:48:26 +08:00
repo Fix schedule tasks bugs () () 2024-01-14 23:54:22 +01:00
secret Refactor secrets modification logic () 2023-09-05 15:21:02 +00:00
shared/types Display owner of a runner as a tooltip instead of static text () 2023-05-12 08:43:27 +00:00
system Increase "version" when update the setting value to a same value as before () () 2023-11-28 01:58:39 +08:00
unit Use Set[Type] instead of map[Type]bool/struct{}. () 2023-08-30 06:55:25 +00:00
unittest Upgrade xorm () () 2023-10-19 10:56:39 +00:00
user Forbid removing the last admin user () () 2024-01-16 01:51:46 +00:00
webhook Fix comment permissions () () 2023-11-25 23:43:23 +00:00
error.go Forbid removing the last admin user () () 2024-01-16 01:51:46 +00:00
fixture_generation.go Fix yaml test () () 2023-09-27 15:05:35 +08:00
fixture_test.go Fix yaml test () () 2023-09-27 15:05:35 +08:00
main_test.go move repository deletion to service layer () 2023-09-08 04:51:15 +00:00
org.go refactor some functions to support ctx as first parameter () 2022-12-03 10:48:26 +08:00
org_team.go Use db.WithTx for AddTeamMember to avoid ctx abuse () 2023-09-16 12:54:23 +00:00
org_team_test.go Reduce usage of db.DefaultContext () 2023-09-14 17:09:32 +00:00
org_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
repo.go Refactor system setting () () 2023-10-05 10:37:59 +00:00
repo_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
repo_transfer.go Next round of db.DefaultContext refactor () 2023-09-16 14:39:12 +00:00
repo_transfer_test.go Next round of db.DefaultContext refactor () 2023-09-16 14:39:12 +00:00