84 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
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 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 2026-03-27 19:37:59 +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
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
nessar 822c26c802 new compose.yml 2026-02-24 23:15:47 +01:00
nessar 4b39dc68ed Merge branch 'main' of github.com:THoguet/expiry-scanner 2026-02-24 22:49:12 +01:00
nessar 7fb93b0eb4 update dockerfile 2026-02-24 22:49:01 +01:00
nessar 4826efce64 feat: enhance product management with barcode support and Dockerfile optimizations 2026-02-23 22:56:52 +01:00
nessar 28d2c44d2b fix: update tauriScript command to include mobile matrix variable 2026-02-21 17:59:47 +01:00
nessar 2bd2462fe3 fix: update tauriScript command to use 'bun tauri' instead of 'bun run tauri --' 2026-02-21 17:55:39 +01:00
nessar fd7a05e946 indentation 2026-02-21 17:50:07 +01:00
nessar 2c67ae2d9b fix: update tauriScript command to use 'bun run tauri --' for mobile builds 2026-02-21 16:28:05 +01:00
nessar b9eb61a32a remove ipa build and publish apk 2026-02-21 15:49:48 +01:00
nessar ba23d4ecad feat: update workflow configurations for backend and mobile builds 2026-02-21 14:44:22 +01:00
nessar 92697913e7 fix: update Dockerfile to use apt instead of apt-get and restore compose.yml 2026-02-21 05:16:11 +01:00
nessar dea5c36141 use cache for apt 2026-02-21 05:11:51 +01:00
nessar c4a4de63ab feat: enhance mobile build workflow with system dependencies and check-mobile job dependency 2026-02-21 05:07:41 +01:00
nessar 311ccf89e3 update workflow + main.rs 2026-02-21 05:02:53 +01:00
nessar 6f8242c9c8 feat: add TypeScript bindings for Barcode, CreateProduct, DeleteProduct, and Product 2026-02-21 04:47:16 +01:00
nessar 9404c8a2df V0.5 2026-02-21 04:46:00 +01:00
nessar ded5b39510 feat: add ProductBox component for displaying product details and deletion functionality 2026-02-18 23:57:58 +01:00
nessar d74a830805 add tower-http dependency and implement CORS in backend; enhance product loading in mobile frontend 2026-02-18 00:22:13 +01:00
nessar 2b6845dedd remove products from back 2026-02-17 20:52:23 +01:00
nessar 7bde7d0add use button 2026-02-17 20:06:15 +01:00
nessar fc5998eaab update version 2026-02-16 01:28:25 +01:00
nessar 97bdd3980b update dbtypes 2026-02-16 01:21:58 +01:00
nessar 90209b07c6 add workflow build android ios 2026-02-16 01:17:19 +01:00
nessar 7c84dc4d20 feat: enhance calculate_days_left function to return days until expiration 2026-02-16 01:01:06 +01:00
nessar 1149af9ba5 feat: update mobile app dependencies and add new components
- Updated package.json to include FontAwesome and Vue Router dependencies.
- Modified Cargo.toml and Cargo.lock to add chrono and wasm-bindgen dependencies.
- Implemented new Tauri command to calculate days left until expiry date.
- Refactored App.vue to use new Header and Footer components, and integrated barcode scanner functionality.
- Created Footer and Header components for navigation.
- Added ProductList and Scanner components with basic structure.
- Set up Vue Router for navigation between ProductList and Scanner components.
- Introduced build.rs for SQLx migration recompilation.
- Generated TypeScript bindings for Product model.
2026-02-15 20:17:05 +01:00
nessar 5efe768fb6 feat: add SQL query for retrieving products ordered by expiration date 2026-02-14 18:20:54 +01:00
nessar 555d7bbe09 feat: add UUID support for products and implement insert/delete queries 2026-02-14 18:18:50 +01:00
nessar 120e679bb0 feat: add delete product endpoint to API 2026-02-13 18:59:41 +01:00
nessar b8f361573b ignore .env 2026-02-13 18:04:01 +01:00
nessar 710b177709 rm .env 2026-02-13 18:03:42 +01:00
nessar 779f0e678b feat: implement product listing and creation endpoints, update Dockerfile and compose configuration 2026-02-13 15:31:17 +01:00
nessar 068123fd0a feat: initialize Tauri application with Vue.js integration
- Added main Rust application logic in `lib.rs` to handle Tauri commands.
- Created `main.rs` to serve as the entry point for the Tauri application.
- Configured Tauri settings in `tauri.conf.json` including build commands and window settings.
- Developed the main Vue component in `App.vue` to interact with the Rust backend.
- Included Vue.js assets and setup in `main.ts`.
- Defined TypeScript configurations in `tsconfig.json` and `tsconfig.node.json`.
- Configured Vite for Tauri development in `vite.config.ts`.
- Added Vue logo SVG asset for branding.
2026-02-13 13:38:24 +01:00
nessar facacbe592 fix: add newline before axum server start 2026-02-13 00:54:21 +01:00
nessar eeb7ad64f3 update workflow 2026-02-13 00:50:19 +01:00
nessar 8d10cc39ff Merge branch 'main' of github.com:THoguet/expiry-scanner 2026-02-13 00:46:01 +01:00
nessar 5ba0c45558 feat: set up backend with Axum, SQLx, and PostgreSQL
- Updated Cargo.toml to include dependencies for Axum, SQLx, dotenvy, and chrono.
- Implemented main function to initialize the application, set up database connection, and define routes.
- Added health check and database check endpoints.
- Created .env file for database configuration.
- Added initial migration script to create products table in the database.
- Defined Product and CreateProduct models for serialization and database interaction.
2026-02-13 00:45:57 +01:00
nessar a11a23a041 first commit 2026-02-12 23:00:18 +01:00