Gucheng Wang
e31aaf5657
Rename httpProxy.
2022-03-03 08:59:38 +08:00
Gucheng Wang
db37f53d6c
Update license headers.
2022-02-13 23:39:27 +08:00
Gucheng Wang
19ed35f964
Add getOriginFromHost().
2022-01-29 23:43:25 +08:00
Gucheng Wang
339a85e4b0
Support tableNamePrefix in authz table.
2022-01-20 14:20:37 +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
Steve0x2a
2f70e77e53
fix: wrong sub return and docker-compose boolean value error. ( #375 )
...
* fix: wrong sub return
Signed-off-by: 0x2a <stevesough@gmail.com>
* fix: yaml bool value must be enclosed in quotes
Signed-off-by: 0x2a <stevesough@gmail.com>
2021-12-16 11:10:25 +08:00
Gucheng Wang
589c0404d2
Fix dataSourceName config to use correct DB host in Docker.
2021-12-12 23:51:53 +08:00
Gucheng Wang
96e2f286ee
Merge into one origin config.
2021-12-12 19:26:06 +08:00
Yixiang Zhao
b73b9a65b6
feat: support third-party application to login with SAML rather than only Casdoor itself ( #350 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2021-12-10 00:23:04 +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
Gucheng Wang
21f433d278
Add logPostOnly.
2021-11-09 23:32:53 +08:00
Yang Luo
9a71bb02e3
Add data to oidcDiscovery.
2021-09-25 15:17:35 +08:00
Yang Luo
ea8017dd4b
Change default db password to 6 digits.
2021-09-21 20:07:34 +08:00
Yang Luo
e50c6cd4b5
Add PermanentAvatar to user.
2021-08-21 23:17:33 +08:00
Kininaru
c0ab24205d
feat: add user initScore in app.conf ( #220 )
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
-> 2000
2021-08-03 23:28:02 +08:00
Yang Luo
3be7d3b273
Support redis session.
2021-08-01 00:30:12 +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
WindSpiritSR
1bca883f4f
fix: Move proxy address config to app.conf
...
Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
2021-07-04 15:48:29 +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
Kininaru
827930a020
feat: add reset phone by verification code
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fixed client bug
Signed-off-by: Kininaru <shiftregister233@outlook.com>
feat: add i18n
Signed-off-by: Kininaru <shiftregister233@outlook.com>
add Casbin License
Signed-off-by: Kininaru <shiftregister233@outlook.com>
removed port from remoteaddr
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-12 22:59:42 +08:00
Yang Luo
5a3abdbc95
Rename to authState, useProxy, delete EnableDocs.
2021-05-09 12:02:20 +08:00
Kininaru
885592d774
feat: add email sender
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
update go mod sum
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-09 11:39:42 +08:00
Yang Luo
be0cfa132e
Rename db to driverName.
2021-05-02 00:34:15 +08:00
Kininaru
6dcece3990
feat: add pg for db adapter ( #50 )
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fix: postgres creating failed
Signed-off-by: Kininaru <shiftregister233@outlook.com>
nil
Signed-off-by: Kininaru <shiftregister233@outlook.com>
rewrite postgres logic
Signed-off-by: Kininaru <shiftregister233@outlook.com>
removed pq from dependencies
Signed-off-by: Kininaru <shiftregister233@outlook.com>
comment pq
Signed-off-by: Kininaru <shiftregister233@outlook.com>
typo
Signed-off-by: Kininaru <shiftregister233@outlook.com>
comment
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-04-29 21:53:42 +08:00
Yang Luo
6002395d12
Support oss domain.
2021-04-27 19:00:34 +08:00
Yang Luo
3437885723
Improve oss key names.
2021-04-27 18:11:41 +08:00
Kininaru
3a13b8e73c
feat: add go backend API docs
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-03-29 23:40:25 +08:00
Kininaru
1908f528c8
feat: added avatar tailoring and uploading
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fixed type errors
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fixed the wrong folder
Signed-off-by: Kininaru <shiftregister233@outlook.com>
rewrite login check logic, added unix time to avatar url
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fixed a bug about strconv
Signed-off-by: Kininaru <shiftregister233@outlook.com>
supported oss
Signed-off-by: Kininaru <shiftregister233@outlook.com>
disabled oss provide qiniu
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Fixed avatar url error
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Fixed avatar length bug
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Fixed avatar length bug
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fixed oss.conf
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Put uploading avatar into UserEditPage
Signed-off-by: Kininaru <shiftregister233@outlook.com>
removed avatar dir
Signed-off-by: Kininaru <shiftregister233@outlook.com>
removed avatar in main.go
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Made CropperDiv a reusable component, and updated README for OSS config
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Convert ts to js
Signed-off-by: Kininaru <shiftregister233@outlook.com>
removed ts
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fix: set avatar link to string 255
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fix: updated yarn lock
Signed-off-by: Kininaru <shiftregister233@outlook.com>
add: Casbin license
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-03-17 13:19:23 +08:00
Yang Luo
e4778b967f
Add dbName config.
2021-02-15 10:11:26 +08:00
Yang Luo
15f9d71127
Add UseProxy config.
2021-02-14 17:24:05 +08:00
Yang Luo
c81118feff
Add github oauth.
2021-02-14 00:22:24 +08:00
Yang Luo
1483d08df7
Set server port to 8000.
2021-01-18 20:26:06 +08:00
Yang Luo
b5eb673c81
Add user list and edit pages.
2020-10-20 23:14:03 +08:00
Yang Luo
49d84c1c2c
Add server code.
2020-10-20 21:57:29 +08:00