Commit Graph

1463 Commits

Author SHA1 Message Date
Mr Forest
eca2527bc0 feat: fix bug in signup and reset phone and email (#1396)
* fix: fix bug in signup and reset phone and email

* delete useless addition
v1.184.0
2022-12-11 15:52:36 +08:00
Chell
ef836acfe9 fix: login page flag icon preload (#1393) v1.183.1 2022-12-11 11:22:58 +08:00
Yaodong Yu
a51f0d7c08 feat: init score in organization (#1388)
* feat: init score in organization

* Update OrganizationEditPage.js

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.183.0
2022-12-10 22:27:12 +08:00
Yaodong Yu
e3c36beaf4 fix: the link button with disabled style but can click (#1390) v1.182.2 2022-12-10 22:14:20 +08:00
imp2002
19dce838d1 fix: fix invalid url in applications page (#1389) v1.182.1 2022-12-10 22:06:21 +08:00
Yaodong Yu
b41d8652f0 feat: fix showing wrong error messages (#1385) v1.182.0 2022-12-09 15:11:13 +08:00
imp2002
e705eecffe feat: response with status in casbin_adapter.go (#1384)
* fix: response standardized information with status in `casbin_adapter.go`

* fix: remove redundant statements
v1.181.0
2022-12-08 10:22:59 +08:00
Mr Forest
2bb2c36f22 fix: add crowdin action env (#1381) v1.180.1 2022-12-07 14:05:21 +08:00
Mr Forest
1bb3d2dea9 feat: refactor backend i18n (#1373)
* fix: handle the dataSourceName when DB changes

* reduce duplication of code

* feat: refactor translation error message

* feat: use json intsead of ini file

* remove useless translation

* fix translate problems

* remove useless addition

* fix pr problems

* fix pr problems

* fix split problem

* use gofumpt to fmt code

* use crowdin to execute backend translation

* fix pr problems

* refactor: change translation file structure same as frontend

* delete useless output

* update go.mod
v1.180.0
2022-12-07 13:13:23 +08:00
Gucheng Wang
96566a626b Increase Detail field size 2022-12-07 01:53:03 +08:00
Yaodong Yu
042e52bd16 feat: replace casdoor/goth with markbates/goth (#1374) v1.179.0 2022-12-06 17:18:29 +08:00
Yaodong Yu
e207fd243b feat: fix CSS issue that login error pages are not centered (#1371) v1.178.0 2022-12-06 14:00:17 +08:00
Gucheng Wang
30b7fd963f Reduce Resource key size 2022-12-06 11:30:42 +08:00
Yaodong Yu
ca314bbfb5 feat: refactor layout and fix footer CSS (#1370) v1.177.0 2022-12-06 00:50:17 +08:00
imp2002
812c44e070 feat: add and load policy within a specific permission (#1357)
* fix: add and load policy with a specific permission

* fix: use a clear variable name
v1.176.0
2022-12-05 17:07:10 +08:00
imp2002
78e45d07cf fix: support RBAC With Domains/Tenants (#1333)
* feat: support RBAC With Domains/Tenants

* fix: add verify for `UpdatePermission`

* Update permission.go

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.175.1
2022-12-05 16:08:17 +08:00
Yaodong Yu
0856977b92 feat: update to antd 5.0 (#1362)
* feat: update to ant5.X

* fix: incompatible styles

* fix: adjust the style
v1.175.0
2022-12-04 23:05:30 +08:00
Chell
a44a4b0300 feat: fix React incorrect usage to fix issue that verification code must be submitted twice to succeed (#1348)
* fix: synchronized user login fields saving

* fix: synchronized user login fields saving

* recover changes

* fix: save username in step 2

* fix: format
v1.174.0
2022-12-04 20:58:07 +08:00
Chell
4b29dd8c41 fix: responsive certs page editor (#1360)
* fix: responsive editor width

* fix: format
v1.173.2
2022-12-04 16:04:04 +08:00
Yaodong Yu
165e2e33e3 fix: disable formcss in mobile (#1359) v1.173.1 2022-12-04 15:53:46 +08:00
Yang Luo
d13a307ad5 Allow org admin to access GetResources() 2022-12-03 01:10:45 +08:00
Mr Forest
27bd771fed feat: handle the dataSourceName when DB changes (#1352)
* fix: handle the dataSourceName when DB changes

* reduce duplication of code
v1.173.0
2022-12-02 22:20:18 +08:00
Yaodong Yu
9f3ee275a8 feat: reformat frontend alert texts with correct i18n (#1341)
* fix: add i18

* fix: standard prompt message
v1.172.0
2022-12-02 00:06:28 +08:00
Chell
fcda64ad7d fix: provider sort alphabetical order (#1347) v1.171.2 2022-12-01 22:51:10 +08:00
Yaodong Yu
d815bf92bd fix: handle add message in frontend (#1340) v1.171.1 2022-11-29 20:32:47 +08:00
WangGuan
7867060b71 feat: add quota limitation to organizations, users, providers and applications (#1339) v1.171.0 2022-11-29 11:01:41 +08:00
Mr Forest
8890d1d7c7 fix: check credential existence when signing via WebAuthn (#1336)
* fix: check credential existence when signing via WebAuthn

* fix review problem
v1.170.2
2022-11-28 21:47:17 +08:00
Chell
6e6a0a074a fix: application edit mobile view (#1331)
* fix: application edit mobile view

* fix: decompose elements

* fix: decomposition

* fix: remove space component

* Update ApplicationEditPage.js

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.170.1
2022-11-28 21:10:49 +08:00
Thai
cff3007992 feat: add get-permissions-by-role API (#1335) v1.170.0 2022-11-28 15:30:46 +08:00
Mr Forest
fe448cbcf4 feat: check user existence when signing in via verification code (#1334)
* fix:check user existence when logining by verification code

* fix review problems

* Update verification.go

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.169.0
2022-11-28 00:11:33 +08:00
Chell
2ab25df950 fix: prompt page translation (#1330)
* fix: prompt page translation

* add multiple translations

* fix: translation consistency

* fix: translation consistency

* fix: add translation

* fix: add translation

* Update data.json

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.168.1
2022-11-27 21:04:45 +08:00
WangGuan
b895926754 feat: use another filename when uploading a duplicated file instead of replacing it (#1329)
* fix: upload a file with the same name, not replace

* Update resource.go

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.168.0
2022-11-27 17:32:15 +08:00
YiNN
5bb7a4153f feat: add cloudflare turnstile captcha (#1327)
* feat: add cloudflare turnstile captcha

* fix: rename turnstile to cloudflare turnstile
v1.167.0
2022-11-26 17:17:49 +08:00
Yaodong Yu
b7cd598ee8 fix: fail to return after flush the page (#1325)
* fix: fail to return after flush the page 

Old methed just get the url path parameter when click the butten. But when the page flushed, the returnUrl will disappear, so can not return to the specified page.

* Update UserEditPage.js

* Update UserEditPage.js

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.166.1
2022-11-25 23:08:45 +08:00
Yaodong Yu
b10fb97c92 feat: finish policy list management (#1317) v1.166.0 2022-11-25 16:02:20 +08:00
Yaodong Yu
b337b908ea feat: fix the bug that admin cannot upload avatar for other users (#1323) v1.165.0 2022-11-25 09:36:47 +08:00
Mr Forest
ba9d1e2388 fix: fix bug in GetAcceptLanguage() (#1322) v1.164.1 2022-11-24 20:43:35 +08:00
Mr Forest
29ec1d2d9c feat: update Xorm to v1.0.5 to fix the PostgreSQL bug in Xorm (#1321)
* fix:update xorm version

* fix pr problems

* update xorm version to 1.2.0

* update xorm version to 1.0.5

* fix pr problems

* generate go.sum file
v1.164.0
2022-11-24 19:28:51 +08:00
Mr Forest
84a03f6c8e feat: add webhook for add/update org/provider (#1316) v1.163.0 2022-11-24 00:29:15 +08:00
会思考的下丘脑
56ff06bbea feat: add parameter v0 for Casbin APIs (#1315) v1.162.0 2022-11-23 22:39:17 +08:00
Yaodong Yu
7e756b8ee2 feat: manager applications in organization scope (#1290)
* feat: manager applications in organization scope(front end)

* fix: application can use own organization and admin provider

* fix: improve methed to get provider

* fix: modify provider methods by convention
v1.161.0
2022-11-21 01:17:55 +08:00
Yaodong Yu
19ba37e0c2 feat: can specify available UI languages for an organization (#1306) v1.160.0 2022-11-19 22:11:19 +08:00
Mr Forest
b98ce19211 feat: fix bug in GetDefaultApplication() that caused login error for other orgs (#1299)
* fix:fix bug in GetDefaultApplication

* fix:fix bug in GetDefaultApplication
v1.159.0
2022-11-16 00:39:05 +08:00
会思考的下丘脑
37d1a73c0c feat: encode redirectUri (#1297) v1.158.0 2022-11-15 19:05:59 +08:00
Yaodong Yu
727877cf54 fix: illegal user when new a permission (#1298) v1.157.2 2022-11-15 14:19:20 +08:00
Mr Forest
939b416717 fix: limit only under PC can login by following Wechat Official Account (#1293) v1.157.1 2022-11-14 09:03:55 +08:00
imp2002
f115843fbb feat: fix verification code send time's limit logic (#1292) v1.157.0 2022-11-13 22:00:48 +08:00
Mr Forest
aa6a4dc74f feat: support login by following wechat official account (#1284)
* show QRcode when click WeChat Icon

* update how to show qrcode

* handle wechat scan qrcode

* fix api problems

* fix url problems

* fix problems

* modify get frequency

* remove useless print

* fix:fix PR problems

* fix: fix PR problems

* fix:fix PR problem

* fix IMG load delay problems

* fix:fix provider problems

* fix test problems

* use gofumpt to fmt code

* fix:delete useless variables

* feat:add button for follow official account

* fix:fix review problems

* use gofumpt to fmt code

* fix:fix scantype problems

* fix Response problem

* use gofumpt to format code
v1.156.0
2022-11-13 15:05:15 +08:00
cofecatt
462a82a3d5 fix: Add distinctions between access_token and refresh_token (#1280) v1.155.2 2022-11-13 13:00:25 +08:00
Dinn
262aeba7e2 fix(RoleEditPage): Fix a crash when the sample role domains is null (#1268) v1.155.1 2022-11-13 12:28:24 +08:00