Hadi Nategh
76d22e8515
Fix some IDE warning
2015-05-21 14:22:51 +00:00
Nathan Gray
da3d0d23c4
- Use link registry to open notification links
...
- Fix mark all notifications as read on popup close
2014-12-15 19:09:22 +00:00
Ralf Becker
674fd0736a
fix PHP Fatal error: Access to undeclared static property: customfields_widget::$non_printable_fields
2014-11-19 13:24:12 +00:00
Nathan Gray
3230554c01
Add a config setting 'assigned' to allow extending classes to provide assigned users in a way other than a specific entry field.
2014-05-07 20:54:53 +00:00
Ralf Becker
65ef45630b
change send_notifications to always restore modifications on user-enviroment, before returning
2013-08-30 13:48:47 +00:00
Klaus Leithoff
7744905ba8
try to resolve a use-session-stored-data related problem; make sure account_id and prefs are restored after send_notification
2013-08-30 12:57:51 +00:00
Klaus Leithoff
2f25201e72
implement the possibility to return multiple lines on get_message for tracking; allow transformation of --- into horizontal rule on html on get_message
2013-08-20 10:53:17 +00:00
Nathan Gray
fefdb42340
Change comment caching to object level instead of class level to prevent revealing restricted comments
2013-08-09 16:23:50 +00:00
Klaus Leithoff
fbc28c9b62
attempt to fix problem of comment-visiblity on multiple assignments of the ticket in question
2013-07-31 10:22:07 +00:00
Ralf Becker
92e0ee86a5
* All apps: allow to log user-agent and action of all changes in history-log of entries (enable in Admin >> Site configuration)
2013-07-11 13:09:23 +00:00
Ralf Becker
27a40efc84
async notifications can NOT use a single static variable as cache, as it will be used for all the different entries notified
...
--> using a class variable (different per app) and indexing cache be id or entry
2013-03-22 14:34:31 +00:00
Ralf Becker
7cc358b526
fixed not working link in notifications / subscribtions, if path contains eg. a space
...
caused by unnecessary appended path=... url parameter breaking WebDAV, added new config to NOT add it, as not setting id causes signature to fail
2013-03-20 09:55:30 +00:00
Nathan Gray
e7b7b78e92
Re-init egw_time so it gets the appropriate preferences for the notification
2013-03-18 23:41:10 +00:00
Nathan Gray
1236f38a5b
Fix extra <br />s in HTML emails, cache notification body instead of re-doing for every notified user
2013-02-22 18:35:33 +00:00
Nathan Gray
b272fb2cf5
Implement custom notification messages (with placeholders) generally so all apps can use them
2013-01-30 23:10:18 +00:00
Nathan Gray
a23f04ca2f
Log an error if trying to merge and app has not implemented bo_tracking->id_field, and skip the merge
2013-01-14 18:25:07 +00:00
Nathan Gray
a0738bd2f4
Add a global signature to change messages. Set it in notifications site configuration.
2012-12-17 23:18:28 +00:00
Ralf Becker
f7fa8ea37e
* Addressbook/InfoLog/Filemanager/Tracker: added or fixed formatting of certain custom field types using a single shared method
2012-08-09 12:41:47 +00:00
Ralf Becker
7986d3cb14
ignore not set link cf's, eg. from sync clients
2012-07-31 16:16:33 +00:00
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 ​ 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