Commit Graph

32 Commits

Author SHA1 Message Date
ralf
343025dece * Notifications: fix wrong condition leading to infinite recursion (causing timeout) and high database load 2024-07-09 16:16:33 +02:00
ralf
9d45da268e * Notifications: configurable number of days (default 30), after which older notifications get automatic deleted 2024-04-17 15:00:14 +02:00
ralf
4b683b38ea * Notifications: fixed deleting and grouping of popup notifications by app-name and -id and show full total independent of max. 100 shown entries 2024-04-16 18:54:07 +02:00
ralf
46a5581d2b fix some PHP Warnings 2024-03-06 20:34:13 +02:00
ralf
c5d3bb89ab * Notifications: aggregate messages by app:id to return only latest one, also added a cut-off date of 30 days and cleaning older messages 2023-09-25 09:43:37 +02:00
Ralf Becker
91bd7c7aeb an other chunk of fixed PHP 8.0 Warnings 2021-10-07 10:14:43 +02:00
Hadi Nategh
e7ee06f66b Fix broken pushed notifications entries 2021-03-08 15:15:34 +01:00
Hadi Nategh
c6e964036e Set indicators for displaying total number of notifications 2021-03-08 12:12:54 +01:00
Ralf Becker
b0d55160a3 fix wrong timezone in creation time, if configured server-timezone does not match the one from the DB 2020-10-19 13:45:46 +02:00
Hadi Nategh
10f40c9dbb * Notifications: Fix notifications displayed time was not base on user timezone 2020-08-28 11:59:37 +02:00
Hadi Nategh
382a9576c7 Implement push mechanism for popup notifications 2020-07-21 15:46:38 +02:00
nathangray
be93c24def Make sure popup notifications are fully in recipient's language
"Message from" and "Linked entries" were in sender's language
2018-01-25 15:40:25 -07:00
Hadi Nategh
c2a3c19124 W.I.P restructuring of Notifications actions 2018-01-24 19:02:49 +01:00
nathangray
2c7af08795 * Notifications - do not error sending popup if user is not online, just save it anyway 2017-12-05 10:19:50 -07:00
Ralf Becker
c088495708 use new API for notifiations 2016-05-06 09:19:36 +00:00
Nathan Gray
da3d0d23c4 - Use link registry to open notification links
- Fix mark all notifications as read on popup close
2014-12-15 19:09:22 +00:00
Ralf Becker
3e3dda8149 * Java notifier app from Stefan Werfling, added translation and egw-configuration on download 2012-12-09 05:56:42 +00:00
Klaus Leithoff
0a076525b8 improve notification by allowing to set up specific popup notification messages and subjects; this is used for calendar notification to give worthwile information in popup and meet expectations for ical/rfc type notification 2012-06-13 14:50:41 +00:00
Nathan Gray
d7cfdfa3d0 Enable popups to use desktop notifications, if browser supports it 2011-11-23 23:48:58 +00:00
Ralf Becker
2787d8d843 fixed not working deleteAccount hook, constructor throws exception if called without argument --> using static method now 2011-04-14 15:09:36 +00:00
Ralf Becker
c3170b44bd fixed JSON error "contains script tags! Aborting ..." when confirming a popup:
- adding id to notifications table to use it to identify a notification (sending back the message incl. onclick="..." caused the problem)
- adding a timestamp when message was added, to identify older messages
- close button --> send all ids in one ajax request, not one per id
2011-04-14 13:43:16 +00:00
Nathan Gray
babc62d9f1 Popup notifications now go to all windows and are removed when user clicks OK. Or, close the popup with (X) to mark all as read. 2011-04-13 17:51:02 +00:00
Christian Binder
08efec194f fixed not found user sessions while working with notifications and assured that all_no_sort param gets handed over to handler class 2009-10-23 13:07:11 +00:00
Christian Binder
cdd9450504 reverted r28072: maybe its better to keep the truncation of sensitive data for some cases 2009-10-09 19:59:22 +00:00
Christian Binder
29e477f912 removed unneeded truncation of sensitive data - sensitive data must not be given at all to notifications link array 2009-10-09 19:22:39 +00:00
Christian Binder
be0c204cfa fixed egwpopup not writing to database 2009-10-09 19:03:35 +00:00
Christian Binder
5a53158bc7 renamed ajax class to fit autoloading scheme 2009-04-03 20:36:28 +00:00
Christian Binder
b3b7487ad1 eGroupWare popup: Complete re-style of css and markup (nearly no visible changes but a lot of cleanup). eGWpopup now has a scrollbar for long messages. Changed non-validating color lightgray of idots to its numeric value. Renamed notificationwindow completely to egwpopup. 2009-02-23 20:45:31 +00:00
Ralf Becker
7c69d01277 "fixed bug reported by Frank Becker on the German list: Links in popup notification contains double egroupware path
(caused by calling html::link AND htm::a_href on the link, which caused a double run through egw_session::link )
"
2008-10-16 05:30:31 +00:00
Ralf Becker
e2f72dcc70 "using egw_session::session_list()" 2008-08-13 20:14:44 +00:00
Ralf Becker
0da675bf6e made all methods from html class static and removed the unnecessary singleton 2008-03-09 14:35:48 +00:00
Christian Binder
5b699573e4 enabled class autoloading for notifications, let admins enable or disable notification backends, security fixes for email and egwpopup backend, unified link arrays used for notifications 2008-01-30 18:58:00 +00:00