aboutsummaryrefslogtreecommitdiff
path: root/internal
Commit message (Collapse)AuthorAge
* 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
|
* chore: rename file to align with type name (#7204)Joe Chen2022-10-23
| | | [ci skip]
* refactor(db): migrate `Follow` off `user.go` (#7203)Joe Chen2022-10-23
|
* chore(db): remove unused field (#7202)Joe Chen2022-10-23
|
* api: support put content (#7114)Mateusz Reszka2022-10-22
| | | Co-authored-by: Joe Chen <jc@unknwon.io>
* 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
|
* build: remove support of Go 1.17 (#7177)Joe Chen2022-10-09
|
* 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>
* netutil: allow using `*` to match any hostname (#7111)Joe Chen2022-07-25
|
* api: support getting blob content (#7080)Yehonatan Ezron2022-07-17
| | | Co-authored-by: Joe Chen <jc@unknwon.io>
* conf: update test golden file (#7085)Joe Chen2022-06-27
|
* 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
|
* web: enable `ETag` to improve loading speed of static resources (#7035)shlande2022-06-09
| | | Co-authored-by: shlande <shlandeme@icloud.com>
* 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
|
* http: clean request path from Git endpoints (#7022)Joe Chen2022-06-07
|
* pathutil: check both styles of `os.PathSeparator` (#7020)Joe Chen2022-06-07
|
* 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>
* db: code tidy up for `AccessTokens` (#7006)Joe Chen2022-06-04
|