From b59a2101b460200e4276a05f9b8cb4ae7a2e9b62 Mon Sep 17 00:00:00 2001 From: rupak Date: Fri, 30 Jan 2026 02:19:35 +0545 Subject: Add option to enable notifications (#8458) Closes https://github.com/FreshRSS/FreshRSS/issues/7330 - Default behavior is same - Added FreshRSS_Context::userConf()->html5_disable_notif so that, it determines weather user wants notification. (will not show any even it has permission) (i want default false so disable, so old configs get proper default values) - Added button such that checking it makes it request permission too image - test notification actually happening (how can i trigger it, do i have to wait it), this code fixes permissions. --- app/i18n/fr/conf.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/i18n/fr/conf.php') diff --git a/app/i18n/fr/conf.php b/app/i18n/fr/conf.php index 27950983c..e43ee3fd0 100644 --- a/app/i18n/fr/conf.php +++ b/app/i18n/fr/conf.php @@ -105,6 +105,9 @@ return array( 'none' => 'Aucun', 'small' => 'Petit', ), + 'notification' => array( + 'html5_enable_notif' => 'Activer les notifications', + ), 'notification_timeout' => array( 'bad' => array( 'label' => 'Afficher la bannière d’avertissement', -- cgit v1.2.3