97773c2ab2Add optional 'message' field to alert schema: Enhanced the alert schema in printer.schema.js to include a non-required 'message' field for improved alert detail.Tom Butcher2025-09-05 23:26:12 +01:00
5cac77a975Enhance printer filtering: Added 'host._id' to the allowed filters in the printers route to improve data retrieval capabilities.Tom Butcher2025-09-05 23:26:04 +01:00
2fdb77e4bbUpdate allowed filters in document templates route: Added 'global' and 'objectType' to enhance filtering capabilities for document templates.Tom Butcher2025-09-05 23:25:57 +01:00
0edc085fb7Enhance filtering for filament stocks: Added 'filament._id' to the allowed filters in the inventory route to improve data retrieval capabilities.Tom Butcher2025-09-05 23:25:42 +01:00
695ff8efc7Add NATS messaging for updates and deletes: Replaced Etcd operations with NATS publish calls in utils.js for distributing updates, new entries, and deletions. Updated logging in etcd.js to use trace level for improved verbosity during connection and operation handling.Tom Butcher2025-09-05 23:25:34 +01:00
4685cac563Refactor note and subjob management routes: Enhanced filtering logic and added new route handlers for CRUD operations. Updated services to utilize database functions for improved data handling and error management. Implemented property-based listing for notes and subjobs, ensuring better data retrieval and organization.Tom Butcher2025-09-05 23:25:14 +01:00
12be496f22Add document jobs management: Introduced new routes, schema, and service functions for managing document jobs. Updated index.js to include documentJobs route. Implemented CRUD operations and filtering capabilities for document jobs in the application.Tom Butcher2025-09-05 23:24:24 +01:00
bec46489d1Add NATS integration: Implemented NATS server connection and messaging capabilities. Updated package.json and package-lock.json to include NATS dependencies. Enhanced index.js to connect to NATS and added documentJobs route for job management.Tom Butcher2025-09-05 23:23:50 +01:00
751c931e67Refactor database operations: Enhanced filtering logic to translate keys ending with ._id for Mongoose, added optional distribution for new and delete operations, and implemented a recursive deletion function for child objects. Updated audit logging to handle distributed changes more effectively.Tom Butcher2025-09-05 23:23:26 +01:00
8d497de203Updated auth.js to include redirect type.Tom Butcher2025-08-24 11:09:53 +01:00
01619d621aUsing global functions for database interaction.Tom Butcher2025-08-24 11:09:40 +01:00
509d74ad99Update dependencies, refactor routes, and enhance caching: Upgraded various package versions in package.json and package-lock.json for improved performance and security. Refactored routes to include new document-related endpoints and integrated caching mechanisms for user and token lookups to optimize authentication processes. Updated schemas to support new data structures and relationships, ensuring better data integrity and retrieval.Tom Butcher2025-08-18 00:51:46 +01:00
dd4e48f125Refactor audit logging: centralized audit log retrieval in utils, updated service methods to utilize new getAuditLogs function, and standardized model references in audit log creation across services. Enhanced filtering in management routes for improved query handling.Tom Butcher2025-06-29 22:34:58 +01:00
a5f3b75be8Remove unused files and refactor imports: deleted obsolete files including passport.js, and others, while updating import paths in various services and routes for consistency. Added ESLint and Prettier configurations to enhance code quality.Tom Butcher2025-06-29 21:53:18 +01:00
dd858c8451Refactor routes and schemas: reorganized service imports, updated user and auth routes, and modified schema paths for better structure. Removed unused routes and services to streamline the codebase.Tom Butcher2025-06-29 21:30:54 +01:00
11d80fb76eRefactor routes and schemas: replaced print job references with job, added user routes, and implemented new audit logging functionality. Updated filtering methods across various services to enhance query capabilities.Tom Butcher2025-06-28 00:18:21 +01:00
5a5701088aAdded filament stock and added some filtering too.Tom Butcher2025-05-19 00:32:15 +01:00