diff options
| author | 2023-11-09 20:12:04 +1000 | |
|---|---|---|
| committer | 2023-11-09 11:12:04 +0100 | |
| commit | b9939bdaac75233ab52c7c7a483d5e4feb4921a4 (patch) | |
| tree | 768060a80dc121f31dbd4d2b9674e61a4d42bfad /app/Controllers/configureController.php | |
| parent | 44a7c54a5a6afb72937425cee0d53610e440ec60 (diff) | |
Added ability to mark articles as read on focus. (#5812)
* Added ability to mark entries as read on focus.
Feature proposed in issue #5723.
* make-fix-all + i18n fr
* Use batch to save resources and increase performance
* Use "keep_unread"
* typo
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/Controllers/configureController.php')
| -rw-r--r-- | app/Controllers/configureController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php index ef16f6b60..ccdad1baf 100644 --- a/app/Controllers/configureController.php +++ b/app/Controllers/configureController.php @@ -103,6 +103,7 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController { * - opened on site * - scrolled * - received + * - focus * Default values are false unless specified. */ public function readingAction(): void { @@ -136,6 +137,7 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController { Minz_Request::paramBoolean('enable_read_when_same_title_in_feed') && Minz_Request::paramBoolean('read_when_same_title_in_feed'), 'scroll' => Minz_Request::paramBoolean('mark_scroll'), 'site' => Minz_Request::paramBoolean('mark_open_site'), + 'focus' => Minz_Request::paramBoolean('mark_focus'), ]; FreshRSS_Context::$user_conf->save(); invalidateHttpCache(); |
