Dmitry Buryanov
2f31e35315
feat: update casbin to 2.77.2 ( #2345 )
...
* fix: make redirect_uri really optional in logout route
* feat: update casbin to 2.77.2
2023-09-20 23:37:55 +08:00
Yang Luo
b6d6aa9d04
Use GenerateIdForNewUser() in add-user API
2023-09-20 22:50:17 +08:00
Yang Luo
f40d44fa1c
Refactor out GenerateIdForNewUser()
2023-09-20 22:45:00 +08:00
Yang Luo
764e88f603
Change MFA issuer
2023-09-18 17:40:11 +08:00
Yang Luo
0fc48bb6cd
Remove escapePath() to fix Unicode resource filenames
2023-09-17 21:31:22 +08:00
ZhiKai
c3b3840994
fix: fix update score permission check ( #2335 )
...
* fix: Fixed the missing permission check when updating the score field.
* Update object/user_util.go
2023-09-16 21:06:20 +08:00
Yang Luo
eacc3fae5a
fix: handle more errors in downloadImage()
2023-09-15 22:53:09 +08:00
Yang Luo
ce7a2e924b
feat: fix XML format issue in GenerateCasToken()
2023-09-15 22:38:04 +08:00
Yang Luo
ece060d03d
feat: fix XML bug in GenerateCasToken()
2023-09-15 18:57:59 +08:00
Yang Luo
616629ef99
Refactor CheckLoginPermission() code
2023-09-15 02:47:53 +08:00
haiwu
08a0092974
feat: fix alipay payment provider ( #2330 )
...
* feat: support alipay payment provider
* feat: update notify params
* feat: update root cert
* feat: update ProviderEditPage.js
* feat: gofumpt
2023-09-13 17:30:51 +08:00
Yang Luo
bb04b10e8b
Fix JSON issue in GenerateCasToken()
2023-09-13 16:45:11 +08:00
Yang Luo
32a8a028d5
Set TOTP issuer to Casdoor
2023-09-12 23:56:39 +08:00
Yang Luo
0fe34c2f53
Fix the issue that database syncer can't work with null-fields on source table
2023-09-12 16:06:44 +08:00
UsherFall
dc57c476b7
feat: support acs email provider ( #2323 )
...
* feat: support acs email provider
* feat: support acs email provider
* hide Test SMTP Connection button
* fix name acs
2023-09-12 02:13:37 +08:00
Cattī Crūdēlēs
a7cb202ee9
feat: fix JSON tag of EmailVerified ( #2322 )
...
Signed-off-by: Cattī Crūdēlēs <17695588+wzy9607@users.noreply.github.com>
2023-09-11 18:33:24 +08:00
Yang Luo
c62588f9bc
Add EmailVerified to UserInfo
2023-09-08 18:27:14 +08:00
haiwu
16cd09d175
feat: support wechat pay ( #2312 )
...
* feat: support wechat pay
* feat: support wechat pay
* feat: update wechatpay.go
* feat: add router /qrcode
2023-09-07 15:45:54 +08:00
Yang Luo
e528e8883b
Add "localhost" to IsRedirectUriValid()
2023-09-06 21:14:58 +08:00
Yang Luo
b7cd604e56
Mask user in GenerateCasToken()
2023-09-06 18:36:55 +08:00
Yang Luo
3c2fd574a6
Refactor GenerateCasToken()
2023-09-06 18:35:13 +08:00
Yang Luo
a9de7d3aef
Add groups to permission
2023-09-06 00:10:33 +08:00
Yang Luo
9820801634
Make Product's Providers longer (255)
2023-09-05 20:24:24 +08:00
UsherFall
c6e422c3a8
feat: add multiple notification providers ( #2302 )
...
* feat: support dingtalk notification provider
* feat: support lark notification provider
* feat: support microsoft teams notification provider
* feat: support bark notification provider
* feat: support pushover notification provider
* feat: support pushbullet notification provider
* feat: support slack notification provider
* feat: support webpush notification provider
* fix go-test error
* update notify repository
* feat: support discord notification provider
* feat: support google chat notification provider
* feat: support Line notification provider
* feat: support matrix notification provider
* feat: support twitter notification provider
* fix lint
* add no proxy provider
* update setting.js
* update social_teams
2023-09-05 17:05:34 +08:00
Yang Luo
c1eae9fcd8
Fix TotpMfa's Verify()
2023-09-04 19:21:26 +08:00
Yang Luo
e584a6a111
Support using "?allowEmpty=1" to bypass empty displayName check in update-user API
2023-09-02 11:59:07 +08:00
Yang Luo
3078409343
Add CertPublicKey to Application
2023-09-01 21:16:51 +08:00
Tower He
bbf2db2e00
feat: support to use a different db schema for pg ( #2281 )
2023-09-01 18:02:13 +08:00
Yang Luo
2cc55715ac
Add app.conf existence check
2023-09-01 01:25:45 +08:00
Yang Luo
ec956c12ca
Fix Email duplicated issue in update-user
2023-08-31 23:44:40 +08:00
Tower He
d3d4646c56
feat: fix can not create db when using pg with a dbname in DSN ( #2280 )
...
* fix: can not create db when using pg with a dbname in DSN
* Update ormer.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-08-31 18:05:38 +08:00
Yang Luo
669ac7c618
Don't encrypt user pass when user.PasswordType is non-empty when adding users
2023-08-31 17:49:36 +08:00
haiwu
953be4a7b6
feat: support subscription periods (yearly/monthly) ( #2265 )
...
* feat: support year/month subscription
* feat: add GetPrice() for plan
* feat: add GetDuration
* feat: gofumpt
* feat: add subscription mode for pricing
* feat: restrict auto create product operation
* fix: format code
* feat: add period for plan,remove period from pricing
* feat: format code
* feat: remove space
* feat: remove period in signup page
2023-08-30 17:13:45 +08:00
Yang Luo
1e5ce7a045
Fix crash in syncUsersNoError()
2023-08-28 01:51:06 +08:00
Baihhh
b19be2df88
fix: change the id to key in syncer ( #2263 )
2023-08-27 20:57:27 +08:00
Yang Luo
fc3866db1c
Use XORM grammar in syncer
2023-08-27 18:15:23 +08:00
Yang Luo
bf2bb31e41
Add sslMode for syncer
2023-08-27 17:07:19 +08:00
Yang Luo
988b26b3c2
Return error for RunSyncer()
2023-08-27 02:22:37 +08:00
Yaodong Yu
7970edeaa7
feat: password and invitation code verification rules ( #2258 )
2023-08-25 21:16:21 +08:00
haiwu
9da2f0775f
fix: fix bug in Pricing ( #2255 )
2023-08-25 19:27:46 +08:00
haiwu
05b2f00057
feat: support Pricings flow ( #2250 )
...
* feat: fix price display
* feat: support subscription
* feat: fix select-plan-> signup -> buy-plan -> login flow
* feat: support paid-user to login and jump to the pricing page
* feat: support more subscription state
* feat: add payment providers for plan
* feat: format code
* feat: gofumpt
* feat: redirect to buy-plan-result page when user have pending subscription
* feat: response err when pricing don't exit
* Update PricingListPage.js
* Update ProductBuyPage.js
* Update LoginPage.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-08-24 23:20:50 +08:00
Yang Luo
8073dfa88c
Remove tmpFiles folder usage
2023-08-24 22:03:36 +08:00
Yang Luo
1eeeb64a0c
Add checkModel() for UserGroupEnforcer
2023-08-24 18:22:23 +08:00
Yaodong Yu
f5e0461cae
feat: add invitation code for signup feature ( #2249 )
...
* feat: add invitation code for signup feature
* feat: add invitation code for signup feature
2023-08-24 13:42:17 +08:00
Andrey
a0c5eb241f
feat: add fields to syncer (PreferredMfaType, TotpSecret, SignupApplication) #2239 ( #2245 )
2023-08-23 21:40:00 +08:00
Yaodong Yu
2b23c04f49
fix: add SignupApplication and type for user synced from LDAP ( #2240 )
2023-08-21 22:52:35 +08:00
Cattī Crūdēlēs
e60ee52d91
feat: replace satori/go.uuid with google/uuid ( #2238 )
2023-08-21 13:58:15 +08:00
UsherFall
c54b54ca19
fix: Adjust custom http to notification provider ( #2237 )
...
* feat: Adjust custom http to notification provider
* fix go linter
* update ProviderEditPage
* update ProviderEditPage
2023-08-20 21:04:30 +08:00
Yaodong Yu
f0e097e138
feat: fix home page ( #2236 )
...
* fix: home page
* fix: home page
2023-08-20 00:58:39 +08:00
Yang Luo
ea7718d7b7
Use Casvisor for records
2023-08-20 00:44:01 +08:00