Commit Graph

25 Commits (d9ecdcaef02346ac1980b359ed006a4f2a51349f)

Author SHA1 Message Date
Joe Chen d9ecdcaef0
all: unwrap `database.UsersStore` interface (#7708) 2024-03-27 23:18:59 -04:00
Joe Chen 202012887a
all: unwrap `database.TwoFactorsStore` interface (#7707) 2024-03-27 22:14:08 -04:00
Joe Chen 4d05804729
all: unwrap `database.RepositoriesStore` interface (#7706) 2024-03-26 23:34:31 -04:00
Joe Chen 5cf0189df1
all: unwrap `database.PermissionsStore` interface (#7701) 2024-03-23 20:46:32 -04:00
Joe Chen 3a5132b6f7
all: unwrap `database.LFSStore` interface (#7692) 2024-03-16 20:32:12 -04:00
Joe Chen 8054ffc12f
all: unwrap `database.AccessTokensStore` interface (#7670) 2024-02-20 21:47:32 -05:00
Joe Chen 3650b32ec5
chore: rename `internal/db` to `internal/database` (#7665) 2024-02-18 19:39:41 -05:00
Joe Chen 0721ef2399
refactor(db): migrate off `user_email.go` to `users.go` (#7452) 2023-05-14 20:15:47 -04:00
TheDarkUndoing 5483d97f73
gitutil: strip SSH port from submodule URL when rendering for HTML link (#7383)
Co-authored-by: Joe Chen <jc@unknwon.io>
2023-03-05 20:00:56 +08:00
Joe Chen 8350daf505
refactor(db): merge relation stores into entity stores (#7341) 2023-02-08 13:55:54 +08:00
Joe Chen 133b9d9044
refactor(db): finish migrate methods off `user.go` (#7337) 2023-02-07 23:39:00 +08:00
Joe Chen 7ff09cf359
refactor(db): migrate methods off `user.go` (#7336) 2023-02-05 16:28:47 +08:00
Joe Chen ed51686240
refactor(db): migrate methods off `user.go` (#7333) 2023-02-04 12:22:37 +08:00
Joe Chen cc4d4eacad
refactor(db): migrate methods off `user.go` (#7331) 2023-02-04 00:02:34 +08:00
Joe Chen 614382fec0
refactor(db): migrate methods off `user.go` (#7329) 2023-02-02 21:14:27 +08:00
Joe Chen 13099a7e4f
refactor(db): add `Users.Update` (#7263) 2022-11-27 15:19:44 +08:00
Joe Chen 644a3a9d78
refactor(db): migrate `ChangeUsername` off `user.go` (#7261) 2022-11-25 22:40:20 +08:00
Joe Chen 5fb29db2db
refactor(db): migrate methods off and delete deprecated methods from `user.go` (#7231) 2022-11-05 23:33:05 +08:00
Joe Chen fd798b4197
refactor(db): migrate methods off `user.go` (#7228) 2022-11-05 17:55:05 +08:00
Joe Chen 3265abfbc2
refactor(db): migrate perms methods off `user.go` (#7207) 2022-10-23 21:22:36 +08:00
Joe Chen d0a4a3401c
refactor(db): migrate avatar methods off `user.go` (#7206) 2022-10-23 20:54:16 +08:00
Joe Chen b1fefcbe50
refactor(db): migrate `Follow` off `user.go` (#7203) 2022-10-23 16:17:53 +08:00
Joe Chen 8982a42d38
refactor(db): move `User.HasForkedRepository` to `users.HasForkedRepository` (#7176)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2022-10-09 22:55:32 +08:00
Joe Chen 083c3ee659
db: refactor "action" table to use GORM (#7054)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2022-06-25 18:07:39 +08:00
Joe Chen 2e19f5a3c8
db: add tests for authentication through login sources (#7049) 2022-06-12 10:34:12 +08:00