Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | go: update required version to be 1.17 and add 1.19 to CI (#7129) | Joe Chen | 2022-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 Chen | 2022-06-25 |
| | |||
* | webhook: validate against hostname instead of full URL (#7075) | Joe Chen | 2022-06-25 |
| | |||
* | 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: skip auto migrate for existing "version" table (#7057) | Joe Chen | 2022-06-14 |
| | |||
* | migrations: add tests and remove XORM (#7050) | Joe Chen | 2022-06-12 |
| | |||
* | 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` for backup and restore (#7044) | 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: add back xorm tag for `AccessToken.UserID` (#7032) | 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 |
| | |||
* | schemadoc: print table indexes (#7012) | Joe Chen | 2022-06-05 |
| | |||
* | 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> | ||
* | db: code tidy up for `AccessTokens` (#7006) | Joe Chen | 2022-06-04 |
| | |||
* | repo_editor: check both styles of `os.PathSeparator` in all systems (#7005) | Joe Chen | 2022-06-04 |
| | |||
* | pull: ignore PR status check if head repository is missing (#7004) | Joe Chen | 2022-06-04 |
| | |||
* | repo: remove hard-coded branch name in init (#6999) | Joe Chen | 2022-06-03 |
| | |||
* | db: run tests with pure-Go SQLite (#6998) | Joe Chen | 2022-06-03 |
| | |||
* | ci: run database tests against Postgres, MySQL and SQLite (#6996) | Joe Chen | 2022-06-01 |
| | |||
* | webhook: revalidate local hostname before each delivery (#6988) | Joe Chen | 2022-05-31 |
| | |||
* | repo_editor: prohibit move files to to `.git` directory (#6986) | Joe Chen | 2022-05-31 |
| | |||
* | repo_editor: prohibits uploading files to `.git.` directory (#6970) | 1135 | 2022-05-30 |
| | | | Co-authored-by: Joe Chen <jc@unknwon.io> | ||
* | chore: fix lint errors (#6951) | Joe Chen | 2022-05-16 |
| | |||
* | mod: bump github.com/gogs/git-module from 1.5.0 to 1.6.0 (#6894) | dependabot[bot] | 2022-04-05 |
| | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Chen <jc@unknwon.io> | ||
* | restore: clean up leftover and invalid chars (#6875) | Joe Chen | 2022-03-26 |
| | |||
* | mod: bump github.com/gogs/git-module from 1.2.0 to 1.4.0 (#6866) | dependabot[bot] | 2022-03-22 |
| | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Chen <jc@unknwon.io> | ||
* | assets: convert usage of go-bindata to Go embed (#6851) | Michael Li | 2022-03-17 |
| | | | Co-authored-by: Joe Chen <jc@unknwon.io> | ||
* | golangci-lint: add `unparam` linter (#6839) | Joe Chen | 2022-03-13 |
| | |||
* | repo_editor: check upload `TreePath` and file name (#6838) | Joe Chen | 2022-03-13 |
| | |||
* | 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: 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> | ||
* | db: skip ping when not available (#6687) | Joe Chen | 2021-12-20 |
| | |||
* | 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> | ||
* | ci: use new lint action and add custom config (#6562) | ᴜɴᴋɴᴡᴏɴ | 2021-05-19 |
| | |||
* | chore: fix typos in code comments (#6556) | Atin | 2021-05-19 |
| | |||
* | db: simplify GORM logger init in tests (#6444) | ᴜɴᴋɴᴡᴏɴ | 2020-12-06 |
| | |||
* | build(deps): bump gorm.io/gorm from 1.20.6 to 1.20.7 (#6425) | dependabot-preview[bot] | 2020-11-28 |
| | | | | | | | | | | | | | | * build(deps): bump gorm.io/gorm from 1.20.6 to 1.20.7 Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.20.6 to 1.20.7. - [Release notes](https://github.com/go-gorm/gorm/releases) - [Commits](https://github.com/go-gorm/gorm/compare/v1.20.6...v1.20.7) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Fix compile error Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | ||
* | db: migrate access table to use GORM (#6371) | ᴜɴᴋɴᴡᴏɴ | 2020-10-06 |
| |