Commit Graph

14 Commits

Author SHA1 Message Date
6d28d74351 refactor: unify logging messages in CronService for consistency
- Updated log messages in the CronService to use a consistent logger context ('CronService') across all scheduled tasks.
- Improved traceability and readability of log outputs by standardizing the log context, enhancing debugging capabilities.
2024-12-05 22:56:22 +07:00
561823225d feat: integrate LiveKit services into Collaboration and Meeting Room modules
- Added LiveKitModule to CollaborationSession and MeetingRoom modules for enhanced real-time collaboration features.
- Updated CollaborationSessionSchema to include LiveKit services for managing participant access and room permissions.
- Implemented a new cron job in CronService to disable services without schedules for over 30 days, improving service management.
- Enhanced GraphQL schema generation with improved filtering logic for better performance and readability.
- Refactored LiveKit services to streamline access token creation and room management functionalities.
2024-12-01 19:18:20 +07:00
c26bf36084 refactor: enhance schedule and document handling in schemas
- Simplify schedule expiration logic in CronService by removing unnecessary date checks.
- Improve error handling in DocumentSchema for document page retrieval, ensuring graceful failure.
- Add validation in ScheduleSchema to restrict schedule retrieval to authorized centers and prevent subscription-based access.
- Implement checks to reject schedules with start dates in the past or today, enhancing data integrity.
2024-11-30 20:35:34 +07:00
a619c95efc Update dependencies in package.json and package-lock.json, refactor CronService to include notification handling for schedule expirations, and enhance DocumentSchema with OpenAI integration for document editing suggestions. Additionally, modify GraphqlModule to include PubSubModule for real-time notifications and improve datetime utility functions for better date formatting. Update epess-database subproject reference to indicate a dirty state. 2024-11-30 16:41:47 +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
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
e63f900cf4 expose workshop metric 2024-11-26 18:07:03 +07:00
3ac8c3fd39 implement cron mechanic for refund strageries and make workshop reliable 2024-11-26 17:31:40 +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