Commit Graph

12 Commits

Author SHA1 Message Date
4c60e3cf4a Update asset verification and user experience
All checks were successful
renovate / renovate (push) Successful in 2m8s
CI / build (push) Successful in 10m24s
- Added SRI hash injection during frontend build to improve security.
- Updated ESLint configuration to include 'navigator' as a global variable.
- Introduced a new `settingsStore` to manage user preferences for asset verification.
- Enhanced `SoftwareCard` and `VerificationModal` components to display contributor information and security checks.
- Updated `verificationStore` to handle expanded toast notifications for detailed verification steps.
- Implemented a new `CodeBlock` component for displaying code snippets with syntax highlighting.
- Improved API documentation and added new endpoints for fetching software and asset details.
2025-12-27 16:29:05 -06:00
3605710875 Add asset verification feature with user preferences
- Introduced a new verification system for asset downloads, allowing users to choose whether to verify assets before downloading.
- Added a `VerificationModal` component to handle the verification process and user preferences.
- Implemented a `verificationStore` to manage the state of verification toasts and progress.
- Updated `SoftwareCard` to trigger background verification based on user preferences stored in local storage.
- Created `VerificationToasts` component to display real-time verification status and progress.
- Enhanced the WASM verifier integration to support the new verification workflow.
2025-12-27 15:46:52 -06:00
d710ad6b4f Add WASM verifier loading and asset verification functions
- Introduced loadVerifier function to load the WASM verifier from the server.
- Added verifyAsset function to validate asset data against an expected SHA256 hash using the loaded verifier.
- Ensured compatibility with server-side rendering by checking for the window object.
2025-12-27 15:32:54 -06:00
fe67dc4d3e Add verification feature for asset downloads
- Integrated a new VerificationModal component to handle asset verification.
- Updated SoftwareCard to manage download verification state and trigger the modal.
- Added WASM execution script and binary for client-side verification.
- Included necessary imports and state management for verification process in SoftwareCard.
- Enhanced app.html to load the WASM execution script.
2025-12-27 15:32:34 -06:00
c6e9c779f5 Update ESLint configuration by adding additional global variables and updating ignore patterns
- Added global variables: MouseEvent, Blob, WebAssembly, Uint8Array, ArrayBuffer, and URL.
- Updated the ignore patterns to include 'static/**' in the ESLint configuration.
2025-12-27 15:32:18 -06:00
9f28e7b328 Remove unused gitea-dark.webp icon from static icons directory 2025-12-27 03:30:23 -06:00
f2f2f88047 Update localization files for German, Italian, and Russian translations
- Reformatted JSON entries for improved consistency and readability.
- Ensured translations for various software-related messages are correctly structured across all three languages.
- Maintained existing translations while enhancing overall clarity for user feedback.
2025-12-27 03:21:11 -06:00
20332ed8c4 Update frontend dependencies and version to 0.2.0
All checks were successful
CI / build (push) Successful in 54s
- Bumped version from 0.1.0 to 0.2.0 in package.json.
- Updated dependencies:
  - @sveltejs/kit to 2.49.2
  - svelte to 5.46.1
  - svelte-check to 4.3.5
  - vite to 7.3.0
2025-12-27 03:17:43 -06:00
348e1687da Add custom error page component for handling errors
- Created a new Svelte component `+error.svelte` to display user-friendly error messages.
- The component differentiates between 404 errors and other error statuses, providing appropriate feedback and navigation options.
- Integrated localization support for error messages using `svelte-i18n`.
2025-12-27 03:17:10 -06:00
b068b7a984 Update localization files to include new error messages and descriptions
- Added translations for error handling and page not found messages in German, English, Italian, and Russian JSON files.
- Enhanced user experience by providing clearer feedback for unexpected errors and navigation issues.
2025-12-27 03:15:50 -06:00
b886551201 Remove outdated README.md file from frontend directory 2025-12-27 03:15:11 -06:00
1d5d6aacb4 0.1.0 2025-12-27 02:57:25 -06:00