summaryrefslogtreecommitdiff
path: root/pages/upload_form_nojs.swig
AgeCommit message (Collapse)Author
2016-06-16Remove nojs templatesEliot Whalan
2016-06-15Revert "Add Expat copyright headers to pages (SWIG)"Eliot Whalan
This reverts commit 3b4701b240f55b4e97edee7fdc13fec35a76fc5a.
2016-05-30Revert "Merge branch 'wub/deprecate-ewhal'"Eliot Whalan
This reverts commit 647d32a29978579f88baa7c06c207e6a8d6a0d3e, reversing changes made to 22063af06536671b680fa9bc84b4626192c106cc.
2016-05-29pages: Deprecate JavaScript-free uploadJuuso Lapinlampi
JavaScript-free uploading was introduced in Pomf 2.0 as a misfeature. It increases complexity of the API code base and duplicates some code. This was obviously a misled approach to Pomf development. The recommended approach to solving this issue is using the upload API with external tools. ewhal fell off. Cc: Eliot Whalan <ewhal@pantsu.cat>
2015-11-01Revert <input type="hidden"> in upload_form_nojs.swigJuuso Lapinlampi
Hidden <input> values did not work as I expected for POST requests. In GET requests, the hidden values are added as query parameters to the URL. For POST requests, the hidden inputs are simply more form-data to upload in the POST request (another "file"). Because of this, the HTML output parameter is never passed to upload.php and so it returns the default response instead (JSON). The goal is to use the HTML response. This reverts commit d6dc103c7229cb0e2e177ce0dfc0cfb528025ca9, where the bug was introduced. OK ewhal@
2015-10-19Remove Peter Lejeck from upload_form_nojs.swig authorsJuuso Lapinlampi
Peter didn't actually write this piece of Swig template, and there's an insignificant amount of templating code that could have been written by him. We can remove him from this template's authors.
2015-09-26Remove extra two character whitespace between wordsJuuso Lapinlampi
This fixes style two character whitespace in pages (Swig) with one character whitespace. See the broken windows theory: https://en.wikipedia.org/wiki/Broken_windows_theory
2015-09-26Use <input type="hidden"> in upload_form_nojs.swigJuuso Lapinlampi
Replacing <form> action with an <input> creates an additional semantic meaning, and it's now modifiable more easily in DOM.
2015-09-26Indent upload_form_nojs.swig from spaces to tabsJuuso Lapinlampi
This creates consistency with other Swig templates.
2015-09-26Remove <br> element from upload_form_nojs.swigJuuso Lapinlampi
<br> is a presentantional element, not semantic. Use CSS instead.
2015-09-23Add Expat copyright headers to pages (SWIG)Juuso Lapinlampi
2015-09-18Fix no html output on upload.phppantsucat
2015-09-17Add a version of the site without JavaScriptpantsucat