Commit Graph

22 Commits

Author SHA1 Message Date
Nathan Gray
c98e614c85 Let browser notification happen if verbosity is low 2011-12-05 15:37:50 +00:00
Nathan Gray
a3d417b318 Wrap attempt at lang in try/catch for if egw.lang() isn't available 2011-11-30 19:50:25 +00:00
Nathan Gray
e927e73560 * Add ability to use browser notifications+popups, when available from the browser 2011-11-28 17:42:35 +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