Tags: karimz1/imgcompress
Tags
i18n(de): update German drawer labels to reflect converted-image term… …inology Update German translations in the drawer to use Konvertiertes/Konvertierte Bild(e) instead of Komprimiertes/Komprimierte Bild(e) for trigger, title, and description texts. This is a content change only; no functional impact.
docs: add v0.8.1 patch notes to release-notes.md
release/v0.8.0 (#667) * feat(i18n): react-i18next infrastructure with EN and HU translations (#660) * feat(i18n): add react-i18next infrastructure with EN and HU translations - Bootstrap react-i18next with I18nProvider, typed TranslationSchema, and a LanguageSwitcher dropdown (replaces the old EN/HU toggle) - Translate all UI strings across every component: file list, drawer, banners, modals, splash screen, help/release-notes, dev panel, runtime error screen, and the full crop widget (loading, failure, shortcuts, confirm/remove dialogs) - Add Hungarian (hu) locale covering every key in the English baseline, including crop-specific terminology ("kivagás", "Gyors muveletek", etc.) - Fix returnObjects type safety with Array.isArray guards in CropLoadingPanel and CropShortcutsList - Inline causesFor logic into CropLoadFailure; add t to useMemo deps in FileConversionForm to keep memos reactive to locale changes * feat(i18n): add browser-locale detection, typed registry, and E2E test suite - Export SUPPORTED_LOCALES / Locale / DEFAULT_LOCALE from i18n/index.ts as the single source of truth for supported languages - Detect navigator.languages on first visit instead of always defaulting to English; stored preference still wins over browser language - Log a dev-only console.warn for missing translation keys via saveMissing - Key LanguageSwitcher off SUPPORTED_LOCALES and add toLocale() guard so unknown browser locales safely fall back to the default - Add Playwright specs: browser-language auto-detection (3 scenarios) and translation completeness (key parity, empty values, untranslated copies, placeholder matching between EN and HU) - Fix languageSwitcher_Test.spec.ts assertions: combobox role, DISABLE_LOGO mock, and toContainText for subtitle instead of exact string match * fix(crop): align shortcut descriptions with CSS grid Each per-row flex container sized its key column independently, so descriptions started at different horizontal positions. A single grid parent with gridTemplateColumns: "auto 1fr" shares column widths across all rows: the key column is sized to the widest row, and the description column fills the rest with text-right alignment. * fix(i18n): shorten Alt shortcut key label in Hungarian "+ méretezőpont húzása" was too long to fit in a kbd badge without wrapping. Shortened to "+ méretezőpont" — the action is already described by the adjacent "Átméretezés középpontból" description. * added more translations * added credit to the i18 feature creator * fix e2e * chore(deps): upgrade frontend dependencies to latest --------- Co-authored-by: nagyonmarci <135030641+nagyonmarci@users.noreply.github.com>
Release/0.6.1 (#601) * fix(docker): resolve Debian bookworm apt-get GPG signature verification errors Adds --allow-releaseinfo-change and insecure fallback flags to apt-get update to prevent build failures when upstream repository signatures change or expire. * fix(docker): update apt-get flags per upstream security review Removed --allow-insecure-repositories and --allow-unauthenticated to maintain package authenticity checks. Added Acquire::Retries and Acquire::http::Timeout flags to handle flaky network builds while keeping --allow-releaseinfo-change to resolve mismatched release metadata. * Add GitHubStarBanner component Integrate GitHubStarBanner into CompressedFilesDrawer Add GitHubStarBanner component and wire into CompressedFilesDrawer - Introduce GitHubStarBanner with a compressionId prop and per-compression (tracked via sessionStorage) conversion counting. - Wire the drawer to pass a compressionId derived from the converted images, enabling per-compression banner logic. - Preserve dismissal behavior and show the banner after two unique conversions within a session. - Update effect to react to compressionId changes and guard against missing IDs. update release notes * Add test IDs to GitHubStarBanner and introduce e2e tests for banner behavior - Add data-testid attributes to GitHubStarBanner container and dismiss button to enable robust end-to-end testing. - Introduce new Playwright-based e2e tests (gitHubStarBanner_Test.spec.ts) validating banner visibility logic across sessions and drawers. - Tests rely on per-compression tracking via sessionStorage/localStorage keys to simulate two unique conversions before showing the banner and to verify persistent dismissal across reloads. - Establish test coverage for multiple drawer interactions without triggering the banner prematurely. * impove readme * Code Collaboration with Lilyandlucy - improvements Enable strict shell execution and robust apt-get options to improve Debian bookworm builds; remove --allow-releaseinfo-change per upstream review. --------- Co-authored-by: xiayu <404638507@qq.com>
RC 0.5.0 Prepair (#475) * Enhances documentation and UI/UX Adds support for release branches to documentation deployment. Improves the UI by updating the logo, adjusting the layout, adding a footer with version information and links to documentation and GitHub, and enhancing the backend status widget and help button. Changes the backend to use `granian` instead of `gunicorn` for improved performance. Adds a script to generate the `latest-version.json` file for checking for updates in the UI. * Generates JSON for the latest release version Updates the script to generate JSON data specifically for the latest release version based on the release notes. This ensures that only the information relevant to the most current version is exposed through the API, improving clarity and relevance for users. * Improves update banner and version check reliability Refactors the version check logic to fetch the current version from local release notes and improve the reliability of the update banner. Updates the end-to-end tests to use more robust locators and improve the stability of the update banner tests. Also handles potential API errors during version checks more gracefully. * Updates release notes for v0.4.1 Updates the release notes to include the features, bug fixes, and improvements included in the v0.4.1 release. Includes automatic update notifications, a fix for storage calculation, and performance improvements. * Adds granian dependency Adds granian as a production dependency to improve application performance. Removes the release branch from the deploy-docs workflow as it is no longer needed. * Improves update banner and release notes Refactors the update banner tests to improve readability and maintainability. Adds new tests to cover different scenarios, including error handling. Updates release notes to reflect UI changes. * Updates documentation URL in e2e test Updates the documentation URL in the "How to Use" button's e2e test to reflect the new domain. This ensures that the test verifies the correct link. * Updates release notes structure Refactors the release notes documentation for better organization and clarity. It introduces a version verification logic section, explaining how the application checks for new releases, emphasizing privacy and transparency. This change prepares the release notes for the upcoming v0.4.1 release. * Refactors release notes documentation Updates the release notes documentation to improve clarity and maintainability. This commit refactors the `release-notes.md` file. It clarifies the version verification logic, emphasizing privacy standards. The update streamlines the maintenance and upgrade instructions for users. The URL for fetching the latest version is also updated. * Fetches latest version from GitHub Releases API Updates the version check mechanism to use the GitHub Releases API instead of a custom endpoint. This simplifies the process and leverages GitHub's infrastructure for release information. It also removes the need for a custom script to generate the release information. The release notes documentation and update banner component are updated to reflect this change. * Improves version check and update banner logic Updates the version check logic to use semantic versioning for more accurate comparisons. It extracts the highest semantic version from release notes for current version detection. Enhances update banner tests to dynamically generate test data based on current and bumped versions. * Improves version check and UI Improves the version check logic by normalizing version strings before comparison. This ensures accurate comparisons even with varying version formats. Also, prevents images from being draggable. * Improves update banner and footer link Updates the "Issues" link in the footer to "Report a Bug" for clarity. Enhances the update banner test to handle version tags and display version correctly. Normalizes version strings in update banner logic to ensure correct version matching. * Refactors supported formats dialog Improves the supported formats dialog to display verified and experimental formats separately. Includes a link to GitHub issues for reporting unsupported or problematic formats. The dialog now clearly distinguishes between verified and experimental formats, offering users more clarity on the level of support for each format. * Updates release notes documentation Refreshes the release notes documentation to improve clarity and accuracy regarding update checks and privacy standards. Simplifies language and emphasizes user privacy to ensure users understand how the application interacts with the internet for updates. * Updates release notes for v0.5.0 Updates the release notes to reflect the v0.5.0 release, including features, improvements, and a corrected version string example. * Updates installation documentation Refactors the maintenance and updates section of the installation documentation. Provides clearer, step-by-step instructions for updating the service using both Docker Compose and Docker Run methods, improving user experience. * Removes latest version file Removes the latest version file in preparation for the 0.5.0 release. The file will be updated with the new version details. * Adds `@types/semver` and improves input enabling. Adds `@types/semver` as a dependency. Improves the logic for enabling the input field, to ensure it's enabled before attempting to fill it. * Improves air-gapped deployment and UI feedback Enhances documentation for air-gapped deployments, noting the impact on update notifications and linking to relevant documentation. Adds a manual "Check Internet Connection" button to the Web UI with a lightweight reachability test to provide connectivity feedback. The test attempts to connect to Cloudflare DNS without sending any data. * Adds support and sponsorship information Introduces a support and sponsorship page detailing professional services and ways to contribute to the project's development. This allows users to find options for enterprise deployment, custom development, security & compliance reviews, and performance tuning. It also offers a direct sponsorship link to support ongoing maintenance, bug fixes, and new feature development. * Updates support and sponsorship information Refreshes the support and sponsorship documentation with updated information about professional services and sponsorship options. Includes a visual update with a logo.
PreviousNext