Commit Graph

64 Commits

Author SHA1 Message Date
Hadi Nategh
534dd562f6 Show error text of notifications response from server 2018-09-06 15:40:25 +02:00
Hadi Nategh
f2ac6af5ac * Notification: 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:28:08 +02:00
Hadi Nategh
c5e902926b Fix notifications with same id but no links are not getting grouped together 2018-07-23 16:25:07 +02:00
Hadi Nategh
5f5ca2e632 Do not use loading prompt in notifications when we are in mobile template as it would block user interaction 2018-07-23 11:45:55 +02:00
Hadi Nategh
4ed941e27a Some fine tuning for notifications popup sidebar 2018-07-13 16:23:26 +02:00
Hadi Nategh
7d6ae58e4f do not popup the next notification message if the one is getting deleted hasn't being expanded while deleting 2018-07-03 17:09:48 +02:00
Hadi Nategh
e285e2d890 * Notifications: Group notifications base on entry ID to help minimizing number of notifications on the list 2018-07-02 10:42:53 +02:00
Hadi Nategh
6b74f2685d * Notifications: implements entry based priority to make user more aware about certain notifications like calendar alarm entry. 2018-06-19 16:03:10 +02:00
Hadi Nategh
e8cc3d0eb3 * Notifications: performance improvements on fetching notifications 2018-06-19 14:58:32 +02:00
Hadi Nategh
f7165e2bca Make toggle class accessible 2018-06-06 11:05:19 +02:00
Hadi Nategh
9e31fa65dc Narrow down egwpopup_toggle selection into egwpopup dom 2018-06-06 10:44:11 +02:00
Hadi Nategh
db84ba5240 Fix notifications navigator jumps out sometimes on navigation 2018-03-12 17:30:21 +01:00
Hadi Nategh
2cebde45b8 * Notifications: New actions Prev and Next in order to navigate through messages 2018-03-06 18:33:42 +01:00
Hadi Nategh
7510a94e11 Add closing timer on notifications 2018-02-19 17:17:24 +01:00
Hadi Nategh
56bba60b6e Do not show open_notified button if there's no link available 2018-02-16 12:02:43 +01:00
Hadi Nategh
da2291be12 Do not show/request popup notifications if it's not selected in notification_chain 2018-01-25 17:31:15 +01:00
Hadi Nategh
c2a3c19124 W.I.P restructuring of Notifications actions 2018-01-24 19:02:49 +01:00
nathangray
d1a5f9a553 Notifications - some translations from Stefan Unverricht 2018-01-23 14:07:27 -07:00
Hadi Nategh
2bf7597647 Fix a bug notifications sidebar in client-side not being translated 2018-01-11 17:23:58 +01:00
Hadi Nategh
b7ffb65644 Make notification sidebar disappear when click away 2018-01-10 12:42:42 +01:00
Hadi Nategh
761c32cf77 Fix broken links in notifications popup, plus preserve the poped up messages
after re-generating Notifications list.
2017-11-17 11:56:43 +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