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 |
Joe Chen
|
75e10445ca
|
http: fix non-sense `NotFound` call (#7003)
|
2022-06-04 10:44:54 +08:00 |
Joe Chen
|
5f0999243a
|
ci: add Codeball (#6997)
[skip ci]
|
2022-06-03 21:16:52 +08:00 |
Joe Chen
|
09ddb8761f
|
repo: remove hard-coded branch name in init (#6999)
|
2022-06-03 17:14:21 +08:00 |
Joe Chen
|
ccdcb1c45b
|
db: run tests with pure-Go SQLite (#6998)
|
2022-06-03 10:03:48 +08:00 |
Joe Chen
|
5f34265db6
|
ci: run database tests against Postgres, MySQL and SQLite (#6996)
|
2022-06-01 22:51:46 +08:00 |
Joe Chen
|
05cdf8616b
|
chore: update release issue templates (#6993)
[skip ci]
|
2022-05-31 19:07:43 +08:00 |
Joe Chen
|
c0941f4631
|
CHANGELOG: cut entries for 0.12.8 (#6992)
[skip ci]
|
2022-05-31 16:47:13 +08:00 |
Joe Chen
|
5414ae14a9
|
CHANEGLOG: add missing entry for #6988 (#6990)
[skip ci]
|
2022-05-31 15:48:40 +08:00 |
Joe Chen
|
b782400b92
|
locale: sync from Crowdin (#6989)
|
2022-05-31 15:48:21 +08:00 |
Joe Chen
|
7885f454a4
|
webhook: revalidate local hostname before each delivery (#6988)
|
2022-05-31 15:17:17 +08:00 |
Joe Chen
|
90bc752297
|
repo_editor: prohibit move files to to `.git` directory (#6986)
|
2022-05-31 15:10:00 +08:00 |
1135
|
519aeefbd9
|
repo_editor: prohibits uploading files to `.git.` directory (#6970)
Co-authored-by: Joe Chen <jc@unknwon.io>
|
2022-05-30 19:14:41 +08:00 |
dependabot[bot]
|
649e9e7f8c
|
mod: bump gorm.io/driver/mysql from 1.3.3 to 1.3.4 (#6985)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joe Chen <jc@unknwon.io>
|
2022-05-30 19:01:11 +08:00 |
dependabot[bot]
|
d466c96229
|
mod: bump gopkg.in/ini.v1 from 1.66.4 to 1.66.5 (#6984)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joe Chen <jc@unknwon.io>
|
2022-05-30 19:00:49 +08:00 |
dependabot[bot]
|
38dbfee56c
|
mod: bump gorm.io/driver/postgres from 1.3.6 to 1.3.7 (#6983)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-05-30 18:49:43 +08:00 |
Joe Chen
|
069d832a51
|
docker: push ephemeral image to ttl.sh for pull requests (#6981)
[skip ci]
|
2022-05-29 22:37:13 +08:00 |
Joe Chen
|
04d3946511
|
web: print accessible URL on startup (#6979)
|
2022-05-29 19:45:40 +08:00 |
Joe Chen
|
d7bda9ac0e
|
build: remove Makefile and update Docker build steps (#6980)
|
2022-05-29 19:45:25 +08:00 |
Joe Chen
|
8356dc7774
|
locale: sync from Crowdin (#6978)
|
2022-05-29 15:10:21 +08:00 |
Joe Chen
|
1496988ac1
|
docs: use "go install" instead of "go get" (#6972)
|
2022-05-27 08:36:38 +08:00 |
Toby Simmons
|
d54e153fc8
|
csrf: sanitize token after reading from cookie (#6969)
Co-authored-by: Joe Chen <jc@unknwon.io>
|
2022-05-26 23:56:14 +08:00 |
Naveen
|
e65071d3aa
|
chore: Set permissions for GitHub actions (#6936)
|
2022-05-26 01:05:29 +08:00 |
Songsong Wang
|
b4624bd468
|
chore: update README_ZH.md (#6960)
[skip ci]
Co-authored-by: Joe Chen <jc@unknwon.io>
|
2022-05-25 18:27:24 +08:00 |
dependabot[bot]
|
bdff033492
|
mod: bump gorm.io/driver/postgres from 1.3.5 to 1.3.6 (#6964)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-05-23 20:35:06 +08:00 |
Joe Chen
|
e01b0ce0d1
|
codecov: make patch status to be informational (#6952)
|
2022-05-16 20:58:35 +08:00 |
Joe Chen
|
c4b770f305
|
chore: fix lint errors (#6951)
|
2022-05-16 20:57:19 +08:00 |
dependabot[bot]
|
a6c53eb068
|
mod: bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2 (#6950)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-05-16 19:42:12 +08:00 |
Joe Chen
|
705126cac8
|
locale: sync from Crowdin (#6948)
|
2022-05-15 02:15:24 +08:00 |
dependabot[bot]
|
cdc904e49e
|
mod: bump github.com/urfave/cli from 1.22.8 to 1.22.9 (#6938)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-05-09 19:39:16 +08:00 |
Joe Chen
|
7ca5c8ca72
|
chore: update release templates (#6935)
|
2022-05-07 00:16:46 +08:00 |
Joe Chen
|
e51e016834
|
CHANGELOG: cut entries for 0.12.7 (#6931)
[skip ci]
|
2022-05-05 16:09:17 +08:00 |
Joe Chen
|
f7802b9227
|
release: add step to publish GitHub security advisory (#6929)
|
2022-05-05 15:57:50 +08:00 |
Joe Chen
|
a76aff36d0
|
CHANGELOG: add entry for #6926 (#6928)
|
2022-05-05 15:57:32 +08:00 |
Joe Chen
|
f45dbf3e76
|
chore: watch "custom" directory in dev and use lowercase for header value (#6927)
|
2022-05-03 17:54:14 +08:00 |
Joe Chen
|
cb35b73048
|
attachment: set CSP header in the serving endpoint (#6926)
|
2022-05-03 17:51:28 +08:00 |
dependabot[bot]
|
a61a4389ec
|
mod: bump github.com/urfave/cli from 1.22.7 to 1.22.8 (#6925)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-05-02 20:58:08 +08:00 |
dependabot[bot]
|
f1755f5bc5
|
mod: bump gorm.io/gorm from 1.23.4 to 1.23.5 (#6924)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-05-02 20:57:37 +08:00 |
Joe Chen
|
71fc57f8a0
|
chore: fix dead link in pull request template (#6922)
[skip ci]
|
2022-04-27 20:29:54 +08:00 |
4e4o
|
f2c3027f50
|
restore: fix incorrect existence checking of "repositories.zip" (#6914)
|
2022-04-27 10:32:13 +08:00 |
vinceAmstoutz
|
39adf6e55a
|
chore: update TRANSLATORS (#6912)
|
2022-04-27 10:19:59 +08:00 |
Joe Chen
|
4d33a5b5a8
|
locale: sync from Crowdin (#6920)
|
2022-04-26 17:46:22 +08:00 |
dependabot[bot]
|
26fce15bcf
|
mod: bump gorm.io/driver/postgres from 1.3.4 to 1.3.5 (#6917)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-04-25 20:33:16 +08:00 |
dependabot[bot]
|
a230b3de22
|
mod: bump github.com/urfave/cli from 1.22.5 to 1.22.7 (#6918)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-04-25 20:32:36 +08:00 |
dependabot[bot]
|
e5350b9627
|
mod: bump github.com/go-ldap/ldap/v3 from 3.4.2 to 3.4.3 (#6905)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-04-11 19:38:46 +08:00 |