boojack
7c5296cf35
chore: update id type to int32 ( #2076 )
2 years ago
boojack
5f819fc86f
chore: update auth middleware ( #2057 )
...
* chore: update auth middleware
* chore: update
* chore: update
2 years ago
Lilith
c1cbfd5766
feat: add system setting to disable password-based login ( #2039 )
...
* system setting to disable password login
* fix linter warning
* fix indentation warning
* Prohibit disable-password-login if no identity providers are configured
* Warnings and explicit confirmation when en-/disabling password-login
- Disabling password login now gives a warning and requires a second
confirmation which needs to be explicitly typed.
- (Re)Enabling password login now also gives a simple warning.
- Removing an identity provider while password-login is disabled now
also warns about possible problems.
* Fix formatting
* Fix code-style
---------
Co-authored-by: traumweh <5042134-traumweh@users.noreply.gitlab.com>
2 years ago
Mason Sun
a9eb605b0f
fix: auth api json format ( #2021 )
...
Update auth.go
api/v1/auth/相关接口未应用convertUserFromStore方法,会导致User对象获得类型存在问题,导致User定义的`json:`相关的字段转化失效。
导致输出json未被正确格式化
2 years ago
boojack
2effacd0a6
chore: add api docs ( #1965 )
2 years ago
boojack
7e391bd53d
chore: remove resource public id ( #1912 )
...
* chore: remove resource public id
* chore: update
2 years ago
boojack
0e05c62a3b
chore: update common utils ( #1908 )
2 years ago
boojack
a7573d5705
refactor: migrate memo to apiv1 ( #1907 )
...
* refactor: migrate memo to apiv1
* chore: update
* chore: update
* chore: update
* chore: upate
* chore: update
* chore: update
2 years ago
boojack
66e65e4dc1
refactor: migrate definition to api v1 ( #1879 )
...
* refactor: user api v1
* refactor: system setting to apiv1
* chore: remove unused definition
* chore: update
* chore: refactor: system setting
* chore: update
* refactor: migrate tag
* feat: migrate activity store
* refactor: migrate shortcut apiv1
* chore: update
2 years ago
boojack
9a8d43bf88
chore: update user store names ( #1877 )
...
* chore: update user store names
* chore: update
2 years ago
boojack
5fe644a3b6
chore: add jwt middleware in apiv1 ( #1869 )
2 years ago
boojack
6a78887f1d
chore: update store types name ( #1862 )
2 years ago
boojack
7226a9ad47
chore: update idp store ( #1856 )
2 years ago
boojack
b44f2b5ffb
chore: migrate user setting to api v1 package ( #1855 )
...
* chore: migrate to api v1 package
* chore: update
2 years ago
boojack
4ed9a3a0ea
refactor: migrate auth routes to v1 package ( #1841 )
...
* feat: add api v1 packages
* chore: migrate auth to v1
* chore: update test
2 years ago