Steve0x2a
661abd6b6e
feat: add steam support ( #497 )
...
* feat: add steam support
Signed-off-by: 0x2a <stevesough@gmail.com>
* fix: wrong name
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-02-16 19:57:46 +08:00
Yixiang Zhao
4122c94205
feat: add pagination for LdapSyncPage and fix the bug Ldap auto-sync cannot disable ( #496 )
...
* feat: add pagination for LdapSyncPage
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: Ldap auto sync cannot disable
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-02-15 23:03:53 +08:00
Gucheng Wang
db37f53d6c
Update license headers.
2022-02-13 23:39:27 +08:00
Gucheng Wang
9024010081
Update demo site URL.
2022-02-13 20:47:34 +08:00
Yang Luo
07abe06332
Use utf8mb4 for DB encoding.
2022-02-11 22:38:56 +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
2022-02-10 17:15:15 +08:00
Yang Luo
612b5f5c2e
Improve message in GetOAuthToken().
2022-02-08 20:52:20 +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>
2022-02-05 21:54:38 +08:00
Yang Luo
940aa2bc2d
Add payment pages.
2022-02-05 20:13:15 +08:00
Gucheng Wang
19ed35f964
Add getOriginFromHost().
2022-01-29 23:43:25 +08:00
Steve0x2a
3c2f7b7fc8
feat: add protection against attacks ( #460 )
...
Signed-off-by: 0x2a <stevesough@gmail.com>
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>
2022-01-28 15:07:42 +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
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>
2022-01-26 11:56:01 +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>
2022-01-22 19:36:44 +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>
2022-01-21 09:29:19 +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
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 )
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
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
Bingchang Chen
fe48c38bc6
feat: support minio ( #418 )
...
Signed-off-by: abingcbc <abingcbc626@gmail.com>
2022-01-13 21:48:00 +08:00
Gucheng Wang
1be777c08f
Fix GetUserByField()'s bug for idCard.
2022-01-13 12:48:15 +08:00
Товарищ программист
8d54bfad8a
feat: support create database via cmd line ( #417 )
2022-01-13 11:35:13 +08:00
Gucheng Wang
69e0f4e40d
Add idCard in GetUserByFields().
2022-01-04 19:52:29 +08:00
Yang Luo
ba32a45693
Add ClaimsShort to fix the JWT user's owner and name empty bug.
2022-01-03 22:54:27 +08:00
Yang Luo
9b6131890c
Add permission page.
2022-01-01 16:28:33 +08:00
Steve0x2a
ffc0a0e0d5
fix: refresh_token endpoint does not work ( #410 )
...
Signed-off-by: 0x2a <stevesough@gmail.com>
2022-01-01 15:20:49 +08:00
Yang Luo
ff22bf507f
Add role page.
2022-01-01 15:11:16 +08:00
Yang Luo
2d4103d751
Add isUserExtended to webhook.
2022-01-01 11:16:37 +08:00
Yang Luo
4b65320a96
Support user uploading via xlsx.
2021-12-31 13:00:35 +08:00
Yang Luo
5e8897e41b
Make cert work.
2021-12-31 10:02:06 +08:00
Yang Luo
ba1646a0c3
Add cert pages.
2021-12-31 00:36:36 +08:00
Yang Luo
519fd655cf
Add GetMaskedApplication() and GetMaskedApplications().
2021-12-29 20:04:39 +08:00
Steve0x2a
4f124ff140
fix: refresh token does not return ( #401 )
...
Signed-off-by: 0x2a <stevesough@gmail.com>
2021-12-28 19:44:17 +08:00
Yang Luo
64d3b7e87f
Add EnableSigninSession to app.
2021-12-28 17:15:47 +08:00
Yang Luo
dfce1bd74c
Remove adapter.createDatabase().
2021-12-27 22:49:54 +08:00
Yang Luo
9943e3c316
Add isEnabled to webhook.
2021-12-26 21:03:12 +08:00
Yang Luo
0c665edcbc
Add headers to webhook.
2021-12-26 20:43:32 +08:00
Yang Luo
5015bf1c7d
Add method to webhook.
2021-12-26 19:56:02 +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
b60856be5e
Fix bug in updateUserForOriginalFields().
2021-12-25 00:19:17 +08:00
Yang Luo
4b4c9be71b
Fix other bugs in syncer.
2021-12-25 00:05:54 +08:00