liuxhit
|
05a6a9d6e9
|
docker: support adding extra options to backup command (#7060)
Co-authored-by: Joe Chen <jc@unknwon.io>
|
2022-07-17 14:52:35 +08:00 |
dependabot[bot]
|
25a2b716ad
|
mod: bump gorm.io/driver/postgres from 1.3.7 to 1.3.8 (#7098)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joe Chen <jc@unknwon.io>
|
2022-07-05 08:46:12 +08:00 |
dependabot[bot]
|
1d48df3fd1
|
mod: bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#7097)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-07-04 23:19:58 +08:00 |
dependabot[bot]
|
b8294a460e
|
mod: bump github.com/microcosm-cc/bluemonday from 1.0.18 to 1.0.19 (#7099)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-07-04 23:18:54 +08:00 |
dependabot[bot]
|
6043bf20fe
|
mod: bump gorm.io/gorm from 1.23.6 to 1.23.7 (#7096)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-07-04 23:17:13 +08:00 |
Joe Chen
|
1cd501b107
|
chore: go mod tidy (#7086)
|
2022-06-27 20:30:16 +08:00 |
dependabot[bot]
|
0022566a3a
|
mod: bump github.com/stretchr/testify from 1.7.2 to 1.7.5 (#7083)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-06-27 20:13:54 +08:00 |
dependabot[bot]
|
5f3d44ec00
|
mod: bump github.com/gogs/git-module from 1.6.0 to 1.7.0 (#7084)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-06-27 20:04:50 +08:00 |
Joe Chen
|
25b49294b2
|
conf: update test golden file (#7085)
|
2022-06-27 20:04:16 +08:00 |
Joe Chen
|
a8e43f63a1
|
locale: sync from Crowdin (#7082)
|
2022-06-26 11:09:33 +08:00 |
Joe Chen
|
fb52bd6fea
|
db: set XORM log level to error (#7078)
|
2022-06-25 21:17:55 +08:00 |
Joe Chen
|
bc5c739047
|
pkgr: update supported distributions (#7077)
[skip ci]
|
2022-06-25 20:58:01 +08:00 |
Joe Chen
|
97ccb365ec
|
webhook: validate against hostname instead of full URL (#7075)
|
2022-06-25 20:36:05 +08:00 |
Joe Chen
|
083c3ee659
|
db: refactor "action" table to use GORM (#7054)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
|
2022-06-25 18:07:39 +08:00 |
dependabot[bot]
|
9df4e3ae3c
|
mod: bump github.com/editorconfig/editorconfig-core-go/v2 from 2.4.4 to 2.4.5 (#7067)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-06-20 20:26:59 +08:00 |
Joe Chen
|
4a3dc6c774
|
db: skip auto migrate for existing "version" table (#7057)
|
2022-06-14 15:47:11 +08:00 |
dependabot[bot]
|
c0db4a7f1b
|
mod: bump gorm.io/gorm from 1.23.5 to 1.23.6 (#7052)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-06-13 19:42:13 +08:00 |
dependabot[bot]
|
04fe4c86ec
|
mod: bump github.com/derision-test/go-mockgen from 1.2.0 to 1.3.3 (#7053)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-06-13 19:41:28 +08:00 |
Joe Chen
|
b772603d78
|
migrations: add tests and remove XORM (#7050)
|
2022-06-12 14:15:01 +08:00 |
Joe Chen
|
2e19f5a3c8
|
db: add tests for authentication through login sources (#7049)
|
2022-06-12 10:34:12 +08:00 |
Joe Chen
|
63cb76106a
|
chore: fix typo in codecov.yml (#7047)
[skip ci]
|
2022-06-11 17:35:30 +08:00 |
Joe Chen
|
1df62fafb9
|
db: use `context` and go-mockgen for `ReposStore` (#7046)
|
2022-06-11 12:43:56 +08:00 |
Joe Chen
|
5e32058c13
|
db: use `context` and go-mockgen for `TwoFactorsStore` (#7045)
|
2022-06-11 11:54:11 +08:00 |
Joe Chen
|
75fbb82440
|
db: use `context` for backup and restore (#7044)
|
2022-06-11 11:10:25 +08:00 |
Joe Chen
|
f837ea6346
|
db: use `context` and go-mockgen for `UsersStore` (#7042)
|
2022-06-11 09:42:17 +08:00 |
Joe Chen
|
9776bdc9b8
|
db: use `context` and go-mockgen for login sources (#7041)
|
2022-06-10 19:54:36 +08:00 |
Joe Chen
|
94059f291d
|
db: use `context` and go-mockgen for `LFSStore` (#7038)
|
2022-06-10 11:27:06 +08:00 |
shlande
|
318fb25761
|
web: enable `ETag` to improve loading speed of static resources (#7035)
Co-authored-by: shlande <shlandeme@icloud.com>
|
2022-06-09 09:48:03 +08:00 |
Joe Chen
|
577621d463
|
mod: use github.com/gogs/gorm-sqlite as the SQLite driver (#7034)
|
2022-06-08 19:30:17 +08:00 |
Joe Chen
|
7229dd893f
|
db: use `context` and go-mockgen for `PermsStore` (#7033)
|
2022-06-08 19:26:20 +08:00 |
Joe Chen
|
0918d8758b
|
db: add back xorm tag for `AccessToken.UserID` (#7032)
|
2022-06-08 14:47:15 +08:00 |
Joe Chen
|
fe1d07f29c
|
db: rename `AccessTokensStore.Save` to `Touch` (#7029)
|
2022-06-08 13:34:10 +08:00 |
Joe Chen
|
390fd3d283
|
docker: remove outdated info from README (#7028)
[skip ci]
|
2022-06-08 08:51:09 +08:00 |
Joe Chen
|
8304574738
|
release: minor updates to templates and docs (#7027)
[skip ci]
|
2022-06-08 01:32:37 +08:00 |
Joe Chen
|
727d4dbbe0
|
mod: update gorm.io/driver/sqlite to 1.3.2 (#7025)
|
2022-06-07 23:34:33 +08:00 |
Joe Chen
|
d6c6b901f0
|
CHANGELOG: cut entries for 0.12.9 (#7024)
[skip ci]
|
2022-06-07 21:30:42 +08:00 |
Joe Chen
|
9bf748b6c4
|
http: clean request path from Git endpoints (#7022)
|
2022-06-07 21:11:36 +08:00 |
Joe Chen
|
e3706575d5
|
ci: pin go-mockgen to 1.2.0 (#7021)
|
2022-06-07 20:38:54 +08:00 |
Joe Chen
|
2ca014250f
|
pathutil: check both styles of `os.PathSeparator` (#7020)
|
2022-06-07 20:34:46 +08:00 |
dependabot[bot]
|
325904ce5a
|
mod: bump github.com/niklasfasching/go-org from 1.6.2 to 1.6.5 (#7015)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-06-06 22:51:18 +08:00 |
dependabot[bot]
|
fa36765373
|
mod: bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#7016)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-06-06 22:50:52 +08:00 |
dependabot[bot]
|
55a8079c83
|
mod: bump gopkg.in/ini.v1 from 1.66.5 to 1.66.6 (#7017)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-06-06 22:50:33 +08:00 |
Joe Chen
|
0a92ad27ef
|
db: use `context` and go-mockgen for `AccessTokensStore` (#7013)
|
2022-06-06 12:10:36 +08:00 |
Joe Chen
|
4cc3000b07
|
schemadoc: print table indexes (#7012)
|
2022-06-05 18:08:59 +08:00 |
E99p1ant
|
a328e7ccc4
|
access_token: encrypt access token with SHA256 (#7008)
* 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>
|
2022-06-05 13:34:21 +08:00 |
E99p1ant
|
155cae1de8
|
issues: sanitize `DisplayName` (#7009)
* issues: display issue poster’s `Name` instead of `DisplayName`
* sanitize display name
* update changelog
|
2022-06-05 00:53:15 +08:00 |
Joe Chen
|
64e09476c7
|
ci: check tidiness of "task generate-schemadoc" (#7007)
|
2022-06-04 14:40:21 +08:00 |
Joe Chen
|
4455cc1244
|
db: code tidy up for `AccessTokens` (#7006)
|
2022-06-04 13:35:42 +08:00 |
Joe Chen
|
38aff73251
|
repo_editor: check both styles of `os.PathSeparator` in all systems (#7005)
|
2022-06-04 13:11:29 +08:00 |
Joe Chen
|
69827490e0
|
pull: ignore PR status check if head repository is missing (#7004)
|
2022-06-04 13:10:15 +08:00 |