Commit Graph

13 Commits

Author SHA1 Message Date
Alexandre Alapetite
0d0c6b7493 Moved updated/unread option from global to user
https://github.com/FreshRSS/FreshRSS/issues/798
2015-05-10 14:04:12 +02:00
Alexandre Alapetite
d7706b66f5 Error when deleting a feed, wrong object
https://github.com/FreshRSS/FreshRSS/issues/816
2015-03-24 22:51:51 +01:00
Alexandre Alapetite
239a010ef2 Error when deleting a feed
https://github.com/FreshRSS/FreshRSS/issues/816
2015-03-24 22:45:27 +01:00
Alexis Degrugillier
5b90e1f4a0 Introduce user queries objects
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-03-05 13:29:41 +01:00
Marien Fressinaud
711ef5546c Fix mark_when setter
mark_when was not taken in consideration.
2015-01-18 13:04:08 +01:00
Marien Fressinaud
409e09f685 Simplify shortcut setter 2015-01-16 23:38:12 +01:00
Marien Fressinaud
9483c6cf67 Fix bug if a shortcut is not in the initial config
A new shortcut was never saved because ConfigurationSetter never set a
shortcut which did not appear in the initial conf.
2015-01-16 23:20:59 +01:00
Marien Fressinaud
a3f667e586 Fix Minz_Translate::availableLanguages() method 2015-01-08 14:50:21 +01:00
Marien Fressinaud
e86a6097c8 Add a setter for extensions_enabled config value 2015-01-08 14:22:20 +01:00
Marien Fressinaud
9265cd5733 Add system config setter methods
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-07 18:55:18 +01:00
Marien Fressinaud
7e81e67aed Add setters for the user configurations
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-07 18:16:57 +01:00
Marien Fressinaud
fb614ab80c Change way to call configuration setter.
- 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-07 17:36:29 +01:00
Marien Fressinaud
2fd8a80878 Add first test for a generic ConfigurationSetter
We are blocked if a setter has to update several values.
ConfigurationSetter will be updated.

See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-07 16:36:55 +01:00