Skip to content

Cimaise v1.4.26

Choose a tag to compare

@github-actions github-actions released this 13 Oct 15:44
· 103 commits to main since this release

Cimaise v1.4.26

Added

  • Uploads are processed from a durable queue. The responsive variants, the LQIP placeholder and the blurred preview of an uploaded image are generated from a queue stored on disk, so a restart or a killed process no longer loses them, and a failed image is retried with an increasing delay. On PHP-FPM the queue is processed after the upload response, as before. The Docker image, which could not do that, now runs a small worker next to Apache that starts PHP only while jobs are queued: until now its variants were only produced when a visitor first requested each one. Other setups can add php bin/console images:work to cron. Based on the queue @MiranoVerhoef built in his fork.
  • "Generate variants in background" is honoured. The setting was saved but never read. Switched off, an upload now generates everything before it answers.
  • Maintenance page: the admin login link can be hidden (Settings → Maintenance).

Fixed

  • Phones and tablets are no longer counted as desktops in Analytics. Android was reported as Linux and iPhone/iPad as macOS. Thanks to @MiranoVerhoef.
  • The logo on the maintenance page. An uploaded logo was requested from a doubled /media/ path and never appeared. The maintenance page is also sent as non-cacheable, so it cannot outlive the maintenance. Thanks to @MiranoVerhoef.
  • Compression status under Settings → Performance reported Brotli and gzip as missing when Apache itself provides them (mod_brotli, mod_deflate). Thanks to @MiranoVerhoef.
  • Analytics Pro follows the admin language. Its dashboard labels were fixed Italian strings. Thanks to @MiranoVerhoef.
  • Original downloads on older installs. Originals stored under the legacy media/originals location could not be downloaded. Downloads are also never served from the offline cache, so a permission change applies at once. Thanks to @MiranoVerhoef.
  • Pages rendered with the previous release's templates. After files were replaced without the updater (manual upload, restored backup), templates compiled by the older version kept being used. Compiled templates are now kept per release and the older ones removed.
  • Settings: the maintenance options survive a save while the plugin is off. With the maintenance plugin inactive, saving any other setting blanked the maintenance title and message and switched its options off.

Upgrade notes

  • No database change.
  • Docker: nothing to do; the worker starts with the container. Set CIMAISE_IMAGE_WORKER=0 to disable it.
  • PHP-FPM: nothing to do.
  • Apache mod_php or CGI outside Docker: variants keep being generated on first request as before; to have them ready right after an upload, add * * * * * cd /path/to/cimaise && php bin/console images:work --quiet-mode to cron.

📦 Download

Download cimaise-v1.4.26.zip and verify checksum:

shasum -a 256 -c cimaise-v1.4.26.zip.sha256

📋 Installation

  1. Extract archive:

    unzip cimaise-v1.4.26.zip
    cd cimaise-v1.4.26
  2. Configure environment:

    cp .env.example .env
    # Edit .env with your settings
  3. Run web installer at: http://yourdomain.com

  4. (Optional) Refresh Composer dependencies if customizing:

    composer install --no-dev --optimize-autoloader

See README.md in the package for complete documentation.