Commit Graph

58 Commits

Author SHA1 Message Date
Ralf Becker
7f45afcc82 fixed no more notifications send, if notification of group-members is NOT enabled 2012-03-13 15:47:55 +00:00
Nathan Gray
8820bf0acf Whoops - revert accidental commit 2012-03-12 17:58:55 +00:00
Nathan Gray
c2d1edc754 Make button onclick work inside nextmatch again 2012-03-12 17:55:52 +00:00
Ralf Becker
1c386e2d6b new method preferences->default_prefs($app=null,$name=null) to access default prefs, taking into account forced preferences 2012-03-01 18:03:13 +00:00
Frédéric Erpicum
354e344a1c * Infolog - Preferences to receive notification as member of owner group of Infolog Type 2012-02-27 14:59:00 +00:00
Ralf Becker
980768c443 * Notifications: fixed not correctly reset timezone after notifying users from other timezones 2012-02-22 12:32:18 +00:00
Ralf Becker
1f76e0c191 fixed several small issues around CardDAV and history logging in addressbook (dont log not set custom fields as there are not stored and therefore not changed) 2012-02-10 21:29:50 +00:00
Ralf Becker
fb16ff842d InfoLog/CalDAV: store unsupported iCal properties like custom fields incl. history logging, thought they are not displayed unless you explicitly add a custom field from them (prefixed with one #) 2012-01-29 22:34:43 +00:00
Ralf Becker
f8ad548a9a added missing semicolon to entity &#8203 and do an urldecode to get a nicer looking link 2011-09-06 07:41:14 +00:00
Klaus Leithoff
bed0c7a265 notification/tracker: in special cases, the owner of an entry was notified twice; now control who is notified in the first (admin) notification run, and pass the already notified email-addresses to the general run 2011-07-13 07:30:28 +00:00
Ralf Becker
a89430ae8e fixed multiline fields in notification message were all in one line 2011-07-02 09:36:21 +00:00
Ralf Becker
fe781cdc9f - add $receiver parameter to most callbacks, to be able to customize returned content on receiver (eg. different for users and email CC's)
- changed html body into a two-column table for nicer formatting
2011-06-23 18:45:44 +00:00
Klaus Leithoff
3ee6fba705 fix error on saving addressbook items with new link-widget customfields; error_log stuff (disabled) 2011-05-17 11:50:06 +00:00
Klaus Leithoff
46bd49e810 handle arrays as value, that are passed down for customfield links 2011-05-12 14:44:09 +00:00
Klaus Leithoff
11411abef5 fix for 'cf_link_fields do not create link on inital save' in calendar: reason no id passed when called tracking for new events 2011-05-11 15:09:16 +00:00
Ralf Becker
fe6a0e906c automatic create and update links for custom fields linking to applicaton entries 2011-05-07 15:32:51 +00:00
Ralf Becker
7705b25ece history log widget "knows" now about custom fields and bo_tracking optionally initialises them too 2011-04-19 15:00:49 +00:00
Ralf Becker
6799864392 fixed wrong language in notifications 2010-05-20 19:32:52 +00:00
Ralf Becker
83b60b81fc Fixed r29141: "Add a checkbox to allow user to prevent notification of
changes to a ticket", to NOT prevent history logging, if checked
2010-03-07 14:45:12 +00:00
Jörg Lehrke
b75f5f9828 Change default timezone for tracking->datetime() to server-time 2010-02-05 16:41:04 +00:00
Jörg Lehrke
75746226a4 Use egw_time for InfoLog, tracking backend and Tracker 2010-02-04 12:08:03 +00:00
Ralf Becker
90f91bc9c7 "- fixed wrong languague in notifications, because translation->userlang was changed to a static class-var
- fixed sometimes wrong prefs for to notified user were used (because more then one user got notified)"
2009-11-03 10:19:48 +00:00
Ralf Becker
a00b86c0df "making send_notification public, as it's used by infolog" 2009-10-24 09:07:33 +00:00
Ralf Becker
b1e7fddde7 "making bo_tracking::datetime public again, as it's used outside of the class" 2009-10-23 09:47:15 +00:00
Ralf Becker
dbcf17972e "make 1:N relations more tolerant for none existing rows, gave a fatal error" 2009-10-19 12:24:34 +00:00
Ralf Becker
12c7f02be3 "fixed only first row got loged, as array_diff keys the index --> renumbering with array_values" 2009-10-14 19:01:36 +00:00
Klaus Leithoff
d7c2041872 making do_notification public again, as it is used for addressbook_contactform 2009-08-28 11:16:57 +00:00
Ralf Becker
c9882fe76e "fix for bug #2222: Since a one of the last SVN update... Unable to print a ticket... Blank page...
bo_tracking::get_body() was protected, now public again"
2009-08-26 06:27:43 +00:00
Ralf Becker
fdbf3b207b - added support for 1:N relations to history logging
--> added documentation for 1:N relations and general usage
- created a public method to determine if a record is changed,
  which can be called before an application to determine if
  saving is necessary (it's result can then be passed on to
  bo_tracking::track() to not compute the changed fields again)
2009-08-21 12:57:12 +00:00
Ralf Becker
d28f6f672c - fixed url recreation for links (use ? for get-params, if no ? in the
link)
- made bo_tracking abstract
- added default return null to bo_tracking::get_config and removed it
  from extensions implementing no config
- fixed signature of get_config($name,$data,$old=null)
2008-11-08 10:37:52 +00:00
Ralf Becker
ae044a9a08 allow to instanciate the historylog with a given user or 0 for
changes by the system itself (eg. async service). bo_tracking passes on
it's user param of the constructor.
2008-05-27 09:25:25 +00:00
Ralf Becker
c74789fc2c "removed unnecessary instanciation of old bolink class" 2008-05-15 12:41:20 +00:00
Ralf Becker
31f71a54e2 "fixed syntax error reported by uwe.redecker(at)hspl.de" 2008-05-13 05:56:00 +00:00
Ralf Becker
4885518b88 autoloading of addressbook classes 2008-05-10 12:06:15 +00:00
Ralf Becker
5fd2d8def8 removed unnecessary instancations and using static methods of html and egw_link class 2008-03-25 16:42:23 +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
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
15e9c36ca6 removed option for sending html mails or not cause this is decided now by the notification backends (as discussed on the list) 2007-12-05 09:05:57 +00:00
José Luis Gordo Romero
e74c6debaa Reverting the not working (sorry) fix till notifications gets updated to recieve non-accounts in the sender 2007-12-04 17:35:17 +00:00
José Luis Gordo Romero
f7255ea33c Fix sender in bo_tracking (was using this->user not ->get_sender) 2007-12-04 05:12:20 +00:00
Christian Binder
18cfa84d00 make tracking class aware of possibly missing notification app. if notification app is missing, send a mail, like we did it the old-style before. this behaviour gets changed if notification app is ready for sending notifications to external users. 2007-11-29 18:38:17 +00:00
José Luis Gordo Romero
b675c2b65b Fix regresion introduced by r24154 (the send object is newly created for ever
mail, til this get fixed in PHPMailer)
2007-11-27 15:05:14 +00:00
José Luis Gordo Romero
43d3ee1cf3 Little change to allow mixed (ascii & html) widget, all controll by htmlarea
parameters
2007-11-27 05:49:25 +00:00
José Luis Gordo Romero
3d9111ff69 Fix notify_current_user action in send_notifications (set by pref in botracker) 2007-11-25 08:14:50 +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
bcec4c6dbc fixed bug in new notifications: wrong function name and signature of get_body 2007-11-24 11:31:04 +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
Ralf Becker
5d9ff65391 - fixed not being able to switch off notification for responsible
- new preference for htmlmail with larger fontsize
- new preference for notification of responsible: only when I get assigned or removed
- notifications are now suppressed, if no changes made (according to save_history)
2007-06-21 16:25:08 +00:00