summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-15Remove firefox /g/uide and gogits from navbar\npantsucat
Create pages/other.swig, add other page to navbar
2015-09-15Add semantic HTML5 elements to index headingspantsucat
W3C's HTML5 specification instructs a standard way to create subheadings in "4.12.1 Subheadings, subtitles, alternative titles and taglines". [1] A `<h2>` element is not appropriate here as a subheading, because the subheading "Roppa interior~" is not part of the document outline but a Catalonian translation of the `<h1>` heading. Adding a `lang="ca"` attribute to the Catalonian subheading increases screenreader compatibility and semantics even further. Screenreaders will then use Catalonian pronounction instead of English if supported. [1]: http://www.w3.org/html/wg/drafts/html/CR/common-idioms.html#sub-head
2015-09-15Add mailto: link to abuse@pantsu.catpantsucat
2015-09-15Update the details in package.jsonpantsucat
2015-09-15Add other.swig to Gruntfile.js. Change site url to pantsu.catpantsucat
2015-09-15Remove firefox /g/uide and gogits from navbar and replaced them with other.swigpantsucat
2015-09-15Change index.swig header to follow the html5 spec more closelypantsucat
2015-09-15Replace abuse@pantsu.cat with a proper linkpantsucat
2015-09-15Remove Any file can be removed or replaced at any time for any reason.pantsucat
2015-09-15Change contact address to hostmaster@pantsu.catpantsucat
2015-09-15Changed 120 to {{max_upload_size}} in both pages/index.swig and pages/faq.swigpantsucat
2015-09-15Increased max_upload_size in Gruntfile.js and reverted changed to ↵pantsucat
pages/upload_form.swig
2015-09-15Added client side upload valuepantsucat
2015-09-15Fixed accessibility issue with a link on faq and removed hardcoded 120MB valuepantsucat
2015-09-15Fixed a linkpantsucat
2015-09-15Full git history nowpantsucat
2015-08-15Update core.phpEric Johansson (neku)
2015-08-15Update core.phpEric Johansson (neku)
2015-08-15Update api.phpEric Johansson (neku)
2015-08-15Update upload.phpEric Johansson (neku)
2015-08-01Merge pull request #35 from alucard0134/patch-1Eric Johansson (neku)
Spelling error of the century
2015-07-02Merge pull request #36 from v0l/masterEric Johansson (neku)
Pass back propper url after upload
2015-06-25Add max upload size to gruntfileKieran Harkin
2015-06-24pass full urlKieran Harkin
2015-06-24pass full url back to clientKieran Harkin
2015-06-20Update README.mdEric Johansson (neku)
2015-06-18Spelling error of the centuryalucard0134
2015-06-14Update pomf.cssEric Johansson (neku)
2015-06-13Update UploadedFile.class.phpEric Johansson (neku)
crc32 isn't used
2015-06-13Update pomf.cssEric Johansson (neku)
2015-06-09Update README.mdEric Johansson (neku)
2015-05-15Update README.mdEric Johansson (neku)
2015-04-23Update README.mdEric Johansson (neku)
2015-04-23Create ghetto-search.phpEric Johansson (neku)
2015-04-23Update index.phpEric Johansson (neku)
2015-04-23Update core.phpEric Johansson (neku)
2015-02-10Update README.mdEric Johansson (neku)
2015-02-05Update README.mdEric Johansson (neku)
2015-02-05Merge pull request #27 from cenci0/masterEric Johansson (neku)
Minor code refactoring and improvements
2015-02-05Update README.mdcenci0
Remove an 's' (damn random plurals)
2015-02-05Update READMEcenci0
Add some info about how to enable gzip compression on Apache servers
2015-02-05Minify output HTML codecenci0
- Minify HTML pages (using `grunt-contrib-htmlmin`) - Fix minor display error (force encode of HTML entity)
2015-02-03Minor code refactoring and updatescenci0
DATABASE UPDATE: `orginalname` renamed to `originalname` (run update.sql to update `files` table). Run `update.sql` to update your database, no data will be lost (if you don't update it, pomf won't work properly). `schema.sql` - `id`s are now unsigned to double the maximum number of supported indexes - `size` and `user` columns are unsigned too (we can't have a negative file size or a negative user id) `static/classes/Response.class.php` New class to manage responses and errors. Using a class for responses makes the code cleaner and easier to add new response type handlers in the future. - The response type is declared while a new variable is initialized and the `error` and `send` methods will print a proper output according to it - The header for the response is also set accordingly to the response type (`text/plain` for `csv`/`gyazo` output, `application/json` for `json` output) `static/classes/UploadException.class.php` `Exception` class extension to manage errors that may have occurred while uploading files to the server. This way every error is reported in detail. `static/includes/settings.inc.php` - `POMF_URL`: add an option to set the domain of the url to prepend to the newly generated filename (before it was hardcoded and it was `http://a.pomf.se/`) [this option is currently used only when the output is set to `gyazo`] `upload.php` - Add functions calls at the beginning to enable the output compression if possible (gzipped output) - Include new classes - `generate_name ()` --- The new name generation algorithm is basically the same of the old one, but it's easier to add/remove characters if needed (eg. lower-case letters isn't enough and you need to add capital-case letters or digits) --- Check directly the database instead of the filesystem to see if a generated filename is already in use - `upload_file ()` --- File errors generate a `UploadException` instead of a normal `Exception` --- Move common code outside the `if` to avoid useless code repetition (only the query is now inside the condition) --- Change file permissions of a file after moving it to the new directory (if the user didn't set a mask previouly these files wouldn't be world readable, we make sure they are) - `diverse_array ()` --- Function to reorder initial `$_FILES` array (easier to handle for `refiles`) - `refiles ()` --- Use a `foreach` cicle instead of a `for` one, easier to understand - Create a new response object and set its response type (`csv`, `gyazo` or default to `json`) - Edit response handling according to the new response class
2015-01-03redirect to mod panel if user is modEric Johansson (neku)
2014-12-20removed disgusting "Eric Johansson (neku)
2014-12-20Update upload.phpEric Johansson (neku)
2014-12-20Update README.txtEric Johansson (neku)
2014-12-20Update upload.phpEric Johansson (neku)
2014-12-20Update upload.phpEric Johansson (neku)
2014-12-20Update upload.phpEric Johansson (neku)