Commit Graph

184 Commits

Author SHA1 Message Date
seaznCode
704e6f22e6 Merge branch 'bigTypeShii' of https://git.profit-planet.partners/DK404/CentralBackend into bigTypeShii 2026-03-16 20:35:24 +01:00
seaznCode
7b22c6fe32 new template 2026-03-16 20:35:21 +01:00
seaznCode
19847eefb4 feat: enhance subscription model with additional contact and invoice fields
hawi i cant
2026-03-16 20:35:10 +01:00
DeathKaioken
914e8bd528 fmlfmlflmflm 2026-03-16 20:03:54 +01:00
46a081ae8f Merge branch 'bigTypeShii' of https://git.profit-planet.partners/DK404/CentralBackend into bigTypeShii 2026-03-16 16:05:01 +01:00
432f5a3225 feat: update renewal process and email notifications for subscriptions
+ test script for sub renewal
2026-03-16 16:04:36 +01:00
DeathKaioken
0a469da27f fml 2026-03-15 20:50:27 +01:00
DeathKaioken
248109e6e8 fk this shit 2026-03-15 18:33:52 +01:00
c2bbb1df15 feat: implement auto-renewal cron service for subscriptions
- Added RenewalCronService to handle automatic subscription renewals and reactivations.
- Introduced listPausedAutoRenew method in AbonemmentRepository to fetch paused subscriptions eligible for reactivation.
- Created test script for renewal cron job to simulate subscription renewal scenarios.
- Updated MailService to send renewal confirmation and payment reminder emails.
- Enhanced EmailVerificationService to auto-grant 'can_subscribe' permission upon email verification.
- Modified createAdminUser script to allow different admin email configurations.
- Added node-cron dependency for scheduling tasks.
2026-03-15 14:16:46 +01:00
ccf2f0212e feat: add 'guest' user type to user_type enum in database schema 2026-03-15 01:11:40 +01:00
f02a0868a4 feat: implement createGuestUser function for guest user management 2026-03-15 01:11:29 +01:00
61043e6dc8 feat: update guest user handling to require email verification and adjust status flags 2026-03-15 01:10:35 +01:00
ca422037d7 Merge pull request 'feat: refactor genInvoiceNumber to use database query for unique invoice numbers' (#13) from dev into main
Reviewed-on: #13
2026-03-11 23:01:12 +00:00
seaznCode
729ac2d4da feat: refactor genInvoiceNumber to use database query for unique invoice numbers 2026-03-12 00:00:18 +01:00
01bc145385 Merge pull request 'fix: update query method to use non-prepared statements for dynamic SQL compatibility' (#12) from dev into main
Reviewed-on: #12
2026-03-11 22:44:01 +00:00
seaznCode
520c12e5a7 fix: update query method to use non-prepared statements for dynamic SQL compatibility 2026-03-11 23:42:44 +01:00
831845df5e Merge pull request 'fix: temporarily return from createAdminUser function for debugging' (#11) from dev into main
Reviewed-on: #11
2026-03-11 22:28:22 +00:00
seaznCode
5fe4471fc7 fix: temporarily return from createAdminUser function for debugging 2026-03-11 23:28:10 +01:00
a8a76f3bf4 Merge pull request 'dev' (#10) from dev into main
Reviewed-on: #10
2026-03-11 21:54:50 +00:00
f891f1c229 Merge pull request 'poolLinkToInvoicesAndSubs' (#9) from poolLinkToInvoicesAndSubs into dev
Reviewed-on: #9
2026-03-11 21:54:14 +00:00
seaznCode
03aa28eaf8 feat: add new invoice template with structured layout and styling 2026-03-11 22:35:05 +01:00
seaznCode
748bfe9490 feat: update guest user status flags to mark all as completed during account creation 2026-03-11 22:32:31 +01:00
seaznCode
221bac3b2a feat: enforce singleton active invoice template per language during updates and revisions 2026-03-11 22:32:11 +01:00
seaznCode
f544dab9a3 feat: enhance user status handling for guest users by skipping quickaction flow
!!!!! NEED TO OVERHAUL THE QUICKACTION FLOW FOR GUEST USERS !!!!!!!!!
2026-03-11 22:31:11 +01:00
seaznCode
35a841038a feat: remove redundant userType assignment in abonement service methods 2026-03-11 22:29:55 +01:00
seaznCode
5232fb1f2d feat: update invoice template loading to fetch from S3 and streamline user type handling 2026-03-11 22:29:46 +01:00
seaznCode
bab648d3ca feat: add deactivateOtherActiveInvoices method to manage invoice template states 2026-03-11 22:29:07 +01:00
seaznCode
c7895c5333 feat: add permission checks for subscription and implement user permission retrieval 2026-03-11 22:27:31 +01:00
seaznCode
f85d01af8d feat: implement guest user registration and company settings management 2026-03-09 22:07:12 +01:00
seaznCode
2c239ad331 feat: enhance invoice and pool management with new status updates, detailed invoice retrieval, and pool statistics 2026-03-08 16:28:46 +01:00
seaznCode
002dbc78c1 feat: add updateContent method for abonements and corresponding route 2026-02-20 21:45:02 +01:00
seaznCode
b7d9ef8371 package lock 2026-02-20 20:57:39 +01:00
DeathKaioken
04a032992a feat: abo 2026-02-18 11:16:54 +01:00
DeathKaioken
09a6004875 feat: dependecy fix + Abo Mailing Template 2026-02-18 10:24:04 +01:00
seaznCode
4ce8507858 feat: enhance pool management with subscription linking and inflow diagnostics 2026-02-17 18:13:27 +01:00
a77e847b2c Merge pull request 'feat: add admin endpoints for listing and moving user contract documents' (#8) from dev into main
Reviewed-on: #8
2026-02-04 14:29:49 +00:00
seaznCode
bf8f94b848 feat: add admin endpoints for listing and moving user contract documents 2026-02-04 15:28:39 +01:00
c10ce01e28 Merge pull request 'dev' (#7) from dev into main
Reviewed-on: #7
2026-02-04 13:40:02 +00:00
seaznCode
5764ce5cdc feat: enhance S3 error handling and retry logic in previewLatestForUser function 2026-02-04 14:37:26 +01:00
seaznCode
eb99d54453 fix: standardize target path to always use 'contract' in migrateContractPaths function 2026-02-04 12:18:56 +01:00
seaznCode
feedeed80e fix: group rogue user counts by matrix instance in getMatrixStats function 2026-02-01 14:23:10 +01:00
seaznCode
2c850b84eb Merge branch 'dev' 2026-01-31 17:36:28 +01:00
seaznCode
e89db76e48 feat: add maxDepth parameter to create matrix functionality for depth control 2026-01-31 15:40:14 +01:00
seaznCode
e62d0726c3 Merge branch 'main' of https://git.profit-planet.partners/DK404/CentralBackend 2026-01-30 15:37:58 +01:00
seaznCode
dbcbe04a5e Merge branch 'dev' 2026-01-30 15:37:52 +01:00
cf40998a22 Merge pull request 'feat: implement user status check to block suspended accounts in authMiddleware and LoginService' (#6) from dev into main
Reviewed-on: #6
2026-01-30 14:35:10 +00:00
seaznCode
ec5bdad867 feat: implement user status check to block suspended accounts in authMiddleware and LoginService 2026-01-30 15:33:37 +01:00
seaznCode
1491f0fc0e feat: implement removeMembers functionality for pool management + enhance usability 2026-01-28 20:14:04 +01:00
seaznCode
fb3d3c410c feat: add getPublic route to fetch news item by slug 2026-01-28 20:13:09 +01:00
seaznCode
1825310280 feat: add migrateContractPaths script for updating contract paths in user documents 2026-01-27 18:36:52 +01:00