All Projects → FriendsOfFlarum → Upload

FriendsOfFlarum / Upload

Licence: mit
The file upload extension with insane intelligence for your Flarum forum.

Projects that are alternatives of or similar to Upload

jquery-xhr-upload-queue
📂 A jQuery queued file uploading plugin.
Stars: ✭ 17 (-87.02%)
Mutual labels:  drag-and-drop, upload
ngx-dropzone
A highly configurable dropzone component for Angular.
Stars: ✭ 123 (-6.11%)
Mutual labels:  drag-and-drop, upload
Vue Transmit
Vue.js drag & drop uploader based on Dropzone.js
Stars: ✭ 209 (+59.54%)
Mutual labels:  upload, drag-and-drop
Angular Filepond
🔌 A handy FilePond adapter component for Angular
Stars: ✭ 59 (-54.96%)
Mutual labels:  upload, drag-and-drop
image-uploader
Simple Drag & Drop image uploader plugin to static forms, without using AJAX
Stars: ✭ 70 (-46.56%)
Mutual labels:  drag-and-drop, upload
yii2-dropzone
This extension provides the Dropzone integration for the Yii2 framework.
Stars: ✭ 11 (-91.6%)
Mutual labels:  drag-and-drop, upload
react-magic-dropzone
✨Magically drag and drop files/links for uploading
Stars: ✭ 11 (-91.6%)
Mutual labels:  drag-and-drop, upload
vue-simple-upload-component
A simple upload component for Vue.js 2.x
Stars: ✭ 14 (-89.31%)
Mutual labels:  drag-and-drop, upload
React Uploady
Modern file uploading - components & hooks for React
Stars: ✭ 372 (+183.97%)
Mutual labels:  upload, drag-and-drop
Angular File Uploader
Angular file uploader is an Angular 2/4/5/6/7/8/9/10 + file uploader module with Real-Time Progress Bar, Responsive design, Angular Universal Compatibility, localization and multiple themes which includes Drag and Drop and much more.
Stars: ✭ 92 (-29.77%)
Mutual labels:  upload, drag-and-drop
React Kanban Dnd
📋 Open source kanban board built with React
Stars: ✭ 121 (-7.63%)
Mutual labels:  drag-and-drop
Cakephp Proffer
An upload plugin for CakePHP 3
Stars: ✭ 121 (-7.63%)
Mutual labels:  upload
Curldrop
⏫ web app for for easy file uploads via curl
Stars: ✭ 125 (-4.58%)
Mutual labels:  upload
Cos Wx Upload File
微信小程序上传文件到腾讯云v5;Wechat mini program upload file to tencent cos v5
Stars: ✭ 129 (-1.53%)
Mutual labels:  upload
Fcup
jquery大文件分片上传插件-fcup.js
Stars: ✭ 120 (-8.4%)
Mutual labels:  upload
Apollo upload server Ruby
Stars: ✭ 124 (-5.34%)
Mutual labels:  upload
Paste Markdown
Paste spreadsheet cells as a Markdown table.
Stars: ✭ 119 (-9.16%)
Mutual labels:  clipboard
S3 Uploader
🍎 macOS Electron+React App for uploading files to S3 directly from Status Bar
Stars: ✭ 119 (-9.16%)
Mutual labels:  upload
Outlookfiledrag
Drag and drop Outlook items as files into any application
Stars: ✭ 119 (-9.16%)
Mutual labels:  drag-and-drop
Copyq Commands
Useful commands for CopyQ clipboard manager.
Stars: ✭ 131 (+0%)
Mutual labels:  clipboard

Upload by FriendsOfFlarum

MIT license Latest Stable Version Total Downloads OpenCollective

An extension that handles file uploads intelligently for your forum.

Features

  • For images:
    • Auto watermarks.
    • Auto resizing.
  • Mime type to upload adapter mapping.
  • Whitelisting mime types.
  • Uploading on different storage services (local, imgur, AWS S3 for instance).
  • Drag and drop uploads.
  • Uploading multiple files at once (button and drag and drop both support this).
  • Easily extendable, the extension heavily relies on Events.
  • Extender interface to disable or force particular adapters (see below)

Installation

Use Bazaar or install manually:

composer require fof/upload

Updating

composer require fof/upload
php flarum migrate
php flarum cache:clear

Updating from Flagrow

This extension replaces Flagrow Upload.

To upgrade from the old extension to the new one:

  • Backup your data! You should backup the database and the uploaded files.

  • Make sure the latest version of Flagrow upload is installed and migrations have run:

composer require flagrow/upload
composer show flagrow/upload # You should see "versions: * 0.7.1" on the 4th line of output
php flarum migrate
  • Disable the Upload extension in the admin panel.

  • Run:

composer require fof/upload

Composer should let you know that flagrow/upload has been automatically removed.

  • Enable the new extension in the admin panel.

  • Your existing configuration and uploads meta will be migrated to FoF Upload automatically.

  • The same file locations on the disk are used by FoF Upload, it means the files don't need to be moved.

Configuration

Enable the extension, a new tab will appear on the left hand side. This separate settings page allows you to further configure the extension.

Make sure you configure the upload permission on the permissions page as well.

Mimetype regular expression

Regular expressions allow you a lot of freedom, but they are also very difficult to understand. Here are some pointers, but feel free to ask for help on the official Flarum forums.

In case you want to allow all regular file types including video, music, compressed files and images, use this:

(video\/(3gpp|mp4|mpeg|quicktime|webm))|(audio\/(aiff|midi|mpeg|mp4))|(image\/(gif|jpeg|png))|(application\/(x-(7z|rar|zip)-compressed|zip|arj|x-(bzip2|gzip|lha|stuffit|tar)|pdf))

A mimetype consists of a primary and secondary type. The primary type can be image, video and application for instance. The secondary is like a more detailed specification, eg png, pdf etc. These two are divided by a /, in regex you have to escape this character by using: \/.

Disable or Force a particular adapter

In some circumstances, you may wish to either disable an adapter, or force the use of one. This is set in your root extend.php file.

For example, you may disable imgur

(new FoF\Upload\Extend\Adapters())
        ->disable('imgur'),

Chaining of multiple commands is also possible:

(new FoF\Upload\Extend\Adapters())
        ->disable('imgur')
        ->disable('aws-s3'),

You may also force an adapter:

(new FoF\Upload\Extend\Adapters())
        ->force('imgur'),

Adapter names currently available:

  • local
  • imgur
  • qiniu
  • aws-s3

FAQ

Links

An extension by FriendsOfFlarum

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].