summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-20Remove extra comma in package.jsonpantsucat
2015-09-20Add jshint grunt task and dependencypantsucat
2015-09-20Wrap long lines to 80 characters in lengthWubTheCaptain
String concatenation is used because line terminating characters are not allowed in the ECMAScript spec. Certain style guides such as Airbnb also endorse using string concatenation.
2015-09-20Use singlequotesWubTheCaptain
Both Google and Node.js style guides prefer the use of ' over ". Much of the rest of this code also uses singlequotes, so this brings the rest of it to same level of consistency.
2015-09-20Align link attr indentationWubTheCaptain
2015-09-20Add semicolons to JavaScript sourceWubTheCaptain
The npm style guide is bad. Don't use it! The lack of semicolons can create very subtle bugs that are hard to debug. This commit fixes about a hundred JSHint warnings.
2015-09-20Hand align variables to same indentationWubTheCaptain
2015-09-20JSBeautify with few hand adjustmentsWubTheCaptain
This fixes another npm style guide idiom, which is "comma first".
2015-09-20Add JSHint headerWubTheCaptain
2015-09-20Change JS indentation from tabs to two spacesWubTheCaptain
Airbnb, Google, npm, Node.js and Idiomatic style guides suggest to use two spaces for indentation. It seems to be the widely agreed consensus.
2015-09-19Change Git URL to self-hosted pantsu/pomf.gitWubTheCaptain
2015-09-19Remove moe panel from corepantsucat
The moe panel is more of an extension of the core, but not necessary for Pomf's functionality. The code also suffers from bad practices and it's more of a prototype. The panel is also mostly unmaintained by its author. This code will be in a seperate Git repository called pomf-moe from now on.
2015-09-19Replace github urls with self-hosted Gitpantsucat
2015-09-19Decode … correctly when the file is too bigWubTheCaptain
2015-09-19Refactor banner for improved readabilitypantsucat
2015-09-19Enable 'screwIE8' option for UglifyJS taskWubTheCaptain
Considering how IE11 too has difficulties working right now, there's no interest to support broken browsers. OK pantsucat
2015-09-19Add LibreJS compatibilitypantsucat
2015-09-19Fix spelling of 'Ropa Interior'pantsucat
2015-09-19Fix README.md outlineWubTheCaptain
2015-09-19Fix whitespace and restore PSR-2 styleWubTheCaptain
2015-09-18Change sharex setting urlpantsucat
2015-09-18Fix url generation bugpantsucat
2015-09-18Revert ShareX / URL change commitsWubTheCaptain
These commits are ShareX issues, not Pomf issues. Allowing these commits to be in the source reduces maintainability. This reverts commits bbcffe8d745937677352edf25e6a250ca8fd507b, 943e7e62a8ca814d47168bcebf2cc92dbce9a45a and partially 1411bce1dc13bf6fea66b5899ba29d50d5c53bb0.
2015-09-18Remove unnecessary paragraphspantsucat
2015-09-18Add dist.zip to gitignorepantsucat
2015-09-18Remove dist.zippantsucat
Add dist.zip to gitignore
2015-09-18Fix no html output on upload.phppantsucat
2015-09-18Add text response classpantsucat
2015-09-18Fixed minor typopantsucat
2015-09-18Add more translations to catalanpantsucat
2015-09-18Fix link errorpantsucat
2015-09-18Fix html typopantsucat
2015-09-18Fix url linkspantsucat
2015-09-18Add links to updated and working scripts and toolspantsucat
2015-09-18Start translation of pages to catalanpantsucat
2015-09-17Fix url generation bugpantsucat
2015-09-17Add html response classpantsucat
2015-09-17Add link to JS free versionpantsucat
2015-09-17Fix to work with sharexpantsucat
2015-09-17Add a version of the site without JavaScriptpantsucat
2015-09-16Remove poorly worded line from faqpantsucat
2015-09-16Add email link to faqpantsucat
2015-09-16Fix indentationpantsucat
2015-09-16Indent and format project to PSR-2 styleWubTheCaptain
PSR-2 [1] is a highly regarded style guide in the PHP community according to Stack Overflow [2]. The indentation was out of place in the source code. I've seen a combination of 1 space tabs, 3 space tabs, 4 space tabs and 5 space tabs. Some closing braces on the same line and a lot of the code (especially moe code) had reached the point of losing readability. Converted with php-cs-fixer and some hand adjustment. [1]: http://www.php-fig.org/psr/psr-2/ [2]: https://stackoverflow.com/questions/3638083/list-of-highly-regarded -php-style-guides
2015-09-15Use unix_socket=/tmp/mysql.sock in POMF_DB_CONNWubTheCaptain
2015-09-15Merge branch 'master' of https://github.com/pantsucat/pomfpantsucat
Merged a patch from WubTheCaptain
2015-09-15Rework generate_name() logicWubTheCaptain
Adds a new config option POMF_FILES_LENGTH. This will allow the user to adjust the length of filenames. Defaults to 6. The filename generator never used character z in new filenames. There are 27 characters in a-z, but the old code uses a magic number of 26 characters. This bug was introduced in commit 5b77a4eaab418836820b2a0bad7c88f0b88136a0. Instead of relying on magic numbers like with mt_rand(), conveniently use arrays with array_rand() instead. More characters can be added with array_merge() in future if desired.
2015-09-15Change production to false in Gruntfile.jspantsucat
2015-09-15Change production to false in Gruntfile.jspantsucat
2015-09-15Remove rel=shortcut from favicon <link>pantsucat
If the shortcut value is omitted from the rel attribute, Internet Explorer ≤ 8 ignores the declaration entirely, searches for a file called favicon.ico in the site root, and uses that instead. In fact, almost every browser does that when there’s no link rel="icon" specified. Using rel="icon shortcut" won’t work in IE either, since it doesn’t treat the rel attribute as a space-separated list. [1] https://mathiasbynens.be/notes/rel-shortcut-icon