-
• #7027
Can you forward that email to me please. I cannot find the bug, but it's clearly there... hoping I can trace it back from the email :)
-
• #7028
Custom email address is a nice touch.
Sent that on
-
• #7029
Received, thanks
-
• #7030
I'm happy to help fix this for you, if you theres a way to fire up the project locally? Having the same issue.
-
• #7031
There is not. Even our version of Django is very much out of date.
This is the JS that uploads attachments: https://github.com/microcosm-cc/microweb/blob/master/core/static/js/attachments.js
This is where it hooks into the HTML: https://github.com/microcosm-cc/microweb/blob/master/core/templates/forms/block_comment_box.html#L39-L80
And this is one of the templates that pulls the above together: https://github.com/microcosm-cc/microweb/blob/master/core/templates/forms/create_comment.html#L94-L99
Thankfully the JS is self-contained enough that it should be fixable without even running the whole site.
I've had this bookmarked for a few years: https://developer.mozilla.org/en-US/docs/Web/API/File/Using_files_from_web_applications and suspect there's a cut and paste solution from that page.
-
• #7032
Too lazy for good commit messages, but here's the PR:
-
• #7033
Deployed but not merged.
Discovered that I can no longer deploy! Our Django is that old... so deploying here meant ssh to the server and overwrite the file in question.
Now just to test it...
1 Attachment
-
• #7034
Not sure it's working
3 Attachments
-
• #7035
OK... works in Firefox if you select multiple files in one go :)
-
• #7036
Amazing contribution to the forum that will go largely unnoticed. No longer having people complain about the file upload is going to be blissful.
-
• #7037
Single file Ubuntu test!
1 Attachment
-
• #7038
Two files Ubuntu test
1 Attachment
-
• #7039
hmmmm
-
• #7040
Test drag n drop
-
• #7041
Multiple?
2 Attachments
-
• #7043
My thoughts exactly!
-
• #7044
Apologies for my first sloppy attempt, I missed a vital part, which was clear and remove. Anyway, here's another PR.
-
• #7046
Afraid not.
It's SSH, edit files, go to the load balancer, purge cache and restart nginx, go to CloudFlare, purge cache, and wait a few minutes... force fetch latest, and see what it's like.
-
• #7047
Updated btw
-
• #7048
Dang. All the more sorry to have made a sloppy mistake in my first pass then :(
-
• #7049
Test from FF
-
• #7050
Test from Brave
I did receive an email too but it didn't show me the content of the post
1 Attachment