Klaus Leithoff
76c981d20d
rewrite of r33861, a bit more elegant
2011-02-21 16:30:27 +00:00
Klaus Leithoff
5267605a79
make sure the mail object is ALWAYS created new, as it may cause problems with the sender information, if notification is running as cronjob and trying to notify users with different senderinformation
2011-02-21 12:12:29 +00:00
Klaus Leithoff
d08086c8b2
* Notifications: fix dont try to notify when none is set/forced for folders to check for new mails; dont try to notify when email as module is not enabled for the particular user
2010-12-03 10:44:47 +00:00
Ralf Becker
bb0ab3d0ff
"removed deprecated ereg, to get ride of the warning"
2010-05-03 06:44:26 +00:00
Klaus Leithoff
e9b9c61a60
fixing a problem regarding the session handling and content interchange of felamimail if notification for new emails is switched on. bofelamimail session information is now buffered and reapplied after notification run.
2009-11-26 15:40:12 +00:00
Christian Binder
1b256c503d
removed unnecessary error logging
2009-11-16 16:43:50 +00:00
Christian Binder
08efec194f
fixed not found user sessions while working with notifications and assured that all_no_sort param gets handed over to handler class
2009-10-23 13:07:11 +00:00
Christian Binder
cdd9450504
reverted r28072: maybe its better to keep the truncation of sensitive data for some cases
2009-10-09 19:59:22 +00:00
Christian Binder
b9c7fa9526
fixed: links rendered through both html::link and html::a_href get a wrong url
2009-10-09 19:51:25 +00:00
Christian Binder
29e477f912
removed unneeded truncation of sensitive data - sensitive data must not be given at all to notifications link array
2009-10-09 19:22:39 +00:00
Christian Binder
be0c204cfa
fixed egwpopup not writing to database
2009-10-09 19:03:35 +00:00
Ralf Becker
46b4c081a1
"only responding to after_navbar hook, if notifications is enabled for the user, since after_navbar get's called regardless of applicaton permissions"
2009-08-25 11:22:04 +00:00
Ralf Becker
1b5bd9a1fb
"explicit require bofelamimail, 'til it get a autoloading conform name"
2009-04-28 20:24:05 +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
Ralf Becker
21338a8327
"added filemtime to force browser to reload javascript file after a modification"
2009-03-24 09:33:28 +00:00
Christian Binder
fd1109612c
fixed typo
2009-02-27 18:51:17 +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
878590ea4c
E-Mail notifications are now using eTemplate. Removed unused eTemplate from previous notifications of eGW 1.4. Updated some german lang phrases. Complete german translation follows soon.
2009-02-14 16:49:10 +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
Christian Binder
f4cf482f4f
removed debugging into my home folder. sorry I forgot that !
2009-01-25 18:05:13 +00:00
Christian Binder
fad2227b8c
Added new function set_skip_backends() to notifications class. The calling application now can set backends which must be skipped even if the user has set the backend to be executed in its prefs. This is useful for e.g. notifying about new mails in future (where a user pref "notify me by mail" does not make sense).
2008-12-10 19:47:22 +00:00
Klaus Leithoff
a6d7f0caf3
more debug information for notification failure
2008-12-09 14:02:15 +00:00
Ralf Becker
7c69d01277
"fixed bug reported by Frank Becker on the German list: Links in popup notification contains double egroupware path
...
(caused by calling html::link AND htm::a_href on the link, which caused a double run through egw_session::link )
"
2008-10-16 05:30:31 +00:00
Ralf Becker
bf8a23e47e
"fixed bug reported on user list: PHP Fatal Error: unknown method egw_session::list_sessions()"
2008-09-09 11:59:34 +00:00
Ralf Becker
65b94c8284
"fixed config name, wrong name caused not being able to switch off popup notifications"
2008-08-15 09:38:58 +00:00
Ralf Becker
e2f72dcc70
"using egw_session::session_list()"
2008-08-13 20:14:44 +00:00
Ralf Becker
72e99175e9
added version
2008-07-30 06:49:55 +00:00
Ralf Becker
459461347e
bocontacts --> addressbook_bo
2008-05-15 08:52:14 +00:00
Ralf Becker
9e615429e9
sms notifications from aleksander.adamowski(at)olo.org.pl
2008-04-21 17:23:18 +00:00
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