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
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
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
60fedf5215
merge the dev branch
2025-09-18 15:56:42 +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
071694cefe
Merge pull request 'tania_middleware' ( #46 ) from tania_middleware into dev
...
Reviewed-on: freeleaps/freeleaps-service-hub#46
2025-09-18 01:41:31 +00:00
YuehuCao
f27080452c
feat(log): log the failure na d sucess of interface
2025-09-17 17:57:37 +08:00
YuehuCao
9473c19141
fix(path): fix the skip path
2025-09-17 17:56:24 +08:00
YuehuCao
9939a3f430
fix(exclude): ban the exclusive mode
2025-09-17 13:32:28 +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
YuehuCao
05aca96639
feat(template): add the new job notification template
2025-09-08 17:10:01 +08: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
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
sunhaolou
c200e70970
feat: add new apis for Magicleaps product use
2025-08-25 17:31:16 +08: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