icecheng
7027e8c3f7
refactor: refactor the metric project structure
2025-09-16 15:17:23 +08:00
3301aec1d5
Merge pull request 'tania_local' ( #44 ) from tania_local into dev
...
Reviewed-on: freeleaps/freeleaps-service-hub#44
Reviewed-by: jingyao1991 <jingyao1991@noreply.gitea.freeleaps.mathmast.com>
2025-09-16 05:21:31 +00:00
weicao
35fbda6954
Refactor metrics service: rename files for better readability
...
- Rename starrocks_client.py -> database_client.py
- Rename daily_registered_users.py -> user_registration_models.py
- Rename daily_registration_service.py -> registration_analytics_service.py
- Rename daily_registration.py -> registration_metrics.py
- Rename site_settings.py -> app_settings.py
- Rename application.py -> app_factory.py
- Update all import statements and references
- Update README.md with new file structure
2025-09-15 16:31:20 +08:00
weicao
b490ced2f0
Clean up metrics service: remove unnecessary files, update Dockerfile, and add README
2025-09-15 15:22:52 +08:00
YuehuCao
3a6e0e1ca1
feat(config): add auth endpoint to dockerfile
2025-09-12 17:02:17 +08:00
YuehuCao
6ecee2837e
feat(name): rename
2025-09-12 16:10:31 +08:00
YuehuCao
6630d20c13
feat(rename): rename the api_key
2025-09-12 16:05:19 +08:00
YuehuCao
c5cfb5a424
feat(log): use str to ensure that class can be identified
2025-09-11 22:28:55 +08:00
YuehuCao
282d1bcd93
feat(integrate api): integrate external auth introspect api
2025-09-11 22:28:03 +08:00
YuehuCao
da75ba746c
feat(register): register the middleware
2025-09-11 22:27:05 +08:00
YuehuCao
6256b3377d
feat(middleware): add the middleware for auth service
2025-09-11 22:26:11 +08:00
YuehuCao
bf1e476c0b
feat(config): add the AUTH_SERVICE_ENDPOINT
2025-09-11 22:24:56 +08:00
YuehuCao
1c70143f2d
feat(doc): add new doc and register into mongodb
2025-09-11 22:23:46 +08:00
YuehuCao
cea505cbdd
feat(config): add the AUTH_SERVICE_ENDPOINT to the .env file
2025-09-11 22:18:21 +08:00
weicao
79a1b62f68
Add .env configuration file for metrics service
2025-09-11 17:40:18 +08:00
weicao
44f08eee68
Add metrics service with user registration API endpoints
...
- Add complete metrics microservice structure
- Implement StarRocks database integration
- Add user registration data query APIs:
- Daily registered users by date range
- Recent N days registration data
- Registration data by start date and days
- Registration summary statistics
- Add comprehensive error handling and logging
- Include test scripts and documentation
2025-09-11 17:35:20 +08:00
YuehuCao
05aca96639
feat(template): add the new job notification template
2025-09-08 17:10:01 +08:00
semantic-release-bot
046f9ffdd2
chore(release): bump version to 1.5.0 and upload released assets [ci skip]
2025-09-05 01:58:56 +00:00
dbc060a884
Merge pull request 'merge dev into master' ( #42 ) from dev into master
...
Reviewed-on: freeleaps/freeleaps-service-hub#42
Reviewed-by: jingyao1991 <jingyao1991@noreply.gitea.freeleaps.mathmast.com>
2025-09-05 01:57:09 +00:00
4f09a5e4df
Merge pull request 'feat(websockt): add websocket' ( #43 ) from tania_local into dev
...
Reviewed-on: freeleaps/freeleaps-service-hub#43
Reviewed-by: jingyao1991 <jingyao1991@noreply.gitea.freeleaps.mathmast.com>
2025-09-05 01:24:04 +00:00
YuehuCao
d20b5abff5
feat(websockt): add websocket
2025-09-04 15:56:56 +08:00
45b4ebd83e
Merge pull request 'feat(devops): If ttl_hours < 0, the deployment will take effect permanently' ( #41 ) from feature/icecheng/ttl into dev
...
Reviewed-on: freeleaps/freeleaps-service-hub#41
Reviewed-by: jingyao1991 <jingyao1991@noreply.gitea.freeleaps.mathmast.com>
2025-09-04 01:03:06 +00:00
icecheng
52f8715241
feat(devops): If ttl_hours < 0, the deployment will take effect permanently
2025-09-03 16:36:33 +08:00
165e10c79d
Merge pull request 'tania_local' ( #40 ) from tania_local into dev
...
Reviewed-on: freeleaps/freeleaps-service-hub#40
Reviewed-by: jingyao1991 <jingyao1991@noreply.gitea.freeleaps.mathmast.com>
2025-08-29 01:11:13 +00:00
YuehuCao
8a5343156c
feat(email): remove rate limit functionality
2025-08-28 16:23:57 +08:00
c406f6d8a8
Merge pull request 'feat: add new apis for Magicleaps product use' ( #39 ) from feature/magicleaps-signin-apis into dev
...
Reviewed-on: freeleaps/freeleaps-service-hub#39
2025-08-26 03:38:02 +00:00
sunhaolou
c200e70970
feat: add new apis for Magicleaps product use
2025-08-25 17:31:16 +08:00
4b8be6fd43
Merge pull request 'feat(template): define MongoDB schema for message templates and email senders' ( #18 ) from tania_local into dev
...
Reviewed-on: freeleaps/freeleaps-service-hub#18
Reviewed-by: jingyao1991 <jingyao1991@noreply.gitea.freeleaps.mathmast.com>
2025-08-21 06:47:23 +00:00
7c69fd84ab
Merge branch 'dev' into tania_local
2025-08-21 03:39:19 +00:00
9120104cf5
Delete apps/notification/tests/alpha.env
...
chore(config): remove redundant environment configs
2025-08-19 16:39:37 +00:00
YuehuCao
d7a615b8ea
chore(config): remove redundant environment configs
2025-08-20 00:35:59 +08:00
YuehuCao
a0b63cd0be
refactor(test): relocate template tests to integration suite
2025-08-20 00:34:33 +08:00
YuehuCao
fc2aaebf94
chore: remove redundant email test file
2025-08-20 00:27:24 +08:00
YuehuCao
09b1017027
chore(alpha.env): Move alpha.env to tests, because this file is only used to verify local-to-alpha connectivity and should not live at the project root
2025-08-19 09:57:02 +08:00
YuehuCao
2213fa59b5
feat(templates): enforce uniqueness and improve safety
...
- Raise TemplateExistsError when duplicate detected
- Migrate placeholder syntax from {} to {{}}
- Add validation for:
* Reserved keyword collisions
* Injection attempt patterns
- Update all test cases
2025-08-18 22:15:43 +08:00
YuehuCao
e2a049a658
style: remove empty lines
2025-08-15 23:24:18 +08:00
YuehuCao
b9bd4f373e
fix(email_sending): resolve the NameError
2025-08-15 15:42:11 +08:00
YuehuCao
5b727cb51c
fix(email sending): guidance for use of exchange
2025-08-15 00:23:22 +08:00
YuehuCao
59e8c06078
feat(alpha): make the alpha environment available
2025-08-14 21:36:38 +08:00
YuehuCao
b8aa0cf2b9
fix(email_sending): use the template created and stored in mongodb
2025-08-14 21:35:14 +08:00
YuehuCao
d829cbf90d
test(api): test the api interfaces cao work
2025-08-14 21:11:58 +08:00
YuehuCao
370cd61fd2
refactor(email_sender): change email_sender type from list to str
2025-08-14 21:08:43 +08:00
YuehuCao
b6d5ae97ee
test(email): test the email sending function, and this file can be deleted
2025-08-13 22:41:51 +08:00
YuehuCao
72ba74618b
chore: set up local testing
2025-08-13 22:23:49 +08:00
YuehuCao
6d7c6af8a1
fix(email): make these changes to Fixed the duplicate email sending bug
2025-08-13 22:22:12 +08:00
YuehuCao
58c77ce002
feat(templates): add duplicate creation prevention
2025-08-12 13:58:08 +08:00
c93ce6bb26
Merge pull request 'Modify' ( #37 ) from dev into master
...
Reviewed-on: freeleaps/freeleaps-service-hub#37
2025-08-12 04:57:10 +00:00
dongli
a1b62d6347
Modify
2025-08-11 21:56:28 -07:00
3a84a12181
Merge pull request 'dev' ( #36 ) from dev into master
...
Reviewed-on: freeleaps/freeleaps-service-hub#36
2025-08-12 04:55:48 +00:00
dongli
dde6eda0c5
recover
2025-08-11 21:55:03 -07:00