74 Commits

Author SHA1 Message Date
e14c1405da Updated invoice route handler to reference 'toType' and 'fromType' fields, ensuring consistency with the latest schema adjustments.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
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.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
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.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-06-21 19:08:20 +01:00
a25deb0de2 Implemented view changes.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
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. 2026-06-21 15:42:19 +01:00
3d8e6325b2 Implemented software update installation.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-06-21 15:18:07 +01:00
645a1b6220 Implemented about page.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
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.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-06-21 04:04:50 +01:00
779cb8cdf1 Fixed GCode file selection.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-06-21 02:15:45 +01:00
de40e0c3ff Started app update implementation.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-06-21 01:59:07 +01:00
fd636c6c82 Fixed product SKUs.
Some checks failed
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-06-20 22:27:21 +01:00
bec68488a7 Implemented RSS support. 2026-06-20 22:06:04 +01:00
4c5b645487 Implemented dev support for session status.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-06-20 01:34:08 +01:00
ed99638664 Implemented session status.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-06-20 00:33:51 +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. 2026-06-14 23:51:51 +01:00
92e07c97d7 Numerious fixes. 2026-05-17 19:11:29 +01:00
57f057e3aa Implemented stock locations.
Some checks failed
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
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. 2026-03-21 23:14:07 +00:00
1b858d8814 Added better listing and listing varient support. 2026-03-21 21:39:10 +00:00
250c404408 Implemented market places.
Some checks failed
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-13 23:32:30 +00:00
b4837c8b8c Added mock for deleteObject in filaments test suite to support new delete functionality tests.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
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.
Some checks failed
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-08 01:53:07 +00:00
6645898471 Added tests.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-03-08 01:32:37 +00:00
4458a1d828 Implemented materials and export improvements.
Some checks failed
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-08 01:28:21 +00:00
acd4b375af Fixed SKUs updating. 2026-03-08 01:14:52 +00:00
7eb774a297 Added missing SKUs. 2026-03-08 01:07:34 +00:00
73fbb50b34 Implemented Part SKUs. 2026-03-07 23:34:12 +00:00
4ea168f17f Implemented Product SKU.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
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.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-03-07 20:37:41 +00:00
420ab75467 Added user existence check in userRouteHandler to return 401 status if user is not found, enhancing authentication flow.
Some checks failed
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
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.
Some checks failed
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-07 19:22:32 +00:00
7c44f36590 Implemented product stocks and minor improvements.
Some checks failed
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-07 13:38:05 +00:00
ee14c420df Added CSV support.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-03-03 01:20:38 +00:00
f852e607f9 Added excel support.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-03-03 01:01:52 +00:00
8ad3d3da5c Implemented multiple app passwords.
Some checks failed
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
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. 2026-03-02 00:54:10 +00:00
44841dd5b8 Fixed unit tests.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-03-01 19:37:34 +00:00
a9c4b29f9f Improved notifications.
Some checks failed
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-01 19:21:05 +00:00
6e3b900423 Implemented redis session storage. 2026-03-01 17:06:26 +00:00
78509ed3a2 Implemented email notifications. 2026-03-01 16:54:56 +00:00
3e47cb131b Implemented notifications.
Some checks failed
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-01 01:42:30 +00:00
28c94159b4 Added unit tests.
Some checks failed
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2025-12-29 00:39:13 +00:00
a7e35c279e Refactor invoice routes and handlers for improved clarity and functionality
- Renamed and updated route handlers for sending and marking invoices to acknowledge and post invoices, respectively.
- Changed filter parameters from 'customer' to 'client' and added 'order' and 'orderType' filters for better invoice management.
- Enhanced invoice handling logic to include order items and shipments, improving the overall invoicing process.
- Updated the population fields in invoice queries to reflect new schema relationships.
- Adjusted state checks and logging for better error handling and clarity in invoice processing.
2025-12-28 02:12:03 +00:00
dd86075734 Add 'name' field and invoicing details to order item schema
- Introduced a new 'name' field as a required attribute in the order item schema.
- Added invoicing-related fields: 'invoicedAmountWithTax', 'invoicedAmount', 'invoicedQuantity', 'invoicedAmountRemaining', 'invoicedAmountWithTaxRemaining', and 'invoicedQuantityRemaining' to track invoicing status.
- Updated route handlers to accommodate the new 'name' field in order item creation and editing processes.
- Enhanced the recalculation logic to include remaining invoiced amounts and quantities.
2025-12-28 02:11:37 +00:00
0f14f0f52c Add payment management functionality
- Introduced a new payment schema to handle payment records, including fields for amount, vendor, client, invoice, and state.
- Implemented route handlers for CRUD operations on payments, including listing, creating, editing, and deleting payments.
- Updated application routes to include payment routes for better organization and access.
- Added statistics and history retrieval methods for payments to enhance reporting capabilities.
2025-12-28 02:11:16 +00:00
2630976f9e Add client and sales order management functionality
- Introduced new schemas for clients and sales orders.
- Implemented route handlers for CRUD operations on clients and sales orders.
- Updated the main application routes to include client and sales order routes.
- Enhanced the models to support new data structures and relationships.
2025-12-27 20:47:10 +00:00
dea6a90b68 Removed development logging. 2025-12-27 15:19:13 +00:00
db85735f9b Update tax rate import path in taxrates.js to reflect schema renaming. 2025-12-27 14:03:44 +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. 2025-12-27 14:03:03 +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. 2025-12-27 14:02:16 +00:00