1046 Commits

Author SHA1 Message Date
q1anx1
108fdc174f
chore(ci): add linter the check go code style (#991)
* feat(ci): auto format go code

* fix: fix #997

* chore(ci): add go code style linter

* fix: fix cmd error

* chore: add `linter` of needs

* chore: modiy commnet style
2022-08-13 10:57:13 +08:00
q1anx1
a741c5179a
chore(style): modify eslint rules (#1011)
* chore(style): use strict rules

* chore: modify position

* chore(style): warn about `console.log` and `==`

* fix: fix `console.log` error

* Update CropperDiv.js

* Update HomePage.js

Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-08-13 00:04:18 +08:00
Ryao
6676cc8ff3
fix: add JTI name to JWT token (#989)
* feat: add jti to jwt

* fix

* fix
v1.86.1
2022-08-11 14:32:47 +08:00
q1anx1
13de019d08
chore(ci): use cache to accelerate ci (#1004)
* chore(ci): use cache to accelerate ci

* chore: comment
2022-08-11 10:20:53 +08:00
Bingchang Chen
53ad454962
feat: responsive footer (#1003) v1.86.0 2022-08-10 20:31:42 +08:00
leoshine
fb203a6f30
feat: delete .env to fix static file path bug (#999) v1.85.0 2022-08-10 12:22:27 +08:00
Gucheng Wang
f716a0985f Add disableSsl to provider. 2022-08-09 23:38:35 +08:00
Gucheng Wang
340fbe135d Fix error in wrapActionResponse() 2022-08-09 23:34:07 +08:00
Mikey
79119760f2
style: golint (#988) 2022-08-09 16:50:49 +08:00
jakiuncle
4dd67a8dcb
fix: fix all frontend warnings (#983)
* fix:fix all frontend warnings

* fix:fix all frontend warnings

* fix:fix all frontend warnings

* fix:fix all frontend warnings

* fix:fix all frontend warnings

* fix:fix all frontend warnings
v1.84.1
2022-08-09 12:19:56 +08:00
q1anx1
deed857788
chore(style): allow case declarations and ban var (#987)
* chore(style): allow case declarations

* chore(style): ban `var` and prefer `const`
2022-08-08 23:35:24 +08:00
Mikey
802995ed16
refactor: remove WeChat unionId to properties (#985) 2022-08-08 18:43:12 +08:00
q1anx1
b14554a5ba
feat(web): check style when commit (#980)
feat(web): check style when commit
v1.84.0
2022-08-08 00:10:31 +08:00
Gucheng Wang
4665ffa759 Update i18n data 2022-08-08 00:02:47 +08:00
Gucheng Wang
f914e8e929 Add permission_enforcer.go 2022-08-07 23:57:06 +08:00
Yixiang Zhao
dc33b41107
feat: expose some casbin APIs (#955)
* feat: expose some casbin APIs

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

* feat: add BatchEnforce API

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

* fix: solve requested changes

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.83.0
2022-08-07 23:42:45 +08:00
Bingchang Chen
ee8dd23a56
fix: fixed footer css (#951) v1.82.2 2022-08-07 17:22:52 +08:00
github-actions[bot]
08d0269e30
refactor: New Crowdin translations by Github Action (#974)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
v1.82.1
2022-08-07 16:06:52 +08:00
leoshine
8e5cd18c91
fix: Restrict the request permissions of providers and applications (#970) 2022-08-07 16:05:05 +08:00
Gucheng Wang
32b4d98c2a Add ExtendProductWithProviders(). 2022-08-07 15:45:06 +08:00
q1anx1
2ea58cd639
chore(style): use gofumpt to fmt go code (#967) 2022-08-07 12:26:14 +08:00
q1anx1
45d2745b67
chore(style): add eslint rules: no-unused-imports and no-unused-vars (#976)
* feat(web): no-unused-imports and no-unused-vars

* chore: fix json style
2022-08-07 11:51:53 +08:00
Yang Luo
cba338eef2
Merge pull request #973 from qianxi0410/eslint
feat(web): add some eslint rules
v1.82.0
2022-08-07 00:41:51 +08:00
qianxi0410
c428de6e42 feat: fix some comma dangle 2022-08-07 00:17:27 +08:00
qianxi0410
9bca6bb72e feat: no-multi-spacing 2022-08-07 00:06:20 +08:00
qianxi0410
cd966116d4 feat: comma dangle 2022-08-06 23:54:56 +08:00
qianxi0410
9abf1b9d73 feat: key spacing 2022-08-06 23:47:28 +08:00
qianxi0410
6aaba6debd feat: space between infix op 2022-08-06 23:43:09 +08:00
qianxi0410
77565712e0 feat: no-multi-empty-lines 2022-08-06 23:38:03 +08:00
qianxi0410
d025259db7 feat: indent 2022-08-06 23:36:20 +08:00
Artem
aafdc546fa
fix: panic when creating a user in a non-existent org (#969) v1.81.3 2022-08-06 22:30:56 +08:00
q1anx1
539ca2d731
chore(web): add fix command (#964) 2022-08-05 23:40:04 +08:00
Ryao
ea326b3513
fix: show social buttons on signup page (#962) v1.81.2 2022-08-05 18:59:56 +08:00
Товарищ программист
98ef766fb4
fix: fix webauthn entry cannot add bug (#960)
* fix: fix webauthn

* Update LoginPage.js

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.81.1
2022-08-05 17:43:04 +08:00
Gucheng Wang
e94ada9ea2 Fix new accountItem. 2022-08-05 15:36:07 +08:00
Resulte Lee
4ea482223d
feat: add geetest captcha (#953) v1.81.0 2022-08-04 20:55:04 +08:00
Gucheng Wang
d55ae7d1d2 Enable some other DBs 2022-08-04 20:28:09 +08:00
imp2002
d72e00605f
fix: updateProviderField when add provider payment (#952) v1.80.1 2022-08-04 19:39:25 +08:00
zzjin
be74cb621f
feat: Support sub-directory (#943)
By adding PUBLIC_URL to relative `.`

Signed-off-by: zzjin <tczzjin@gmail.com>
v1.80.0
2022-08-02 00:21:15 +08:00
q1anx1
13404d6035
feat: fix binding after registration causes the page to crash (#945) v1.79.0 2022-08-01 21:08:10 +08:00
Mikey
afa9c530ad
fix: panic triggered when user is nil (#940) v1.78.2 2022-07-31 23:23:36 +08:00
Yang Luo
1600615aca Support sqlite3 DB 2022-07-31 18:11:18 +08:00
Mikey
2bb8491499
fix: unable to get user if profile is private (#936) v1.78.1 2022-07-31 10:54:41 +08:00
Mikey
293283ed25
feat: add get user by phone (#934)
* fix: check reset phone & email modify rules

* Update verification.go

* Update organization.go

* feat: add get user by phone

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.78.0
2022-07-31 01:02:28 +08:00
q1anx1
9cb519d1e9
fix: Admins should not be allowed to add third-party login for their members (#932)
* feat: admin can unlink the other user

* feat: global admin can unlink other user

* fix
v1.77.3
2022-07-30 23:11:02 +08:00
Yixiang Zhao
fb9b8f1662
fix: skip the duplicated users when sync users (#928)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.77.2
2022-07-30 22:24:23 +08:00
Mikey
2fec3f72ae
fix: check reset phone & email modify rules (#927)
* fix: check reset phone & email modify rules

* Update verification.go

* Update organization.go

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.77.1
2022-07-30 18:17:13 +08:00
Yang Luo
11695220a8 Use user.GetId() 2022-07-30 17:40:30 +08:00
Resulte Lee
155660b0d7
feat: get user api return roles and permissions (#929) v1.77.0 2022-07-30 17:31:56 +08:00
imp2002
1c72f5300c
feat: fix 'Enable code sign' is not displayed in the login page (#925) v1.76.0 2022-07-28 23:11:33 +08:00