aboutsummaryrefslogtreecommitdiff
path: root/internal
Commit message (Collapse)AuthorAge
* 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
|
* repo_editor: check both styles of `os.PathSeparator` in all systems (#7005)Joe Chen2022-06-04
|
* pull: ignore PR status check if head repository is missing (#7004)Joe Chen2022-06-04
|
* http: fix non-sense `NotFound` call (#7003)Joe Chen2022-06-04
|
* repo: remove hard-coded branch name in init (#6999)Joe Chen2022-06-03
|
* db: run tests with pure-Go SQLite (#6998)Joe Chen2022-06-03
|
* ci: run database tests against Postgres, MySQL and SQLite (#6996)Joe Chen2022-06-01
|
* webhook: revalidate local hostname before each delivery (#6988)Joe Chen2022-05-31
|
* repo_editor: prohibit move files to to `.git` directory (#6986)Joe Chen2022-05-31
|
* repo_editor: prohibits uploading files to `.git.` directory (#6970)11352022-05-30
| | | Co-authored-by: Joe Chen <jc@unknwon.io>
* mod: bump gopkg.in/ini.v1 from 1.66.4 to 1.66.5 (#6984)dependabot[bot]2022-05-30
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Chen <jc@unknwon.io>
* web: print accessible URL on startup (#6979)Joe Chen2022-05-29
|