Commit Graph

305 Commits

Author SHA1 Message Date
YuehuCao
6bbaaae30f feat(env): add env config 2025-10-11 09:47:11 +08:00
YuehuCao
5f18212343 feat(model): add usage_log_doc 2025-10-11 09:42:40 +08:00
YuehuCao
53381d22be feature(env): add env config 2025-10-11 09:41:25 +08:00
icecheng
70e40bd1b3 feat(metrics): update config for starrocks database pooling 2025-09-30 13:49:04 +08:00
75813a3599 Merge pull request 'tania_authentication_local' (#77) from tania_authentication_local into dev
Reviewed-on: freeleaps/freeleaps-service-hub#77
2025-09-28 02:09:50 +00:00
YuehuCao
b244fd5bc8 chore: delete used interface 2025-09-26 17:19:30 +08:00
YuehuCao
3a222d14dc feat(new): add new methonds 2025-09-26 17:18:44 +08:00
YuehuCao
89d0f2ee8f feat(new): new interfaces for create or update role&permission, and query method not using pagination 2025-09-26 17:17:14 +08:00
YuehuCao
58eea0e2b2 feat(recover): recover the initial version because we will use the new interfaces 2025-09-26 17:15:18 +08:00
6eb50f1726 Merge pull request 'tania_middleware' (#75) from tania_middleware into dev
Reviewed-on: freeleaps/freeleaps-service-hub#75
2025-09-26 06:48:39 +00:00
YuehuCao
7a2686998b fix(cache): cache client rather than the db 2025-09-26 14:08:42 +08:00
YuehuCao
4d3b763ea3 refactor(name):rename the file 2025-09-26 14:07:45 +08:00
69b75932f7 Merge branch 'dev' into Nicolas_service_hub 2025-09-26 02:23:14 +00:00
58446292ef Merge pull request 'feature/icecheng/metric-fix' (#74) from feature/icecheng/metric-fix into dev
Reviewed-on: freeleaps/freeleaps-service-hub#74
2025-09-26 02:20:35 +00:00
Nicolas
5d6abb0aa2 fix: remove problematic ModuleLogger dependencies from startup events
- Remove ModuleLogger dependencies from notification and payment services startup
- Fix startup blocking issues caused by circular database dependencies
- Simplify freeleaps_app.py startup flows for both services
- Service startup now completes without database connection dependency
2025-09-26 10:07:07 +08:00
icecheng
8ee447a9fb feat: update prometheus query logic, use utc timezone and update promql 2025-09-25 22:12:32 +08:00
icecheng
eae0255766 feat: add starrock connect pool 2025-09-25 18:25:51 +08:00
Nicolas
8eb9dcfb0f chore(docker): update Python version to 3.12 in Dockerfiles; enhance logging in content, devops, notification, and payment services 2025-09-25 09:55:35 +08:00
YuehuCao
bad6224bd9 fix(bug): not delete the correct and exsited data 2025-09-24 19:46:19 +08:00
YuehuCao
bda5660bb6 feat(api): add query role by id API 2025-09-24 17:29:27 +08:00
9471563004 Merge branch 'dev' into Nicolas_service_hub 2025-09-24 04:13:09 +00:00
bae09037a3 Merge pull request '1d and 1m' (#68) from feature/wc into dev
Reviewed-on: freeleaps/freeleaps-service-hub#68
2025-09-23 13:55:45 +00:00
weicao
5b521c4ec4 1d and 1m 2025-09-23 16:23:59 +08:00
3cba9e4762 Merge pull request 'tania_middleware' (#55) from tania_middleware into dev
Reviewed-on: freeleaps/freeleaps-service-hub#55
2025-09-23 05:20:28 +00:00
4e9412e48b Merge branch 'master' into tania_authentication_local 2025-09-23 05:19:53 +00:00
YuehuCao
769e32a6e3 refactor(comment): use new comment type 2025-09-23 13:18:35 +08:00
YuehuCao
794536c372 feat(log): delete some logs and unused methond, raise the http error 2025-09-23 13:08:54 +08:00
YuehuCao
98f2ce4871 refactor(name): rename the middleware 2025-09-23 13:07:11 +08:00
Nicolas
5f8b6ed575 The log format of the central storage has been adjusted so that it can actively write corresponding logs to the log files.
Simultaneously upgraded the mirror versions of authentication and central storage.
2025-09-23 10:08:39 +08:00
YuehuCao
f01dd755aa chore(role&permission): remove definitions of roles and permissions from authentication 2025-09-23 09:56:20 +08:00
YuehuCao
49770da205 feat(custom): enable custom_id function to migrate freeleaps data safely 2025-09-23 09:46:54 +08:00
Nicolas
24fe043fc3 Set up the logging environment for authentication 2025-09-22 18:02:39 +08:00
icecheng
afb90e55e6 feat: enable metrics 2025-09-22 16:48:07 +08:00
icecheng
459e56c7bf feat: enable metrics 2025-09-22 15:38:34 +08:00
weicao
6fc505ebb2 dru-mru 2025-09-22 14:36:56 +08:00
weicao
a1a7624637 some change 2025-09-22 14:34:44 +08:00
weicao
7882f77bef chinese 2025-09-22 13:34:38 +08:00
YuehuCao
5c19c1ab53 Merge remote-tracking branch 'origin' into tania_authentication_local 2025-09-22 12:27:50 +08:00
YuehuCao
e9e863053d feat(cache): add the cache volume 2025-09-22 11:01:34 +08:00
YuehuCao
dc1ebf2481 feat(cache): use new defined database 2025-09-22 10:58:40 +08:00
YuehuCao
f3a5f6321a refactor(cache): cache the tenant database and recall 2025-09-22 10:57:41 +08:00
weicao
83b9fdbf9e fixed the date format issue and add monthly registered users metric 2025-09-21 15:04:40 +08:00
icecheng
e919a1ed9b fix: bug fix 2025-09-19 16:48:43 +08:00
weicao
81628407df fixed: code standard and env file 2025-09-19 16:03:29 +08:00
weicao
62533859ba fixed: code standard and env file 2025-09-19 15:58:23 +08:00
weicao
b7858c193e fixed some code standard 2025-09-19 15:32:00 +08:00
YuehuCao
065c082aa7 feat(guide): guide to use tenant middleware 2025-09-19 12:15:05 +08:00
YuehuCao
9dc8811886 refactor(database): move the initialization of database into tenant middleware 2025-09-19 12:14:16 +08:00
YuehuCao
e726d7e7d5 feat(name): use new name 2025-09-19 12:13:12 +08:00
YuehuCao
115b54ad58 refactor(name): rename the tenant DB connection middleware 2025-09-19 12:11:51 +08:00