166 Commits

Author SHA1 Message Date
9bba139998 Removed paymentDate field from payment schema and updated related route handlers to reflect this change, streamlining payment data management. 2026-07-18 14:00:44 +01:00
e192c04000 Enhanced courier service and listing schemas by adding cost-related fields and integrating courier services into listings. Updated route handlers and service logic to accommodate new fields, improving data management and retrieval capabilities.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-07-18 13:36:01 +01:00
561520be9a Added 'operation' to allowed filters in audit log route for enhanced filtering capabilities.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-07-13 23:26:55 +01:00
ce6f396bcb Audit log fixes.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-07-13 22:59:49 +01:00
bf3e23ddf1 Implemented subscribe and unsubscribe audit log functions in utils.js and integrated them into user notifier route handlers for tracking subscription changes. This enhances audit capabilities and maintains user activity logs.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-07-13 03:12:48 +01:00
367891eb33 Refactored population logic in invoice, payment, order item, and other route handlers to use constants for improved readability and maintainability. This change enhances consistency across the codebase and simplifies future updates to population fields.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-07-04 20:48:27 +01:00
0c7469b7c1 Added searchObjects mock implementation across various test files to enhance testing capabilities for finance, inventory, management, and sales modules. This update ensures that search functionality can be effectively tested in unit tests.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-07-04 16:56:50 +01:00
50eacb3974 Added text indexes to various schemas for improved search capabilities across finance, inventory, and management modules. Updated route handlers to include search functionality for invoices, payments, tax records, and inventory items, enhancing data retrieval efficiency.
Some checks failed
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-07-04 16:48:50 +01:00
710bfc6de6 Added searchObjects function to database module for enhanced querying capabilities, allowing searches by reference, ID, or text. Improved error handling and result formatting in the search process. 2026-07-04 16:43:50 +01:00
e23ac3f6a3 Updated artifact URL construction in appupdate.js to ensure proper formatting of relative paths, enhancing reliability in artifact retrieval.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-07-04 15:11:15 +01:00
759aa1017f Refactored login callback route handler to differentiate redirect behavior based on the redirect type, improving flexibility in response handling.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
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.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
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.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
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.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
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. 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.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
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.
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
cc1c827c0b Add isAppQueryAuthenticated mock to user API tests
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-06-20 23:18:23 +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
b4b87380d2 Refactor Jenkinsfile to remove unnecessary script execution during dependency installation and add pnpm workspace configuration for specific package builds.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-06-15 00:13:47 +01:00
7a2de82586 Update Jenkinsfile to allow script execution during dependency installation
Some checks failed
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
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. 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
a3af5db899 Updated GCode file schema. 2026-03-13 22:56:03 +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
17e46f6aee Gitignore test results. 2026-03-07 22:44:10 +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