aboutsummaryrefslogtreecommitdiff
path: root/internal/db
Commit message (Collapse)AuthorAge
* db: migrate `admin.go` to `notices.go` with GORM (#7536)Joe Chen2023-08-23
|
* mod: bump github.com/go-ldap/ldap/v3 from 3.4.4 to 3.4.5 (#7476)dependabot[bot]2023-06-17
| | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Chen <jc@unknwon.io>
* refactor(db): migrate off `user_email.go` to `users.go` (#7452)Joe Chen2023-05-14
|
* tests(db): fix data race (#7444)Joe Chen2023-05-08
| | | [skip ci]
* gitutil: strip SSH port from submodule URL when rendering for HTML link (#7383)TheDarkUndoing2023-03-05
| | | | Co-authored-by: Joe Chen <jc@unknwon.io>
* fix(db): correctly check Git path on case-insensitive file system (#7359)Joe Chen2023-02-18
|
* fix(migration): skip v20 if column `sha256` already exists (#7354)Joe Chen2023-02-14
|
* fix(db): sanitize user full name after find (#7353)Joe Chen2023-02-14
|
* conf: add new config option for default branch name (#7291)Vamsi Atluri2023-02-11
| | | | | Co-authored-by: Vamsi Atluri <me@vamc19.dev> Co-authored-by: Joe Chen <jc@unknwon.io>
* refactor(db): merge relation stores into entity stores (#7341)Joe Chen2023-02-08
|
* refactor(db): finish migrate methods off `user.go` (#7337)Joe Chen2023-02-07
|
* 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
|