Gaius
b1171f4bd4
feat: rename manager/model to manager/models ( #2191 )
...
The manager model package is renamed to models to
prevent the same name as the future inference model database table.
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:39 +08:00
Gaius
ad36eb64a7
feat: remove github/pkg/errors package ( #1416 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:31 +08:00
chmod100
2441ae85c9
fix: count error & totalPage error ( #1373 ) ( #1376 )
...
Signed-off-by: LetFu <letfu@outlook.com>
2023-06-28 17:33:27 +08:00
Gaius
e3cfd49808
feat: manager add bucket interface ( #1368 )
...
* feat: manager add bucket interface
Signed-off-by: Gaius <gaius.qi@gmail.com>
* docs: add bucket swagger
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:26 +08:00
Gaius
ef6e3665e6
feat: add user update interface and rename rest to service ( #1148 )
...
* feat: add user interface and rename rest to service
Signed-off-by: Gaius <gaius.qi@gmail.com>
* docs: api reference
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:04 +08:00
Gaius
e837ae9bdf
chore: add lint errcheck and fix errcheck( #766 )
...
* feat: add lint errcheck and fix errcheck
Signed-off-by: Gaius <gaius.qi@gmail.com>
* replace assert to require
Signed-off-by: 孙伟鹏 <weipeng.swp@alibaba-inc.com>
Co-authored-by: 孙伟鹏 <weipeng.swp@alibaba-inc.com>
2023-06-28 17:32:35 +08:00
Jim Ma
3d63ab2ca3
chore: update golang import lint ( #780 )
...
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:32:34 +08:00
Gaius
54e79fa1ed
feat: remove calculate total count service ( #772 )
...
* feat: add user list interface
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: remove calculate total count interface
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:32:33 +08:00
Gaius
2c48888c0f
feat: add user list interface ( #771 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:32:33 +08:00
Gaius
7a8575eca8
feat: add preheat otel ( #741 )
...
* feat: add preheat otel
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:32:31 +08:00
Gaius
6336925533
feat: enable manager user's features ( #598 )
...
* feat: enable manager user's features
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:31:43 +08:00
Gaius
8aa537636e
feat: add oauth2 signin ( #591 )
...
* feat: add oauth2 signin
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:31:42 +08:00
Gaius
e52b72990b
refactor: rbac
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:31:41 +08:00
Gaius
11c0f4f8de
refactor: user interface
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:31:41 +08:00
yxxhero
a0d56e483a
fix lint issue
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-06-28 17:31:41 +08:00
yxxhero
73a7329989
update user reset password
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-06-28 17:31:41 +08:00
yxxhero
92ebd103e7
feat: change rabc code struct ( #552 )
...
* feat: change rabc code struct
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-06-28 17:31:38 +08:00
Gaius
3657d8f8c4
feature: optimize manager project layout ( #540 )
...
* feat: optimize manager project layout
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: add file license
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:31:35 +08:00
Gaius
222a15f273
feat: optimize jwt ( #476 )
...
* feat: optimize jwt
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:30:28 +08:00
Gaius
6e94eca972
fix: user table typo ( #453 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:30:27 +08:00
yxxhero
3f861bdf6e
feat: Manager user logic ( #419 )
...
* add unittest for GenerateRandomSalt func
* add bcrypt package for user logic.
* add model.User into migrate
* update jwt middleware func
* remove encrypted_password export in json
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-06-28 17:30:26 +08:00