0.13.0
Major new feature: Media Manager
- Added responsive media manager
- Simplified upload button in the composer
- Added media manager button to the composer
- Added
/fof/uploads
endpoint
- Updated
/fof/upload
endpoint output
- Updated
FileSerializer
- Added
File
frontend model
- Access to media library from user profile (plus moderator permissions to access library of others)
- Option to remove media from library (does not yet remove the file from disk or posts - coming soon)
Modal features:
The media manager is expandable minded. Other extensions could open the FileManagerModal
modal component and attach custom params to customize their needs.
The file manager is responsive, has drag & drop support and automatically selects the uploaded files. After clicking the 'Select files' button, the files will be added with their bbcode
to the composer.
Updated composer buttons
Automatically select uploaded files
Example: Restricted to file type image
Night mode
Mobile view
FriendsOfFlarum/upload262
FriendsOfFlarum/upload271
Updating
composer require fof/upload:^0.13
php flarum migrate
php flarum cache:clear
Thank you @JasperVriends for putting this together, and to @davwheat for helping me with the hiding feature!
Note: this is currently beta.15 only, but will be updated for the upcoming release as soon as possible