YuehuCao
be01f95a1e
chore(unit): delete unit because unlear definition
2025-10-13 12:06:37 +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
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
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
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
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
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
YuehuCao
1ba9a614a0
feat(config): add configs regarding the tenant middleware
2025-09-18 15:54:57 +08:00
YuehuCao
a2fc3c8a7e
feat(tenant-middleware): add tenant middleware to switch tenant's database
2025-09-18 15:53:03 +08:00
YuehuCao
9473c19141
fix(path): fix the skip path
2025-09-17 17:56:24 +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
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
1c70143f2d
feat(doc): add new doc and register into mongodb
2025-09-11 22:23:46 +08:00
YuehuCao
d20b5abff5
feat(websockt): add websocket
2025-09-04 15:56:56 +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
370cd61fd2
refactor(email_sender): change email_sender type from list to str
2025-08-14 21:08:43 +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
YuehuCao
91b84434d0
chore(config): change the port to keep similarity with authentication of magicleaps
...
refactor(routes): shorten API endpoint
2025-08-11 23:13:24 +08:00
YuehuCao
f95552ff4d
chore: add local testing configs and MongoDB message templates
2025-08-11 18:50:43 +08:00
YuehuCao
830311fe7e
feat(routes): add API setup support for route files
2025-08-11 16:14:37 +08:00
YuehuCao
b6f8b70f69
fix(notification): some small changes
2025-08-09 11:56:00 +08:00
YuehuCao
b5c9ab6126
feat(email): implement multi-tenant delivery function
2025-08-09 11:34:15 +08:00
YuehuCao
4187c95743
feat(email_comsumer): introduce multi-tenant delivery system
2025-08-09 11:27:17 +08:00
YuehuCao
58d085a4c6
feat(api): re-code the api interfaces for template message and email senders
2025-08-07 12:49:12 +08:00
YuehuCao
4f4587893a
feat(api): add CRUD interfaces for message templates and email senders
2025-07-25 19:05:29 +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
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
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
0f02181e33
Expose prometheus metrics for all apps
2025-03-02 17:08:08 -08:00
Jet Li
59e3c27b3f
Fix notification log config
2025-02-01 06:27:51 +00:00
3ec0a5233c
Adding needed site information, Workable changes for authentication and hook up with freeleaps, all tested manually
2024-11-16 11:04:30 -08:00
1716adc27b
Fix authentication and notification ports
2024-11-08 06:29:57 +00:00
33dd08d7f4
Update routes for all micro-service for reverse proxy purpose
2024-11-08 05:59:23 +00:00
Mike Liao
ee5e80acd9
update
2024-10-30 20:49:50 -07:00
Mike Liao
d176fb9d9a
refactor the code structure
2024-10-30 07:22:26 -07:00