Commit Graph

116 Commits

Author SHA1 Message Date
icecheng
6b6b52a599 feat(role_management): Add apitest for test_assign_roles 2025-07-22 11:52:41 +08:00
icecheng
9dcd27bc8a feat(role_management): Add logic for creating temporary users to apitest. 2025-07-22 11:30:16 +08:00
icecheng
beba0f5fe5 feat(role_management): add api test case for permission api 2025-07-22 10:28:05 +08:00
icecheng
641281066c feat(role_management): Add pytest for auth services, and add api test case for role management 2025-07-21 17:51:08 +08:00
icecheng
b8be65615b feat(role_management): Add a universal Depends for permission verification. 2025-07-21 15:10:27 +08:00
icecheng
4109018692 feat(role_management): Update the JWT token generation logic to include new fields user_roles and user_permissions in the payload. 2025-07-21 13:09:59 +08:00
icecheng
419e58da0c feat(role_management): add delete role api 2025-07-21 10:53:37 +08:00
icecheng
4f39f888c4 feat(role_management): add delete permission api 2025-07-21 10:33:21 +08:00
icecheng
ca0bfb155f feat(role_management): add assign roles to user api 2025-07-21 10:20:46 +08:00
icecheng
795c1262c6 feat(role_management): add assign permissions to role api 2025-07-21 09:31:37 +08:00
icecheng
2382f0bece feat(role_management): add crud for role and permission 2025-07-18 18:05:57 +08:00
dd96819709 fix(cleaner): update document cleaner job 2025-04-26 19:53:44 -07:00
91a893a433 chore(hover_image): adding new hover images in the response body 2025-04-24 00:06:58 -07:00
ecad36ac5c Merge pull request 'feat(log): ensure parent directory exists before opening log file' (#5) from refactor/logging into dev
Reviewed-on: freeleaps/freeleaps-service-hub#5
2025-04-21 05:25:41 +00:00
zhenyus
bb90b26883 feat(log): ensure parent directory exists before opening log file
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 13:25:05 +08:00
fcc6d22e4d Merge branch 'dev' into refactor/logging 2025-04-21 02:58:52 +00:00
zhenyus
b8f7307a86 refactor(log): refactoring logging for each service for loki
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 10:55:26 +08:00
b95a818e30 Update payment redirect and scheduler job for deleting document id 2025-04-20 00:05:00 -07:00
Zhenyu Sun
9361f4c545 Merged PR 44: fix: invalid import path for app config
fix: invalid import path for app config

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 13:54:57 +00:00
zhenyus
4dfbab4d4d fix: invalid import path for app config
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 21:52:07 +08:00
Zhenyu Sun
8e409aea20 Merged PR 43: build(pip): bump fastapi version to 0.114.0
build(pip): bump fastapi version to 0.114.0

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 10:17:09 +00:00
zhenyus
a45698c184 build(pip): bump fastapi version to 0.114.0
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 18:16:41 +08:00
Zhenyu Sun
0f6e4731e3 Merged PR 42: build(pip): freeze missing deps for metrics supports
build(pip): freeze missing deps for metrics supports

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 09:58:23 +00:00
zhenyus
13c883966e build(pip): freeze missing deps for metrics supports
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 17:57:13 +08:00
Zhenyu Sun
9c4cfbff0b Merged PR 41: Implements probes and metrics APIs 2025-03-17 08:17:31 +00:00
zhenyus
d5e42d31a4 feat(observability): add configuration options and implement metrics/probes APIs
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 10:46:02 +08:00
dongli
5e66fa806b Log urls at create_account_link 2025-03-16 13:13:43 -07:00
b12f8cc965 Fix the concatenation issue with message 2025-03-13 23:46:49 -07:00
zhenyus
962292cfe0 chore: enabled orm initialization when startup
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-12 16:10:47 +08:00
zhenyus
9754576d28 feat(probes): add metrics and probes APIs for application health checks
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-12 15:59:06 +08:00
Zhenyu Sun
ea9dcb22cb build(pip): bump content deps fastapi to 0.114.0 2025-03-06 17:52:29 +00:00
Zhenyu Sun
13bd2396c4 Merged PR 28: Merge to master to trigger production ci 2025-03-05 18:27:17 +00:00
dongli
0f02181e33 Expose prometheus metrics for all apps 2025-03-02 17:08:08 -08:00
zhenyus
78c72179ec fix(rabbitmq): correct syntax for port and virtual host parameters in AsyncMQClient
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-02-24 02:20:01 +08:00
zhenyus
853d817933 feat(notification): add rabbitmq credentials relates notification services configs
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-02-24 02:05:25 +08:00
zhenyus
da584b8ffa build(docker): update CMD to use shell for environment variable expansion in Dockerfiles
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-02-22 22:30:37 +08:00
Zhenyu Sun
9b42dbfa7f build(dockerfile): update entrypoint for authentication 2025-02-22 13:37:47 +00:00
Zhenyu Sun
b0acad860e build(docker): update Dockerfile for notification 2025-02-22 13:00:05 +00:00
Zhenyu Sun
8f799c60ff build(docker): update Dockerfile for payment 2025-02-22 12:34:30 +00:00
Zhenyu Sun
3769af6e93 build(docker): update Dockerfile for notification 2025-02-22 12:34:08 +00:00
Zhenyu Sun
0a7c7429c3 Updated Dockerfile 2025-02-22 11:55:44 +00:00
Zhenyu Sun
f22a2eedf2 build(docker): remove useless scripts in Dockerfile 2025-02-22 11:55:16 +00:00
Zhenyu Sun
be910d4c95 build(docker): remove useless scripts in Dockerfile 2025-02-22 11:54:59 +00:00
Zhenyu Sun
de37fcddba build(docker): remove additional scripts 2025-02-22 11:40:23 +00:00
Jet Li
6028b0a6f0 Create one-off photo_id backfill job 2025-02-07 08:13:59 +00:00
Jet Li
da369dc61b Remove useless variable 2025-02-03 09:13:20 +00:00
Jet Li
81f734c19a Add delete-file endpoint, add remove old documents logic in refresh sharepoint logic 2025-02-03 09:11:48 +00:00
Jet Li
8ab64be6a1 Fix the typo used in the authentication log 2025-02-01 10:24:19 +00:00
Jet Li
43671d684d Fix the last missing piece of extra_filed typo 2025-02-01 07:11:32 +00:00
Jet Li
13171f16b7 Fix authentication log config 2025-02-01 07:02:11 +00:00