Index: openacs-4/packages/notifications/notifications.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/notifications/notifications.info,v diff -u -r1.63 -r1.64 --- openacs-4/packages/notifications/notifications.info 19 Dec 2024 16:59:14 -0000 1.63 +++ openacs-4/packages/notifications/notifications.info 7 Feb 2025 14:46:54 -0000 1.64 @@ -6,33 +6,36 @@ Notifications f t + f + t notifications - + OpenACS Email notifications management - 2024-09-02 + 2025-02-07 OpenACS Provides an API for packages to provide subscription based email notifications and handle replies. Used by forums, bug-tracker, etc. The currently preferred package for email notifications. 3 #notifications.Notifications# - + - + + - - - - - - + + + + + + Index: openacs-4/packages/notifications/www/request-new.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/notifications/www/request-new.tcl,v diff -u -r1.19 -r1.20 --- openacs-4/packages/notifications/www/request-new.tcl 11 Sep 2024 06:15:52 -0000 1.19 +++ openacs-4/packages/notifications/www/request-new.tcl 7 Feb 2025 14:46:54 -0000 1.20 @@ -31,6 +31,17 @@ set intervals_pretty [notification::get_intervals -localized -type_id $type_id] set delivery_methods [notification::get_delivery_methods -type_id $type_id] +set sse_notifications_p [::parameter::get_global_value \ + -boolean \ + -package_key notifications \ + -parameter SSENotifications \ + -default false] +if {!$sse_notifications_p} { + set sse_delivery_method_id [::notification::get_delivery_method_id -name sse] + set delivery_methods [lsearch -all -not -inline -index 1 \ + $delivery_methods $sse_delivery_method_id] +} + ad_form -name subscribe -export { type_id object_id return_url } -form { Index: openacs-4/www/blank-master.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/www/blank-master.adp,v diff -u -r1.33 -r1.34 --- openacs-4/www/blank-master.adp 3 Sep 2024 15:38:00 -0000 1.33 +++ openacs-4/www/blank-master.adp 7 Feb 2025 14:46:53 -0000 1.34 @@ -25,6 +25,8 @@ @footer;literal@ - + + + Index: openacs-4/www/blank-master.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/www/blank-master.tcl,v diff -u -r1.60 -r1.61 --- openacs-4/www/blank-master.tcl 3 Sep 2024 15:38:00 -0000 1.60 +++ openacs-4/www/blank-master.tcl 7 Feb 2025 14:46:53 -0000 1.61 @@ -294,6 +294,12 @@ } } +set sse_notifications_p [::parameter::get_global_value \ + -boolean \ + -package_key notifications \ + -parameter SSENotifications \ + -default false] + # Local variables: # mode: tcl # tcl-indent-level: 4