Commit Graph

881 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Nathan Gray
c4282c4946 Cleanup translations - move common stuff into preferences 2011-07-04 19:07:48 +00:00
Ralf Becker
dbced2bf48 fixed PHP Warning: array_key_exists(): The first argument should be either a string or an integer 2011-07-02 09:09:16 +00:00
Ralf Becker
34a990e6ac fixed since r29490 not working private attribute 2011-06-26 13:18:30 +00:00
Ralf Becker
ca68eb8089 fixed typo 2011-06-26 13:11:00 +00:00
Ralf Becker
04be4c57fe - new registry attribute "file_access_user" to signal "file_access" method understands new 4th parameter $user
- infolog implementation for it
--> allows to check if a given user has access to a files of app/id
2011-06-26 12:32:06 +00:00
Ralf Becker
9bcc95b3d7 fixed warning 2011-06-26 12:25:33 +00:00
Nathan Gray
275a1d3f27 Change category list links 2011-06-21 21:14:51 +00:00
Nathan Gray
d90a2c1ade - Set dates back to original timezone when done writing
- Use usertime for importing email, same as displayed in felamimail
2011-06-15 17:32:12 +00:00
Ralf Becker
1774e5674f support for multiple space or comma separated download dirs 2011-06-14 10:48:15 +00:00
Ralf Becker
220af27f60 Create template directory and set default document_dir preference of addressbook, calendar, infolog, tracker, timesheet and projectmanager 2011-06-11 11:57:51 +00:00
Nathan Gray
a70b03614f Give an error if user uses context menu to change type to one with a required custom field 2011-06-07 23:01:49 +00:00
Ralf Becker
db9d5bf6b1 switching legacy-actions off by default 2011-06-07 09:26:07 +00:00
Ralf Becker
ed8c386a12 using egw_refresh to allow fmail to ignore the saved/deleted message 2011-06-06 15:11:25 +00:00
Jörg Lehrke
768ef4c40e fix for egroupware.org bug #2824: SyncML ingnored multiline descriptions in infolog 2011-06-02 18:14:53 +00:00
Ralf Becker
d61ccc9bc4 icon to undelete 2011-06-01 15:52:47 +00:00
Ralf Becker
486e99ec0c - Implemented a hook for timesheet_ui::edit to query calling apps for additional information to set in new tickets incl. links.
Replaces existing $_GET parameters, which are hard to set for new action system.
- also adding category color to infolog and tracker
2011-05-30 14:21:27 +00:00
Ralf Becker
7de4e0108d infolog view uses now the edit popup in a readonly mode, reverting r34950, as it does not solve the problem for entries without edit rights 2011-05-18 14:18:37 +00:00
Ralf Becker
fe62956a96 allow to require custom fields to be filled out by users 2011-05-18 10:25:39 +00:00
Nathan Gray
6f2050fa7e Handle special case if viewing parent / sub and the parent has no (visible) sub entries 2011-05-16 15:53:03 +00:00
Ralf Becker
81ea3b639c - using now nm_(open|hide|submit)_popup and nm_action => 'open_popup'
- fixes not working actions in InfoLog list in Addressbook view
- fixed not working adding/removing of responsible users
2011-05-07 08:51:35 +00:00
Ralf Becker
d982883959 renamed 'action' to 'multi_action', as InfoLog already uses 'action' and using 'action' broke a lot existing functionality 2011-05-06 18:13:10 +00:00
Nathan Gray
ec61c6268f Allow documents in dirs other than user's preference dir by passing full path 2011-05-05 21:41:40 +00:00
Ralf Becker
1a0826b182 added undelete action and show parent infolog title for subs view (one sub only) in app_header 2011-05-05 10:18:38 +00:00
Ralf Becker
504b762ff7 fixed empty subs view, if subs are deleted and an other warning 2011-05-05 07:56:58 +00:00
Ralf Becker
c0c2a0ed0e - fixed not working delete - was commented ;-)
- using original labels, for which we have translations
- always confirm with popup, not javascript confirm (makes things a lot easier)
2011-05-05 06:30:44 +00:00
Nathan Gray
03cd666e8b Implement client side delete confirmation 2011-05-03 23:31:40 +00:00
Ralf Becker
19cb4ca8d4 - got delegation and link via context working
- fixed sometimes not working context, because row id was not set
- disabling close and close all if not applicable
2011-05-03 07:26:32 +00:00
Ralf Becker
30b922f30e - fixed not working switching legacy actions columns on again
- moved some translations to common
2011-05-03 06:26:56 +00:00
Nathan Gray
e92173afdd Work on context actions:
- Implement view of multiple selected parent / subs
- Implement link + delegation popups
- Fix filemanager action
- Change action selectbox to button, as in timesheet
2011-05-03 00:14:44 +00:00
Ralf Becker
1ef6edd5e8 Context menu for InfoLog: NOT YET COMPLETET, SOME STUFF WILL NOT WORK!
ToDo:
- implement view subs or parent from context
- test all context actions (some do not work)
- test CSS based disabling of actions
- change delegation or links popup not yet working (just an alert in index.js)
- delete of entries with subs (serverside confirmation displaying subs) probably not working
2011-05-02 19:41:21 +00:00
Ralf Becker
ba25d07453 svn propset svn:keywords Id 2011-05-02 13:59:29 +00:00
Ralf Becker
9c9276638e fixed wired indention 2011-04-27 16:33:23 +00:00
Ralf Becker
5c47626dc5 using new historylog custom field stuff, storing custom fields now on a per field basis 2011-04-20 06:31:45 +00:00
Nathan Gray
dd9d78d29a Make sure line breaks (emails) get preserved when merging 2011-04-18 18:54:11 +00:00
Nathan Gray
9f8aa313df Add pm_id & project to list of placeholders 2011-04-14 14:44:56 +00:00
Nathan Gray
ccbe2dfb04 Add project name to list of fields available for export 2011-04-14 14:40:29 +00:00
Nathan Gray
16cd36c017 Add Project ID to list of exportable fields 2011-04-13 18:53:37 +00:00
Ralf Becker
3d94b7a0c2 fix for bug #2935: Infolog edit broken in latest revision 2011-04-13 06:00:09 +00:00