Commit Graph

44 Commits

Author SHA1 Message Date
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
Christian Binder
ca46d97abd reset scroll position of egwpopup after OK 2009-03-04 20:50:06 +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
Christian Binder
5a1a3879ac First draft of mail notifications, sponsored by kk-it.net. Checkout the forum for more information. IMPORTANT: You probably have to clear your browsers cache before using it. 2009-02-11 19:32:26 +00:00
Stefan Becker
4144775ef1 "fixed Notification OK-Button under IE7 and firefox" 2008-06-04 13:01:19 +00:00
Stefan Becker
443ef39008 "fixed Bug - notification now works under IE7" 2008-06-02 17:48:31 +00:00
Christian Binder
40a68b6cfd little re-design of notifications: cleaned up relation between main class and backends. main class is responsible for notification routing. backends are responsible for sending one message to one user. relocated ajax functions to a separate file. 2007-12-18 15:53:38 +00:00
Christian Binder
e72ec7185e Extended notification-app and egwpopup. Added winpopup-backend and email-backend. PHP5.1+ is now mandatory in trunk. For more infos look at the egw-developers list. 2007-11-22 08:29:16 +00:00
Cornelius Weiß
b6774051f1 set refresh time to 60s, 10s was only for debugging 2007-06-01 11:57:49 +00:00
Cornelius Weiß
8a04e759c4 tryouts with svn propset 2006-09-25 10:20:46 +00:00
Cornelius Weiß
873fad71de fix column type for id in notifications popup table
remove depricated SEP's
corrected type hintings
continue fight against svn... (replacement of $id$ in this episode)
2006-09-25 07:00:51 +00:00
Cornelius Weiß
c57dadd8f7 new notification module 2006-09-07 07:04:15 +00:00
Cornelius Weiß
c4bb0dcf98 me again against svn 2006-09-07 06:58:58 +00:00
Cornelius Weiß
6667cca4de New notificaion module
/**
 * Notifies users according to their preferences.
 * 
 * @abstract NOTE:Notifications are small messages. No subject and no attechments. 
 * If you need this kind of elements you probably want to send a mail, don't you :-)
 * @abstract NOTE: This is for instant notifications. If you need time dependend notifications use the 
 * asyncservices wrapper!
 * 
 * The classes doing the notifications are called notification_<method> and should only be 
 * called from this class.
 *
 */
2006-03-06 17:11:45 +00:00