aboutsummaryrefslogtreecommitdiff
path: root/internal/db
Commit message (Collapse)AuthorAge
* refactor(db): migrate methods off `user.go` (#7336)Joe Chen2023-02-05
|
* chore: remove usages of the deprecated `ioutil` (#7332)Zachary Walters2023-02-04
| | | Co-authored-by: Joe Chen <jc@unknwon.io>
* refactor(db): migrate methods off `user.go` (#7334)Joe Chen2023-02-04
|
* refactor(db): migrate methods off `user.go` (#7333)Joe Chen2023-02-04
|
* refactor(db): migrate methods off `user.go` (#7331)Joe Chen2023-02-04
|
* all: replace `interface{}` with `any` (#7330)Joe Chen2023-02-02
| | | Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
* refactor(db): migrate methods off `user.go` (#7329)Joe Chen2023-02-02
|
* chore: fix typo in docstring (#7269)xpume2022-12-08
|
* refactor(db): migrate `UpdateUser` off `user.go` (#7267)Joe Chen2022-11-27
|
* chore: consistently use `errors.Cause` for identifying error types (#7264)Joe Chen2022-11-27
|
* refactor(db): add `Users.Update` (#7263)Joe Chen2022-11-27
|
* fix(db): update `user.updated_unix` upon changing username (#7262)Joe Chen2022-11-25
|
* refactor(db): migrate `ChangeUsername` off `user.go` (#7261)Joe Chen2022-11-25
|
* refactor(db): migrate methods off and delete deprecated methods from ↵Joe Chen2022-11-05
| | | | `user.go` (#7231)
* refactor(db): migrate methods off `user.go` (#7230)Joe Chen2022-11-05
|
* refactor(db): migrate methods off `user.go` (#7228)Joe Chen2022-11-05
|
* refactor(db): migrate methods off `user.go` and `org.go` (#7219) (#7227)Joe Chen2022-11-05
|
* refactor(db): migrate methods off `user.go` (#7219)Joe Chen2022-10-30
|
* refactor(db): migrate helpers off `user_cache.go` (#7214)Joe Chen2022-10-24
|
* test(db): add missing tests (#7208)Joe Chen2022-10-23
|
* refactor(db): migrate perms methods off `user.go` (#7207)Joe Chen2022-10-23
|
* refactor(db): migrate avatar methods off `user.go` (#7206)Joe Chen2022-10-23
|
* refactor(db): migrate password methods off `user.go` (#7205)Joe Chen2022-10-23
|
* refactor(db): migrate `Follow` off `user.go` (#7203)Joe Chen2022-10-23
|
* chore(db): remove unused field (#7202)Joe Chen2022-10-23
|
* refactor: replace `ioutil.ReadAll` with `io.ReadAll` (#7200)Joe Chen2022-10-22
|
* auth: enable authentication by token from password (#7198)Yang Liu2022-10-22
| | | Co-authored-by: Joe Chen <jc@unknwon.io>
* refactor(db): move some methods off `user.go` (#7199)Joe Chen2022-10-22
|
* refactor(db): rename `User.Passwd` to `User.Password` (#7196)Joe Chen2022-10-22
|
* refactor(db): move some methods from `user.go` to `users.go` (#7195)Joe Chen2022-10-22
|
* refactor(db): move `User.HasForkedRepository` to `users.HasForkedRepository` ↵Joe Chen2022-10-09
| | | | | (#7176) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
* go: update required version to be 1.17 and add 1.19 to CI (#7129)Joe Chen2022-08-08
| | | Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
* db: set XORM log level to error (#7078)Joe Chen2022-06-25
|
* webhook: validate against hostname instead of full URL (#7075)Joe Chen2022-06-25
|
* db: refactor "action" table to use GORM (#7054)Joe Chen2022-06-25
| | | Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
* db: skip auto migrate for existing "version" table (#7057)Joe Chen2022-06-14
|
* migrations: add tests and remove XORM (#7050)Joe Chen2022-06-12
|
* db: add tests for authentication through login sources (#7049)Joe Chen2022-06-12
|
* db: use `context` and go-mockgen for `ReposStore` (#7046)Joe Chen2022-06-11
|
* db: use `context` and go-mockgen for `TwoFactorsStore` (#7045)Joe Chen2022-06-11
|
* db: use `context` for backup and restore (#7044)Joe Chen2022-06-11
|
* db: use `context` and go-mockgen for `UsersStore` (#7042)Joe Chen2022-06-11
|
* db: use `context` and go-mockgen for login sources (#7041)Joe Chen2022-06-10
|
* db: use `context` and go-mockgen for `LFSStore` (#7038)Joe Chen2022-06-10
|
* db: use `context` and go-mockgen for `PermsStore` (#7033)Joe Chen2022-06-08
|
* db: add back xorm tag for `AccessToken.UserID` (#7032)Joe Chen2022-06-08
|
* db: rename `AccessTokensStore.Save` to `Touch` (#7029)Joe Chen2022-06-08
|
* db: use `context` and go-mockgen for `AccessTokensStore` (#7013)Joe Chen2022-06-06
|
* schemadoc: print table indexes (#7012)Joe Chen2022-06-05
|
* access_token: encrypt access token with SHA256 (#7008)E99p1ant2022-06-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * access_token: encrypt access token with SHA256 * revert list access token * fix lint * generate schemadoc * add database migrations * fix tests * fix tests * add test case for access token golden * fix test in postgres * `Sha256` -> `SHA256` * Use GORM for migration * task generate-schemadoc * Use unique * change migration name * allow read * task generate-schemadoc * add changelog * fix lint error * update changelog * remove Debug * add comments Co-authored-by: Joe Chen <jc@unknwon.io>