Commit Graph

30 Commits

Author SHA1 Message Date
Ralf Becker
608e2ef249 "use static config::read() method" 2008-03-22 12:34:53 +00:00
Ralf Becker
443d4fd16a "dont switch the global db object away from phpgwapi!" 2008-03-22 12:34:27 +00:00
Ralf Becker
0da675bf6e made all methods from html class static and removed the unnecessary singleton 2008-03-09 14:35:48 +00:00
Christian Binder
5b699573e4 enabled class autoloading for notifications, let admins enable or disable notification backends, security fixes for email and egwpopup backend, unified link arrays used for notifications 2008-01-30 18:58:00 +00:00
Christian Binder
5fee16c3ef removed deprecated pass-by-reference which caused a php warning 2007-12-20 19:49:55 +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
b319e27c68 added additional XSS prevention in winpopup notification. Thx to Aleksander Adamowsky 2007-12-14 13:52:28 +00:00
Christian Binder
5d74af6d9a implemented fallback to email-backend if recipient has no rights to run notification-app or recipient has no prefs set 2007-12-13 12:52:35 +00:00
Christian Binder
bfff821e18 notification-app is now ready for non-eGW users as sender and recipients. deleted the old-style sending part from bo_tracking. this is not needed anymore. 2007-12-10 08:26:29 +00:00
Christian Binder
d84fc5bd6a re-commit of winpopup-backend. the commandline to execute is now hardcoded into the backend for security reasons 2007-12-05 08:55:10 +00:00
Christian Binder
f0293b3c9d enhanced some failure-proof logic. messages can now be set as html and/or plain and notification-app auto-creates the missing types. 2007-11-30 05:38:31 +00:00
Christian Binder
4859fb6a8e removed winpopup backend due to a massive security whole - will fix that asap and re-commit it then 2007-11-29 05:46:35 +00:00
Christian Binder
c03db413c3 let the backend at the very end enclose HTML-messages in <html> and <body> tags and not get_body. We do not want to lock out further html. 2007-11-24 14:45:03 +00:00
Christian Binder
5a7319417e get tracker (and infolog) notifications working again with HTML-formatted messages as implemented before. 2007-11-24 14:01:27 +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ß
8cd9ca29ed docu and layout updates 2007-06-18 08:48:43 +00:00
Cornelius Weiß
92553ea37e removed allready done todo 2007-06-07 22:06:46 +00:00
Cornelius Weiß
90c5388542 fix: notification popup where broken after ralfs changes, nicify this chagnes 2007-06-01 11:43:08 +00:00
Ralf Becker
f2fb5fad4b 2007-05-28 21:17:15 +00:00
Ralf Becker
171712fc46 load translations only if needed 2007-04-17 05:58:08 +00:00
Ralf Becker
6756894920 php5.2+ requires the interface to have the same default params as the implementation 2007-04-17 05:57:22 +00:00
Cornelius Weiß
0f11596866 remove forgotten debug message 2007-02-11 07:48:44 +00:00
Cornelius Weiß
8a04e759c4 tryouts with svn propset 2006-09-25 10:20:46 +00:00
Cornelius Weiß
173b846279 tryouts with svn propset 2006-09-25 10:16:19 +00:00
Cornelius Weiß
438b4f6deb cleanup 2006-09-25 08:23:30 +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
Ralf Becker
f79aa7e65f url's always uses slashes (SEP is a backslash under windows) 2006-09-12 17:30:26 +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