Commit Graph

  • 759aa1017f Refactored login callback route handler to differentiate redirect behavior based on the redirect type, improving flexibility in response handling. main Tom Butcher 2026-06-22 03:02:01 +01:00
  • efb3fdbcb9 Refactored filament recalculation logic to utilize filament SKUs instead of order items, improving efficiency. Updated allowed filters in the filament SKUs route to include 'costWithTax' and modified population logic in the service for better data retrieval. Tom Butcher 2026-06-21 23:59:33 +01:00
  • 74a9139002 Removed 'fileName' field from part schema and corresponding route handlers to streamline data management and improve clarity in part creation and editing processes. Tom Butcher 2026-06-21 23:15:35 +01:00
  • f74b85bb88 Added authorisation and decline functionality for payments, including new route handlers and schema updates to track authorisation and decline timestamps. Updated payment cancellation logic to reflect changes in payment states. Tom Butcher 2026-06-21 22:32:57 +01:00
  • 2996b1670f Refactored tax record management by moving tax record schema and routes to the finance directory, enhancing organization. Implemented CRUD operations for tax records in the new service and added corresponding tests for route handlers. Tom Butcher 2026-06-21 22:23:14 +01:00
  • a2bfd707e2 Removed unused 'populateFields' variable from the invoice route handler to streamline the code and improve clarity. Tom Butcher 2026-06-21 21:41:22 +01:00
  • e14c1405da Updated invoice route handler to reference 'toType' and 'fromType' fields, ensuring consistency with the latest schema adjustments. Tom Butcher 2026-06-21 21:30:09 +01:00
  • 99ef989cc5 Updated invoice route handler to include dynamic reference types for 'to' and 'from' fields, aligning with recent schema changes. Tom Butcher 2026-06-21 21:29:43 +01:00
  • 6e7419da67 Updated invoice schema to support dynamic reference types for 'from' and 'to' fields, and modified related service handlers to accommodate new 'fromType' and 'toType' properties. Tom Butcher 2026-06-21 19:08:20 +01:00
  • a25deb0de2 Implemented view changes. Tom Butcher 2026-06-21 18:11:55 +01:00
  • c507f708eb Enhanced app update service with Redis caching for branch retrieval and current build information, improving performance and reducing API calls. Tom Butcher 2026-06-21 15:42:19 +01:00
  • 3d8e6325b2 Implemented software update installation. Tom Butcher 2026-06-21 15:18:07 +01:00
  • 645a1b6220 Implemented about page. Tom Butcher 2026-06-21 13:19:15 +01:00
  • afce36b30a Added app update storage URL to config and modified artifact mapping to use the new storage path in app update service. Tom Butcher 2026-06-21 04:04:50 +01:00
  • 779cb8cdf1 Fixed GCode file selection. Tom Butcher 2026-06-21 02:15:45 +01:00
  • de40e0c3ff Started app update implementation. Tom Butcher 2026-06-21 01:59:07 +01:00
  • cc1c827c0b Add isAppQueryAuthenticated mock to user API tests Tom Butcher 2026-06-20 23:18:23 +01:00
  • fd636c6c82 Fixed product SKUs. Tom Butcher 2026-06-20 22:27:21 +01:00
  • bec68488a7 Implemented RSS support. Tom Butcher 2026-06-20 22:06:04 +01:00
  • 4c5b645487 Implemented dev support for session status. Tom Butcher 2026-06-20 01:34:08 +01:00
  • ed99638664 Implemented session status. Tom Butcher 2026-06-20 00:33:51 +01:00
  • b4b87380d2 Refactor Jenkinsfile to remove unnecessary script execution during dependency installation and add pnpm workspace configuration for specific package builds. Tom Butcher 2026-06-15 00:13:47 +01:00
  • 7a2de82586 Update Jenkinsfile to allow script execution during dependency installation Tom Butcher 2026-06-14 23:55:14 +01:00
  • af0934b163 Added product category support, including new routes, database schemas, and service updates. Enhanced existing product functionalities to incorporate product categories in filtering and population. Tom Butcher 2026-06-14 23:51:51 +01:00
  • 92e07c97d7 Numerious fixes. Tom Butcher 2026-05-17 19:11:29 +01:00
  • 57f057e3aa Implemented stock locations. Tom Butcher 2026-05-17 16:55:01 +01:00
  • d3c662a9ec Added stock location and stock transfer features, including new routes, database schemas, and service updates. Enhanced existing stock-related functionalities to support filtering and population of stock location data. Tom Butcher 2026-03-21 23:14:07 +00:00
  • 1b858d8814 Added better listing and listing varient support. Tom Butcher 2026-03-21 21:39:10 +00:00
  • 250c404408 Implemented market places. Tom Butcher 2026-03-13 23:32:30 +00:00
  • a3af5db899 Updated GCode file schema. Tom Butcher 2026-03-13 22:56:03 +00:00
  • b4837c8b8c Added mock for deleteObject in filaments test suite to support new delete functionality tests. Tom Butcher 2026-03-08 01:58:41 +00:00
  • 0300e00c8f Enhanced delete functionality for filaments by adding a route handler that checks for dependencies before deletion. Updated the database service to support this check, ensuring objects in use cannot be deleted. Refactored related routes for consistency. Tom Butcher 2026-03-08 01:53:07 +00:00
  • 6645898471 Added tests. Tom Butcher 2026-03-08 01:32:37 +00:00
  • 4458a1d828 Implemented materials and export improvements. Tom Butcher 2026-03-08 01:28:21 +00:00
  • acd4b375af Fixed SKUs updating. Tom Butcher 2026-03-08 01:14:52 +00:00
  • 7eb774a297 Added missing SKUs. Tom Butcher 2026-03-08 01:07:34 +00:00
  • 73fbb50b34 Implemented Part SKUs. Tom Butcher 2026-03-07 23:34:12 +00:00
  • 17e46f6aee Gitignore test results. Tom Butcher 2026-03-07 22:44:10 +00:00
  • 4ea168f17f Implemented Product SKU. Tom Butcher 2026-03-07 22:42:01 +00:00
  • 866c29f33f Set default state as 'draft' and introduced 'postedAt' field. Implemented postProductStock route handler to transition product stock from draft to posted state, including state validation checks. Updated related service functions for consistency. Tom Butcher 2026-03-07 20:37:41 +00:00
  • 1b2d505a30 Updated tests. Tom Butcher 2026-03-07 20:36:18 +00:00
  • 420ab75467 Added user existence check in userRouteHandler to return 401 status if user is not found, enhancing authentication flow. Tom Butcher 2026-03-07 20:32:36 +00:00
  • 5f5eedc798 Enhanced user management in auth.js by ensuring user data is returned with expanded object IDs, updated user retrieval to use lean queries for performance, and added profile image support in user info response. Tom Butcher 2026-03-07 19:22:32 +00:00
  • 7c44f36590 Implemented product stocks and minor improvements. Tom Butcher 2026-03-07 13:38:05 +00:00
  • cf01c3aa38 Fixed connection link. Tom Butcher 2026-03-07 13:24:35 +00:00
  • 029141ff75 Added start command. Tom Butcher 2026-03-07 13:14:20 +00:00
  • 5809b7ab23 Updated production vars. Tom Butcher 2026-03-07 13:05:34 +00:00
  • fa2d5b91c3 Implemented sales order calculations. Tom Butcher 2026-03-06 21:14:08 +00:00
  • ee14c420df Added CSV support. Tom Butcher 2026-03-03 01:20:38 +00:00
  • f852e607f9 Added excel support. Tom Butcher 2026-03-03 01:01:52 +00:00
  • fcaa5a1043 Fixed tests. Tom Butcher 2026-03-02 02:05:00 +00:00
  • 8ad3d3da5c Implemented multiple app passwords. Tom Butcher 2026-03-02 01:58:24 +00:00
  • eaa8bf4836 Updated log level to trace in config, added OData routes, implemented HTTP Basic Auth for user authentication, and added functionality to set app password for users. Tom Butcher 2026-03-02 00:54:10 +00:00
  • ed25260d5b Added smtp to production builds. Tom Butcher 2026-03-01 21:45:21 +00:00
  • f23503863c Fixed remote dir. Tom Butcher 2026-03-01 20:23:43 +00:00
  • deb2b4a154 Modified ssh to default to farmcontrol home dir. Tom Butcher 2026-03-01 20:20:06 +00:00
  • 36516bd911 Fixed copy dir. Tom Butcher 2026-03-01 20:11:44 +00:00
  • 30b5258088 Fixed file copying. Tom Butcher 2026-03-01 20:08:40 +00:00
  • 09c6911acc Fixed copy code. Tom Butcher 2026-03-01 20:03:19 +00:00
  • c0196a624c Improved jenkins deploy code. Tom Butcher 2026-03-01 20:01:07 +00:00
  • 44841dd5b8 Fixed unit tests. Tom Butcher 2026-03-01 19:37:34 +00:00
  • a9c4b29f9f Improved notifications. Tom Butcher 2026-03-01 19:21:05 +00:00
  • 6e3b900423 Implemented redis session storage. Tom Butcher 2026-03-01 17:06:26 +00:00
  • 78509ed3a2 Implemented email notifications. Tom Butcher 2026-03-01 16:54:56 +00:00
  • a2d62ddec1 Fixed api tests. Tom Butcher 2026-03-01 02:09:41 +00:00
  • 3e47cb131b Implemented notifications. Tom Butcher 2026-03-01 01:42:30 +00:00
  • 838e48ade6 Install lodash. 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