49 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
dea6a90b68 Removed development logging. 2025-12-27 15:19:13 +00:00
d9247d2504 Refactored config system to have both production and development configs. 2025-12-13 23:01:03 +00:00
55a1633eab Updated import paths. 2025-12-13 21:14:06 +00:00
f4681e917b Added tax rates, tax records. 2025-12-03 23:35:40 +00:00
dabb2927a2 Added ref spotlight lookup. 2025-12-03 13:11:53 +00:00
8b978e1787 Added purchase orders and couriers. 2025-12-03 03:40:06 +00:00
b44e3a5141 Added loads of features, updated packages and created schema sync. 2025-12-02 18:29:30 +00:00
dca386e6ae Large amount of refactoring. 2025-11-16 17:06:54 +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
b6d3444520 Added different redirect types. 2025-08-24 11:06:10 +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
7626ff0317 Refactor audit logging: centralized audit log retrieval in utils, updated service methods to utilize new getAuditLogs function, and standardized model references in audit log creation across services. Enhanced filtering in management routes for improved query handling. 2025-06-29 22:34:58 +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