Commit Graph

1376 Commits

Author SHA1 Message Date
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
07d22ef3be SQL for a view of infolog table using real account-names and timestamps 2012-04-23 15:18:34 +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
Nathan Gray
5750283488 Give contact a little more space 2012-04-16 21:34:38 +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
ed2faae25b Remove sub action column completely 2012-04-10 21:13:01 +00:00
Nathan Gray
383a78768f Get delete confirm popup working with et2 as well as old etemplate 2012-04-10 20:28:31 +00:00
Nathan Gray
f50c5f2799 Update for setup too (r38856) 2012-04-10 15:47:07 +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
455cc8a5d8 Make js work with et2 structure 2012-04-09 21:36:10 +00:00
Nathan Gray
e1facc1033 Fix custom contact info for et2 to start hidden 2012-04-09 21:22:30 +00:00
Nathan Gray
eb64007026 Change Sub to use a nm header, so column can be turned off 2012-04-05 21:37:30 +00:00
Nathan Gray
8d9c033cbf Check to make sure element is there before looking inside 2012-04-05 20:16:54 +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
139c890aed Fix 'undefined' as progress tooltip to percentage completed 2012-04-04 22:18:26 +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
Nathan Gray
74a79dfad9 Fix link action popup 2012-04-02 19:20:33 +00:00
Ralf Becker
4cdc5f39c1 support for parent_id and is_parent 2012-03-30 12:28:31 +00:00
Ralf Becker
038cff2b6d wider parent search box 2012-03-28 08:23:45 +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
e26500aae7 move "check all" phrase to etemplate and added "uncheck all" 2012-03-22 15:46:47 +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
0fb77619a8 add some padding to leave space for hasChildren or hasParent icon 2012-03-22 09:06:48 +00:00
Ralf Becker
15d8b369f5 if status changed to ongoing, set percent to 10 2012-03-22 08:49:50 +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
5b4c2898b1 * InfoLog: if one of status, percent or datecompleted changed, change others to reasonable values 2012-03-18 14:44:16 +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
e75a93713a Translation for error message in #37485 2011-12-12 20:40:19 +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
Nathan Gray
1afba81ce8 Add 'No definition' option for default export definition preference. Allows use of legacy nextmatch CSV export with Import/Export app still available 2011-11-18 16:01:57 +00:00
Klaus Leithoff
8fdb682c90 add missing config translation for new config option to exclude fields from copying 2011-11-18 08:48:28 +00:00
Klaus Leithoff
8f0f3a92c3 * eMail/infolog: mail to infolog, preference (and action) to allow the additional attaching of the raw mail message as message/rfc822 (.eml) to the entry 2011-11-17 16:05:36 +00:00
Ralf Becker
f255a2396a new InfoLog configuration: Load custom fields in index, if filtered by selected types (eg. to display them in a type-specific index template) 2011-11-17 09:30:30 +00:00
Hans-Jürgen Tappe
eceec44c78 Fix a typo. 2011-11-12 09:50:45 +00:00
Klaus Leithoff
3541fc7129 fix bug regarding the default of info_status 2011-11-10 14:14:35 +00:00
Klaus Leithoff
c5946b62ce fix bug regarding the saving of excluded field (once selected, you could not deselect fields) 2011-11-10 14:05:03 +00:00
Klaus Leithoff
2946928c69 add function header/doku for get_validtypes 2011-11-10 13:44:57 +00:00
Klaus Leithoff
5869d59d12 while copying infologs - handle defaults 2011-11-10 13:38:23 +00:00
Klaus Leithoff
0d916de566 * infolog: allow to exclude fields while copying an infolog entry; done via infolog->configuration 2011-11-10 12:17:35 +00:00
Nathan Gray
5878768532 Change {{links}} to exclude files, {{links_attachments}} is everything 2011-10-26 15:06:37 +00:00
Nathan Gray
79c669c6cb Add placeholder for attachments 2011-10-25 22:52:34 +00:00
Nathan Gray
adfe721ba7 Implement links placeholder 2011-10-25 22:39:16 +00:00
Philip Herbert
0b924e9e6e esync: fix for not updated calender, contact, task on device if only description or note was changed in EGroupware. Also fixing issue that values in these fields could not be deleted on several devices. 2011-10-23 18:16:41 +00:00
Ralf Becker
e3eed0533c seems iCalendar::getAttribute() can return a PEAR_Error too 2011-10-23 08:35:38 +00:00
Ralf Becker
d898e6c627 calendar-timezone needs full vcalendar component, not just a vtimezone 2011-10-20 14:01:16 +00:00
Ralf Becker
ceaec3d3c1 added calendar-timezone property, changed groupdav_handler::extra_properties signature (removed static and added $user parameter), removed calendar-user-address-set property belonging only to principal 2011-10-20 13:35:01 +00:00
Ralf Becker
fe05746b11 remove unusual and unnecessary "EGw-...-wGE" prefix/postfix from etag and ctag 2011-10-11 17:30:15 +00:00
Ralf Becker
c2f74d0c72 * CalDAV: fixed wrong VTIMEZONE component generated (has to be in UTC), probably fixes bug #2984: Problem with VTIMEZONE component generated for NZ 2011-10-08 18:40:29 +00:00
Ralf Becker
4613f6eb8a even as EGroupware only displays the date, we can still store the full value, it only get truncated, when infolog get saved in webgui 2011-10-08 12:46:56 +00:00
Ralf Becker
b2fa12eb3e remove unusual and unnecessary "EGw-...-wGE" prefix/postfix from etag and ctag 2011-10-08 11:34:55 +00:00
Ralf Becker
e9f4f4f3b3 if client set an own filter, reset the open-standard filter 2011-10-07 09:05:11 +00:00
Ralf Becker
8f0abbe004 implemented rfc4791#section-9.9 complient time-range filter 2011-10-06 10:29:01 +00:00
Ralf Becker
f1029c07c9 added EGroupware PRODID and DURATION for VTODO 2011-10-05 09:24:08 +00:00
Ralf Becker
e05ce4d614 enclosing etag in quotes, as most servers do 2011-10-05 08:15:24 +00:00
Ralf Becker
23584253fd not returning deleted entries for read, as they might have identical UID for caldav_name as a non-deleted entry and would therefore block access to these 2011-10-04 14:18:35 +00:00
Ralf Becker
0de2f3c527 fixed profind depth 0 directly on a resource contains name-part twice 2011-10-04 12:16:03 +00:00
Ralf Becker
288a88239b we should not return an etag here, as we never store the PUT ical byte-by-byte 2011-10-03 15:48:24 +00:00
Ralf Becker
175197d7c0 * CalDAV: no METHOD:PUBLISH for CalDAV outside the inbox 2011-10-03 12:53:28 +00:00
Philip Herbert
e34de4afe8 esync/infolog plugin, complete status can now be set/reset 2011-09-30 14:28:26 +00:00
Ralf Becker
b11fa0302f * CalDAV/GroupDAV: return empty collection, as iCal under iOS 5 had problems with returning "404 Not found" status 2011-09-30 12:52:40 +00:00
Philip Herbert
90bc88449a fixed typo 2011-09-30 09:32:16 +00:00
Klaus Leithoff
65d63c3fb5 make sure, we use the info_id on conditional actions 2011-09-29 13:01:32 +00:00
Ralf Becker
79e51d3cb8 fixed $infolog is no array 2011-09-29 10:55:00 +00:00
Ralf Becker
4889fd91b8 documented infolog_bo::getctag() signature and fixed call in infolog_activesync (disabled call to not used and currently broken egw_index) 2011-09-29 06:17:42 +00:00
Philip Herbert
1284adbccf esync:commit work in progress, infolog plugin - not yet working 2011-09-28 23:21:49 +00:00
Ralf Becker
620ae14f9a * eSync/InfoLog: InfoLog support for ActiveSync, not yet tested, as I have currently no device to test 2011-09-28 13:16:40 +00:00
Ralf Becker
c4865bb067 * CalDAV/GroupDAV/InfoLog: making synced InfoLog types configurable and moved getctag method to infolog_bo in preparation of InfoLog eSync support 2011-09-28 12:37:06 +00:00
Ralf Becker
bb4b9819b0 * CalDAV/GroupDAV/InfoLog: making synced InfoLog types configurable and moved getctag method to infolog_bo in preparation of InfoLog eSync support 2011-09-28 12:35:53 +00:00
Ralf Becker
1f39e5c562 - added WebDAV ACL props supported-privilege-set and current-user-privilege-set
+ currently only standard WebDAV privileges: read, read-current-user-privilege-set, write-content, bind and unbind used
  + they get only queried for collections, thought we dont report any write* on collections, as we dont allow to create calendars or change properties
