937 Commits

Author SHA1 Message Date
Gucheng Wang
0bc29465e5 Improve error handling in WeChatIdProvider. 2022-02-11 20:42:48 +08:00
Rafael Firmino
c37b0111a7
test: add tests in setting file (#481)
* test: add tests in setting file

* Add Copyright

* fix: format importation convention

Co-authored-by: Rafael Firmino <rafaelfirmino@gmail.com>
2022-02-10 17:21:27 +08:00
Rafael Firmino
47d1448c02
test: add step in gitHub action from running tests first (#476)
* Add step for running tests in github actions

The test xlsx/xlsx_test.go is removed becout the path containing
file not exist.

* Fix error in test

* test: This test was supposed to test getUsers, but it does nothing

This test will be rewrite for using a clean database, today its
necessary create a syncer manualy for this test pass.

* Add syncer tests

* Fix Copyright position

* fix: back with test file
v1.16.4
2022-02-10 17:15:15 +08:00
Steve0x2a
eb15afec34
fix: use new dingtalk api and support qrcode method (#486)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-02-10 17:14:18 +08:00
Yang Luo
e1c54744dc Add cert to ApplicationEditPage.js 2022-02-08 20:59:20 +08:00
Yang Luo
612b5f5c2e Improve message in GetOAuthToken(). 2022-02-08 20:52:20 +08:00
Rafael Firmino
bd38552db5
test: add tests in time util package (#474)
* test: add tests in time util package

* Add copyright
v1.16.3
2022-02-07 22:21:19 +08:00
Steve0x2a
256b433e57
fix: IsTokenExpired function adjustment (#475)
* fix: IsTokenExpired function adjustment

Signed-off-by: Steve0x2a <stevesough@gmail.com>

* fix: tokenExpired err

Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-02-07 22:20:36 +08:00
Steve0x2a
63161d6135
fix: infoflow's parameter error (#480)
* fix: missing state parameter

Signed-off-by: Steve0x2a <stevesough@gmail.com>

* fix: infoflow's parameter error

Signed-off-by: Steve0x2a <stevesough@gmail.com>

* fix: use userid instead of imid

Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.16.2
2022-02-07 21:50:51 +08:00
Steve0x2a
5640d258bb
fix: missing state parameter (#478)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.16.1
2022-02-07 15:54:37 +08:00
Steve0x2a
f85f4c0cf8
feat: add infoflow idp support (#472)
* feat: add infoflow internal backend support

Signed-off-by: Steve0x2a <stevesough@gmail.com>

* feat: add infoflow idp support

Signed-off-by: Steve0x2a <stevesough@gmail.com>

* fix: copyright and comment

Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.16.0
2022-02-05 21:54:38 +08:00
Yang Luo
0720794e75 Fix bug in IsTokenExpired(). 2022-02-05 21:16:30 +08:00
Yang Luo
940aa2bc2d Add payment pages. 2022-02-05 20:13:15 +08:00
Товарищ программист
db44957b1f
fix: fix proxy for swagger (#471) v1.15.4 2022-02-04 20:00:40 +08:00
Rafael Firmino
e5e1fdae76
FIx: menu redirect to swagger (#470) 2022-02-04 19:08:32 +08:00
Rafael Firmino
80f01074fa
fix: 'restart always' instruction is in wrong position (#468) v1.15.3 2022-02-03 21:27:27 +08:00
Steve0x2a
d943d5cc61
fix: oauth params null value error (#465)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.15.2
2022-01-30 17:58:54 +08:00
Gucheng Wang
19ed35f964 Add getOriginFromHost(). 2022-01-29 23:43:25 +08:00
Товарищ программист
5757021e87
fix: prohibit cross-origin access (#462) v1.15.1 2022-01-29 21:52:04 +08:00
Gucheng Wang
259a4e1307 Fix Docker compose on Apple M1 Chip 2022-01-29 10:42:33 +08:00
Gucheng Wang
034d822dd5 Fix empty UserInfo ID in wecom_internal.go 2022-01-29 10:27:45 +08:00
Gucheng Wang
a8502d1173 Fix GetIdProvider() bug. 2022-01-29 09:52:48 +08:00
Steve0x2a
3c2f7b7fc8
feat: add protection against attacks (#460)
Signed-off-by: 0x2a <stevesough@gmail.com>
v1.15.0
2022-01-29 00:32:57 +08:00
Gucheng Wang
fbc73de3bb Support WeCom Internal sub type. 2022-01-28 23:57:54 +08:00
Gucheng Wang
479daf4fa4 Improve code format. 2022-01-28 17:45:41 +08:00
Steve0x2a
d129202b95
fix: no database check when using accessToken (#461)
Signed-off-by: 0x2a <stevesough@gmail.com>
v1.14.1
2022-01-28 15:07:42 +08:00
Steve0x2a
c1f553440e
feat: add wecom internal support (#452)
Signed-off-by: 0x2a <stevesough@gmail.com>
v1.14.0
2022-01-28 12:44:45 +08:00
Товарищ программист
7dcae2d183
fix: add k8s deployments example (#446) v1.13.2 2022-01-28 09:25:25 +08:00
Yixiang Zhao
5ec0c7a890
fix: fix the SQL injection vulnerability in field filter (#442)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.13.1
2022-01-26 19:36:36 +08:00
Steve0x2a
051752340d
feat: add userinfo endpoint (#447)
* feat: add userinfo endpoint

Signed-off-by: 0x2a <stevesough@gmail.com>

* feat: add scope support

Signed-off-by: 0x2a <stevesough@gmail.com>

* fix: modify the endpoint of discovery

Signed-off-by: 0x2a <stevesough@gmail.com>
v1.13.0
2022-01-26 11:56:01 +08:00
LiuBo
c87c001da3
fix: fix the permission page can not open when initial a new project (#449) v1.12.2 2022-01-25 19:39:04 +08:00
Steve0x2a
12bc419659
fix: baidu's display name error (#440)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.12.1
2022-01-23 20:32:44 +08:00
Gucheng Wang
d5f18f2d64 Support SilentSignin. 2022-01-23 13:02:55 +08:00
Steve0x2a
02c06bc93c
feat: add baidu support as idp (#438)
* feat: add baidu support as idp

Signed-off-by: Steve0x2a <stevesough@gmail.com>

* fix: add license

Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.12.0
2022-01-22 19:36:44 +08:00
Товарищ программист
40aa9a4693
fix: remove wait-for-it (#436) v1.11.1 2022-01-22 15:50:48 +08:00
Steve0x2a
630b84f534
feat: add PKCE support (#434)
* feat: add PKCE support

Signed-off-by: Steve0x2a <stevesough@gmail.com>

* fix: error output when challenge is empty

Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.11.0
2022-01-21 09:29:19 +08:00
Gucheng Wang
339a85e4b0 Support tableNamePrefix in authz table. 2022-01-20 14:20:37 +08:00
Gucheng Wang
c22ab44894 Update import path. 2022-01-20 14:11:46 +08:00
hanpeng
c3fb48f473
fix: Add a configuration that can set the table prefix. There is no prefix by default (#432)
* fix: Add a configuration that can set the table prefix. There is no prefix by default

* fix: Add a configuration that can set the table prefix. There is no prefix by default
v1.10.2
2022-01-20 13:50:20 +08:00
hanpeng
a111fd672c
fix: Add the configuration of whether to print SQL. The default value is false (#429) v1.10.1 2022-01-19 16:58:45 +08:00
Gucheng Wang
9fd175eefd Add ErrorText to syncer. 2022-01-17 21:17:42 +08:00
Gucheng Wang
d9bcce9485 Start syncer dynamically. 2022-01-17 20:09:29 +08:00
Gucheng Wang
d183b9eca9 Change syncer.SyncInterval to second-level. 2022-01-17 19:27:52 +08:00
Gucheng Wang
f24d9ae251 Don't update password in AddUsers(). 2022-01-17 13:26:30 +08:00
Gucheng Wang
030c1caa50 Fix bug in IsGlobalAdmin(). 2022-01-15 23:23:14 +08:00
Gucheng Wang
cee2c608a2 Disable PasswordModal when needed in user edit page. 2022-01-15 21:34:37 +08:00
Gucheng Wang
82d0e895e0 Update users and roles when org is changed in permission edit page. 2022-01-15 21:11:47 +08:00
Gucheng Wang
dee9bac110 Show signupApplication in user edit page. 2022-01-15 18:29:10 +08:00
Gucheng Wang
e7a6986b62 Add index to User.Id 2022-01-14 17:42:11 +08:00
Gucheng Wang
b91b4aec91 Allow global admin to modify username. 2022-01-13 23:20:10 +08:00