Yang Luo
15269d3315
Refactor out conf_quota.go
2023-08-19 16:39:21 +08:00
Yang Luo
812bc5f6b2
Fix "nu" bug in GetLanguage()
2023-06-20 21:16:01 +08:00
Yang Luo
2d04731622
Provide default value for logConfig
2023-06-10 15:59:56 +08:00
Yang Luo
f2e3182a69
Fix null value in backend Translate()
2023-06-07 02:17:48 +08:00
yehong
02e692a300
feat: return most backend API errors to frontend ( #1836 )
...
* feat: return most backend API errros to frontend
Signed-off-by: yehong <239859435@qq.com>
* refactor: reduce int type change
Signed-off-by: yehong <239859435@qq.com>
* feat: return err backend in token.go
Signed-off-by: yehong <239859435@qq.com>
---------
Signed-off-by: yehong <239859435@qq.com>
2023-05-30 15:49:39 +08:00
Yang Luo
293b9f1036
Remove languages in app.conf
2023-05-18 15:44:11 +08:00
Yang Luo
910816c7a3
Fix bug in GetLanguage()
2023-02-24 20:17:23 +08:00
Yang Luo
842d4865b2
Fix router error message's i18n
2023-02-18 16:11:23 +08:00
Mr Forest
27bd771fed
feat: handle the dataSourceName when DB changes ( #1352 )
...
* fix: handle the dataSourceName when DB changes
* reduce duplication of code
2022-12-02 22:20:18 +08:00
WangGuan
7867060b71
feat: add quota limitation to organizations, users, providers and applications ( #1339 )
2022-11-29 11:01:41 +08:00
Gucheng Wang
04709f731b
Update beego to v1.12.11
2022-09-29 19:45:17 +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
Gucheng Wang
2394c8e2b4
Make sure newStaticBaseUrl is not empty
2022-08-29 21:27:47 +08:00
q1anx1
2ea58cd639
chore(style): use gofumpt
to fmt go code ( #967 )
2022-08-07 12:26:14 +08:00
Gucheng Wang
2020955270
Fix cannot support old Docker version bug, revert PR: https://github.com/casdoor/casdoor/pull/606
2022-06-15 01:20:00 +08:00
Товарищ программист
5f8924ed4e
feat: support overriding configuration with env ( #590 )
2022-03-20 23:21:09 +08:00
Gucheng Wang
db37f53d6c
Update license headers.
2022-02-13 23:39:27 +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