Commit Graph

44 Commits

Author SHA1 Message Date
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
Oscar Manuel Gómez Senovilla
0bea37425d convert pending lang files for apps to utf-8 2007-11-29 23:00:48 +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
f10575413d fixed typo in configuration example for winpopup notifications 2007-11-29 04:45:58 +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
Oscar Manuel Gómez Senovilla
dfca15f3e0 update for non-active apps for switch from phpgw_ to egw_ lang files 2007-10-14 17:24:15 +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ß
b6774051f1 set refresh time to 60s, 10s was only for debugging 2007-06-01 11:57:49 +00:00
Cornelius Weiß
90c5388542 fix: notification popup where broken after ralfs changes, nicify this chagnes 2007-06-01 11:43:08 +00:00
Oscar Manuel Gómez Senovilla
688dd5f46f Latest lang updates 2007-05-31 14:49:26 +00:00
Ralf Becker
f2fb5fad4b 2007-05-28 21:17:15 +00:00
Ralf Becker
14fc433fcf updated application versions 1.4 and dependencies accordingly (API is still 1.3.xxx 'til the first RC) 2007-04-30 09:10:36 +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
Oscar Manuel Gómez Senovilla
0117e53ee2 remaining added lang files 2007-04-05 22:58:00 +00:00
Oscar Manuel Gómez Senovilla
4f17334243 pending lang additions 2007-03-10 12:01:10 +00:00
Cornelius Weiß
0f11596866 remove forgotten debug message 2007-02-11 07:48:44 +00:00
Oscar Manuel Gómez Senovilla
0597fc6cd9 pending lang updates, and gallery translations 2006-12-26 22:20:54 +00:00
Oscar Manuel Gómez Senovilla
b15ced10a5 pending additions and updates 2006-11-20 00:28:56 +00:00
Oscar Manuel Gómez Senovilla
b157241ec8 lang updates 2006-11-06 23:12:29 +00:00
Oscar Manuel Gómez Senovilla
9aa39f3711 remove "ok", since it's in phpgwapi 2006-10-12 12:21:49 +00:00
Cornelius Weiß
8a04e759c4 tryouts with svn propset 2006-09-25 10:20:46 +00:00
Cornelius Weiß
1a4145905c tryouts with svn propset 2006-09-25 10:18:05 +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ß
a4d601c483 forgotten update-script for popup-table 2006-09-25 07:04:22 +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
Ralf Becker
68cf1f4466 no need to versionate old files 2006-09-12 17:24:13 +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