Antoni Nuñez Romeu
452a835b64
fix(backend): add retry logic and remove custom User-Agent for OFF API
...
Run Tests on Branches / Detect Changes (push) Successful in 10s
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Frontend Mobile Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
- Add retry logic with exponential backoff (2 retries)
- Remove custom User-Agent that was being blocked by OFF
- Fix syntax error (missing catch block)
- OFF API blocks anonymous users during high demand
2026-07-13 16:43:54 +02:00
Antoni Nuñez Romeu
f1b0eab11d
feat(backend): add Open Food Facts authentication support
...
Run Tests on Branches / Detect Changes (push) Successful in 11s
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Frontend Mobile Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
- Add OFF_USERNAME and OFF_PASSWORD env vars
- Use Basic Auth when credentials are provided
- Improves rate limits for authenticated requests
- Auth is optional (works without credentials)
2026-07-13 16:28:34 +02:00
Antoni Nuñez Romeu
ee23f61057
fix(backend): improve OFF API error handling
...
Run Tests on Branches / Detect Changes (push) Successful in 9s
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Frontend Mobile Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has started running
- Validate response is JSON before parsing (OFF returns HTML on 503)
- Don't cache empty results to avoid blocking future searches
- Add validateStatus to only accept 200 responses
- Better logging for API failures
2026-07-13 16:23:07 +02:00
Antoni Nuñez Romeu
26f309acfb
fix(backend): switch OFF API to /cgi/search.pl endpoint and fix test imports
...
Run Tests on Branches / Detect Changes (push) Successful in 8s
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Frontend Mobile Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
- Changed from /api/v2/search (returning 503) to /cgi/search.pl (working)
- Removed strict categories_tags=baby-food filter that was too restrictive
- Fixed test file to use dynamic imports for ES module compatibility
- Increased timeout to 10s for reliability
2026-07-13 16:18:11 +02:00
Antoni Nuñez Romeu
4df1594b3b
docs: add design spec and implementation plan for parapharmacy + baby products
Run Tests on Branches / Detect Changes (push) Successful in 8s
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Frontend Mobile Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
2026-07-13 15:56:00 +02:00
Antoni Nuñez Romeu
981f3bd3db
fix: address code review issues — nutriscore field name, cache write isolation, missing rate limiter, dead props
2026-07-13 15:46:47 +02:00
Antoni Nuñez Romeu
83920ae57c
feat: display product results alongside medicine results in MedicineResults component
2026-07-13 15:35:11 +02:00
Antoni Nuñez Romeu
7b1636a96e
feat(mobile): add product detail screen for CIMA and OFF products
2026-07-13 15:33:34 +02:00
Antoni Nuñez Romeu
bb2dbbab3a
feat(mobile): integrate product search with filter tabs in search screen
2026-07-13 15:31:39 +02:00
Antoni Nuñez Romeu
d5b23aa94a
feat(mobile): add products API service with search and detail endpoints
2026-07-13 15:28:55 +02:00
Antoni Nuñez Romeu
9e786f2966
feat(frontend): integrate product search into PublicView with filter tabs
2026-07-13 15:27:47 +02:00
Antoni Nuñez Romeu
a709deb893
feat(frontend): add ProductResults component for unified product search
...
Displays CIMA OTC and Open Food Facts baby products with source/category
badges, product images, brand info, and Nutri-Score for OFF items.
2026-07-13 15:25:35 +02:00
Antoni Nuñez Romeu
229e1d8106
Add unified product search routes (CIMA OTC + Open Food Facts)
...
- GET /api/products/search?q={query} - parallel search across both sources
- GET /api/products/:source/:id - product detail by source (cima/openfoodfacts)
- Uses Promise.allSettled for fault-tolerant parallel search
- Added imports for searchOTC and OFF service functions
2026-07-13 15:23:43 +02:00
Antoni Nuñez Romeu
f2a5dc4ca3
feat(backend): add CIMA OTC search function with Redis caching
2026-07-13 15:18:20 +02:00
Antoni Nuñez Romeu
d62e5976ce
fix: remove dead BABY_CATEGORIES constant and emoji from logs
2026-07-13 15:17:02 +02:00
Antoni Nuñez Romeu
d6f4164dae
feat(backend): add Open Food Facts service with Redis caching
...
- transformOFFProduct: maps OFF products to unified Product model
- searchBabyProducts: searches baby products via OFF API (1h cache)
- getBabyProductDetails: fetches product details by barcode (1h cache)
- 9 tests passing for transform logic and input validation
2026-07-13 15:10:46 +02:00
Ichitux
2713be85a3
Merge pull request 'feat: add Expo Push notifications for mobile and configure EXPO_ACCESS_TOKEN' ( #30 ) from feat/expo-push-notifications into main
...
Build & Push Docker Images / Detect Changes (push) Successful in 8s
Build & Push Docker Images / Backend Tests (push) Successful in 1m57s
Build & Push Docker Images / Frontend Tests (push) Successful in 1m55s
Build & Push Docker Images / Build Backend (push) Successful in 27s
Build & Push Docker Images / Build Frontend (push) Successful in 39s
Build & Push Docker Images / Deploy (push) Successful in 22s
Reviewed-on: #30
2026-07-13 10:28:46 +00:00
Antoni Nuñez Romeu
0c43d32cf1
feat: add Expo Push notifications for mobile and configure EXPO_ACCESS_TOKEN
...
Run Tests on Branches / Detect Changes (push) Successful in 13s
Run Tests on Branches / Backend Tests (push) Successful in 1m58s
Run Tests on Branches / Frontend Tests (push) Successful in 1m53s
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m49s
- Backend: add expo_push_tokens table, expo-register/unregister endpoints, hybrid VAPID+Expo push sender
- Mobile: register Expo push token on app launch, bell toggle on medicine/pharmacy detail screens
- .env.example: document EXPO_ACCESS_TOKEN configuration
- Dark mode hover fixes for search suggestions and recent buttons
2026-07-13 12:21:25 +02:00
Ichitux
a00cfe949c
Merge pull request 'feat(mobile): improve login, profile, alerts screens and dark mode background' ( #29 ) from feat/mobile-ui-improvements into main
...
Build & Push Docker Images / Detect Changes (push) Successful in 8s
Build & Push Docker Images / Backend Tests (push) Has been skipped
Build & Push Docker Images / Frontend Tests (push) Successful in 1m48s
Build & Push Docker Images / Build Backend (push) Has been skipped
Build & Push Docker Images / Build Frontend (push) Successful in 39s
Build & Push Docker Images / Deploy (push) Successful in 22s
Reviewed-on: #29
2026-07-10 14:44:08 +00:00
Antoni Nuñez Romeu
2a7ab64bbf
feat(mobile): improve login, profile, alerts screens and dark mode background
...
Run Tests on Branches / Detect Changes (push) Successful in 8s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Successful in 1m41s
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m46s
- Unify login/register into single screen with tab switcher, logo, and themed inputs
- Redesign profile with header card, segmented theme toggle, icon-based menu, and bottom-sheet modals
- Add auth guard to alerts screen showing login prompt instead of 401 error
- Switch ImageBackground to explicit Image+View layering for reliable rendering
- Add dark mode background image switching in root layout
- Add dark mode override for recent-tag in PWA search view
2026-07-10 16:39:59 +02:00
Ichitux
bf519e43c9
Merge pull request 'Changes in background and dark mode' ( #28 ) from bg_fixes_ into main
...
Build & Push Docker Images / Detect Changes (push) Successful in 8s
Build & Push Docker Images / Backend Tests (push) Has been skipped
Build & Push Docker Images / Frontend Tests (push) Has been skipped
Build & Push Docker Images / Build Backend (push) Has been skipped
Build & Push Docker Images / Build Frontend (push) Has been skipped
Build & Push Docker Images / Deploy (push) Has been skipped
Reviewed-on: #28
2026-07-10 10:46:50 +00:00
Antoni Nuñez Romeu
d371fd2bb7
Changes in background and dark mode
Run Tests on Branches / Detect Changes (push) Successful in 8s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m43s
2026-07-10 12:41:10 +02:00
Ichitux
02cab5f740
Merge pull request 'Dark mode improvements and FarmaClic rebranding' ( #27 ) from dark-mode-rebrand-updates into main
...
Build & Push Docker Images / Deploy (push) Successful in 22s
Build & Push Docker Images / Detect Changes (push) Successful in 8s
Build & Push Docker Images / Backend Tests (push) Has been skipped
Build & Push Docker Images / Frontend Tests (push) Successful in 1m57s
Build & Push Docker Images / Build Backend (push) Has been skipped
Build & Push Docker Images / Build Frontend (push) Successful in 44s
Reviewed-on: #27
2026-07-10 08:03:28 +00:00
Antoni Nuñez Romeu
8b9b7e8444
Dark mode improvements and FarmaClic rebranding
...
Run Tests on Branches / Detect Changes (push) Successful in 12s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Successful in 1m55s
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m51s
- Dark mode: gray background instead of pure black
- Dark mode: improved notification card visibility (SavedNotifications)
- Dark mode: improved alerts view badge contrast (AlertsView)
- Dark mode: custom pharmacy-themed background image
- Rebranding: replace all logos with FarmaClic branding
- Update PWA icons, favicon, apple-touch-icon, and mobile app icons
2026-07-10 09:58:36 +02:00
Ichitux
f58b4427a8
Merge fixing things
Build & Push Docker Images / Detect Changes (push) Successful in 7s
Build & Push Docker Images / Backend Tests (push) Successful in 1m47s
Build & Push Docker Images / Frontend Tests (push) Has been skipped
Build & Push Docker Images / Build Backend (push) Successful in 26s
Build & Push Docker Images / Build Frontend (push) Has been skipped
Build & Push Docker Images / Deploy (push) Successful in 23s
2026-07-09 17:39:44 +02:00
Ichitux
ec2416613c
Merge pull request 'Add dark mode for PWA frontend' ( #25 ) from dark_mode_frontend into main
...
Build & Push Docker Images / Detect Changes (push) Successful in 9s
Build & Push Docker Images / Backend Tests (push) Has been skipped
Build & Push Docker Images / Frontend Tests (push) Successful in 1m50s
Build & Push Docker Images / Build Backend (push) Has been skipped
Build & Push Docker Images / Build Frontend (push) Successful in 47s
Build & Push Docker Images / Deploy (push) Successful in 21s
Reviewed-on: #25
2026-07-09 11:34:35 +00:00
Ichitux
2f36ef685d
Mobile App design
Run Tests on Branches / Detect Changes (push) Successful in 10s
Run Tests on Branches / Backend Tests (push) Successful in 2m12s
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m47s
2026-07-09 13:33:54 +02:00
Antoni Nuñez Romeu
e9a1d7c53d
Add dark mode for PWA frontend
Run Tests on Branches / Detect Changes (push) Successful in 12s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Successful in 1m47s
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
2026-07-09 13:18:25 +02:00
Ichitux
2e9b2f2c1f
Merge pull request 'Frontend Hotfixes & Backend improvements' ( #24 ) from react_app_fixes into main
...
Build & Push Docker Images / Detect Changes (push) Successful in 9s
Build & Push Docker Images / Backend Tests (push) Successful in 2m4s
Build & Push Docker Images / Frontend Tests (push) Has been skipped
Build & Push Docker Images / Build Backend (push) Successful in 23s
Build & Push Docker Images / Build Frontend (push) Has been skipped
Build & Push Docker Images / Deploy (push) Successful in 23s
Reviewed-on: #24
2026-07-08 23:03:09 +00:00
Ichitux
5f604b11ba
Frontend Hotfixes & Backend improvements
Run Tests on Branches / Detect Changes (push) Successful in 9s
Run Tests on Branches / Backend Tests (push) Successful in 1m51s
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m44s
2026-07-09 00:58:31 +02:00
Ichitux
16fea2de8f
Merge pull request 'Manifest changes to PWA' ( #23 ) from feat/android-build-setup into main
...
Build & Push Docker Images / Backend Tests (push) Has been skipped
Build & Push Docker Images / Detect Changes (push) Successful in 7s
Build & Push Docker Images / Frontend Tests (push) Successful in 1m43s
Build & Push Docker Images / Build Backend (push) Has been skipped
Build & Push Docker Images / Build Frontend (push) Successful in 44s
Build & Push Docker Images / Deploy (push) Successful in 25s
Reviewed-on: #23
2026-07-08 22:05:52 +00:00
Ichitux
302d574220
Manifest changes to PWA
Run Tests on Branches / Detect Changes (push) Successful in 8s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Successful in 2m6s
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
2026-07-08 23:54:50 +02:00
Ichitux
411d6604a9
Merge pull request 'fix(mobile): align background, API config, and search bar with PWA' ( #22 ) from fix/mobile-background-api-searchbar into main
...
Build & Push Docker Images / Detect Changes (push) Successful in 9s
Build & Push Docker Images / Backend Tests (push) Has been skipped
Build & Push Docker Images / Frontend Tests (push) Has been skipped
Build & Push Docker Images / Build Backend (push) Has been skipped
Build & Push Docker Images / Build Frontend (push) Has been skipped
Build & Push Docker Images / Deploy (push) Has been skipped
Reviewed-on: #22
2026-07-08 13:52:11 +00:00
Antoni Nuñez Romeu
d6db48b695
fix(mobile): align background, API config, and search bar with PWA
...
Run Tests on Branches / Detect Changes (push) Successful in 11s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m46s
- Add background image matching PWA (bg.png with opacity + overlay)
- Fix production API URL to farmacias.hacecalor.net
- Replace raw fetch calls in alerts.tsx with configured api service
- Constrain SearchBar max-width to 420px to prevent horizontal clipping
2026-07-08 14:23:58 +02:00
Ichitux
a3cea35b13
Merge pull request 'fix: tab bar not visible on Android' ( #21 ) from fix/android-tab-bar-visibility into main
...
Build & Push Docker Images / Detect Changes (push) Successful in 8s
Build & Push Docker Images / Backend Tests (push) Has been skipped
Build & Push Docker Images / Frontend Tests (push) Successful in 1m46s
Build & Push Docker Images / Build Backend (push) Has been skipped
Build & Push Docker Images / Build Frontend (push) Successful in 39s
Build & Push Docker Images / Deploy (push) Failing after 36s
Reviewed-on: #21
2026-07-07 21:53:17 +00:00
Antoni Nuñez Romeu
0099aab093
mobile ui fix
Run Tests on Branches / Detect Changes (push) Successful in 8s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Successful in 1m48s
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m49s
2026-07-07 23:43:18 +02:00
Antoni Nuñez Romeu
fe08dd512e
Faro & grafana improvements 2
2026-07-07 23:40:40 +02:00
Antoni Nuñez Romeu
6612c8b10c
Faro & grafana improvements
Run Tests on Branches / Detect Changes (push) Successful in 8s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Successful in 1m46s
Run Tests on Branches / Frontend Mobile Tests (push) Has been cancelled
2026-07-07 23:40:04 +02:00
Antoni Nuñez Romeu
aae3ac04af
Faro & grafana improvements
2026-07-07 23:39:37 +02:00
Antoni Nuñez Romeu
69ef048388
fix: tab bar not visible on Android
...
Run Tests on Branches / Detect Changes (push) Successful in 8s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m39s
Add SafeAreaProvider to root layout and use dynamic safe area insets
for tab bar height/padding instead of hardcoded values that didn't
account for Android system navigation bar.
2026-07-07 21:04:42 +02:00
Ichitux
a7834607fb
Merge pull request 'Add logo home + ocr changes for TSI' ( #20 ) from home_logo_plus_ocr into main
...
Build & Push Docker Images / Detect Changes (push) Successful in 10s
Build & Push Docker Images / Backend Tests (push) Successful in 1m53s
Build & Push Docker Images / Frontend Tests (push) Successful in 1m53s
Build & Push Docker Images / Build Backend (push) Successful in 21s
Build & Push Docker Images / Build Frontend (push) Successful in 33s
Build & Push Docker Images / Deploy (push) Successful in 23s
Reviewed-on: #20
2026-07-07 16:42:45 +00:00
Antoni Nuñez Romeu
ce3cca1d79
Add logo home + ocr changes for TSI
Run Tests on Branches / Detect Changes (push) Successful in 7s
Run Tests on Branches / Backend Tests (push) Successful in 1m53s
Run Tests on Branches / Frontend Tests (push) Successful in 1m53s
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
2026-07-07 18:36:34 +02:00
Ichitux
c5d47ddd4d
Merge pull request 'chore: optimize CI/CD workflows with path-based detection' ( #19 ) from chore/optimize-cicd-workflows into main
...
Build & Push Docker Images / Detect Changes (push) Successful in 7s
Build & Push Docker Images / Backend Tests (push) Has been skipped
Build & Push Docker Images / Frontend Tests (push) Has been skipped
Build & Push Docker Images / Build Backend (push) Has been skipped
Build & Push Docker Images / Build Frontend (push) Has been skipped
Build & Push Docker Images / Deploy (push) Has been skipped
Reviewed-on: #19
2026-07-07 16:16:57 +00:00
Antoni Nuñez Romeu
562ede1961
chore: optimize CI/CD workflows with path-based detection
...
Run Tests on Branches / Detect Changes (push) Successful in 13s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
- Add dorny/paths-filter to detect changes per component
- Run only relevant tests (backend/frontend/frontend-mobile)
- Build only changed Docker images
- Fix Docker container removal error with --remove-orphans
- Add conditional deploy based on actual changes
2026-07-07 18:15:38 +02:00
Ichitux
a65f1a6293
Merge pull request 'Refactor frontend-mobile' ( #18 ) from feat/mobile-pwa-design-alignment into main
...
Build & Push Docker Images / test-backend (push) Has been cancelled
Build & Push Docker Images / build-backend (push) Has been cancelled
Build & Push Docker Images / build-frontend (push) Has been cancelled
Build & Push Docker Images / deploy (push) Has been cancelled
Build & Push Docker Images / test-frontend (push) Has been cancelled
Reviewed-on: #18
2026-07-07 16:11:51 +00:00
Antoni Nuñez Romeu
9949b85001
Refactor frontend-mobile
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
2026-07-07 18:08:44 +02:00
Ichitux
69d66729aa
Merge pull request 'chore/update-app-icons' ( #17 ) from chore/update-app-icons into main
...
Build & Push Docker Images / test-backend (push) Successful in 1m51s
Build & Push Docker Images / test-frontend (push) Successful in 1m55s
Build & Push Docker Images / build-backend (push) Successful in 21s
Build & Push Docker Images / build-frontend (push) Successful in 35s
Build & Push Docker Images / deploy (push) Successful in 22s
Reviewed-on: #17
2026-07-07 15:45:32 +00:00
Antoni Nuñez Romeu
a58ce306bf
Missing files from commit
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
2026-07-07 17:44:36 +02:00
Antoni Nuñez Romeu
7eb791f181
chore: update app icons across Expo, iOS, Android, and web
...
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
Replace all app icons, favicons, and splash assets with new
FarmaClic branding from provided AppIcons and ImageSets assets.
2026-07-07 17:43:47 +02:00
Ichitux
439e0830a5
Merge pull request 'fix: add missing @expo/vector-icons dependency to frontend-mobile' ( #16 ) from fix/vector-icons-resolution into main
...
Build & Push Docker Images / build-backend (push) Successful in 23s
Build & Push Docker Images / test-backend (push) Successful in 2m13s
Build & Push Docker Images / test-frontend (push) Successful in 1m56s
Build & Push Docker Images / build-frontend (push) Successful in 17s
Build & Push Docker Images / deploy (push) Successful in 31s
Reviewed-on: #16
2026-07-07 13:59:59 +00:00