Commit Graph

963 Commits

Author SHA1 Message Date
Nathan Gray
efef1378d0 Missed changes to No filter 2013-06-03 19:54:11 +00:00
Ralf Becker
4c8c9dc93f fixed new eTemplate using InfoLog admin no longer stores multiple types as array, but comma-separated 2013-05-29 13:54:46 +00:00
Ralf Becker
8ebd18f33e * Tracker: widget to fetch tracker-data for custom print templates 2013-05-23 16:15:39 +00:00
Ralf Becker
163702b752 * Calendar: create InfoLog from event
added a general infolog_set hook like existing timesheet_set hook, to allow implementing apps to push further data to infolog, modified existing tracker code to use the hook too
2013-05-10 10:54:36 +00:00
Nathan Gray
867873824e Change key of no filter from 'none' to '' so No filters favorite works 2013-05-06 22:08:08 +00:00
Nathan Gray
78b2012334 Turn on favorites in infolog 2013-04-09 09:37:30 +00:00
Ralf Becker
051c724e37 * InfoLog/CalDAV: fixed initial sync of more then 60 contacts created doublicates (no REPORT filters were used) 2013-04-04 15:12:33 +00:00
Nathan Gray
81fbfc23cc Add general placeholder {{link}} is a link to current record 2013-03-19 20:56:58 +00:00
Nathan Gray
e8600c5db2 - Fix responsible edit fields not saved
- Change responsible edit to multi-checkbox widget instead of chosen
2013-03-19 15:44:38 +00:00
Nathan Gray
ab601bf94c Make sure global categories is infolog when in infolog. Other apps (tracker) may grab it first if we don't set it here 2013-03-18 23:22:51 +00:00
Ralf Becker
4df3295cce * CalDAV/InfoLog: fixed SQL error if client has multiple identical X-properties, eg. alarms 2013-03-07 15:55:40 +00:00
Klaus Leithoff
176307335e if mail app is available (detect for static function splitRowID), and import_mail is called with param rowid, use application mail for importing (creating infolog/tracker items from emails) 2013-03-05 14:47:00 +00:00
Nathan Gray
6d685e010a Add links/href & links/link to general placeholder list 2013-03-04 17:43:46 +00:00
Nathan Gray
a99deb4473 Get contact link working with et2 2013-02-08 13:46:08 +00:00
Nathan Gray
13d6b7e411 Fix missing modifer placeholder 2013-02-07 09:38:21 +00:00
Nathan Gray
ef826ee2b9 Change all merges to use common get_all_links() function 2013-02-07 09:36:07 +00:00
Ralf Becker
0dc3e5ab6f keeping infolog_bo::$ignore_acl within the class 2013-02-07 09:28:31 +00:00
Klaus Leithoff
2bc84411e2 introduce static variable ignore_acl for the use in async infolog notification to make sure that we are able to resolve infolog specific placeholders for notification/signature merge 2013-02-06 13:21:21 +00:00
Ralf Becker
7ebb83b772 optional parameter to ignore acl on read 2013-02-06 10:17:36 +00:00
Nathan Gray
ad36ac309a Move site config over to etemplate, and move custom notifications into site config 2013-01-31 19:39:01 +00:00
Nathan Gray
ede9d83142 Implement custom notification messages for infolog 2013-01-30 23:12:52 +00:00
Nathan Gray
955be2c365 Move calendar preferences to bottom 2013-01-23 15:54:40 +00:00
Nathan Gray
8d3b47863d Move calendar stuff to general settings 2013-01-22 15:12:50 +00:00
Nathan Gray
f24ba11088 Organise preferences 2013-01-21 20:28:13 +00:00
Nathan Gray
66b22128c4 Implement Import dialog No notifications checkbox 2013-01-14 22:59:08 +00:00
Nathan Gray
97fea10521 - Add/fix labels for creation date, pricelist
- Fix export filtering on assigned
2013-01-02 18:14:05 +00:00
Nathan Gray
ee6834ca54 Implement export filters 2012-12-31 20:38:00 +00:00
Klaus Leithoff
90edebaa72 make sure we use the current icServerID when calling import_mail 2012-11-21 11:43:20 +00:00
Ralf Becker
04017a728b * InfoLog: switching to a group-type resets access to "public" and disables access in edit 2012-11-13 12:07:10 +00:00
Klaus Leithoff
b9192c0f4c attempt to improve overlong-word-control behavior 2012-11-07 07:52:59 +00:00
Nathan Gray
4f59f282a0 If exporting a single record, name the download file accordingly 2012-10-16 18:45:13 +00:00
Nathan Gray
fc8a139f23 Add 'None' category option to context menu for all apps using nextmatch::category_action() 2012-10-15 17:57:58 +00:00
Nathan Gray
e339d9c29f Add early detection of type to load appropriate statuses 2012-10-10 16:01:26 +00:00
Nathan Gray
7d568d90c7 Add replanned time as trackable in history (also adds as exportable field) 2012-10-10 15:27:43 +00:00
Nathan Gray
6fdcae2995 Fix missing status field on export 2012-10-10 15:18:43 +00:00
Nathan Gray
8ceccb552c Add priority to import lookup values 2012-10-10 15:00:54 +00:00
Nathan Gray
074cab0f67 Fix invalid type when importing - typo, and also check translated type too 2012-10-09 15:57:17 +00:00
Christian Binder
2fbf1d36e8 document merge helper function to allow download by HTTP POST request 2012-09-29 10:16:39 +00:00
Ralf Becker
52675388a3 * CalDAV/CardDAV: sync-collection report for all apps allowing a more efficient sync 2012-09-26 14:30:47 +00:00
Ralf Becker
f224fe5852 sync-collection report for InfoLog, thought reminder app on OS X 10.8.2 does not use it, moved logic for sync-token to baseclass and determine availablity on supported-report-set 2012-09-24 10:26:29 +00:00
Ralf Becker
7a3d4f99ed * InfoLog/CalDAV/eSync: deleted entries where not taken into account for ctag generation, causing deletes only to sync after other modifications 2012-09-24 08:53:41 +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
3918f2606c * InfoLog/CalDAV: preference allowing to modify responsible user from devices not supporting them by setting EMail address as category 2012-07-20 13:06:47 +00:00
Nathan Gray
ee440ce548 Add special exception for deleted, since it's not in the list of statuses 2012-07-16 22:42:15 +00:00
Nathan Gray
1630d99bac * Add parent to history 2012-07-09 16:57:53 +00:00
Christian Binder
f81fd11435 tag applications which have implemented document merge 2012-07-04 17:00:03 +00:00
Ralf Becker
b025809df1 * CalDAV/CardDAV expand-property report for principals used in iCal on OS X 10.7 2012-06-27 20:08:56 +00:00
Ralf Becker
3aac26d1ab * ProjectManager: allow datasources (eg. InfoLog) to set element category, update existing categories in elements to overwritten categories 2012-06-19 16:51:41 +00:00
Ralf Becker
aa58708ffd * ProjectManager/InfoLog: visualisation if InfoLog has a parent or sub-entries (up-arrow or right-arrow like in InfoLog) 2012-06-19 14:44:13 +00:00
Nathan Gray
b80570cd66 Fix view parent / subs action for et2 2012-06-18 18:52:05 +00:00
Ralf Becker
04aa8f3572 * InfoLog: use type or category, when creating new entries in subs-view and stay in subs-view when storing an entry in a popup 2012-06-14 12:06:33 +00:00
Nathan Gray
a184fbcf20 Handle action_popup namespace, if present 2012-06-06 20:44:39 +00:00
Ralf Becker
3d703b4bbe * InfoLog/CalDAV: set status of new tasks to NEEDS-ACTION (not started), if client does not specify a status or completion (was set to DONE before) 2012-06-05 15:18:37 +00:00
Ralf Becker
0b28bf094f applied fix proposed on devel list, working around "PHP Warning:
Parameter 1 to boinfolog::write() expected to be a reference, value given"
2012-06-05 07:04:03 +00:00
Ralf Becker
ed5c5593c3 * InfoLog: status filter in index shows now cumulated list of all status translations, if no type is selected (as context menu does too) 2012-05-22 17:39:28 +00:00
Ralf Becker
6ff1db3534 * Preferences all apps: add validation for vfs files and directories to give user immediate feedback about wrong or non vfs pathes 2012-05-22 13:51:30 +00:00
Ralf Becker
619691e462 * InfoLog: change status in context menu shows now labels and icons from all types and fixed my.stylite.de bug #3359: not being able to set custom status 2012-05-15 16:24:06 +00:00
Ralf Becker
60c5847df3 * InfoLog: if searching do not suppress sub-entries (user preference "List no subs/childs" set) 2012-05-15 14:27:26 +00:00
Nathan Gray
286c6331a0 If statis is not valid for selected type, clear status filter 2012-05-14 16:53:35 +00:00
Nathan Gray
c383da7f23 Load details/no details column selection preferences (et2) 2012-05-08 17:06:53 +00:00
Ralf Becker
bab316fac8 * ProjectManager/InfoLog: fixed custom type icon in PM to use status label, as in InfoLog 2012-05-08 16:10:12 +00:00
Klaus Leithoff
1c6649a929 * infolog/notification: fix for ->primary link not shown in notification on first save<- (Helpdesk#3290) 2012-05-08 12:38:32 +00:00
Ralf Becker
34edd70a5f * InfoLog: explicitly name tabs in infolog.edit, to get disabeling of tabs working, even if template added custom ones 2012-05-08 09:58:45 +00:00
Ralf Becker
c939232fee * InfoLog: fixed subs view to display only selected custom-fields of parent 2012-05-08 09:43:22 +00:00
Nathan Gray
7184574fab Get details filter working in et & et2 2012-04-30 20:29:34 +00:00
Nathan Gray
b0ea2a5e63 Fix missing select lookups 2012-04-25 17:47:49 +00:00
Nathan Gray
cb6ad85fb3 Make sure link_to is an array before trying to use it as one 2012-04-25 16:50:15 +00:00
Ralf Becker
c571975c83 * InfoLog: remove group-types user has not any rights to as filter in list 2012-04-24 10:15:47 +00:00
Nathan Gray
e3ef32aa08 Fix missing translations in export 2012-04-23 19:42:59 +00:00
Ralf Becker
2dac72f0da Schdule was only save new entries, not existing ones which got updated (only if you edit rights), same for ical export 2012-04-23 12:01:37 +00:00
Nathan Gray
335c025e68 Give required bo parameter 2012-04-18 17:48:10 +00:00
Nathan Gray
9cb6cf0caa Fix missed file extension 2012-04-18 15:33:20 +00:00
Nathan Gray
c59c0fe22f Human value lookups for priority, type & status 2012-04-17 16:37:38 +00:00
Nathan Gray
4ab0a5a30d Make sure info_contact is a string before trying to explode it 2012-04-16 21:53:19 +00:00
Ralf Becker
71d669e951 * InfoLog: fix export of multiple InfoLogs (no METHOD, only one VERSION, PRODID and correct dates) 2012-04-11 16:51:23 +00:00
Nathan Gray
d01e0bca04 Update end date (due date) to date-time instead of date to match current type 2012-04-10 14:35:52 +00:00
Nathan Gray
42732239ec Remove old CSV import 2012-04-05 18:36:43 +00:00
Nathan Gray
f6ac7b8419 Use Horde to export multiple infologs 2012-04-05 15:57:06 +00:00
Nathan Gray
1bf66486ae Add import iCal Import/Export plugin for infolog 2012-04-04 15:07:16 +00:00
Ralf Becker
9ff981b697 * InfoLog: remember filter to restore it after viewing subs or an other action-view 2012-04-04 11:57:06 +00:00
Ralf Becker
eef6f439f3 * InfoLog: show time of duedate in notifications if set (!= 0:00) 2012-04-04 10:37:23 +00:00
Ralf Becker
4523e8bfba * InfoLog/CalDAV: add support for responsible as iCal ATTENDEE, make sure not to empty InfoLog fields not supported by iCal standard 2012-04-03 16:06:42 +00:00
Nathan Gray
26513d715f Add ical export to edit 'Actions' selectbox, and list context menu 2012-04-02 23:08:20 +00:00
Nathan Gray
62ff285d1e Add ical export plugin 2012-04-02 22:46:01 +00:00
Nathan Gray
57602e41ca Expand link_to custom fields and make available all placeholders from the app.
eg: {{#address}} gives the link title, but now you can use {{#address/n_fn}}, {{#address/email}}, etc.
2012-04-02 21:25:42 +00:00
Ralf Becker
4cdc5f39c1 support for parent_id and is_parent 2012-03-30 12:28:31 +00:00
Ralf Becker
cc23776f13 fixed status-icon and subject-class got lost 2012-03-23 15:05:22 +00:00
Ralf Becker
d0c3d82eaa not unsetting query[col_filter][info_id] as it is needed for etemplate2 (and unnecessary anyway), setting row_modified=info_datemodified to allow to check if entries are modified and need to send to client 2012-03-23 14:41:07 +00:00
Ralf Becker
92ddbf9a6d * InfoLog: new config for copying or creating sub-entries to exclude just attachments (was links including attachments and links to other apps), fixed deleting attachments in copys/subs before storing them, deleted original attachment 2012-03-22 15:33:20 +00:00
Ralf Becker
76d566d137 * InfoLog/CalDAV: fixed not working toggeling of completed from iOS reminder app (only sets COMPLETED, but never STATUS or PERCENT-COMPLETED)
not returning etag for modified entries, as client then keeps not updated X-INFOLOG-STATUS, sending no etag we force him to update from server
2012-03-22 12:15:18 +00:00
Ralf Becker
cd2cc35b73 * InfoLog: icons to visualise entry has a parent or subs, using these icons (arrow left or up) in context-menu too 2012-03-20 11:18:33 +00:00
Nathan Gray
5f1c65b31e Give proper error messages for modification error as well as permissions error 2012-03-19 18:45:14 +00:00
Ralf Becker
cbc87ce197 * InfoLog CSV import: do not notify a 2nd time when primary link get set (UI does not do it either)
fixed wired formatting of 8 space instead of tab and removed xmlrpc like call by introducing new parameter value 2=only update modifier
2012-03-09 09:22:15 +00:00
Ralf Becker
1b345bbf36 * InfoLog/CalDAV: fixed wrong timezone used for iCal generation
times where read in server-time, but infolog_ical was told it is user-time, now set to server-time in infolog_groupdav::get_handler()
2012-03-08 16:23:43 +00:00
Ralf Becker
f676a23821 fixes for PHP 5.4 warnings and strict warnings, thought disabled E_STRICT for now, because of various strict warnings in working code, which could not be easy fixed in all areas (see comment in phpgwapi/inc/functions.inc.php) 2012-03-04 13:33:10 +00:00
Nathan Gray
3ad4a94fa9 Make warning about missing type into error 2012-03-02 17:36:03 +00:00
Nathan Gray
28f90f8554 Add current record to the end of errors / warnings 2012-02-29 17:24:42 +00:00
Nathan Gray
a0128663ed Give a warning if imported type is not valid 2012-02-29 00:39:09 +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
3e5e2156c1 allow to unset default info_des from sub_excludefields 2012-02-24 10:31:43 +00:00
Ralf Becker
3015287833 fixed not working storing of sub_excludefields and translations 2012-02-24 10:01:40 +00:00
Ralf Becker
ec694d4a4f * InfoLog: make fields excluded from copying to a new sub-entry configurable and add scheduling an appointment to action
refactured copy and sub creation into one method, as they do essentialy the same thing with just setting the parent and excluding different configurable fields
2012-02-24 09:29:27 +00:00
Ralf Becker
2f2a252b51 * InfoLog: fixed multiple [apply] after copying an InfoLog creates multiple new infologs 2012-02-23 16:42:58 +00:00
Ralf Becker
26bebbedd9 * InfoLog/Calendar: renamed context menu "Calendar" to "Schedule appointment" and make preset participants configurable, allow to config prefix for sub-entries and allow times in due-date 2012-02-22 12:31:00 +00:00
Ralf Becker
2bc821f428 use groupdav->log() for all permanent error-messages, to log the into request-log too, if both If-Match and If-Schdule-Tag-Match given use If-Match for organiser/owner and If-Schedule-Tag-Match for attendees/participants 2012-02-21 20:04:45 +00:00
Ralf Becker
0037bf4077 * InfoLog/CalDAV: fixed sub-entries created in WebGUI got identical caldav_name as parent and therefore updates of sub-entries did not work as expected 2012-02-18 13:39:56 +00:00
Nathan Gray
f175a12c6e Reset warnings before starting import 2012-02-14 18:34:44 +00:00
Ralf Becker
2939d7bbf3 propagate data from settings hook to handlers, to fix failed installs because setup was not detected 2012-02-14 17:38:45 +00:00
Nathan Gray
4f669300a4 When merging into a spreadsheet document, convert dates into SS dates 2012-02-13 18:59:00 +00:00
Ralf Becker
3ecd71cbc7 switch off permanent error-log 2012-02-09 20:15:18 +00:00
Nathan Gray
88cd6de65f Process infolog start date as a timestamp, instead of just date 2012-02-06 16:22:35 +00:00
Ralf Becker
d89f48d9c1 implement RFC 5995 add member to collection via POST, but not yet set DAV:add-member due to problems with OS X clients 2012-02-04 20:24:01 +00:00
Ralf Becker
c5ca42a4b1 move app-specific settings to app-handler 2012-02-04 01:24:34 +00:00
Nathan Gray
670dcdcb71 Improve link warning message to show actual data tried 2012-02-02 17:22:23 +00:00
Ralf Becker
349b237f25 fixed messed up indention 2012-01-31 18:01:16 +00:00
Ralf Becker
ca28153b25 need to load custom fields now allways, as x-props and unsupported components are stored there 2012-01-31 18:00:57 +00:00
Ralf Becker
c3cadea4f4 storing unsupported (valarm-)components like unsupported (X-)properties 2012-01-31 01:02:21 +00:00
Ralf Becker
1f93855172 fill displayname for contacts and task to easier identify it in autoindex 2012-01-31 00:37:01 +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
d401bcc3ad * InfoLog/CalDAV: allow updates with implicite rights of responsible user, InfoLog type is kept on update, deduct not set status of client from completed(-percent) 2012-01-26 01:49:56 +00:00
Ralf Becker
c9b0ad39f7 [Save] missing for edit with implicit rights only, [Apply] was there 2012-01-26 01:43:14 +00:00
Nathan Gray
642ae665f8 - Use warnings returned by convert (unknown names)
- Check foreign key link during dry-run
2012-01-25 18:14:57 +00:00
Nathan Gray
3f4016ef38 Add a warning if the only delegated is unknown 2012-01-23 16:16:50 +00:00
Nathan Gray
ca1c9e681a Give an error if the custom field we're supposed to be matching against can't be found 2012-01-20 19:51:03 +00:00
Nathan Gray
c34aa3a335 Fix importing responsible, when there are more than 1 user responsible 2012-01-20 15:54:10 +00:00
Klaus Leithoff
01dfdbbe75 add priority to the sel_options in case someone wants to display the priority as stand alone column 2012-01-09 09:35:30 +00:00
Nathan Gray
2a2880dd75 Exclude primary link from link lists 2012-01-06 17:28:55 +00:00
Nathan Gray
2e9866bab9 Add mergeprint tag for links to a specified application: links/appname 2012-01-05 17:43:44 +00:00
Nathan Gray
8d6c063ae2 Properly quote foreign key before searching 2011-12-27 15:36:35 +00:00
Nathan Gray
a76985d1d2 Fix bug causing too many results from foreign key search 2011-12-23 15:41:28 +00:00
Nathan Gray
a07cc48066 Restore pm_id & project merge markers 2011-12-22 16:21:34 +00:00
Klaus Leithoff
afe3b0a07f * infolog/esync: fix for -> tasks created on device where set to completed all the time <- 2011-12-19 10:08:02 +00:00
Nathan Gray
0185866263 If unable to link, give a warning instead of an error 2011-12-15 16:57:15 +00:00
Nathan Gray
f6a443a917 Add warnings to import plugin 2011-12-15 16:24:47 +00:00
Nathan Gray
3ca10ad0c5 Add ability to create tracker from infolog to the infolog context menu 2011-12-13 18:25:08 +00:00
Nathan Gray
2f4d8848c5 - Remove previously added hook & base class, turns out there's an established way to do it...
- Use existing link_app type hook to create calendar from infolog
2011-12-12 21:51:12 +00:00
Nathan Gray
0d78c2e919 Add ability to link to another record based on matching custom field when importing
For translation, use '<appname>:<cf_name>:|[field_index]', eg addressbook:import_id:|[5] where field_index is the index of the field with the value to match
2011-12-12 20:32:45 +00:00
Nathan Gray
332427277d Add ability to create calendar entries from infolog entries, using new base so other apps can be added (hopefully) easily later 2011-12-08 23:20:49 +00:00
Nathan Gray
7b2fd55d83 Change Startdate & Enddate to match UI, Start date & Due date 2011-12-08 15:25:56 +00:00
Nathan Gray
fb4982c118 Avoid failing on modification date check, which looked like a permission error. 2011-12-07 16:37:56 +00:00
Nathan Gray
7f48378cff ADD ACL doesn't mean add in infolog, so use edit OR add for new entries 2011-12-07 15:28:32 +00:00
Nathan Gray
5b5a6bb625 Add check for add access if entry to be saved has no ID, and type has an owner - prevents inserting (importing) into restricted types 2011-12-06 23:30:48 +00:00
Nathan Gray
f7b8997be3 Set default status when importing, if not specified in file 2011-12-06 23:05:46 +00:00
Nathan Gray
abe612461c Fix conditions using custom fields - needed extra query key 2011-11-30 18:01:29 +00:00
Nathan Gray
9db9804c14 Exclude vfs when looking for info_link_id links, doesn't look possible to link to a file for this field 2011-11-29 00:42:00 +00:00
Nathan Gray
eb95a1b1db Search & process records in batches of 500, pre-load info_link_id in one query 2011-11-29 00:21:15 +00:00
Nathan Gray
5d77dbfdc9 Optimizations:
- Only load bo once in egw_record, and re-use it
- Only load projects if requested in the export definition, and do it all at once
2011-11-25 23:10:39 +00:00
Nathan Gray
e5cbfc5601 Move handling of filter by date from user interface into logic layer 2011-11-24 17:56:05 +00:00
Klaus Leithoff
b11e7f9291 fixing an en/de- coding issue, regarding the attaching of an .eml file to the infolog in question when converting an email -with german umlauts within the subject line- to infolog and adding the original email to it. 2011-11-21 12:41:58 +00:00
Ralf Becker
7c9dd8086f changed "No defintion" to "Old fixed definition" 2011-11-21 10:01:08 +00:00