Commit Graph

  • 838e48ade6 Install lodash. main Tom Butcher 2026-02-01 22:44:42 +00:00
  • 19690c3a16 Added pnpm lock. Tom Butcher 2026-02-01 21:51:46 +00:00
  • 81b7dd6e16 Switch to pnpm. Tom Butcher 2026-02-01 21:42:17 +00:00
  • 7fb968d4ed Added build status to readme.md Tom Butcher 2025-12-29 02:41:09 +00:00
  • dc7889cc6a Improved deployment. Tom Butcher 2025-12-29 00:55:26 +00:00
  • 164353d071 Delete package-lock.json. Tom Butcher 2025-12-29 00:42:06 +00:00
  • 28c94159b4 Added unit tests. Tom Butcher 2025-12-29 00:39:13 +00:00
  • 2d156aa98f Added Jenskinsfile. Tom Butcher 2025-12-28 23:50:10 +00:00
  • a7e35c279e Refactor invoice routes and handlers for improved clarity and functionality Tom Butcher 2025-12-28 02:12:03 +00:00
  • d3cbea45c5 Add invoicing fields to shipment schema and update recalculation logic Tom Butcher 2025-12-28 02:11:50 +00:00
  • dd86075734 Add 'name' field and invoicing details to order item schema Tom Butcher 2025-12-28 02:11:37 +00:00
  • 0f14f0f52c Add payment management functionality Tom Butcher 2025-12-28 02:11:16 +00:00
  • 858041b8e9 Refactor invoice schema to improve clarity and add acknowledgment date Tom Butcher 2025-12-28 02:10:55 +00:00
  • 8126574186 Enhance invoice schema with order items and shipments Tom Butcher 2025-12-28 01:10:52 +00:00
  • 2630976f9e Add client and sales order management functionality Tom Butcher 2025-12-27 20:47:10 +00:00
  • dea6a90b68 Removed development logging. Tom Butcher 2025-12-27 15:19:13 +00:00
  • c4f2de910a Remove images. Tom Butcher 2025-12-27 14:05:45 +00:00
  • 5d8e2d0cb8 Clean repo. Tom Butcher 2025-12-27 14:04:54 +00:00
  • a12ae1f340 Bump packages. Tom Butcher 2025-12-27 14:03:54 +00:00
  • db85735f9b Update tax rate import path in taxrates.js to reflect schema renaming. Tom Butcher 2025-12-27 14:03:44 +00:00
  • 5a16890b7a Add route handler for updating multiple stock events in stockevents.js Tom Butcher 2025-12-27 14:03:38 +00:00
  • 361689cef4 Update allowedFilters in order items route to include shipment and shipment._id for enhanced filtering capabilities. Tom Butcher 2025-12-27 14:03:25 +00:00
  • a7bda46acf Add shipment management functionality with new route handlers for shipping, receiving, and canceling shipments. Updated service methods to handle state validation and order item updates accordingly. Tom Butcher 2025-12-27 14:03:03 +00:00
  • 7541612d67 Refactor ObjectId handling in utils.js to use mongoose.Types.ObjectId for consistency across the codebase. Tom Butcher 2025-12-27 14:02:50 +00:00
  • ecb888f692 Renamed tax rates. Tom Butcher 2025-12-27 14:02:39 +00:00
  • fadaafdad8 Add purchase order management functionality with new route handlers for posting, acknowledging, and canceling purchase orders. Enhanced service methods to validate states and update order items and shipments accordingly. Tom Butcher 2025-12-27 14:02:16 +00:00
  • eb2e920028 Add batch update functionality for filament stocks, order items, part stocks, purchase orders, shipments, and filaments. Implemented new route handlers for editing multiple records and enhanced existing services to support bulk updates. Tom Butcher 2025-12-27 14:01:46 +00:00
  • 2ac550b0c4 Refactor purchase order schema to include additional fields for shipping and state management. Implement rollup statistics and history methods for enhanced data aggregation and reporting capabilities. Tom Butcher 2025-12-27 13:59:48 +00:00
  • 9c4b73da67 Enhance order item schema with new fields for state management, shipment tracking, and tax calculations. Introduce rollup statistics and history methods for improved data aggregation and reporting. Tom Butcher 2025-12-27 13:59:37 +00:00
  • 75e5079479 Update models.js to correct tax rate import and add shipment and invoice models Tom Butcher 2025-12-27 13:59:22 +00:00
  • 4421c0b946 Add invoice management functionality with schema, routes, and service handlers Tom Butcher 2025-12-27 13:59:08 +00:00
  • 9ab08f39a1 Enhanced database functions with pagination support in listObjects, added checkStates function for state validation, and introduced editObjects function for batch updates. Updated editObject to include recalculate parameter. Tom Butcher 2025-12-27 13:57:43 +00:00
  • 85f9ca8b6d Updated configuration for development environment, changing Keycloak client ID and updating app URLs for client and API. Tom Butcher 2025-12-27 13:56:29 +00:00
  • c750b1a573 Refactored shipment schema to include new fields and methods for handling order types and tax calculations. Tom Butcher 2025-12-27 13:56:05 +00:00
  • 5545452b0c Added dotenv support. Tom Butcher 2025-12-14 01:22:42 +00:00
  • 9c4e0ee974 Fixed index path. Tom Butcher 2025-12-14 00:26:00 +00:00
  • 2e2e496cf4 Fix JS export. Tom Butcher 2025-12-14 00:24:01 +00:00
  • 62cb2ad215 Updated production vars. Tom Butcher 2025-12-14 00:20:29 +00:00
  • e61fc55338 Added pm2 ecosystem. Tom Butcher 2025-12-14 00:20:17 +00:00
  • 2a8176b91c Added checks to session secret. Tom Butcher 2025-12-14 00:03:04 +00:00
  • b443c28e4b Updated secrets held in env vars. Tom Butcher 2025-12-13 23:54:29 +00:00
  • b24c9e1b3e Removed secrets from config. config-updates Tom Butcher 2025-12-13 23:43:49 +00:00
  • d9247d2504 Refactored config system to have both production and development configs. Tom Butcher 2025-12-13 23:01:03 +00:00
  • 80aeb116dc Refactored config system to have both production and development configs. Tom Butcher 2025-12-13 23:01:03 +00:00
  • 8e0c991a58 Removed DB seeding. Tom Butcher 2025-12-13 22:34:46 +00:00
  • af1a6b1952 Removed DB seeding. Tom Butcher 2025-12-13 22:34:46 +00:00
  • 55a1633eab Updated import paths. Tom Butcher 2025-12-13 21:14:06 +00:00
  • 88a531756f Updated import paths. Tom Butcher 2025-12-13 21:14:06 +00:00
  • 528e57dd9a Moved schema id generation. Tom Butcher 2025-12-13 21:13:17 +00:00
  • e3f28fef12 Moved schema id generation. Tom Butcher 2025-12-13 21:13:17 +00:00
  • 09eba639d0 Added order items, shipments. Tom Butcher 2025-12-13 21:12:47 +00:00
  • 12eb0474fb Added order items, shipments. Tom Butcher 2025-12-13 21:12:47 +00:00
  • 6e24f61819 Improved redis to get keys by prefix. Tom Butcher 2025-12-13 21:12:07 +00:00
  • e0776e9595 Improved redis to get keys by prefix. Tom Butcher 2025-12-13 21:12:07 +00:00
  • 113a16818a Implemented stats Tom Butcher 2025-12-13 21:11:43 +00:00
  • 5209467b0a Implemented stats Tom Butcher 2025-12-13 21:11:43 +00:00
  • cebe060ac5 Remove etcd. Tom Butcher 2025-12-13 21:11:16 +00:00
  • 50307a1861 Remove etcd. Tom Butcher 2025-12-13 21:11:16 +00:00
  • cc4d1ea8c6 Fixed sync code. Tom Butcher 2025-12-13 21:11:09 +00:00
  • 8fc9ff085e Fixed sync code. Tom Butcher 2025-12-13 21:11:09 +00:00
  • 85d4a59d10 Added order items, shipments. Tom Butcher 2025-12-13 21:10:55 +00:00
  • dc87278ca6 Added order items, shipments. Tom Butcher 2025-12-13 21:10:55 +00:00
  • 7740e94d32 Remove etcd. Tom Butcher 2025-12-13 21:10:42 +00:00
  • 8e92d4cc1e Remove etcd. Tom Butcher 2025-12-13 21:10:42 +00:00
  • 5eb8480d9b Move schema location. Tom Butcher 2025-12-13 21:10:19 +00:00
  • 08a7ecff38 Move schema location. Tom Butcher 2025-12-13 21:10:19 +00:00
  • d88da6939d Added order items, shipments etc Tom Butcher 2025-12-07 02:36:55 +00:00
  • 97bdf613c6 Added order items, shipments etc Tom Butcher 2025-12-07 02:36:55 +00:00
  • 9f2341c613 Added address to Vendor Tom Butcher 2025-12-03 23:47:22 +00:00
  • 14198538ed Added address to Vendor Tom Butcher 2025-12-03 23:47:22 +00:00
  • f4681e917b Added tax rates, tax records. Tom Butcher 2025-12-03 23:35:40 +00:00
  • 0fb0493d99 Added tax rates, tax records. Tom Butcher 2025-12-03 23:35:40 +00:00
  • dabb2927a2 Added ref spotlight lookup. Tom Butcher 2025-12-03 13:11:53 +00:00
  • 7a947ed2fd Added ref spotlight lookup. Tom Butcher 2025-12-03 13:11:53 +00:00
  • 8b978e1787 Added purchase orders and couriers. Tom Butcher 2025-12-03 03:40:06 +00:00
  • 944ad34f89 Added purchase orders and couriers. Tom Butcher 2025-12-03 03:40:06 +00:00
  • d28e3f121c Modified schemas. Tom Butcher 2025-12-03 00:07:53 +00:00
  • 82d47e08a2 Modified schemas. Tom Butcher 2025-12-03 00:07:53 +00:00
  • 2dbe2e9358 Fixed filtering Tom Butcher 2025-12-03 00:07:36 +00:00
  • b39e5b5825 Fixed filtering Tom Butcher 2025-12-03 00:07:36 +00:00
  • 08023e124c Change API for object property listing to work better with the ui. Tom Butcher 2025-12-03 00:07:27 +00:00
  • c36c9ac46a Change API for object property listing to work better with the ui. Tom Butcher 2025-12-03 00:07:27 +00:00
  • b44e3a5141 Added loads of features, updated packages and created schema sync. Tom Butcher 2025-12-02 18:29:30 +00:00
  • 36151f35bd Added loads of features, updated packages and created schema sync. Tom Butcher 2025-12-02 18:29:30 +00:00
  • dca386e6ae Large amount of refactoring. Tom Butcher 2025-11-16 17:06:54 +00:00
  • 97b77f5155 Large amount of refactoring. Tom Butcher 2025-11-16 17:06:54 +00:00
  • 4bc90ba528 Add 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 Butcher 2025-09-05 23:26:12 +01:00
  • 97773c2ab2 Add 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 Butcher 2025-09-05 23:26:12 +01:00
  • 61a6f2828a Enhance printer filtering: Added 'host._id' to the allowed filters in the printers route to improve data retrieval capabilities. Tom Butcher 2025-09-05 23:26:04 +01:00
  • 5cac77a975 Enhance printer filtering: Added 'host._id' to the allowed filters in the printers route to improve data retrieval capabilities. Tom Butcher 2025-09-05 23:26:04 +01:00
  • 208089610c Update allowed filters in document templates route: Added 'global' and 'objectType' to enhance filtering capabilities for document templates. Tom Butcher 2025-09-05 23:25:57 +01:00
  • 2fdb77e4bb Update allowed filters in document templates route: Added 'global' and 'objectType' to enhance filtering capabilities for document templates. Tom Butcher 2025-09-05 23:25:57 +01:00
  • 5f8a58ca81 Enhance filtering for filament stocks: Added 'filament._id' to the allowed filters in the inventory route to improve data retrieval capabilities. Tom Butcher 2025-09-05 23:25:42 +01:00
  • 0edc085fb7 Enhance filtering for filament stocks: Added 'filament._id' to the allowed filters in the inventory route to improve data retrieval capabilities. Tom Butcher 2025-09-05 23:25:42 +01:00
  • a768ca04de Add 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 Butcher 2025-09-05 23:25:34 +01:00
  • 695ff8efc7 Add 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 Butcher 2025-09-05 23:25:34 +01:00
  • b5e829432d Refactor 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 Butcher 2025-09-05 23:25:14 +01:00
  • 4685cac563 Refactor 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 Butcher 2025-09-05 23:25:14 +01:00
  • 72d03ce976 Add 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 Butcher 2025-09-05 23:24:24 +01:00
  • 12be496f22 Add 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 Butcher 2025-09-05 23:24:24 +01:00