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