Commit Graph

319 Commits

Author SHA1 Message Date
Ralf Becker
2787d8d843 fixed not working deleteAccount hook, constructor throws exception if called without argument --> using static method now 2011-04-14 15:09:36 +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
Ralf Becker
42bf4dbc3c updating number of current users via notifications 2011-04-14 09:50:35 +00:00
Ralf Becker
23c21cb372 - no need to run RefreshTable (only necessary if multicolumn index got changed)
- emptying notification table, as it can contain thousands of old, not delivered entries
2011-04-14 05:55:55 +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
Ralf Becker
fc93bfde26 bofelamimail --> felamimail_bo 2011-03-10 12:59:16 +00:00
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
Oscar Manuel Gómez Senovilla
28d2b6b072 Update for translations in trunk 2011-01-30 12:53:49 +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
Klaus Leithoff
68ce4a81e1 finnish/suomi translations provided by mkk 2010-10-07 08:09:31 +00:00
Ralf Becker
50c43deec9 updating verson to 1.8 2010-09-05 15:24:34 +00:00
Oscar Manuel Gómez Senovilla
2f0df89b4f Tracker #2703 2010-08-25 16:14:29 +00:00
Klaus Leithoff
3ed7a8445f provide the new option with a new section 2010-07-16 12:26:06 +00:00
Klaus Leithoff
294e46ca74 translations for new option/configuration 2010-07-16 12:17:12 +00:00
Klaus Leithoff
f67a9e4a56 option/configuration to enforce the use of emailadminprofiles only for notifications 2010-07-16 12:04:02 +00:00
Oscar Manuel Gómez Senovilla
a4d96bd6fa Tracker #2591 2010-06-09 21:11:42 +00:00
Ralf Becker
ed9847b625 moving phrase "linked entries:" to common, as notifications phrases get not loaded for each app 2010-05-22 16:08:23 +00:00
Stefan Becker
d1b36afa2c added some German translations 2010-05-20 19:52:32 +00:00
Klaus Leithoff
0c143554a0 translation provided by mkk 2010-05-20 08:07:05 +00:00
Klaus Leithoff
bf5fd9cf6b translation provided by mkk 2010-05-20 08:07:04 +00:00
Ralf Becker
bb0ab3d0ff "removed deprecated ereg, to get ride of the warning" 2010-05-03 06:44:26 +00:00
Klaus Leithoff
f4f8464414 translations provided by mkk and gm 2010-04-14 12:05:56 +00:00
Klaus Leithoff
392900daaf translations provided by G.Mueller 2010-02-02 15:46:22 +00:00
Oscar Manuel Gómez Senovilla
e6bcc6afe9 Recover history from rev 28586 2009-12-02 19:56:11 +00:00
Oscar Manuel Gómez Senovilla
806f8ae334 Temporary removal to recover history from rev 28587 2009-12-02 19:54:43 +00:00
Oscar Manuel Gómez Senovilla
9aa7740909 Move lang files for notifications 2009-11-28 17:43:27 +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
Oscar Manuel Gómez Senovilla
a70df0ddbb Pending language updates 2009-11-24 05:51:49 +00:00
Oscar Manuel Gómez Senovilla
31bc2ff512 tracker #2349 2009-11-18 19:40:17 +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
Oscar Manuel Gómez Senovilla
2386a28cc5 Update Czech translation for trunk. Tracker #1956 2009-09-09 22:12:43 +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
Oscar Manuel Gómez Senovilla
67b0a09c15 update spanish translation 2009-05-15 15:33:15 +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
cd3e5788e8 updated lang files for notifications 2009-04-06 21:47:18 +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
ca46d97abd reset scroll position of egwpopup after OK 2009-03-04 20:50:06 +00:00
Christian Binder
77a80c0a93 german translation for notifications 2009-02-27 18:52:01 +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
Oscar Manuel Gómez Senovilla
7c3ab3ab8c tracker #1774, added estonian translation 2008-11-02 14:23:56 +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
Oscar Manuel Gómez Senovilla
504b096e06 latest update of egw translators pending work 2008-10-15 21:11:30 +00:00
Ralf Becker
4222f03ac5 version to 1.6 incl. API dependences 2008-10-07 07:21:23 +00:00
Oscar Manuel Gómez Senovilla
8ed57c413b tracker #1747 2008-10-05 19:24:49 +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
Oscar Manuel Gómez Senovilla
f98569ee85 Updated russian translation (#1658) and some spanish updates 2008-08-03 19:07:15 +00:00
Ralf Becker
72e99175e9 added version 2008-07-30 06:49:55 +00:00
Oscar Manuel Gómez Senovilla
77f63b4c00 updated russian translation 2008-07-29 20:40:02 +00:00
Oscar Manuel Gómez Senovilla
241e844f4b Resulting lang files after applying the "Search for new phrases" in translation tools for every app 2008-07-26 21:59:22 +00:00
Oscar Manuel Gómez Senovilla
8913855001 tracker #1476 2008-07-25 22:15:31 +00:00
Oscar Manuel Gómez Senovilla
e6a0bc30a9 tracker #1511 2008-07-25 21:22:37 +00:00
Oscar Manuel Gómez Senovilla
6826e1df64 rest of adding new translations 2008-07-24 19:31:09 +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
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
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