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. --- config-user.default.php | 1 + 1 file changed, 1 insertion(+) (limited to 'config-user.default.php') diff --git a/config-user.default.php b/config-user.default.php index c838a7117..90b7af209 100644 --- a/config-user.default.php +++ b/config-user.default.php @@ -127,6 +127,7 @@ return array ( 'queries' => array ( ), 'html5_notif_timeout' => 0, + 'html5_enable_notif' => true, 'good_notification_timeout' => 3, 'bad_notification_timeout' => 8, 'show_nav_buttons' => true, -- cgit v1.2.3