Click anywhere to close this dialog

Farewell

Great is the art of beginning, but greater is the art of ending
Henry Wadsworth Longfellow

I announce that I cease all development and activity in the programming universe indefinitely. My career has reached the turning point I was not expecting for at least another year, leaving me highly off guard and without laid-out plans for this hobby's continuity. I have begun a 5-year residency program in Neurosurgery which is clearly not compatible, time-wise, with programming.

I gave in all my passion for developing, and you gave me back your loyalty and trust, even when I did not deserve that much. Now it is the time for payback. I release all my present and past work as Open Source software, in the hope some talented developer will continue maintaining and expanding my vision of a modern, sleek forum software. The intrinsic flexibility of MyBB is the true hidden gem of an otherwise outdated codebase; I do hope the project can continue and be updated complying to the latest coding standards.

I hereby thank Euan, kawaii, andrewjs18, Ben, Matt, Omar G., effone, Eric J., Devilshakerz, Wildcard, JordanMussi and all the other team members I have had the opportunity to work with when I was a MyBB team member. I thank Tomm M, my mentor, who inspired me to pick up coding with his piece-of-art plugins. And finally, I thank all of you MyBBoost subscribers who have helped me getting through my toughest university years economically.

Yours sincerely, Filippo

Dropzone allows movies with Imgur

8 Apr 2020
#1
This issue is marked as solved
Not live with Dropzone 1.2 yet, still testing. With Imgur upload enabled, I'm able to upload movies (*.mp4). Which we definitely don't want, nor are there any Imgur share links produced. I note file types unsupported by Imgur default to the classic attach system. Any way to restrict file types even if Imgur accepts them?

PS: Thanks for your efforts with both these products and your other work. Well done sir.

cheers...
Shade 8 Apr 2020
#2
Quite odd, as MyDropzone should send to Imgur only the following mimetypes: image/png, image/jpg, image/jpeg and image/gif.

I will test and get back at you ASAP.
Shade 8 Apr 2020
#3
I cannot reproduce the issue. Can you please send me your attachment types configuration, and your board URL with a testing account?
nixer55 8 Apr 2020
#4
Can't provide a URL - this is a test system on a private network, with data restored from a recent backup. MyBB version is 1822. But did manage some screenshots:

Attachment types:
https://i.imgur.com/2HzLyIB.png

Attaching an mp4:
https://i.imgur.com/AQMhXID.png

Attaching an ods (rejected as expected):
https://i.imgur.com/AT6GQrB.png

If you can't reproduce, will probably still go live on a trial basis. If the issue persists, will revisit this thread. No problem supplying test credentials to the live board at that time.

cheers...
Shade 8 Apr 2020
#5
Quite odd. If I try to upload a mp4 file, it is rejected because it's not allowed. Are you sure the mimetype is video/mp4?
nixer55 8 Apr 2020
#6
Just following up on this issue. Tried a much larger mp4, and Imgur rejected it. Think I read their service limits video to 60 odd seconds, and see 256 MB as the limit on the error. The earlier mp4 I tried was small - 8.5 MB. The large over 400 MB. But seems the rejection was Imgur, not Dropzone.

https://i.imgur.com/0dMYVAd.png

Not a show stopper, but doesn't sound like expected behaviour? Particularly in light of the upload succeeding for smaller videos but nothing usable on the MyBB end? Bound to cause some confusion, not to mention needless consumption of Imgur storage - lol.

Pic of mp4 I dropped showing mime type:

https://i.imgur.com/V8b1nhl.png

cheers...
Shade 8 Apr 2020
#7
The rejection is actually by your server. I believe you are not getting the actual error, but the 8.5MB one is being rejected as well. Can you open up your browser console, upload the 8.5MB video, and look for JS issues?
nixer55 8 Apr 2020
#8
I'm no developer Shade, so not sure what I'm looking for. Here's what the console looks like:

https://i.imgur.com/UG3CBcS.png

And I can delete the attachment (small mp4) from the attachment box.

cheers...
Shade 8 Apr 2020
#9
Open up the network tab, upload the video and take a screenshot. It shouldn't call for Imgur.
nixer55 8 Apr 2020
#10
Don't see any call to Imgur. Expanded newreply.php where it references dropzone:

https://i.imgur.com/xOKWt1f.png

If the mp4 is not going to Imgur, suspect we can work around it. But where are the file size errors on the large mp4's coming from? Why not the smaller mp4's? The attachment appears to succeed for the smaller file, but doesn't? These are questions I'll have to answer - lol.

cheers...