Commit Graph

63 Commits

Author SHA1 Message Date
Hadi Nategh
71a263386c * Notifications: do not fire another notification request unless the last one has been responded. In case of failure increase amount of polling interval. 2018-09-06 15:44:05 +02:00
Hadi Nategh
760cd8eb02 Fix notifications with same id but no links are not getting grouped together 2018-07-23 16:36:02 +02:00
Hadi Nategh
44dc8e8241 Do not use loading prompt in notifications when we are in mobile template as it would block user interaction 2018-07-23 11:46:30 +02:00
Hadi Nategh
ab3bd62b16 Some fine tuning for notifications popup sidebar 2018-07-13 16:31:38 +02:00
Hadi Nategh
0a836ab4b8 do not popup the next notification message if the one is getting deleted hasn't being expanded while deleting 2018-07-13 10:45:26 +02:00
Hadi Nategh
b2bf022ff7 * Notifications: Group notifications base on entry ID to help minimizing number of notifications on the list 2018-07-13 10:43:22 +02:00
Hadi Nategh
ba4d78c2d1 * Notifications: implements entry based priority to make user more aware about certain notifications like calendar alarm entry. 2018-06-25 15:53:18 +02:00
Hadi Nategh
24d2ba421d * Notifications: performance improvements on fetching notifications 2018-06-25 15:52:29 +02:00
Hadi Nategh
6d55826ef4 Make toggle class accessible 2018-06-06 11:06:45 +02:00
Hadi Nategh
fdda3dc843 Narrow down egwpopup_toggle selection into egwpopup dom 2018-06-06 10:45:14 +02:00
Hadi Nategh
85ece9b5a6 Fix notifications navigator jumps out sometimes on navigation 2018-03-12 17:32:24 +01:00
Hadi Nategh
9f2d613c07 * Notifications: New actions Prev and Next in order to navigate through messages 2018-03-12 17:31:54 +01:00
Hadi Nategh
00cd9175e9 Add closing timer on notifications 2018-02-19 17:21:03 +01:00
Hadi Nategh
a92023c02f Do not show open_notified button if there's no link available 2018-02-16 12:03:32 +01:00
nathangray
7c118f6d4f Notifications - some translations from Stefan Unverricht 2018-01-30 13:23:27 -07:00
Hadi Nategh
4e4c5ccdb9 Do not show/request popup notifications if it's not selected in notification_chain 2018-01-26 09:57:18 +01:00
Hadi Nategh
11a0d3b31a W.I.P restructuring of Notifications actions 2018-01-26 09:55:46 +01:00
Hadi Nategh
929676793c Fix a bug notifications sidebar in client-side not being translated 2018-01-12 16:32:20 +01:00
Hadi Nategh
8eae975fce Make notification sidebar disappear when click away 2018-01-10 12:48:52 +01:00
Hadi Nategh
3f3154ead4 Fix broken links in notifications popup, plus preserve the poped up
messages after re-generating Notifications list.
2017-11-20 10:28:24 +01:00
Hadi Nategh
f5af05ffd2 Fix delete all notifications action does not reset the counter 2017-10-26 10:26:10 +02:00
Hadi Nategh
0339bb13bd Clear the notifications list before appending messages 2017-09-20 17:49:35 +02:00
Hadi Nategh
5f2d541063 W.I.P. of notifications popup handler:
- Implement time label divider
- Fix latest arrivals stacked at the end of the list instead of top
- Fix click handler of expanding action to cover the whole message container
2017-09-18 18:47:44 +02:00
Hadi Nategh
9563049f41 W.I.P. of notifications popup handler 2017-09-15 17:10:11 +02:00
A Sigalas
e966ae332a Using et2_dialog for popup 2017-08-23 13:15:55 +00:00
A Sigalas
b137c62815 Added popup warning before deleting all notifications 2017-08-23 11:27:42 +00:00
Hadi Nategh
263f14e59f WIP Notifications system:
- Inform the user about unread notifications by a 5sec popup note
2017-05-29 15:07:48 +02:00
Hadi Nategh
479a557381 WIP of Notifications system:
- Add actions for notification messages
- Fix on message click handler
- Implement appointment request actions for calendar notifications
2017-05-23 16:54:20 +02:00
Hadi Nategh
c945b55cce WIP of Notifications system:
- Add click handler on message box
- Do not send update status request if the message is already seen
2017-05-22 12:18:53 +02:00
Hadi Nategh
0ff91fd96c WIP of Notifications System:
- Some styling enhancements
- Add delete and mark as read actions on each message box
2017-05-17 14:04:31 +02:00
Hadi Nategh
a3b8cd339d WIP of Notifications System:
- Introduce notifications states
- Implement click handling for different status and update counter
2017-05-16 18:04:04 +02:00
Hadi Nategh
3d164b0624 WIP of Notifications system 2017-05-15 17:34:27 +02:00
Hadi Nategh
9befd5fac1 Implement browser notification API for notifications 2016-07-11 12:01:29 +02:00
Hadi Nategh
87fb94a496 Deprecate $j global variable and replace them all with standard jQuery 2016-06-02 16:52:01 +02: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
659ca5eb4f query new notifications right after login and therefore also show up as "active" in session-status 2014-10-09 08:21:40 +00:00
Nathan Gray
853a93c9a3 Get confirming a notification working too 2013-09-04 22:58:29 +00:00
Nathan Gray
96a1c07e9e Stop using deprecated methods, get notifications working again. 2013-09-04 22:52:43 +00:00
Ralf Becker
4ed52a2b16 get notifications-popup ready for content-security, install as object in app.notifications and use data-poll-intervall of script tag to pass poll frequency 2013-07-22 13:29:20 +00:00
Nathan Gray
20ab9041cf Try and fallback from HTML to plain text to match spec - removed HTML notifications 2012-11-05 18:32:54 +00:00
Nathan Gray
4283e1122e Allow browser to notify even if verbosity is low, in case browser is not visible 2011-12-01 16:20:00 +00:00
Nathan Gray
2d906d7a3e Wrap attempt at lang in try/catch for if egw.lang() isn't available 2011-11-30 19:48:54 +00:00
Nathan Gray
b023204b1d Show the normal in-browser notification popup when using browser notifications 2011-11-24 16:22:34 +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
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
375c8e82dd Fix for previously confirmed messages showing again if you're still on the same page when a new notice comes 2011-04-13 21:54:59 +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
6f7c9611ea added configureable poll interval for egwpopup - default is 60 seconds 2009-04-06 21:46:11 +00:00
Christian Binder
5a53158bc7 renamed ajax class to fit autoloading scheme 2009-04-03 20:36:28 +00:00
Christian Binder
612f7be6d9 created ONE single AJAX request to improve performance again 2009-04-03 20:17:22 +00:00