• Extensions
  • FriendsOfFlarum upload, the intelligent file attachment extension

luceos changed the title to Flagrow file upload, the intelligent file attachment extension .

hcarpach I tried it earlier today. Appears to currently work for images, but not yet other files. Somewhat soon, I should think.

    UaMV is it best to install this new extension or the previous image-upload by the same devs?

      UaMV for now I've whitelisted a few mime types, just to make sure we're not allowing php files. Among them are video, image and audio. As pdf for instance are application/pdf mime types, I'll be allowing you to specify the whitelist yourself.

      hcarpach so yes the uploader works, it auto generates a markdown string. In case of images it also generates a previewable markdown string. Also I prefer you to install this extension for now, if you can miss out on the adapters implemented in the image upload extension (imgur for instance). I'll be adding more adapters soon, but I'm not sure the image-only ones will have priority. Feel free to request any missing adapter (upload cloud/platform) by creating an issue.

        luceos any plan to split upload button for each mime types?

        Take a look at Plush Forum text editor for better understanding what i'm talking about.

          LawuKini Actually no, from my point of view we need as little cluttering as possible in the composer. But if you're willing to create a github issue and initiate a discussion with well founded argumentation and proposals, I think we'll find a way that suits all our wishes.

            Tagged 0.1.1 let me know if you run into any issues.

            See changelog in OP for information.

              sijad where? I pm'ed you there.

              Tagged 0.1.2 with minor admin page fixes.

              version 0.1.3 which deletes files when upload adapter does not support the file mime and removed text/* as safe mime types for now
              @sijad thank you ?

              Great addition!

              Are you able to upload multiple files at once? ?

                how about add an WATERMARK option for images? thanks