Commit Graph

297 Commits

Author SHA1 Message Date
e546c348cc Enhance CollaborationSessionSchema by adding collaboratorsIds field to expose a list of collaborator IDs. This update improves the schema's clarity and functionality for collaboration management. 2024-11-28 19:47:13 +07:00
f2edc9fa8d Refactor ResumeSchema to streamline file upload and resume management logic. Consolidate description formatting for resume and resume file retrieval fields. Enhance error handling during file upload and resume creation, ensuring robust handling of existing resumes. This update improves code clarity and maintains functionality for resume file management. 2024-11-28 19:44:40 +07:00
ed7ec9a368 Merge branch 'main' of https://github.com/EPESS/epess-web-backend 2024-11-28 19:21:09 +07:00
7911d7f0bd Refactor CronService to utilize DateTimeUtils for date handling. Update schedule and payment checks to use current time instead of new Date(), enhancing accuracy in scheduling logic. This change improves the reliability of cron job operations by ensuring consistent date management. 2024-11-28 19:21:06 +07:00
unclebonn
19a19b00c4 relation Schedules to Order 2024-11-28 15:27:41 +07:00
a6788345ce Refactor DocumentSchema to remove fileUrl retrieval logic and set default value for fileUrl. This change simplifies the document creation process by eliminating unnecessary error handling related to file retrieval, while maintaining user ownership assignment. 2024-11-27 08:56:29 +07:00
0bfdd3812d Enhance DocumentSchema and MinioService for improved error handling and functionality. Update page index validation to check for undefined or null values. Introduce total page count retrieval in DocumentSchema and adjust senderId handling. Refactor MinioService to correctly read and parse document pages, ensuring robust object management. This update improves clarity and reliability in document synchronization processes. 2024-11-27 07:50:51 +07:00
8fba48ed0f Update order schema to limit payment description length to 10 words for improved clarity and consistency in payment processing. 2024-11-27 06:52:53 +07:00
77f44a891f Refactor CollaborationSession and Document schemas to improve code clarity and functionality. Enhance error handling in collaboration session retrieval and update logic. Introduce new request sync events in Document schema and update Minio service for document page management. Adjust cron job to use current date for future schedule date checks. Update user schema for better error handling and improve service descriptions in order schema. Remove global decorators from Workshop modules for better module encapsulation. 2024-11-27 06:48:49 +07:00
51bafcfe29 Change cron job frequency to check payment status every minute instead of every 10 minutes for improved responsiveness. 2024-11-27 02:33:54 +07:00
cdf7e7febd Update CenterMentorSchema to include 'active' field for mentor status and adjust role assignment to use Role enum. Enhance payment cancellation logic in CronService to update associated order status to 'FAILED'. Bump epess-database subproject commit reference to reflect recent changes. 2024-11-27 02:32:55 +07:00
12ec345f5b Refactor CenterMentorSchema to streamline code and improve clarity. Consolidate import statements, enhance query field descriptions, and optimize token generation logic. Integrate Redis service for session management, ensuring cache invalidation for active Clerk sessions. Update email sending logic for mentor invitations to improve readability. 2024-11-27 01:32:18 +07:00
ddaab3eb0a Update CENTER_BASE_URL in compose.yaml to use production URL and comment out local development URL 2024-11-27 01:21:30 +07:00
0fc95eab73 Update epess-database subproject commit reference to 6b4dece, reflecting recent changes in the database structure. 2024-11-27 01:09:41 +07:00
2581ca396f Refactor Category and Center schemas to improve field descriptions and code clarity; update email templates for consistency in messaging. Add Redis service to CenterSchema for session management. Bump epess-database subproject commit reference to indicate changes. Clean up logging in ClerkService and ServiceSchema. 2024-11-27 01:09:13 +07:00
c9435a6e04 Enhance ServiceSchema by adding commission and descriptions for approve and adminNote arguments. Implement default commission logic when service is approved without a specified commission. 2024-11-27 00:41:54 +07:00
01aede0b09 Update RefundTicketSchema to include additional fields for bank details and refund reasons; modify refund logic to enhance validation and error handling. Update TypeScript configuration to resolve JSON modules and bump subproject commit reference in epess-database. 2024-11-26 23:55:39 +07:00
c9f03f251d update commission validate 2024-11-26 21:30:26 +07:00
346f287699 bump db 2024-11-26 21:06:55 +07:00
12b1e8e764 update refund ticket 2024-11-26 21:02:14 +07:00
e63f900cf4 expose workshop metric 2024-11-26 18:07:03 +07:00
1062f5944d update sth :) 2024-11-26 17:55:34 +07:00
8b01df2111 update db def 2024-11-26 17:31:53 +07:00
3ac8c3fd39 implement cron mechanic for refund strageries and make workshop reliable 2024-11-26 17:31:40 +07:00
830c9ce3f6 Update WorkshopSchema to include duration field; modify epess-database subproject commit reference. Enhance type definitions in pothos.generated.ts for improved schema consistency. 2024-11-26 17:13:02 +07:00
90da34604a change on database 2024-11-26 17:09:54 +07:00
537b6fd359 Refactor ClerkService and OrderSchema for improved type safety; update RefundTicketSchema to include new refund request and processing mutations. Clean up import statements and enhance descriptions for better clarity. Update subproject commit reference in epess-database. 2024-11-26 17:08:38 +07:00
01c92b2303 Update package.json to include SWC dependencies and refactor Jest configuration; remove unused DevtoolsModule import from app.module.ts for cleaner code. 2024-11-26 04:33:23 +07:00
a1ca5c62fb Enhance NestJS application with SWC builder configuration, add @nestjs/devtools-integration for development support, and refactor various components for improved readability. Update package dependencies and streamline import statements across multiple files. 2024-11-26 04:26:55 +07:00
c4e302387f Update VSCode settings for line width and refactor imports in workshop.schema.ts; enhance workshop creation resolver with authentication checks 2024-11-26 00:56:01 +07:00
dc2397d73e Refactor WorkshopSchema: remove imageFileUrl field and update resolver parameters for consistency 2024-11-26 00:42:51 +07:00
0879630195 Update subproject commit reference in epess-database 2024-11-26 00:41:32 +07:00
950e553784 Update subproject commit and enhance VSCode settings; refactor imports and formatting in center.schema.ts; add docwriter style to settings.json 2024-11-26 00:41:17 +07:00
2b70b018f9 enhance subcribe to workshop 2024-11-25 23:06:01 +07:00
547947eeb8 update subscribe to workshop 2024-11-25 22:52:53 +07:00
26dd46c7a0 update code ngu 2024-11-25 22:06:47 +07:00
84a09375da bling bling 2024-11-25 19:46:23 +07:00
c063f1a10e implement payment cron job 2024-11-25 18:21:54 +07:00
667dc9e09d implement some cron task 2024-11-25 18:16:50 +07:00
dae2b0849f update something 2024-11-25 17:36:15 +07:00
d1ba07434a chuc mung ban da duoc ban 2024-11-25 16:45:51 +07:00
8abf867fbb ba me thang khoi 2024-11-25 16:16:49 +07:00
6d509a4487 update scheduleDate props 2024-11-25 15:02:56 +07:00
0f7bb3367e kiet pha banh r 2024-11-25 14:18:20 +07:00
28d0374435 database bi kiet pha banh roi 2024-11-25 14:17:32 +07:00
9515a3d9b3 so can tell me sth? 2024-11-25 12:18:33 +07:00
68dabd186a update some complex logic 2024-11-24 22:25:14 +07:00
edcd340d0b update database 2024-11-24 15:12:39 +07:00
675460c39c update api 2024-11-24 15:12:05 +07:00
ccfe7bf1f1 update gi cung duoc 2024-11-22 16:04:53 +07:00