aa4b173a7e
Add sorting functionality to various inventory and management routes
...
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
This update introduces a new utility function, `getSort`, to validate and apply sorting based on allowed sorters across multiple routes in the inventory and management modules. The function is integrated into route handlers for invoices, payments, tax records, filament stocks, order items, part stocks, product stocks, purchase orders, shipments, and various management entities. This enhancement improves the flexibility and consistency of sorting operations throughout the application.
2026-08-11 02:12:27 +01:00
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
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.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-08-01 14:26:40 +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.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
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.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-08-01 13:20:01 +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
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
645a1b6220
Implemented about page.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-06-21 13:19:15 +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
ed99638664
Implemented session status.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-06-20 00:33:51 +01: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
3e47cb131b
Implemented notifications.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-01 01:42:30 +00:00
55a1633eab
Updated import paths.
2025-12-13 21:14:06 +00:00
b5e829432d
Refactor note and subjob management routes: Enhanced filtering logic and added new route handlers for CRUD operations. Updated services to utilize database functions for improved data handling and error management. Implemented property-based listing for notes and subjobs, ensuring better data retrieval and organization.
2025-09-05 23:25:14 +01:00
833aa2a242
Updated auth.js to include redirect type.
2025-08-24 11:09:53 +01:00
e1b0b707ba
Update dependencies, refactor routes, and enhance caching: Upgraded various package versions in package.json and package-lock.json for improved performance and security. Refactored routes to include new document-related endpoints and integrated caching mechanisms for user and token lookups to optimize authentication processes. Updated schemas to support new data structures and relationships, ensuring better data integrity and retrieval.
2025-08-18 00:51:46 +01:00
eb8bc0f4b3
Remove unused files and refactor imports: deleted obsolete files including passport.js, and others, while updating import paths in various services and routes for consistency. Added ESLint and Prettier configurations to enhance code quality.
2025-06-29 21:53:18 +01:00
79ff1da0a6
Refactor routes and schemas: reorganized service imports, updated user and auth routes, and modified schema paths for better structure. Removed unused routes and services to streamline the codebase.
2025-06-29 21:30:54 +01:00