JRay and also @Puschie @limiter @san @sizonov_stas @bikepost
I've just tagged 0.6.0-beta, which adds a feature I've been investing quite some time into.
Templates
Templates are how uploads are shown on your forum. Enforcing proxied downloads and the new image preview in 0.5.0 might have been a bad decision. In order to keep the new functionality intact, but still allow full screen image uploads, the new templates functionality allows you to configure how files are shown per mime type configuration.
release notes
- Added template functionality, allowing to configure per mime type / adapter how files are shown in your forum.
- Vietnamese, Polish, Korean and Chinese translations are updated or added. Thanks to tdtgit, Rylat, Comocozy and BeefOnionDumplings.
Previews in replies now also work due to this feature.
Upgrade
In order to upgrade from 0.5.0 or below, use Bazaar or manually:
composer require flagrow/upload:0.6.* --prefer-dist --update-no-dev -o
php flarum cache:clear
rm assets/rev-manifest.json
Make sure to create a backup of your database and files (assets) regularly.
Downgrade
As this version is tagged beta on purpose; in case you run into any issues revert the upgrade like so:
composer require flagrow/upload:0.5.* --prefer-dist --update-no-dev -o
php flarum cache:clear
rm assets/rev-manifest.json
Have fun
I hope you all enjoy this release. If you do make sure to let us know and if possible support our efforts at patreon.com/flagrow ?