summaryrefslogtreecommitdiffstats
path: root/app/classes
Commit message (Collapse)AuthorAgeFilesLines
* CleanupRomain d'Alverny2022-01-142-31/+4
|
* Sanitize some HTML tags while in fast parsing modeRomain d'Alverny2022-01-121-1/+21
| | | | | | | | It's almost the same config as `set_stupidly_fast(true)` only we don't want to touch at `add_attributes` (because it's valuable safety) and we do want to strip specific tags (among which <script>, see moonmoon/moonmoon#111).
* Upgrade OPML format to v2Romain d'Alverny2022-01-113-17/+61
|
* Fix warningsRomain d'Alverny2022-01-112-2/+4
|
* Factor more config into PlanetConfigRomain d'Alverny2022-01-112-1/+67
| | | | | | | | | This moves into PlanetConfig: * people.opml, cache dir path definition, * installation check, * config upgrade when needed, * responsibility for providing config values instead of $conf global array).
* Install code QA helpers, enforce PSR2Romain d'Alverny2022-01-116-229/+238
| | | | Installs phpcs, phpmd, parallel-lint, phpstan.
* Remove unneeded polyfillsRomain d'Alverny2022-01-111-22/+2
|
* Require PHP 7.2Romain d'Alverny2022-01-101-3/+3
| | | | moonmoon now supports PHP 7.2 to 8.1.
* Revert commit 3510092nashe2018-01-041-6/+11
| | | | | This should fix the strange story of `custom/people.opml` disapearing... It should trying to do smart stuff :-)
* Add missing "new" when raising an InvaludArgumentExceptionnashe2018-01-041-1/+1
|
* Do not assume that Composer autoload is case insensitivenashe2018-01-041-1/+1
|
* Safely generate random HMAC keys for CSRF tokensnashe2018-01-021-1/+7
|
* Implement and expose a CSRF mitigationnashe2017-12-231-0/+49
|
* Improve project structurenashe2017-10-214-31/+410
|
* Cleanup install.phpnashe2017-10-171-6/+6
|
* Update CONTRIBUTING.mdnashe2017-07-161-0/+0
|
* Add an option to disable feed certificate checknashe2017-07-132-1/+9
|
* Fix PHP warningnashe2017-07-121-1/+8
| | | | | | "usort() expects parameter 2 to be a valid callback, non-static method PlanetFeed::compare() should not be called statically in moonmoon/custom/views/default/sidebar.tpl.php on line 3"
* Fix PHP noticenashe2017-07-121-7/+6
| | | | | "Only variables should be passed by reference in /Users/thomas/Workspace/moonmoon/app/classes/Planet.php on line 145"
* Make PlanetConfig more testablenashe2017-07-071-18/+99
|
* Make PlanetError more testablenashe2017-07-071-7/+16
|
* Fix minor errors found with debug mode onnashe2017-05-281-3/+8
|
* Move the debug directive to configuration filenashe2017-05-281-15/+22
|
* Clean codenashe2015-08-113-4/+4
| | | | Replace dirname(__FILE__) by __DIR__.
* Fix class autoloadingnashe2015-08-111-0/+0
| | | | | | | Made some mistakes with my last PR: I tested that everything were working, but on the wrong branch. This commit fixes all the autoloading error that were left.
* Port the testmore unit tests to Codeceptionnashe2015-08-051-0/+0
|
* Make authentication timing-safenashe2015-08-041-0/+40
| | | | | | | Improve the authentication to make it timing-safe against bruteforce attacks. See code comments for more details on the implementation.
* Control width blacklisting feed are down, cron.php manage the status of this ↵Fernando García2014-03-042-7/+28
| | | | feeds
* Option to show only posts that have a specific tag or category.Romain d'Alverny2012-06-232-0/+58
| | | | | - add configuration description in README.markdown - add unit test with testmore.php for this very feature
* Update l10n support:Pascal Chevrel2012-04-301-0/+12
| | | | | | | | - improved regex logic in the extraction parser (fixes a couple of bugs in edge cases) - *.tpl.php files were not parsed because of the double dot, now fixed - strings requiring translation are now indicated in the source file to make them stand out - support for the {ok} tag, adding this tag allows the localizer to indicate that a string remains in English (or that it is spelt the same in his language) - add an english reference file, in case we want to send it to volunteers
* add support for localization notes in strings. This is a feature allowing ↵Pascal Chevrel2012-04-251-1/+1
| | | | developpers to add a short comment to a string explaining to localizers the context in which the string is used. This is a feature needed for the string extraction tools
* Rename $person to $feedMaurice Svay2012-04-101-13/+13
|
* l10n support for moonmoonPascal Chevrel2012-03-122-0/+41
|
* Convert back Planet.class.php to php5 syntax + UNix enlinesPascal Chevrel2012-03-111-155/+155
|
* Convert back Planet.class.php tp php5 syntaxPascal Chevrel2012-03-111-144/+155
|
* Merge branch 'cleanup' of https://github.com/pascalchevrel/moonmoon into ↵Maurice Svay2012-03-101-155/+144
|\ | | | | | | | | | | | | | | pascalchevrel-cleanup Conflicts: admin/default.css app/classes/Planet.class.php
| * convert all files saved in Windows(CRLF) to Unix (LF)Pascal Chevrel2012-03-091-144/+144
| |
* | Refactioring, this is a syntax change for all Planet* classes to use PHP5 ↵Pascal Chevrel2012-03-095-75/+113
|/ | | | syntax instead of PHP4
* One file per classMaurice Svay2012-03-075-161/+161
|
* update spyc library from 0.2.3 to 0.5Pascal Chevrel2012-02-281-45/+45
|
* Remove unused commentMaurice Svay2011-02-071-1/+0
|
* Initial commitMaurice Svay2010-02-161-0/+301