Commit Graph

136 Commits (truncation)

Author SHA1 Message Date
El RIDO 14d4226173
update JS unit test requirements
6 years ago
El RIDO d6f203dc4c
Removed option to hide clone button on expiring pastes, since this requires reading the paste for rendering the template, which leaks information on the pastes state
6 years ago
El RIDO 05c1776ada
ensure ALL read errors are only exposed in the JSON API to avoid information leakage (i.e. beviour for deleted vs expired pastes), updated test cases & removed duplicate test
6 years ago
El RIDO e511613bbc
StyleCI recommendations
6 years ago
El RIDO 6cf599781a
corrected test case of expired paste to use the API
6 years ago
El RIDO caf87cc6f1
Merge branch 'master' into burnafterreading-fix, regression in expired paste error
6 years ago
El RIDO fe54889b99
fixing failing unit test
6 years ago
El RIDO 478cf288b4
implementing StyleCI recommendations
7 years ago
El RIDO a5d5f6066a
refactoring as recommended by Scrutinizer
7 years ago
El RIDO cd5fded4a4
adapting configuration test generator to new INI model and point release support
7 years ago
El RIDO 9f26894b2e
PHP < 5.6 compatibility and StyleCI recommendations
7 years ago
El RIDO 4f06feef81
implemented JSON file conversion on purge and storage in PHP files for data leak protection
7 years ago
El RIDO 577586c47f
wrote a unit test to generate old style pastes and comments and check that the purge converts them to PHP files
7 years ago
El RIDO 6e8eafe129
implemented INI cenversion functionality
7 years ago
El RIDO b60d55236e
adding test for INI config file conversion
7 years ago
rugk f037967820
changes the file extension to php and adds a small one-liner to stop PHP from presenting the file to any website visitor
7 years ago
El RIDO 7197705d5c
updating unit test in preparation for planned file name change, currently failing
7 years ago
El RIDO a30b31b315
Merge branch 'master' into js-unit-testing
7 years ago
El RIDO 5c3e2b3fae
fix travis once more, this time due to jsdom breaking compatibility with nodeJS < 6
7 years ago
El RIDO f54036976a
added instantburnafterreading option to address #174
7 years ago
El RIDO e1ea14627f
handling JSVerify RNG state 88caf85079d32e416b
7 years ago
El RIDO 44327bed58
added missing/removed translation IDs found using improved unit test (#201)
7 years ago
El RIDO e80c726f92
added unit test for missing message IDs accross all translations, added IDs found this way to translation files (#201)
7 years ago
El RIDO 57ebc7338d
Merge branch 'master' into js-unit-testing
7 years ago
El RIDO f7853cf439
removing duplicate code, cleanup of temporary test files
7 years ago
El RIDO 6db9dae66b
applying styleCI recommendations
7 years ago
El RIDO ce92bfa934
updated .htaccess format, refactored .htaccess creation logic and improving code coverage, fixes #194
7 years ago
El RIDO 81b00dd422
fixing page template, removing error messages when markdown or source are disabled in configuration, re-removing unnecessary spans
7 years ago
El RIDO fb99d5bb93
Merge branch 'master' into jsrefactor and fixing baseUri unit test
7 years ago
El RIDO 823adb78ef
bumping required PHP to 5.4, removing unneccessary code, resolves #186
7 years ago
El RIDO d358271451
making unit tests work with spans
7 years ago
El RIDO 131e08ca33
made phpUnit and most mocha tests work again, had to remove some injected objects and added a helper method to facilitate a cache reset for the unit tests. Page template is still broken and the JS test for baseUri() fails
7 years ago
El RIDO db307c3a77
updated test cases and delete logic to properly implement documented API, thanks @r4sas #188
7 years ago
El RIDO 1457b5ec6a
ensuring tests will work with PHP 5.4, the currently oldest supported version
7 years ago
El RIDO fdef8bc5be
starting to work on JSVerify & Mocha based unit tests for our JS code base
7 years ago
El RIDO a7de0e095b
added supported language, updated credits and changelog
7 years ago
El RIDO 67f6c4eb61
turned bootstrap template variants into logic
7 years ago
El RIDO 06496f2ede
updated View test to test every available template instead of just the page one
7 years ago
El RIDO f79c00378b
Choosing correct Occitan plural formula, added unit tests for Occitan and Chinese, corrected casing of languages in unit test
7 years ago
El RIDO a5d91298ff
add an option to change the site name, solves #154
7 years ago
El RIDO 4a036aea80
updated SRI hashes, added missing formula for slowene plurals and unit test for it, updated credits and changelog
7 years ago
El RIDO 577031cc1f
written unit test to reproduce #149
8 years ago
El RIDO ecd8a51137
writing a unit test for #145 lead to the discovery of two errors in the polish translations: error in formula and missing number placeholders in the translation strings
8 years ago
El RIDO 0506ac018d
correcting instructions based on Ubuntu 16.04
8 years ago
El RIDO f49927712a
updated documentation and credits
8 years ago
rugk f628ac78f8
Fix style of operator spaces
8 years ago
El RIDO 1f46823942
applying patch based on StyleCI ruleset
8 years ago
rugk ec7af3a738
Improve formatting
8 years ago
El RIDO e925833090 bumping version number to 1.0
8 years ago
El RIDO 3d7b35aed4 PSR-2/4 fixes
8 years ago