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
2022-12-07 13:13:23 +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
2022-11-21 01:17:55 +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
2022-11-13 15:05:15 +08:00
Yaodong Yu
8d686411ee
feat: support add providers inside the Organization scope ( #1250 )
...
* feat: support add providers inside the Organization scope
Signed-off-by: magicwind <2814461814@qq.com>
* Update ProviderListPage.js
* fix: gloabal admin can see all providers
* fix: table fixed column warning
* fix: edit application page can get all providers
Signed-off-by: magicwind <2814461814@qq.com>
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2022-11-04 21:31:08 +08:00
Yaodong Yu
ce722897f1
feat: support prefix path for storage files ( #1258 )
2022-11-04 21:08:39 +08:00
Mr Forest
a8381e875b
feat: change all occurrences when a object name is changed ( #1252 )
2022-11-02 00:17:38 +08:00
Mr Forest
d86f3c88c7
feat: support i18n in backend err messages ( #1232 )
...
* feat: support i18n in backend err messages
* use gofumpt to fmt code
* fix review problems
* support auto generate err message
* delete beego/i18n moudle
* fix Github action test problems
* fix review problems
* use gofumpt to format code
* use gofumpt to fmt code
2022-10-23 15:16:24 +08:00
Gucheng Wang
d278bc9651
Add receiver for Email provider
2022-09-04 11:37:36 +08:00
Gucheng Wang
f716a0985f
Add disableSsl to provider.
2022-08-09 23:38:35 +08:00
SLingyu
8e98fc5a9f
feat: rename all publicKey occurrences to certificate ( #894 )
...
* fix:The certs page is displayed incorrectly
* Translations for each language are added
* Replace the variables certificat with Certificat with certificate and Certificate
* Replace the variables certificat with Certificat with certificate and Certificate
* Variable names are more accurate
* Variable names are more accurate
* Modify the variable name
2022-07-23 09:40:51 +08:00
Resulte Lee
2c57bece39
feat: fix stuck error when no captcha provider found ( #808 )
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>
2022-06-18 16:00:31 +08:00
greenhandatsjtu
8efd964835
fix: unchanged masked client_secret/password updated to ***
( #749 )
2022-05-10 17:37:12 +08:00
halozhy
287f60353c
feat: try to support custom OAuth provider ( #667 )
...
* feat: try to support private provider
* fix: modify code according to code review
* feat: set example values for custom params
2022-04-16 17:17:45 +08:00
Yi Zhan
b92d03e2bb
feat: add wechat mini program support ( #658 )
...
* feat: add wechat mini program support
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: accept suggestions.
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: error message and code level modification
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: simplify the use process
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-04-15 11:49:56 +08:00
halozhy
8d13bf7e27
feat: add Alipay support as idp ( #638 )
...
* feat: add alipay support as idp
* fix: rename a static svg icon
* fix: sort imports
* fix: no longer use pkcs8 package
2022-04-02 22:37:13 +08:00
Yang Luo
4dca3bd3f7
Add Notify() to payment provider.
2022-03-14 02:56:04 +08:00
Yang Luo
bf5d4eea48
Add alipay provider.
2022-03-06 22:46:02 +08:00
Gucheng Wang
db37f53d6c
Update license headers.
2022-02-13 23:39:27 +08:00
Gucheng Wang
fbc73de3bb
Support WeCom Internal sub type.
2022-01-28 23:57:54 +08:00
Yixiang Zhao
5ec0c7a890
fix: fix the SQL injection vulnerability in field filter ( #442 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-01-26 19:36:36 +08:00
Gucheng Wang
c22ab44894
Update import path.
2022-01-20 14:11:46 +08:00
Yixiang Zhao
10a85f2386
feat: add server-side search, filter and sorter for all pages ( #388 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2021-12-25 10:55:10 +08:00
Yang Luo
7cfece3019
Add GetMaskedProvider() and GetMaskedProviders().
2021-12-21 00:20:12 +08:00
Yang Luo
3efbcc739d
Support WeChat MP at the same time.
2021-12-20 23:36:28 +08:00
Yixiang Zhao
370e835499
feat: support AuthnRequest in SAML ( #372 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2021-12-15 21:38:00 +08:00
Yixiang Zhao
113398c36b
feat: support SAML and test with aliyun IDaaS ( #346 )
...
* feat: support SAML and test with aliyun IDaaS
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* refactor: refactor saml.go and router
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: add param to getSamlLogin()
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* feat: add inputs to parse metadata automatically and show sp-acs-url, sp-entity-id
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2021-12-06 21:46:50 +08:00
Gucheng Wang
dc9d2389a5
Add IntranetEndpoint to provider.
2021-12-04 16:38:34 +08:00
Yixiang Zhao
b1db47bad1
feat: add server-side pagination ( #312 )
...
Signed-off-by: “seriouszyx” <seriouszyx@foxmail.com>
2021-11-06 11:32:22 +08:00
sh1luo
edf621f4d5
feat: support web-auth way for wecom ( #275 )
...
Signed-off-by: sh1luo <690898835@qq.com>
2021-08-23 23:12:53 +08:00
sh1luo
8c66ef6860
fix: improve code specification ( #231 )
2021-08-14 14:18:08 +08:00
Kininaru
3d493b8d8f
feat: integrate Storage config into providers ( #198 )
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-07-26 11:39:49 +08:00
sh1luo
c632c3c307
fix: replace casdoor with casbin ( #194 )
...
Signed-off-by: sh1luo <690898835@qq.com>
2021-07-25 09:34:25 +08:00
Yang Luo
64f85fdc6c
Fix get null object bug.
2021-06-21 01:09:02 +08:00
Yang Luo
7ea469e876
Add provider_item.go
2021-06-16 00:18:56 +08:00
Yang Luo
5a852bfd1d
Use new providerItem.
2021-06-14 22:42:34 +08:00
Yang Luo
9fe310f2b7
Add provider table.
2021-06-14 19:09:04 +08:00
Yang Luo
440aad2369
Only show some providers in signup page.
2021-06-09 20:42:23 +08:00
Yang Luo
2fff5f79ce
Can set email title and content now.
2021-05-24 20:21:41 +08:00
Yang Luo
dbf11d61a7
Add sms and email providers to app.
2021-05-24 01:02:38 +08:00
Yang Luo
31d981baf1
Fix small issues.
2021-05-23 23:38:38 +08:00
Kininaru
f39378562f
feat: turing test before send code
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
i18n
i18n
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-22 21:03:49 +08:00
Kininaru
66d953a6c1
feat: check user email and phone when signing up
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
phone prefix error
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fix i18n
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fix i18n error
Signed-off-by: Kininaru <shiftregister233@outlook.com>
removed useless file
Signed-off-by: Kininaru <shiftregister233@outlook.com>
move timeout to app.conf
Signed-off-by: Kininaru <shiftregister233@outlook.com>
i18n
Signed-off-by: Kininaru <shiftregister233@outlook.com>
made verification code reusable
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-18 22:20:26 +08:00
Yang Luo
43db2de8d8
Add phone provider.
2021-05-15 13:43:21 +08:00
Yang Luo
162c7261a3
Add getDefaultEmailProvider().
2021-05-15 10:13:12 +08:00
Yang Luo
fb9f18af2c
Add Email provider.
2021-05-14 23:45:20 +08:00
Yang Luo
db5ecddd3f
Remove /get-default-providers API.
2021-05-14 16:07:39 +08:00
Yang Luo
79f1c62ff7
Move adapter.createTable() out, make engine public.
2021-05-02 10:34:31 +08:00
Yang Luo
36895801f0
Add Link API.
2021-04-19 01:14:41 +08:00
Yang Luo
d6715c7601
Improve API error handling.
2021-03-28 00:48:34 +08:00