Commit Graph

62 Commits

Author SHA1 Message Date
Nathan Gray
673c834015 Add a global signature to change messages. Set it in notifications site configuration. 2013-01-16 21:37:46 +00:00
Nathan Gray
b3440b3d19 Log an error if trying to merge and app has not implemented bo_tracking->id_field, and skip the merge 2013-01-15 15:49:56 +00:00
Ralf Becker
91573fd113 * Addressbook/InfoLog/Filemanager/Tracker: added or fixed formatting of certain custom field types using a single shared method 2012-08-09 12:43:52 +00:00
Ralf Becker
d8f0d17b9e ignore not set link cf's, eg. from sync clients 2012-07-31 16:17:02 +00:00
Klaus Leithoff
43c148681e switch off error logging of changed fields 2012-07-24 13:53:57 +00:00
Nathan Gray
6f2f28dcaa Format numbers inside writer tables as numbers 2012-06-26 16:48:46 +00:00
Ralf Becker
c4b9038719 fixed no more notifications send, if notification of group-members is NOT enabled 2012-03-13 15:48:42 +00:00
Ralf Becker
94544812c9 new method preferences->default_prefs($app=null,$name=null) to access default prefs, taking into account forced preferences 2012-03-01 20:59:16 +00:00
Nathan Gray
604d391537 * Infolog - Preferences to receive notification as member of owner group of Infolog Type 2012-02-27 21:28:55 +00:00
Ralf Becker
f83794bc83 * Notifications: fixed not correctly reset timezone after notifying users from other timezones 2012-02-22 12:33:15 +00:00
Ralf Becker
ab84acc81f 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:30:48 +00:00
Ralf Becker
3dc0e31fa9 * 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 #)
r37832: fixed fatal error calling widgetExists on a non-object
r37837: storing unsupported (valarm-)components like unsupported (X-)properties
r37854: need to load custom fields now allways, as x-props and unsupported components are stored there
2012-02-10 10:39:27 +00:00
Ralf Becker
36093fbd2a added missing semicolon to entity &#8203 and do an urldecode to get a nicer looking link 2011-09-06 07:42:08 +00:00
Klaus Leithoff
81e0720ee5 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; add missing static to get_details of notifications for tracker (backport r35727) 2011-07-13 07:36:27 +00:00
Ralf Becker
f1b2683e89 fixed multiline fields in notification message were all in one line 2011-07-02 09:37:04 +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