Commit Graph

  • 763e50a632 Refactor test suite to replace getAndDeleteKey with getKey for template resource handling main Tom Butcher 2026-09-15 02:03:46 +01:00
  • d157fcdc9e Implement schema utility functions and enhance email message handling Tom Butcher 2026-09-15 01:57:06 +01:00
  • dc0a120231 Refactor document and email message schemas to support multiple object references Tom Butcher 2026-09-14 23:32:59 +01:00
  • 9fe854e37b Enhance file management routes by adding 'extension' to allowed sorters and improving code readability Tom Butcher 2026-09-14 10:30:10 +01:00
  • 52162e1ec6 Refactor document and email template schemas to include resource validation and normalization functions Tom Butcher 2026-09-13 19:51:24 +01:00
  • 171d3094a2 Add template resource management features and routes Tom Butcher 2026-09-13 19:26:13 +01:00
  • 622f4b20f2 Add delete route handlers for GCode files and printers Tom Butcher 2026-09-13 17:21:25 +01:00
  • c679066504 Add bulk delete functionality for various entities with filter support Tom Butcher 2026-09-13 17:12:59 +01:00
  • 58cb444bf2 Refactor email template rendering to support preview mode and improve CSS handling Tom Butcher 2026-09-12 23:48:03 +01:00
  • c10281064e Add intellisense functionality for document and email templates Tom Butcher 2026-09-12 23:29:43 +01:00
  • 1d473cc755 Refactor email attachment handling and improve error management Tom Butcher 2026-09-12 21:52:21 +01:00
  • 624a2aefdd Update audit owner resolution tests to include 'system' property for marketplace and user actors Tom Butcher 2026-09-12 21:49:44 +01:00
  • d86dbe0261 Enhance email management features with new schemas and routes Tom Butcher 2026-09-12 21:40:07 +01:00
  • cb63d8dabb Implement schema synchronization and enhance invoice handling Tom Butcher 2026-09-06 22:58:06 +01:00
  • 9defa3e30b Implement handling for empty values in filter parsing Tom Butcher 2026-09-05 02:28:28 +01:00
  • bbec009337 Add appearance field to user settings schema for enhanced customization options Tom Butcher 2026-09-04 02:32:37 +01:00
  • 9f5b390771 Enhance allowed filters and sorters in management routes to include 'overrideCost' and 'overridePrice' Tom Butcher 2026-09-04 01:33:43 +01:00
  • 91eb22ac49 Update audit log tests to utilize new database mock functions for improved accuracy Tom Butcher 2026-09-04 00:39:50 +01:00
  • 605d845ba3 Enhance date handling and filtering capabilities in utility functions and tests Tom Butcher 2026-09-04 00:36:22 +01:00
  • 9b896c2157 Enhance data distribution and filtering by adding 'tags' to allowed filters and updating publish functionality Tom Butcher 2026-09-03 22:25:36 +01:00
  • efcf1389a5 Add object view functionality with CRUD operations and schema integration Tom Butcher 2026-09-03 03:18:12 +01:00
  • 850c721867 Refactor allowed filters and sorters across various routes to enhance data handling Tom Butcher 2026-09-01 19:54:44 +01:00
  • a7b613c88b Implement model prefix stripping and leading operator handling in utility functions Tom Butcher 2026-09-01 18:44:38 +01:00
  • 1f679825df Add tax calculation helpers and integrate into existing schemas Tom Butcher 2026-09-01 17:39:12 +01:00
  • edb8282c41 Enhance filament stock management by adding default state and posting functionality Tom Butcher 2026-09-01 17:26:10 +01:00
  • 2af78c76f4 Update allowed filters and sorters in stock audit levels to include 'tags' for enhanced categorization and sorting capabilities. Tom Butcher 2026-09-01 16:35:07 +01:00
  • e1ac5bfba1 Add auditLines field to new stock audit level creation and mock stock audit module in tests Tom Butcher 2026-09-01 16:07:42 +01:00
  • 3bd1549c85 Refactor stock transfer schema and related services to improve location handling Tom Butcher 2026-09-01 16:04:29 +01:00
  • 6623bf9bfd Update stock audit level schema to require tags and improve code readability Tom Butcher 2026-09-01 15:51:25 +01:00
  • bce40ce30d Add stock audit level management functionality and integrate with existing inventory system Tom Butcher 2026-09-01 15:41:32 +01:00
  • ec5783acd8 Refactor deviceInfo schema in host management to simplify structure Tom Butcher 2026-09-01 13:04:02 +01:00
  • 6393ed5e3e Add rollup configurations and statistics methods to finance and inventory schemas Tom Butcher 2026-08-30 14:56:48 +01:00
  • 5e4830b036 Enhance number field handling in utility functions and add tests Tom Butcher 2026-08-30 12:48:04 +01:00
  • 5f59c23fbe Remove debug logging statements from utility functions and schema files to clean up code and improve performance. This includes the removal of console logs in parseFilter, filterDistributeKeys, normalizeFilterQuery, and the stockevent schema, streamlining the codebase for better maintainability. Tom Butcher 2026-08-30 12:26:08 +01:00
  • 6a730294b1 Refactor filter handling in various routes to include master filter support Tom Butcher 2026-08-30 12:25:10 +01:00
  • 933d76969f Refactor eBay order and shipping services integration; introduce trading request utilities Tom Butcher 2026-08-30 11:11:59 +01:00
  • 1cef3a8d1d Implement syncWebhooks functionality and refactor ensureWebhookSubscriptions Tom Butcher 2026-08-29 23:02:13 +01:00
  • 61d29a8f7e Add syncHash and syncImageHash fields to listing and variant schemas; implement sync fingerprinting for marketplace integration Tom Butcher 2026-08-29 22:34:11 +01:00
  • 37706f61c4 Add mock implementations for permissions module in user API tests Tom Butcher 2026-08-29 00:53:35 +01:00
  • e98828bfc7 Update configuration and enhance marketplace integration with new policies Tom Butcher 2026-08-29 00:47:55 +01:00
  • f5551f4f03 Refactor aggregateRollupsHistory function to improve rollup snapshotting Tom Butcher 2026-08-24 23:14:43 +01:00
  • 9435d5c64c Add rollup statistics functionality to sales schemas Tom Butcher 2026-08-24 23:02:47 +01:00
  • c57641518e Enhance inventory schemas with additional rollup configurations for stock types Tom Butcher 2026-08-24 22:54:09 +01:00
  • 61ec9deecb Add utility functions for ObjectId handling and enhance expandObjectIds functionality Tom Butcher 2026-08-24 22:40:07 +01:00
  • e2a135aa3d Enhance schema synchronization by adding change detection and statistics tracking Tom Butcher 2026-08-24 19:04:15 +01:00
  • 8cd8ee6f94 Add stock quantity calculation to listing variant schema and enhance tests Tom Butcher 2026-08-24 18:33:10 +01:00
  • e0f2870af3 Enhance test coverage by adding additional mock implementations for database and schema modules Tom Butcher 2026-08-24 02:58:10 +01:00
  • 5ff93be27c Add audit owner resolution and actor display name functions Tom Butcher 2026-08-24 02:49:38 +01:00
  • 8974d1e9da Add quantity field to document job schema and update related routes and services Tom Butcher 2026-08-22 20:02:28 +01:00
  • 0470f62e05 Refactor schema type handling and enhance utility functions in utils and database modules Tom Butcher 2026-08-22 20:02:21 +01:00
  • b0943f3fa0 Enhance document template schema and service with referenced templates functionality Tom Butcher 2026-08-22 16:39:10 +01:00
  • 827f3b7c8c Update progress messages in PDF generation tests for consistency and clarity Tom Butcher 2026-08-22 13:23:48 +01:00
  • 97c44565a8 Implement EventManager for handling object events and enhance document template management Tom Butcher 2026-08-22 12:56:05 +01:00
  • 30d1469204 Refactor query handling in various routes to standardize sort property and order parameters Tom Butcher 2026-08-22 02:36:05 +01:00
  • 4ee5eb7d0a Add pdf-lib dependency and implement PDF merging functionality Tom Butcher 2026-08-22 00:17:43 +01:00
  • bec4c8bf4c Enhance EJS formatting functionality with new placeholder handling and text tag collapsing Tom Butcher 2026-08-21 22:46:44 +01:00
  • ff60d6cf09 Enhance document size and template management with padding options Tom Butcher 2026-08-21 22:39:13 +01:00
  • e8c9a307ab Enhance route permission checks across management and inventory modules Tom Butcher 2026-08-20 20:15:07 +01:00
  • bce5afad7e Implement caching and permission checks for user permissions Tom Butcher 2026-08-20 19:35:15 +01:00
  • 1c51766da6 Add user group management functionality and refactor permission settings Tom Butcher 2026-08-20 15:04:52 +01:00
  • 806a32d306 Add permission settings management functionality Tom Butcher 2026-08-20 12:28:04 +01:00
  • 322a086040 Update PDF generation height calculation and corresponding test value Tom Butcher 2026-08-20 00:12:27 +01:00
  • 0b94774443 Refactor Puppeteer launch options for improved configurability Tom Butcher 2026-08-19 22:19:05 +01:00
  • 5cbcdacd3b Add function to tighten parentheses around EJS output and corresponding test Tom Butcher 2026-08-19 20:15:09 +01:00
  • f467b1be33 Add formatting functionality for document templates Tom Butcher 2026-08-19 20:02:39 +01:00
  • 8af8c3364f Add minWidth and minHeight attributes to getNodeStyles function Tom Butcher 2026-08-19 19:36:41 +01:00
  • f9e0f2b75e Update PDF factory test to correct height value from 120px to 121px Tom Butcher 2026-08-19 19:03:29 +01:00
  • f3391fb8f3 Add createDocumentJobUserNotifier utility and integrate into document job handling Tom Butcher 2026-08-19 18:58:28 +01:00
  • 0fe1714e1a Add PDF generation and document template management features Tom Butcher 2026-08-19 18:18:44 +01:00
  • 5a4770820a Refactor audit logs route and service for improved readability and maintainability Tom Butcher 2026-08-19 17:08:13 +01:00
  • aa4b173a7e Add sorting functionality to various inventory and management routes Tom Butcher 2026-08-11 02:12:27 +01:00
  • 3d4150c6cc Add mock for getModelByName in database tests to enhance test coverage Tom Butcher 2026-08-10 02:03:38 +01:00
  • 234652f7b0 Enhance database utility functions for improved property value retrieval and reference handling Tom Butcher 2026-08-10 00:56:59 +01:00
  • 4bd29e2010 Enhance utility functions in utils.js for improved reference model handling and filtering logic Tom Butcher 2026-08-09 22:52:05 +01:00
  • 069406e4d8 Remove unnecessary logging statements in utils.js to streamline the filtering and parsing functions. This change enhances code clarity and performance by eliminating debug logs that are no longer needed. Tom Butcher 2026-08-09 22:28:05 +01:00
  • 2a30b7f3f6 Enhance filtering and parsing logic in utils.js and update route handlers for async support Tom Butcher 2026-08-09 22:27:45 +01:00
  • d3adf00477 Add sortSidebarVisibility field to user settings schema Tom Butcher 2026-08-09 20:54:59 +01:00
  • fcdd76f891 Add additional boolean operand parsing in utils.js Tom Butcher 2026-08-09 20:29:27 +01:00
  • 05d0cd539c Improve CORS error handling in index.js by logging allowed origins and the rejected origin. This change enhances debugging capabilities by providing clearer context when a request is denied due to CORS policy. Tom Butcher 2026-08-02 01:27:20 +01:00
  • 627de41cca Refactor CORS origin handling in index.js to support multiple origins using a Set for uniqueness. Log allowed origins during server initialization for better visibility and debugging. Tom Butcher 2026-08-02 01:18:05 +01:00
  • 87256257d7 Update CORS configuration in config.json and README.md to allow multiple origins. Refactor CORS handling in index.js to utilize new server.corsOrigins setting, enhancing API security and flexibility. Tom Butcher 2026-08-02 01:01:50 +01:00
  • 0dafdf1eda Update slicer.js and slicer.test.js to include createFileThumbnails function. This change integrates thumbnail creation into the slicer service and updates the test suite to mock the new function, enhancing testing coverage for file upload scenarios. Tom Butcher 2026-08-01 18:30:26 +01:00
  • f69c88926c Refactor allowedFilters in inventory and management routes to improve consistency and readability. Cleaned up whitespace and ensured all filters are properly formatted for better query handling across purchase orders, shipments, and filament SKUs. Tom Butcher 2026-08-01 18:25:59 +01:00
  • c0112d61fb Add thumbnail creation call in slicerUploadRouteHandler to generate file thumbnails upon upload. This enhancement improves the user experience by ensuring thumbnails are created for uploaded files. Tom Butcher 2026-08-01 15:22:04 +01:00
  • 6b80aee80a Refactor thumbnail creation logic in createFileThumbnails function to handle GCode file types and improve thumbnail source validation. Cleaned up whitespace and enhanced caching logic for better performance in database.js. Tom Butcher 2026-08-01 15:10:59 +01:00
  • 6c694d7d48 Add boolean field handling to filtering logic in utils.js Tom Butcher 2026-08-01 14:33:03 +01:00
  • c043ad7a86 Enhance allowedFilters across multiple routes to include 'createdAt', 'updatedAt', and '_reference' for improved filtering capabilities. This update applies to finance, inventory, management, and sales modules, ensuring consistency and better query handling. Tom Butcher 2026-08-01 14:26:40 +01:00
  • c233be5d80 Enhance allowedFilters in printers.js and subjobs.js to include 'state' and '_reference' for improved filtering capabilities. Cleaned up whitespace for better code readability. Tom Butcher 2026-08-01 13:31:27 +01:00
  • 664a3a4884 Update allowedFilters in jobs.js to include '_id' and '_reference' for enhanced filtering capabilities in job queries. Cleaned up whitespace for improved code readability. Tom Butcher 2026-08-01 13:28:50 +01:00
  • 7606afcf11 Add getObjectNeighbors mock implementation in various test files for improved neighbor retrieval functionality across multiple modules. Tom Butcher 2026-08-01 13:26:23 +01:00
  • 300478b62b Update package.json to specify pnpm as the package manager and add minimumReleaseAge to pnpm-workspace.yaml for improved workspace configuration. Tom Butcher 2026-08-01 13:24:36 +01:00
  • 74c0d8eb52 Refactor propertiesAllowedFilters across various routes to streamline filtering logic. Removed redundant allowedFilters definitions and replaced them with propertiesAllowedFilters for improved query handling in finance, inventory, and management modules. Tom Butcher 2026-08-01 13:22:51 +01:00
  • 1e807beacf Implement neighbors caching and retrieval for various entities in the inventory and finance modules. Introduced new route handlers for fetching neighbors in invoices, payments, tax records, filament stocks, order items, part stocks, product stocks, purchase orders, shipments, stock audits, stock events, stock locations, and stock transfers. Updated allowed filters for improved query capabilities across these routes. Enhanced database.js with caching logic for neighbors, including cache invalidation on object updates. Tom Butcher 2026-08-01 13:20:01 +01:00
  • 6a9cd2a2ea Refactor Redis integration to use ioredis instead of redis, enhancing performance and compatibility. Updated connection handling and command syntax for improved functionality. Added new dependencies for ioredis and updated mongoose version in package.json. Tom Butcher 2026-08-01 12:42:08 +01:00
  • 7a1b85bb19 Updated allowedFilters in printers.js to include '_id' and '_reference' for enhanced filtering capabilities in printer queries. Cleaned up unnecessary whitespace in the file. Tom Butcher 2026-08-01 12:41:29 +01:00
  • 3155733642 Add filterDistributeKeys function and DISTRIBUTE_KEYS constant to utils.js for improved data handling in distributed updates. Updated distribution functions to utilize these enhancements, ensuring only relevant keys are published. Tom Butcher 2026-07-28 02:51:09 +01:00
  • 8ca49e5a87 Added vendor property to document printer route handlers for improved data handling during printer updates and creation. Tom Butcher 2026-07-27 02:37:36 +01:00
  • b04030cdf1 Delete builds older than 25. Tom Butcher 2026-07-26 23:56:15 +01:00
  • e1b6814efd Enhanced gcodeFile schema to populate part information during validation, improving data integrity for parts. Updated service functions to reflect changes in population logic for parts, ensuring accurate data retrieval. Tom Butcher 2026-07-26 21:21:30 +01:00
  • 5a4fecbae0 Refactored editObject function in database.js to utilize a merged object for updates, improving code clarity and reducing redundancy. Updated printer schema to include a default ID generation method and added alerts handling in editPrinterRouteHandler for enhanced printer management. Tom Butcher 2026-07-26 21:11:43 +01:00