Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | refactor(db): migrate avatar methods off `user.go` (#7206) | Joe Chen | 2022-10-23 |
| | |||
* | refactor(db): migrate password methods off `user.go` (#7205) | Joe Chen | 2022-10-23 |
| | |||
* | refactor(db): migrate `Follow` off `user.go` (#7203) | Joe Chen | 2022-10-23 |
| | |||
* | chore(db): remove unused field (#7202) | Joe Chen | 2022-10-23 |
| | |||
* | api: support put content (#7114) | Mateusz Reszka | 2022-10-22 |
| | | | Co-authored-by: Joe Chen <jc@unknwon.io> | ||
* | 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 some methods off `user.go` (#7199) | Joe Chen | 2022-10-22 |
| | |||
* | refactor(db): rename `User.Passwd` to `User.Password` (#7196) | Joe Chen | 2022-10-22 |
| | |||
* | refactor(db): move some methods from `user.go` to `users.go` (#7195) | Joe Chen | 2022-10-22 |
| | |||
* | 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> | ||
* | api: support getting blob content (#7080) | Yehonatan Ezron | 2022-07-17 |
| | | | Co-authored-by: Joe Chen <jc@unknwon.io> | ||
* | 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 login sources (#7041) | Joe Chen | 2022-06-10 |
| | |||
* | 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 |
| | |||
* | http: clean request path from Git endpoints (#7022) | Joe Chen | 2022-06-07 |
| | |||
* | 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> | ||
* | http: fix non-sense `NotFound` call (#7003) | Joe Chen | 2022-06-04 |
| | |||
* | webhook: revalidate local hostname before each delivery (#6988) | Joe Chen | 2022-05-31 |
| | |||
* | webhook: add missing `%s` URL value for webhook description (#6478) | Renzo Toma | 2022-04-04 |
| | | | Co-authored-by: Joe Chen <jc@unknwon.io> | ||
* | conf: add allowlist for accessing local network (#6842) | Joe Chen | 2022-03-14 |
| | |||
* | security: fix SSRF in repository migration (#6812) | Michael Rowley | 2022-03-08 |
| | | | 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: function call can be replaced with helper function (#6805) | deepsource-autofix[bot] | 2022-03-06 |
| | | | Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> | ||
* | autofix: fix check for empty string (#6804) | deepsource-autofix[bot] | 2022-03-06 |
| | | | Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> | ||
* | autofix: types of function parameters can be combined (#6800) | 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> | ||
* | chore: rename few consts to camel case (#6725) | Joe Chen | 2022-01-13 |
| | |||
* | database: add PostgreSQL custom schema support (#6695) | zvrh | 2022-01-05 |
| | | | | | Co-authored-by: Homura37 <git@gvip.xyz> Co-authored-by: Homura <16538800+Homura37@users.noreply.github.com> Co-authored-by: Joe Chen <jc@unknwon.io> | ||
* | api: support listing repository tags (#6656) | Devops | 2021-12-14 |
| | | | | Co-authored-by: zhouzhibo <zhouzhibo> Co-authored-by: Joe Chen <jc@unknwon.io> | ||
* | api: EditWiki implementation (#5860) | Pavel M | 2021-11-10 |
| | | | Co-authored-by: Joe Chen <jc@unknwon.io> | ||
* | api: add `GET /api/v1/{owner}/{repo}/commits` endpoint (#6574) | Jordan Levin | 2021-09-24 |
| | | | | | | | | | This pull request targets issue #6573. It provides a new API endpoint: `/api/v1/repos/{org}/{repo}/commits?pageSize=<int>` with a default page size of 30 commits (the same as the UI). This implementation currently only focuses on the main/master branch of the repository, and does not provide the ability to return commit history for other branches. - Note: Since the logic for converting a git.Commit to api.Commit had to be used in `GetAllCommits` and `GetSingleCommit`, I decided to pull the code out into a helper function, ` gitCommitToAPICommit(commit, context)`. | ||
* | ci: use new lint action and add custom config (#6562) | ᴜɴᴋɴᴡᴏɴ | 2021-05-19 |
| | |||
* | chore: fix typos in code comments (#6556) | Atin | 2021-05-19 |
| | |||
* | ssh: allow setting allowed MAC algorithms for built-in server (#6435) | Eduardo Bacchi Kienetz | 2020-12-04 |
| | | | Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | ||
* | 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 |
| | |||
* | Add git diff timeout in app config (#6348) | Zhukov Roman | 2020-09-29 |
| | | | Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | ||
* | auth: decouple types and functions from db (#6320) | ᴜɴᴋɴᴡᴏɴ | 2020-09-20 |
| | |||
* | repo: support unlisted but publicly accessible repositories (#6176) | Achilleas Koutsou | 2020-09-04 |
| | | | Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | ||
* | install: remove MSSQL option (#6295) | ᴜɴᴋɴᴡᴏɴ | 2020-08-29 |
| | |||
* | install: fix generating removed options (#6293) | ᴜɴᴋɴᴡᴏɴ | 2020-08-29 |
| |