aboutsummaryrefslogtreecommitdiff
path: root/app/Models/ConfigurationSetter.php
AgeCommit message (Collapse)Author
2018-02-19Option to hide nav_entries (#1764)Gravatar Matt DeMoss
* put nav_entries in a div so they can be hidden, add config option, no labels yet * add English text for hide_nav_entries, choose better name * Update conf.php add comma to last item * hide nav_entries by optionally not rendering in normal.phtml * fix logic, remove containing div * apply phpcbf to ConfigurationSetter.php * Make navigation buttons options positive And add TODOs for i18n, and add default config.
2018-01-02Replace "keep history" magic value by a constant (#1759)Gravatar Alexis Degrugillier
I think the use of a magic value repeated many times in the code is prone to have some errors made by people not knowing its meaning. Using a constant is a bit more safe. Judging by some comments in the code, I am not the only one.
2017-09-22[ci] Add Travis (#1619)Gravatar Frans de Jonge
* [ci] Add Travis * Exclude some libs * Semi-auto whitespace fixes * line length in SQLite * Exclude tests from line length * Feed.php line length * Feed.php: get rid of unnecessary concat * Feed.php: line length * bootstrap.php: no newline at end of file * Allow concatenating across multiple lines * Add Travis badge * do-install line length * update-or-create-user line length * cli/create-user line length * tests/app/Models/SearchTest.php fix indentation * tests/app/Models/UserQueryTest.php fix indentation * tests/app/Models/CategoryTest.php fix indentation * [fix] PHP 5.3 on precise * cli/do-install no spaces * cli/list-users line length * cli/reconfigure line length * empty catch statements * api/index line length nonsense * spaces before semicolon * app/Models/EntryDAO bunch of indentation * extra blank lines * spaces before comma in function call * testing tabwidth * increase to 10 * comment out tabwidth line * try older phpcs version 3.0.0RC4 * line length exception for app/install.php * proper spaces * stray spaces in i18n * Minz/ModelPdo line length * Minz whitespace * greader line length * greader elseif placement * app/Models/Feed.php spacing in function argument * ignore php 5.3 * app/Models/ConfigurationSetter.php stray whitespace * EntryDAOSQLite line length * I vote for higher max line length =P * ignore SQL * remove classname complaint * line length/more legible SQL * ignore line length nonsense * greader line length * feedController issues * uppercase TRUE, FALSE, NULL * revert * importExportController lowercase null * Share.php default value not necessary because ! is_array () a few lines down * CategoryDAO constants should be UPPERCASE * EntryDAO reduce line length * contentious autofix * Allow failures on all versions of PHP except 7.1 because reasons
2017-05-22Added additional configuration setting for #1530 . This includes default ↵Gravatar Paulius Šukys
settings and translation entry for English
2016-08-20Merge branch 'FreshRSS/dev' into PostgreSQLGravatar Alexandre Alapetite
2016-08-14Remove code for PHP 5.3.2-Gravatar Alexandre Alapetite
2016-08-02PostgreSQL draftGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/416 Based on @Damstre work https://github.com/FreshRSS/FreshRSS/pull/1071 Not tested
2016-07-31Remove Mozilla Persona loginGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1052
2015-11-02Make auto-update server URL alterableGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/1019
2015-09-11Fix feed and category side effectGravatar Alexis Degrugillier
Before, when deleting a feed or a category, the user queries were deleted as well. No matter if they were related or not. Now, they are deleted only if they are related. I this this fix is not the best way to handle that. I think it would be better if we could find a way to create a UserQuery object from the array. The same applies when displaying the user queries in the interface. See #980
2015-07-27Cast $limits values in int (config)Gravatar Marien Fressinaud
Fix https://github.com/FreshRSS/FreshRSS/issues/925
2015-07-22Fix a bug in ConfigurationSetterGravatar Marien Fressinaud
2015-07-21Add a max_registrations limitGravatar Marien Fressinaud
- Allow user to create accounts (not implemented) - Admin only can set this limit See https://github.com/FreshRSS/FreshRSS/issues/679
2015-05-10Moved updated/unread option from global to userGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/798
2015-03-24Error when deleting a feed, wrong objectGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/816
2015-03-24Error when deleting a feedGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/816
2015-03-05Introduce user queries objectsGravatar Alexis Degrugillier
There is now an object to manipulate user queries. It allows to move logic to handle those from the view and the controller in the model. Thus making the view and the controller easier to read. I introduced a new interface to start using dependency injection. There is still some rough edges but we are moving in the right direction. The new object is fully tested but it still need some improvements, for instance, it is still tied to the search object. There might be a better way to do that.
2015-01-18Fix mark_when setterGravatar Marien Fressinaud
mark_when was not taken in consideration.
2015-01-16Simplify shortcut setterGravatar Marien Fressinaud
2015-01-16Fix bug if a shortcut is not in the initial configGravatar Marien Fressinaud
A new shortcut was never saved because ConfigurationSetter never set a shortcut which did not appear in the initial conf.
2015-01-08Fix Minz_Translate::availableLanguages() methodGravatar Marien Fressinaud
2015-01-08Add a setter for extensions_enabled config valueGravatar Marien Fressinaud
2015-01-07Add system config setter methodsGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-07Add setters for the user configurationsGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-07Change way to call configuration setter.Gravatar Marien Fressinaud
- Add a support($key) method which return if the given key is supported by the setter. - Change handle signature by adding a $data param which must be passed by reference. See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-07Add first test for a generic ConfigurationSetterGravatar Marien Fressinaud
We are blocked if a setter has to update several values. ConfigurationSetter will be updated. See https://github.com/FreshRSS/FreshRSS/issues/730