955 Commits

Author SHA1 Message Date
Atom Pi
cd902a21ba
fix: some minor bugs and make Dockerfile more productive. (#831)
* fix: some minor bugs and make Dockerfile more productive.

* fix: make GitHub CI configuration support build image with STANDARD target.

* fix: Naming the base stage in multi-stage builds with lowercase letters to support various operating systems.

* fix: copy swagger to the image as well.
v1.62.1
2022-06-29 23:21:18 +08:00
Gucheng Wang
fe0ab0aa6f Fix downloadFile()'s google proxy. 2022-06-29 22:01:38 +08:00
Resulte Lee
a0e11cc8a0
feat: add aliyun captcha (#833)
* feat: add aliyun captcha provider

* Rename App key

* fix typo

* Rename HMACSHA1 & Reused clientId2 and clientSecret2

* Update ProviderEditPage.js

* Delete unused import

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
v1.62.0
2022-06-29 11:31:32 +08:00
Yixiang Zhao
8a66448365
feat: support casdoor as saml idp to connect keycloak (#832)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.61.0
2022-06-28 22:05:02 +08:00
Resulte Lee
477d386f3c
fix: captcha preview panic when clientId or clientSecret is empty (#824)
* fix: captcha preview panic when clientId or clientSecret is empty

* return original errors from captcha
v1.60.1
2022-06-26 22:09:57 +08:00
Gucheng Wang
339c6c2dd0 Fix null bug in getTermsofuseContent(). 2022-06-26 09:34:01 +08:00
aecra
7c9370ef90
feat: add CORS filter to fix OPTION request failure (#826) v1.60.0 2022-06-26 01:28:33 +08:00
Ryao
31b586e391
feat: Add email config test on provider edit page (#819)
* feat: Add email config test on provider edit page

* Re-use send-email API

* Optimize code

Optimize code

* Update service.go

* Update service.go

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
v1.59.0
2022-06-24 01:47:10 +08:00
Gucheng Wang
249f83e764 Fix TestProduct() compile error. 2022-06-23 00:54:31 +08:00
Yixiang Zhao
16f5569e50
fix: encryption without salt (#821)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.58.5
2022-06-22 22:30:27 +08:00
Resulte Lee
f99c1f44e8
fix: don't trigger countdown if failed to send verification code (#815)
* feat: add countdown when no captcha provider found

* fix: add countdown when sent code successfully
v1.58.4
2022-06-22 22:22:40 +08:00
Gucheng Wang
c8c4dfbfb8 Fix bug and i18n issue in captcha provider edit page. 2022-06-22 21:54:25 +08:00
Resulte Lee
d9c6ff2507
fix: captcha widget JS warnings (#820) v1.58.3 2022-06-22 18:31:18 +08:00
Gucheng Wang
e1664f2f60 Fix newApplication() to add provider. v1.58.2 2022-06-22 00:08:46 +08:00
Resulte Lee
460a4d4969
fix: init default captcha provider (#810)
* feat: init built in provider

* Update built-in provider in application

* Delete unnecessary judge

* Update init.go

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
2022-06-22 00:03:55 +08:00
leoshine
376bac15dc
fix: improve swagger Api docunment (#812) v1.58.1 2022-06-21 23:11:29 +08:00
Gucheng Wang
8d0e92edef Fix missing items in renderAccountItem(). 2022-06-21 17:08:08 +08:00
Gucheng Wang
0075b7af52 Fix JS warnings. 2022-06-21 15:26:58 +08:00
Resulte Lee
2c57bece39
feat: fix stuck error when no captcha provider found (#808) v1.58.0 2022-06-21 12:22:46 +08:00
Resulte Lee
2e42511bc4
feat: support configurable captcha(reCaptcha & hCaptcha) (#765)
* feat: support configurable captcha(layered architecture)

* refactor & add captcha logo

* rename captcha

* Update authz.go

* Update hcaptcha.go

* Update default.go

* Update recaptcha.go

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
v1.57.0
2022-06-18 16:00:31 +08:00
Gucheng Wang
ae4ab9902b Add accountTable. 2022-06-18 01:41:21 +08:00
Gucheng Wang
065b235dc5 Fix signupTable i18n. 2022-06-17 23:26:02 +08:00
Yixiang Zhao
63c09a879f
fix: disable jsx-a11y/anchor-is-valid (#800)
* fix: disable jsx-a11y/anchor-is-valid

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

* Update LoginPage.js

* Update SignupPage.js

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
v1.56.2
2022-06-17 19:57:11 +08:00
limix
61c80e790f
Fix Authentication failure! invalid_ticket: OneLogin::RubySaml::ValidationError #798 (#799) 2022-06-17 18:35:44 +08:00
Gucheng Wang
be91ff47aa Fix logo columns. 2022-06-17 00:07:16 +08:00
Gucheng Wang
b4c18eb7a4 Use codemirror for samlMetadata. 2022-06-16 23:59:18 +08:00
Gucheng Wang
0f483fb65b Improve preview buttons to copy link. 2022-06-16 22:01:09 +08:00
Gucheng Wang
ebe9889d58 Improve i18n 2022-06-16 21:35:52 +08:00
Gucheng Wang
ee42fcac8e Remove signup_item.go 2022-06-16 20:52:54 +08:00
ziliangyu
6187b48f61
fix: show alert when user clicks on application edit page's preview window (#794)
* fix:Show alert when user clicks on application edit page's preview window

* fix: Show alert when user clicks on application edit page's preview window in preview

* fix:Show alert when user clicks on application edit page's preview window

* fix: Show alert when user clicks on application edit page's preview window in preview

* Update ApplicationEditPage.js

* fix: show alert when user clicks on application edit page's preview window

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
v1.56.1
2022-06-15 22:11:37 +08:00
Gucheng Wang
2020955270 Fix cannot support old Docker version bug, revert PR: https://github.com/casdoor/casdoor/pull/606 2022-06-15 01:20:00 +08:00
Gucheng Wang
1b5a8f8e57 Fix missing i18n text. 2022-06-15 00:55:06 +08:00
Товарищ программист
ff94e5164a
feat: fix incorrect CAS url concatenation (#795)
* fix: fix incorrect cas url concatenation

* Update LoginPage.js

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
v1.56.0
2022-06-14 21:51:40 +08:00
ziliangyu
15a6fd2b52
feat: show alert when user clicks on application edit page's preview wi… (#791)
* fix:Show alert when user clicks on application edit page's preview window

* fix: Show alert when user clicks on application edit page's preview window in preview

* fix:Show alert when user clicks on application edit page's preview window

* fix: Show alert when user clicks on application edit page's preview window in preview

* Update ApplicationEditPage.js

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
v1.55.0
2022-06-13 12:18:18 +08:00
Ryao
37b6b50751
fix: remove redundant query for OAuth user (#788) v1.54.9 2022-06-10 15:58:22 +08:00
Ryao
efe5431f54
fix: OAuth user id confusion caused by username (#785) v1.54.8 2022-06-10 00:08:26 +08:00
Yixiang Zhao
e9159902eb
fix: fix the web compiled warnings (#778)
* fix: fix the web compiled warnings

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

* fix: disable changeMomentLanguage

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

* Update SyncerEditPage.js

* Update UserEditPage.js

* Update ResourceListPage.js

* Update ProviderEditPage.js

* Update ProductBuyPage.js

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.54.7
2022-06-05 20:56:31 +08:00
caoshengdong
604e2757c8
fix: fix the problem that user owner is not updated when updating organization name (#775)
* fix: use openid or unionid as username rather than nickname when logging with WeChat
FIX #762

* fix: fix the problem that user owner is not updated when updating organization name

* Update wechat.go

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
v1.54.6
2022-06-03 00:37:22 +08:00
Gucheng Wang
88c5aae9e9 Fix meta desc info. 2022-06-01 22:22:00 +08:00
Товарищ программист
3d0cf8788b
fix: trigger missing webhook (#770)
* fix: trigger missing webhook

* Update auth.go

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
v1.54.5
2022-06-01 09:34:56 +08:00
Yixiang Zhao
e78ea2546f
fix: bilibili name and avatar (#772)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.54.4
2022-05-31 21:54:00 +08:00
Roobtyan
f7705931f7 fix: handle WeChat username conflicts (#771)
* handle username conflicts

* Update auth.go

Co-authored-by: roobtyan <roobtyan@qq.com>
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-05-31 21:51:41 +08:00
caoshengdong
5d8b710bf7
fix: use openid or unionid as username rather than nickname when logging with WeChat (#763)
FIX #762
v1.54.3
2022-05-31 21:22:10 +08:00
Yixiang Zhao
b85ad896bf
fix: saml endpoint crash (#773)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.54.2
2022-05-31 21:10:35 +08:00
Yixiang Zhao
42c2210178
fix: set phone prefix when disable verification code (#769)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.54.1
2022-05-30 18:26:42 +08:00
Yixiang Zhao
d52caed3a9
feat: add model page (#757)
* feat: add model page

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

* feat: support config model for permission

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

* translation and indentation

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.54.0
2022-05-24 18:27:47 +08:00
Gucheng Wang
27d8cd758d Simplify README 2022-05-23 21:45:31 +08:00
greenhandatsjtu
98f77960de
feat: add Douyin OAuth provider (#753) v1.53.0 2022-05-15 20:59:21 +08:00
Yixiang Zhao
e5b71a08ae
feat: support "+" in syncer column name (#752)
* feat: support + in syncer column name

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

* feat: trim

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.52.0
2022-05-13 20:24:46 +08:00
Jiakuan Li
3ad4b7a43c
feat: add Bilibili OAuth (#720)
* implemented bilibili oauth

* add bilibili oauth

* add document address

* add frontend page

* uncheck
v1.51.0
2022-05-12 10:07:52 +08:00