90 Commits
Author SHA1 Message Date
nessar aede36fa17 Merge branch 'renovate/configure' into 'main'
Configure Renovate

See merge request nessar/expiry-scanner!6
2026-10-03 15:44:46 +00:00
renovate Bot 66facc6ca1 Add renovate.json 2026-09-30 21:58:02 +00:00
nessar 0d3322f0cc feat: update coverage reporting to include JSON and LCOV formats 2026-04-09 00:31:16 +02:00
nessar a06aba3282 fix TU 2026-04-09 00:23:22 +02:00
nessar ceaa2ca056 Merge branch 'main' of github.com:thoguet/expiry-scanner 2026-04-09 00:18:07 +02:00
nessar f108bb993e feat: refactor barcode handling and add constants for better maintainability
- Removed the .env file as it is no longer needed.
- Updated .gitignore to exclude .env.
- Enhanced AddProduct.vue to improve barcode input handling with a new inline button for lookup.
- Added styles for the new barcode input button in add-product.css.
- Refactored useAddProductForm to include debounce logic for barcode lookups and improved focus handling.
- Introduced constants for configuration values such as image size limits and debounce timings.
- Added unit tests for constants and barcode handling logic.
- Updated useEditProductForm to utilize new constants for image size validation.
2026-04-09 00:17:37 +02:00
nessar 97020ff298 update mail 2026-04-08 20:55:22 +02:00
nessar 0717a7c853 add policy privacy 2026-04-08 20:47:07 +02:00
nessar e1a7abe5fb docker volume update 2026-04-08 20:13:05 +02:00
nessar d604799cee upload both android app files 2026-04-08 20:01:02 +02:00
nessar fbbd78d770 update gitignore 2026-04-08 19:36:48 +02:00
nessar 1099bf4ea7 rm .env 2026-04-08 19:36:21 +02:00
nessar b26abe4450 tests 2026-04-08 00:13:08 +02:00
nessar e66150aa66 FREEZER 2026-04-07 23:54:25 +02:00
nessar 08f6f84e93 revert 2026-04-07 23:35:54 +02:00
nessar ed218089b1 update cicd 2026-04-07 22:33:33 +02:00
nessar 36e86d1f39 update to 0.2.2 mobile-v0.2.2 2026-03-29 22:56:09 +02:00
nessar a908271b42 feat: refactor stock input fields into reusable StockFormFields component 2026-03-29 22:52:09 +02:00
nessar a15780b45c share from notif 2026-03-28 21:41:10 +01:00
nessar b6bcc2231a fix: change navigation bar color to transparent and disable contrast enforcement 2026-03-28 13:13:44 +01:00
nessar 2fcf2a0427 fix: suppress deprecation warning for light navigation bar visibility 2026-03-28 13:12:15 +01:00
nessar 6faf28a876 refactor: update dependencies and improve UI elements for better navigation and sharing experience 2026-03-28 12:55:58 +01:00
nessar 3d9dc324e8 feat: update mobile app to use sharesheet plugin for sharing functionality
- Updated viewport meta tag in index.html for better scaling on mobile devices.
- Added @buildyourwebapp/tauri-plugin-sharesheet dependency to package.json.
- Replaced tauri-plugin-share with tauri-plugin-sharesheet in Cargo.lock and Cargo.toml.
- Modified mobile capabilities to include sharesheet permissions.
- Updated lib.rs to initialize sharesheet plugin for mobile platforms.
- Refactored useStockManager to use shareText from sharesheet plugin instead of shareFile.
- Updated ClientId service to utilize sharesheet for sharing client IDs and improved clipboard fallback logic.
- Enhanced tests to reflect changes in sharing implementation and added new test cases for clipboard fallback scenarios.
2026-03-28 00:54:51 +01:00
nessar a500de1d8a logging + try again share menu 2026-03-27 23:47:36 +01:00
nessar 15d56c0fe9 add unit 2026-03-27 23:09:19 +01:00
nessar 14d05f9dfb push release not as draft mobile-v0.2.1 2026-03-27 19:37:59 +01:00
imgbot[bot]andImgBotApp fe04449871 [ImgBot] Optimize images (#4)
*Total -- 818.76kb -> 789.15kb (3.62%)

/mobile/src-tauri/icons/Square284x284Logo.png -- 35.44kb -> 33.64kb (5.07%)
/mobile/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -- 15.74kb -> 14.95kb (5.04%)
/mobile/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -- 18.23kb -> 17.33kb (4.89%)
/mobile/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -- 11.76kb -> 11.23kb (4.56%)
/mobile/src-tauri/icons/Square150x150Logo.png -- 13.06kb -> 12.47kb (4.48%)
/mobile/src-tauri/icons/128x128@2x.png -- 29.88kb -> 28.54kb (4.47%)
/mobile/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png -- 22.89kb -> 21.87kb (4.46%)
/mobile/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -- 10.16kb -> 9.71kb (4.44%)
/mobile/src-tauri/icons/Square310x310Logo.png -- 40.95kb -> 39.16kb (4.35%)
/mobile/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png -- 14.71kb -> 14.07kb (4.33%)
/mobile/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png -- 43.70kb -> 41.84kb (4.26%)
/mobile/src-tauri/icons/Square142x142Logo.png -- 11.94kb -> 11.45kb (4.11%)
/mobile/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-83.5x83.5@2x.png -- 14.83kb -> 14.22kb (4.1%)
/mobile/src-tauri/icons/128x128.png -- 10.11kb -> 9.72kb (3.92%)
/mobile/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@3x.png -- 16.73kb -> 16.08kb (3.89%)
/mobile/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@2x.png -- 12.83kb -> 12.35kb (3.8%)
/mobile/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png -- 71.39kb -> 68.68kb (3.79%)
/mobile/src-tauri/icons/icon.png -- 89.03kb -> 85.88kb (3.53%)
/mobile/src-tauri/icons/Square107x107Logo.png -- 7.62kb -> 7.36kb (3.35%)
/mobile/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png -- 7.74kb -> 7.49kb (3.19%)
/mobile/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -- 6.23kb -> 6.04kb (3.01%)
/mobile/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@2x.png -- 8.77kb -> 8.51kb (2.96%)
/mobile/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@3x.png -- 8.77kb -> 8.51kb (2.96%)
/mobile/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png -- 262.51kb -> 254.78kb (2.94%)
/mobile/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -- 5.36kb -> 5.23kb (2.31%)
/mobile/src-tauri/icons/Square89x89Logo.png -- 5.72kb -> 5.59kb (2.27%)
/mobile/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x-1.png -- 4.58kb -> 4.52kb (1.28%)
/mobile/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x.png -- 4.58kb -> 4.52kb (1.28%)
/mobile/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@3x.png -- 5.25kb -> 5.19kb (1.12%)
/mobile/src-tauri/icons/Square71x71Logo.png -- 4.00kb -> 3.96kb (1.1%)
/mobile/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@1x.png -- 4.28kb -> 4.25kb (0.75%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2026-03-27 19:18:33 +01:00
nessar 42a14740bd feat: enhance mobile app with toast notifications and cleanup service
- Added ToastHost component for displaying toast messages.
- Implemented toast service for managing success and error notifications.
- Integrated toast notifications into stock management and product editing workflows.
- Updated ClientIdModal to use toast notifications for user feedback.
- Refactored StockManager to remove status messages in favor of toast notifications.
- Added nightly cleanup service in the backend to manage stale data.
- Created migration script to add cleanup columns and indexes to the database.
- Enhanced tests for toast service and stock manager to validate new functionality.
2026-03-27 18:57:08 +01:00
nessar 4d5f03b053 update vitest and remove coverage from git 2026-03-27 15:04:04 +01:00
nessar 7a776840e8 Update CORS policy for development and production modes; adjust padding in StockManager component 2026-03-27 13:57:43 +01:00
nessar 880b16e03a Add unit tests for mobile application services and components
- Implement tests for main application bootstrap in `main.test.ts`
- Create route tests to validate defined routes in `routes.test.ts`
- Add comprehensive tests for ClientId service in `ClientId.test.ts`
- Develop backend service tests to ensure correct API interactions in `backend.test.ts`
- Introduce notification service tests to verify notification handling in `notifications.test.ts`
- Implement product service tests to validate product management functionality in `products.test.ts`
- Add stock service tests to ensure stock management operations work as expected in `stocks.test.ts`
- Configure Vitest for testing environment and coverage thresholds in `vitest.config.ts`
2026-03-27 00:04:35 +01:00
nessar 13b267e7fd fix 2026-03-26 18:54:51 +01:00
nessar 23ad8ef57e big refacto 2026-03-23 23:36:16 +01:00
nessar b390e3962c working 0.2.1 2026-03-23 23:00:38 +01:00
nessar d59a322e2a stock 2026-03-22 23:49:00 +01:00
nessar 89dde40c4c 0.2.0 2026-03-22 21:46:07 +01:00
nessar bb16f92281 v0.2 2026-03-22 19:54:37 +01:00
nessar 2004632977 v0.2 2026-03-22 19:54:13 +01:00
nessar fee63cecd6 V2 2026-03-22 19:53:23 +01:00
nessar 34a46f4d72 V2 2026-03-22 19:40:17 +01:00
nessar 8bf0ccfb7f V2 2026-03-22 15:32:51 +01:00
nessar 00a8507371 images 2026-03-15 19:48:41 +01:00
nessar 3ef1b8c7fe cargo lcok 2026-03-15 18:38:35 +01:00
Théophyl Hoguet 5f594c221c Notifications (#2)
* Add product editing functionality and enhance notifications

- Introduced EditProduct model and corresponding API endpoint for editing products.
- Updated product service to handle editing and notifications for expiring products.
- Enhanced mobile app to support product editing with a dedicated EditProduct component.
- Integrated haptics and notification plugins for improved user experience.

* cargo update

* Update dependencies in Cargo.toml and Cargo.lock; enhance .gitignore for Android keystore files

* chore: update dependencies and fix Cargo.toml

- Updated versions of various dependencies in package.json for mobile app:
  - @tauri-apps/plugin-haptics to ~2.3.2
  - @tauri-apps/plugin-notification to ~2.3.3
  - vue to ^3.5.30
  - vue-router to ^5.0.3
  - @vitejs/plugin-vue to ^6.0.5
  - vite to ^8.0.0
  - vue-tsc to ^3.2.5
  - @tauri-apps/cli to ^2.10.1

- Added 'libc' as a dependency in Cargo.lock for Tauri.

- Removed duplicate 'chrono' entry in Cargo.toml.

- Re-enabled the haptics plugin in the Tauri application initialization.

* update bun.lock and plugin

* refactor: improve notification handling and clean up unused code

* udpate workflow

* change notification time

* add ios

* remove ios part workflow
2026-03-15 18:32:23 +01:00
nessar 72e53931af Update dependencies in Cargo.toml and Cargo.lock; enhance .gitignore for Android keystore files 2026-03-14 13:36:00 +01:00
nessar 1963ebbcef Update .gitignore and configure signing for release build in build.gradle.kts 2026-02-28 15:46:13 +01:00
nessar 7010108b01 Enhance GitHub Actions workflow: reorganize job steps for clarity and add Android signing configuration in build.gradle.kts 2026-02-27 23:30:38 +01:00
nessar f90f4142ed Refactor GitHub Actions workflow: enhance mobile app build process, streamline artifact upload, and improve release creation steps. 2026-02-27 23:02:02 +01:00
nessar 134ce56cba Refactor GitHub Actions workflow for mobile app: consolidate build and release steps, enhance permissions, and update tauri-action version. 2026-02-27 22:21:35 +01:00
nessar a16267e0b6 V0.9 2026-02-27 21:41:23 +01:00