49 Commits

Author SHA1 Message Date
Yang Luo
1c296e9b6f feat: activate enableGzip by default in app.conf 2023-10-15 01:27:42 +08:00
Yang Luo
6a9d1e0fe5 Add frontendBaseDir 2023-10-04 12:19:56 +08:00
haiwu
6fe5c44c1c
feat: support radius accounting request (#2362)
* feat: add radius server

* feat: parse org from packet

* feat: add comment

* feat: support radius accounting

* feat: change log

* feat: add copyright
2023-09-26 22:48:00 +08:00
haiwu
b94d06fb07
feat: add some Radius protocol code (#2351)
* feat: add radius server

* feat: parse org from packet

* feat: add comment

* Update main.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-09-24 16:50:31 +08:00
Alex OvsInc
18cc952f8e
feat: Customization of the initialization file (#1936) 2023-06-05 21:00:28 +08:00
Sergey Zabodalov
10e66f8020
fix: Get logger configuration from app.conf file (#1907)
* feat: Get logger configuration from file

* feat: Get logger configuration from file

* Remove GetConfigLogs()
2023-05-30 21:30:09 +08:00
Yang Luo
293b9f1036 Remove languages in app.conf 2023-05-18 15:44:11 +08:00
Yang Luo
be87078c25 Fix vi i18n 2023-04-15 14:16:49 +08:00
Dzung Do
984a69cb4b
feat: fix wrong Vietnamese flag (#1724)
* fix wrong Vietnam country code

* fix wrong Vietnam country code

* fix wrong Vietnam country code

* fix wrong Vietnam country code
2023-04-10 22:42:12 +08:00
Gucheng Wang
98f962f818 Support i18n of id 2023-03-19 19:56:56 +08:00
Yang Luo
3f0a741e6c Improve i18n languages 2023-02-18 17:35:36 +08:00
WangGuan
7867060b71
feat: add quota limitation to organizations, users, providers and applications (#1339) 2022-11-29 11:01:41 +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
Mr Forest
07c1e3b836
feat: support simple LDAP server (#1155)
* feat:Support simple ldap server

* fix:fix review problems

* fix:fix review problems
2022-09-24 21:48:29 +08:00
Gucheng
5707e38912
feat: add batchSize to conf (#1120) 2022-09-13 20:31:22 +08:00
cofecatt
7599e2715a
feat: add demo mode (#1097)
* feat: add demo mode

* feat: add demo mode

* Update app.conf

* Update authz.go

* Update authz.go

Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-09-04 21:20:19 +08:00
leoshine
ba732b3075
feat: use staticBaseUrl for all static resources (#1015)
* feat: modify system image link

* Update App.less

Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-08-15 09:18:21 +08:00
Bingchang Chen
208dc11d25
fix: set SessionOn always true (#877)
* fix: set SessionOn always true

* Update adapter.go

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
2022-07-11 12:36:20 +08:00
Gucheng Wang
06759041a8 Fix socks5Proxy config typo. 2022-07-08 23:24:54 +08:00
Gucheng Wang
e31aaf5657 Rename httpProxy. 2022-03-03 08:59:38 +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
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
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
Kininaru
3a13b8e73c feat: add go backend API docs
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-03-29 23:40:25 +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