7615d7746e
feat: Enhance logging and type safety across various components and services
Deploy to Test Environment / deploy-to-test (push) Has been cancelled
2025-12-13 23:12:50 -08:00
77454b04c2
Add comprehensive tests for hooks, middleware, and routes
...
Deploy to Test Environment / deploy-to-test (push) Has started running
- Implement tests for `useFlyers`, `useMasterItems`, `useModal`, `useUserData` hooks to ensure correct functionality and error handling.
- Create tests for `fileUpload.middleware` and `validation.middleware` to validate file uploads and request data.
- Add tests for `AddressForm` and `AuthView` components to verify rendering, user interactions, and API calls.
- Develop tests for `deals.routes` to check authentication and response for best prices on watched items.
2025-12-13 21:30:43 -08:00
424cbaf0d4
feat: Implement deals repository and routes for fetching best watched item prices
...
Deploy to Test Environment / deploy-to-test (push) Has been cancelled
- Added a new DealsRepository class to interact with the database for fetching the best sale prices of watched items.
- Created a new route `/api/users/deals/best-watched-prices` to handle requests for the best prices of items the authenticated user is watching.
- Enhanced logging in the FlyerDataTransformer and FlyerProcessingService for better traceability.
- Updated tests to ensure proper logging and functionality in the FlyerProcessingService.
- Refactored logger client to support structured logging for better consistency across the application.
2025-12-13 20:02:18 -08:00
2affda25dc
Refactor geocoding services and improve logging
...
- Updated the Nominatim geocoding service to use a class-based structure and accept a logger instance for better logging control.
- Modified tests for the Nominatim service to align with the new structure and improved logging assertions.
- Removed the disabled notification service test file.
- Added a new GeocodingFailedError class to handle geocoding failures more explicitly.
- Enhanced error logging in the queue service to include structured error objects.
- Updated user service to accept a logger instance for better logging in address upsert operations.
- Added request-scoped logger to Express Request interface for type-safe logging in route handlers.
- Improved logging in utility functions for better debugging and error tracking.
- Created a new GoogleGeocodingService class for Google Maps geocoding with structured logging.
- Added tests for the useAiAnalysis hook to ensure proper functionality and error handling.
2025-12-13 17:52:30 -08:00
117f034b2b
ADR1-3 on routes + db files
Deploy to Test Environment / deploy-to-test (push) Successful in 17m30s
2025-12-12 16:09:59 -08:00
d004efb84b
testing ADR - architectural decisions
Deploy to Test Environment / deploy-to-test (push) Successful in 16m21s
2025-12-12 10:57:49 -08:00
1bd27d7112
testing ADR - architectural decisions
Deploy to Test Environment / deploy-to-test (push) Successful in 14m37s
2025-12-12 00:23:12 -08:00
8b06a66b17
testing ADR - architectural decisions
Deploy to Test Environment / deploy-to-test (push) Has been cancelled
2025-12-12 00:01:35 -08:00
d3d637ebfe
unit test fixes + error refactor
Deploy to Test Environment / deploy-to-test (push) Successful in 13m41s
2025-12-11 21:17:48 -08:00
27ef5901f1
unit test fixes + error refactor
Deploy to Test Environment / deploy-to-test (push) Successful in 11m53s
2025-12-11 19:20:38 -08:00
0bc65574c2
unit test fixes + error refactor
Deploy to Test Environment / deploy-to-test (push) Successful in 10m52s
2025-12-11 18:23:59 -08:00
6aa72dd90b
unit test fixin
Deploy to Test Environment / deploy-to-test (push) Successful in 8m50s
2025-12-11 00:53:24 -08:00
b929925a6e
lots more tests !
Deploy to Test Environment / deploy-to-test (push) Failing after 7m32s
2025-12-10 21:02:01 -08:00
331df90f1b
testing flyer upload
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 6m12s
2025-12-10 09:44:46 -08:00
7dc53831ff
some minor log in fixes - also new flyer function
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 6m14s
2025-12-10 09:31:22 -08:00
8da5a2118e
registration errors in progress
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 6m16s
2025-12-10 08:41:30 -08:00
e39a7560ee
home page errors in progress
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 5m57s
2025-12-09 23:11:09 -08:00
d230a2163e
routes cleanup
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 6m3s
2025-12-09 22:17:39 -08:00
a30ec029d4
fix tests ugh
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 5m55s
2025-12-09 19:17:48 -08:00
23e0c44b61
fix tests ugh
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 5m53s
2025-12-09 18:48:17 -08:00
4674309ea1
fix tests ugh
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 5m55s
2025-12-09 18:18:56 -08:00
6354189d5c
fix tests ugh
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m59s
2025-12-09 17:06:43 -08:00
3a66f31d55
fix tests ugh
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 5m53s
2025-12-09 16:03:11 -08:00
c60e19a03b
fix logging tests
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 5m55s
2025-12-09 15:19:27 -08:00
8bfadcd2d9
fix logging tests
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 5m52s
2025-12-09 14:52:46 -08:00
9f50d7d942
fix logging tests
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 5m53s
2025-12-09 14:23:58 -08:00
dbdee8e456
many fixes resulting from latest refactoring
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 5m55s
2025-12-09 13:01:49 -08:00
365bd7cce0
many fixes resulting from latest refactoring
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 5m56s
2025-12-09 12:14:38 -08:00
ca570b6c03
sigh
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 6m1s
2025-12-09 11:36:50 -08:00
0048fe8469
many fixes resulting from latest refactoring
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 5m56s
2025-12-09 10:39:27 -08:00
264404d6e8
many fixes resulting from latest refactoring
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 8m6s
2025-12-09 04:04:02 -08:00
c5d2e4f23e
many fixes resulting from latest refactoring
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 8m13s
2025-12-09 03:25:37 -08:00
7edd0923e2
many fixes resulting from latest refactoring
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 8m3s
2025-12-09 02:50:18 -08:00
88fdb9886f
many fixes resulting from latest refactoring
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 5m41s
2025-12-09 00:05:54 -08:00
e156c385a5
many fixes resultnig from latest refactoring
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 5m11s
2025-12-08 22:12:04 -08:00
158778c2ec
DB refactor for easier testsing
...
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 5m16s
App.ts refactor into hooks
unit tests
2025-12-08 20:46:12 -08:00
0eda796fad
App.tsx refactor + even more unit tests
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 8m28s
2025-12-08 12:18:46 -08:00
e022a4a2cc
moar unit test !
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 6m42s
2025-12-08 10:06:13 -08:00
66a2585efc
moar unit test !
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 6m41s
2025-12-08 08:53:17 -08:00
01c36e80ab
moar unit test !
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 6m33s
2025-12-07 15:46:29 -08:00
b48445b713
moar unit test !
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 5m45s
2025-12-07 14:54:49 -08:00
ef07417978
moar unit test !
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 5m46s
2025-12-07 14:29:37 -08:00
eec0967c94
more testing and queue work
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 5m39s
2025-12-07 11:52:36 -08:00
a148ff8a45
moar unit test !
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 6m4s
2025-12-07 02:00:17 -08:00
6d5cafda38
moar unit test !
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 6m9s
2025-12-07 01:26:17 -08:00
0d04d74228
more db unit tests - best o luck !
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 4m27s
2025-12-06 23:27:37 -08:00
cea3586984
more db unit tests - best o luck !
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 4m24s
2025-12-06 22:58:37 -08:00
6f74de3f88
more db unit tests - best o luck !
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m41s
2025-12-06 21:48:27 -08:00
c85de2a999
lootsa tests fixes
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m37s
2025-12-05 23:01:22 -08:00
b456546feb
lootsa tests fixes
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m19s
2025-12-05 20:37:33 -08:00