2a30b7f3f6
Enhance filtering and parsing logic in utils.js and update route handlers for async support
...
This update introduces several utility functions in `utils.js` to improve the handling of ObjectId paths, schema types, and filtering logic. Key additions include `isObjectIdPath`, `getBaseProperty`, and `getFilterFieldKind`, which enhance the flexibility of property handling. Additionally, all route handlers in the finance and inventory modules have been refactored to support asynchronous operations, ensuring better performance and responsiveness when processing requests.
2026-08-09 22:27:45 +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.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-08-01 18:30:26 +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.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-08-01 15:22:04 +01:00
7606afcf11
Add getObjectNeighbors mock implementation in various test files for improved neighbor retrieval functionality across multiple modules.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-08-01 13:26:23 +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.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-08-01 13:20:01 +01:00
3a79526eda
Added unit property to spotlight object in trimSpotlightObject function, enhancing the object structure for improved data handling.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-07-26 20:03:06 +01:00
5ee8f332e2
Enhanced filament schema and related service functions to include vendor information. Updated route handlers to support vendor population in filament queries and exports, improving data management and retrieval capabilities.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-07-26 19:07:41 +01:00
4db7ffff6a
Updated createOrUpdateUser function in auth.js to return the expanded object IDs from the new user document directly, ensuring accurate data representation upon user creation or update.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-07-26 00:43:32 +01:00
13ddcbce61
Added mock implementations for getPropertyValues in various test files to enhance testing capabilities across multiple services, including management, finance, inventory, and production modules. This update ensures consistent behavior in tests by simulating property value retrieval.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-07-24 23:28:11 +01:00
287e74b682
Added new route handlers and service functions to retrieve distinct property values for various entities, including invoices, payments, tax records, filament stocks, and more. Updated corresponding routes to support these new functionalities across multiple management and production modules, enhancing data querying capabilities.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-07-24 23:19:48 +01:00
11ff82a9af
Enhanced various route handlers and services to support an additional master filter parameter for improved data querying capabilities. Updated related functions across multiple management and production routes, ensuring consistent handling of master filters in property-based queries.
2026-07-24 21:52:54 +01:00
a42f953e9a
Removed console.log statements across various files to clean up the code and improve performance. This includes logging related to audit logs, user notifications, database operations, and session management.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-07-23 21:44:32 +01:00
82ca27756d
Refactored editObject function to flatten object ID references before updating the database, ensuring proper data structure. Added corresponding test case to verify the flattening functionality in update operations.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-07-20 02:28:13 +01:00
cb16385b33
Added printer and filament profile schemas, routes, and associated logic for managing profiles. Enhanced authentication for slicer uploads and integrated new routes for handling slicer-related operations. Updated database utilities and services to support new features, improving overall functionality and user experience.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-07-20 02:11:44 +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.
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.
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.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-07-04 16:56:50 +01:00
e23ac3f6a3
Updated artifact URL construction in appupdate.js to ensure proper formatting of relative paths, enhancing reliability in artifact retrieval.
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.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-06-22 03:02:01 +01:00
a25deb0de2
Implemented view changes.
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.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-06-21 15:18:07 +01:00
645a1b6220
Implemented about page.
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.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-06-21 04:04:50 +01:00
de40e0c3ff
Started app update implementation.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-06-21 01:59:07 +01:00
bec68488a7
Implemented RSS support.
2026-06-20 22:06:04 +01:00
4c5b645487
Implemented dev support for session status.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-06-20 01:34:08 +01:00
ed99638664
Implemented session status.
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.
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
4458a1d828
Implemented materials and export improvements.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-08 01:28:21 +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.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-03-07 22:42:01 +00:00
420ab75467
Added user existence check in userRouteHandler to return 401 status if user is not found, enhancing authentication flow.
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.
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.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-07 13:38:05 +00:00
ee14c420df
Added CSV support.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-03-03 01:20:38 +00:00
f852e607f9
Added excel support.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-03-03 01:01:52 +00:00
8ad3d3da5c
Implemented multiple app passwords.
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.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-03-01 19:37:34 +00:00
a9c4b29f9f
Improved notifications.
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.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-01 01:42:30 +00:00
28c94159b4
Added unit tests.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2025-12-29 00:39:13 +00:00
dea6a90b68
Removed development logging.
2025-12-27 15:19:13 +00:00