Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | refactor(db): migrate off `user_email.go` to `users.go` (#7452) | Joe Chen | 2023-05-14 |
| | |||
* | gitutil: strip SSH port from submodule URL when rendering for HTML link (#7383) | TheDarkUndoing | 2023-03-05 |
| | | | | Co-authored-by: Joe Chen <jc@unknwon.io> | ||
* | refactor(db): merge relation stores into entity stores (#7341) | Joe Chen | 2023-02-08 |
| | |||
* | refactor(db): finish migrate methods off `user.go` (#7337) | Joe Chen | 2023-02-07 |
| | |||
* | refactor(db): migrate methods off `user.go` (#7336) | Joe Chen | 2023-02-05 |
| | |||
* | chore: remove usages of the deprecated `ioutil` (#7332) | Zachary Walters | 2023-02-04 |
| | | | Co-authored-by: Joe Chen <jc@unknwon.io> | ||
* | refactor(db): migrate methods off `user.go` (#7333) | Joe Chen | 2023-02-04 |
| | |||
* | refactor(db): migrate methods off `user.go` (#7331) | Joe Chen | 2023-02-04 |
| | |||
* | all: replace `interface{}` with `any` (#7330) | Joe Chen | 2023-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 Chen | 2023-02-02 |
| | |||
* | chore: consistently use `errors.Cause` for identifying error types (#7264) | Joe Chen | 2022-11-27 |
| | |||
* | refactor(db): add `Users.Update` (#7263) | Joe Chen | 2022-11-27 |
| | |||
* | refactor(db): migrate `ChangeUsername` off `user.go` (#7261) | Joe Chen | 2022-11-25 |
| | |||
* | refactor(db): migrate methods off and delete deprecated methods from ↵ | Joe Chen | 2022-11-05 |
| | | | | `user.go` (#7231) | ||
* | refactor(db): migrate methods off `user.go` (#7228) | Joe Chen | 2022-11-05 |
| | |||
* | refactor(db): migrate perms methods off `user.go` (#7207) | Joe Chen | 2022-10-23 |
| | |||
* | refactor(db): migrate avatar methods off `user.go` (#7206) | Joe Chen | 2022-10-23 |
| | |||
* | refactor(db): migrate `Follow` off `user.go` (#7203) | Joe Chen | 2022-10-23 |
| | |||
* | refactor: replace `ioutil.ReadAll` with `io.ReadAll` (#7200) | Joe Chen | 2022-10-22 |
| | |||
* | auth: enable authentication by token from password (#7198) | Yang Liu | 2022-10-22 |
| | | | Co-authored-by: Joe Chen <jc@unknwon.io> | ||
* | refactor(db): move `User.HasForkedRepository` to `users.HasForkedRepository` ↵ | Joe Chen | 2022-10-09 |
| | | | | | (#7176) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> | ||
* | db: refactor "action" table to use GORM (#7054) | Joe Chen | 2022-06-25 |
| | | | Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> | ||
* | db: add tests for authentication through login sources (#7049) | Joe Chen | 2022-06-12 |
| | |||
* | db: use `context` and go-mockgen for `ReposStore` (#7046) | Joe Chen | 2022-06-11 |
| | |||
* | db: use `context` and go-mockgen for `TwoFactorsStore` (#7045) | Joe Chen | 2022-06-11 |
| | |||
* | db: use `context` and go-mockgen for `UsersStore` (#7042) | Joe Chen | 2022-06-11 |
| | |||
* | db: use `context` and go-mockgen for `LFSStore` (#7038) | Joe Chen | 2022-06-10 |
| | |||
* | db: use `context` and go-mockgen for `PermsStore` (#7033) | Joe Chen | 2022-06-08 |
| | |||
* | db: rename `AccessTokensStore.Save` to `Touch` (#7029) | Joe Chen | 2022-06-08 |
| | |||
* | db: use `context` and go-mockgen for `AccessTokensStore` (#7013) | Joe Chen | 2022-06-06 |
| | |||
* | access_token: encrypt access token with SHA256 (#7008) | E99p1ant | 2022-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> | ||
* | autofix: format code with gofumpt and gofmt (#6803) | deepsource-autofix[bot] | 2022-03-06 |
| | | | Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> | ||
* | autofix: fix unused method receiver (#6808) | deepsource-autofix[bot] | 2022-03-06 |
| | | | Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> | ||
* | autofix: unused parameter should be replaced by underscore (#6799) | deepsource-autofix[bot] | 2022-03-06 |
| | | | Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> | ||
* | db: migrate access table to use GORM (#6371) | ᴜɴᴋɴᴡᴏɴ | 2020-10-06 |
| | |||
* | lfs: ask client to always send the same value for the HTTP header (#6369) | ᴜɴᴋɴᴡᴏɴ | 2020-10-04 |
| | |||
* | auth: decouple types and functions from db (#6320) | ᴜɴᴋɴᴡᴏɴ | 2020-09-20 |
| | |||
* | access_token: migrate to GORM and add tests (#6086) | ᴜɴᴋɴᴡᴏɴ | 2020-04-11 |
| | | | | | | | | | * access_token: migrate to GORM * Add tests * Fix tests * Fix test clock | ||
* | lfsutil: add `Storager` interface and local storage (#6083) | ᴜɴᴋɴᴡᴏɴ | 2020-04-10 |
| | | | | | | | | | | | * Add Storager interface * Add tests * Add back note * Add tests for basic protocol routes * Fix lint errors | ||
* | route: bypass require signin check for trigger repo tasks (#6079) | ᴜɴᴋɴᴡᴏɴ | 2020-04-08 |
| | | | | | | | * route: bypass require signin check for trigger repo tasks * CHANGELOG * Fix lint errors | ||
* | lfs: add tests to batch endpoint (#6073) | ᴜɴᴋɴᴡᴏɴ | 2020-04-06 |
| | |||
* | lfs: add unit test for middleware (#6070) | ᴜɴᴋɴᴡᴏɴ | 2020-04-06 |
| | | | | | | | | | | | * Add unit test for `authenticate` middleware * Add more cases * Add tests for verifyOID and internalServerError * Add tests for verifyHeader * Add tests for authroize | ||
* | route: no session for routes without UI (#6066) | ᴜɴᴋɴᴡᴏɴ | 2020-04-05 |
| | | | Not all routes need session, register session and CSRF middleware as global is a waste of resource, and creating a lot one-time off yet never used session records. | ||
* | lfs: support upload retry (#6061) | ᴜɴᴋɴᴡᴏɴ | 2020-04-05 |
| | |||
* | lfs: run e2e and fix minor issues (#6059) | ᴜɴᴋɴᴡᴏɴ | 2020-04-05 |
| | |||
* | lfs: implement HTTP routes (#6035) | ᴜɴᴋɴᴡᴏɴ | 2020-04-04 |
* Bootstrap with GORM * Fix lint error * Set conn max lifetime to one minute * Fallback to use gorm v1 * Define HTTP routes * Finish authentication * Save token updated * Add docstring * Finish authorization * serveBatch rundown * Define types in lfsutil * Finish Batch * authutil * Finish basic * Formalize response error * Fix lint errors * authutil: add tests * dbutil: add tests * lfsutil: add tests * strutil: add tests * Formalize 401 response |