Commit Graph

240 Commits

Author SHA1 Message Date
6d5cafda38 moar unit test !
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 6m9s
2025-12-07 01:26:17 -08:00
08e73c4ca1 moar unit test !
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 6m6s
2025-12-07 00:30:40 -08:00
0d04d74228 more db unit tests - best o luck !
Some checks failed
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 !
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 4m24s
2025-12-06 22:58:37 -08:00
da18719aa5 integration tests fixes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m13s
2025-12-06 19:25:40 -08:00
16e8f6efb9 AI Service refactor
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m19s
2025-12-06 16:46:03 -08:00
c85de2a999 lootsa tests fixes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m37s
2025-12-05 23:01:22 -08:00
06fc94feb1 lootsa tests fixes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m26s
2025-12-05 21:50:56 -08:00
6cf9829537 lootsa tests fixes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m31s
2025-12-05 21:21:58 -08:00
b456546feb lootsa tests fixes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m19s
2025-12-05 20:37:33 -08:00
7added99b8 lootsa tests fixes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m30s
2025-12-05 19:56:49 -08:00
7829dd52d5 lootsa tests fixes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m37s
2025-12-05 19:23:00 -08:00
57ea82a8ad lootsa tests fixes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m29s
2025-12-05 18:56:08 -08:00
e07b0c6ae4 lootsa tests fixes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m30s
2025-12-05 17:41:07 -08:00
19d431057f lootsa tests fixes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m35s
2025-12-05 16:59:20 -08:00
0a1cddd1f7 lootsa tests fixes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m31s
2025-12-05 16:21:01 -08:00
88b3b0fe95 lootsa tests fixes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m29s
2025-12-05 16:00:04 -08:00
24ec00113f lootsa tests fixes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 6m13s
2025-12-05 15:39:55 -08:00
5cf1e610b3 lootsa tests fixes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m35s
2025-12-05 15:08:59 -08:00
64afc5853d work on icon display
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m27s
2025-12-05 13:32:29 -08:00
d191389559 routes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m27s
2025-12-05 02:37:03 -08:00
e08dd0231a routes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m28s
2025-12-05 01:36:27 -08:00
e0af06f54c renaming
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m31s
2025-12-04 23:57:59 -08:00
6540a19ee9 Fix: TypeError: JwtStrategy requires a secret or key
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m30s
2025-12-04 23:12:07 -08:00
9d552b7456 Refactor database environment variable usage across workflows and application code
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 3m53s
- Updated Gitea workflows to standardize on `DB_NAME` instead of `DB_DATABASE` for database name references.
- Modified deployment, backup, reset, and restore workflows to ensure consistent environment variable usage.
- Removed dotenv dependency and preload script, transitioning to environment variable management directly in scripts.
- Adjusted application code to utilize `DB_NAME` for database connections and logging.
- Enhanced README to reflect changes in environment variable configuration and usage.
- Cleaned up package.json scripts to remove unnecessary preload references.
2025-12-04 18:02:38 -08:00
80d2b1ffe6 Add user database service and unit tests
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m28s
- Implement user database service with functions for user management (create, find, update, delete).
- Add comprehensive unit tests for user database service using Vitest.
- Mock database interactions to ensure isolated testing.
- Create setup files for unit tests to handle database connections and global mocks.
- Introduce error handling for unique constraints and foreign key violations.
- Enhance logging for better traceability during database operations.
2025-12-04 15:30:27 -08:00
4cf587c8f0 refactor: enhance type safety and functionality in AI routes and tests
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m27s
2025-12-04 14:54:48 -08:00
09a608f40d refactor: improve type safety by making 'next' optional in async route handlers and updating type imports
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m27s
2025-12-04 14:03:17 -08:00
8604be4720 refactor: enhance type safety by adding NextFunction type to async route handlers
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m26s
2025-12-04 13:13:34 -08:00
5c214fb6f4 Refactor tests and services for improved type safety and error handling
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m24s
- Updated FlyerCorrectionTool tests to remove unused error notification.
- Enhanced ProfileManager tests and component to include points in user profile.
- Fixed error handling in ProfileManager to correctly log error messages.
- Adjusted AI routes tests to ensure proper mocking and added missing properties in mock responses.
- Refined AI routes to improve error message extraction and payload handling.
- Cleaned up gamification routes tests by removing unnecessary parameters.
- Simplified public routes by removing unused parameters in async handlers.
- Improved system routes tests to handle exec command callbacks more robustly.
- Updated user routes tests to remove unnecessary middleware parameters.
- Enhanced AI API client tests to use File objects for simulating uploads.
- Modified AI service tests to improve type safety and mock implementations.
- Refined database service tests to ensure proper type assertions and mock setups.
- Updated express type definitions for better clarity and organization.
- Cleaned up notification service tests to mock local re-exports instead of library directly.
2025-12-04 12:46:12 -08:00
2026cb1584 refactor: clean up imports and improve error messages across multiple components
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m28s
2025-12-04 10:58:08 -08:00
8cd61a8646 refactor: simplify async route handlers by making 'next' optional 2025-12-04 10:00:54 -08:00
aac04353a3 refactor: update test file naming conventions for clarity and consistency
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m22s
2025-12-04 09:11:21 -08:00
2f64e348fc flyer image fixin
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m27s
2025-12-04 08:53:13 -08:00
9a1b3bda8f add geocoding fallback nominatim
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m29s
2025-12-04 08:21:43 -08:00
79393548c6 comment out road trip planning as it requires google maps api key $$$
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 4m12s
2025-12-03 21:02:57 -08:00
e63999694a added address table, super awesome - bunch of gitea workflow options - "Processed Flyers" made better
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 1m1s
2025-12-03 19:34:47 -08:00
893ae6da53 additional background job work
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m19s
2025-12-03 15:32:09 -08:00
383e8e3d25 better flyer icons + archive
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m25s
2025-12-03 14:13:44 -08:00
ba778a20d7 more icon image work
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m24s
2025-12-03 13:28:59 -08:00
29484b61c2 added sale item count to db, and to be shown in "Flyers" area
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m22s
2025-12-03 10:35:21 -08:00
62c30420fa one lazy ai
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m5s
2025-12-02 20:28:28 -08:00
80e2222d20 move AI flyer processing to background BullMQ jobs using redis for storage
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 6m21s
2025-12-02 14:31:01 -08:00
a8f650d513 ai: tolerant parsing + diagnostics for /api/ai/flyers/process; fix test assertion
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m6s
2025-12-02 11:52:26 -08:00
79d095d6b9 ai: validate flyer payload, prevent DB crashes, and add tests for /api/ai/flyers/process
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m29s
2025-12-02 09:00:17 -08:00
95d1b1798b ai 'chat' is helping now
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m9s
2025-12-01 22:45:29 -08:00
de18e9da02 ai 'chat' is helping now
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m9s
2025-12-01 22:18:11 -08:00
337b3272ee come on ai get it right
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m14s
2025-12-01 21:40:09 -08:00
57d125ae2e come on ai get it right
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 3m42s
2025-12-01 19:00:56 -08:00
2ed623c199 come on ai get it right
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 3m47s
2025-12-01 18:39:10 -08:00