- new groupdav::add_resource() method used to add all resources (incl. collections) to propfind or report requests
- improved autoindex to show nicely indented hierarchical properties
2011-09-21 20:08:21 +00:00
Ralf Becker
03ed1d3ddb - refactored code to use a single add_collection method in groupdav class
--> app groupdav classes now get calling groupdav object as parameter
Had a quick test with iOS & OS X addressbook, calendar and with Lightning
2011-09-18 10:56:56 +00:00
Ralf Becker
89847abae6 added "progress"(-bar) widget to differ from image and using it in templates 2011-09-08 19:00:57 +00:00
Ralf Becker
41952d70ea removed not used config 2011-09-08 18:59:02 +00:00
Klaus Leithoff
8d9003fbf8 fix bug that prevented the editing of own infologs, if no grouprights are set, and history config for application infolog is not set 2011-07-07 08:19:31 +00:00
Nathan Gray
aab8157907 Translation for placeholder labels 2011-07-05 21:44:21 +00:00
Nathan Gray
e1fce75a74 Cleanup translations - common importexport stuff 2011-07-04 20:06:30 +00:00
Nathan Gray
d3ccca9874 Fix missing appname 2011-07-04 20:04:42 +00:00
Nathan Gray
31d1e20bdc Fix typo: definitition -> definition 2011-07-04 20:00:26 +00:00