Commit Graph

18383 Commits

Author SHA1 Message Date
Nathan Gray
d629b6322e HTTP not supported by is_readable(), so use headers to determine if file is readable 2011-12-13 17:42:32 +00:00
Nathan Gray
3c30791c5c When creating calendar from infolog, don't add the currently selected calendar users, just the ones from infolog 2011-12-13 17:38:09 +00:00
Nathan Gray
27b45f92be Even if not successful, attempts count as row processed 2011-12-13 16:07:49 +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
3c7a918a4f Add 'errors' to notification subject 2011-12-12 17:24:27 +00:00
Nathan Gray
193267be20 - Show error details in email
- Fix 'Array ...deleted' result
- Avoid some warnings from stuff not being arrays
2011-12-12 17:23:24 +00:00
Nathan Gray
2eee7a5119 Fix missing >< when merging to XML, caused by double escaping 2011-12-09 21:00:57 +00:00
Nathan Gray
f3bbd83e0d Fix typo 2011-12-09 19:11:14 +00:00
Nathan Gray
20bb80effb - Silence some warnings
- Send notification to scheduling user about any errors during import/export - does not include full list of errors
2011-12-09 18:44:29 +00:00
Nathan Gray
d93f9f4869 Only use the translation from wizard if it's there, otherwise leave it alone 2011-12-09 17:49:22 +00:00
Nathan Gray
867b0f5343 Set currentapp to addressbook so existing categories are properly detected 2011-12-09 17:49:05 +00:00
Nathan Gray
68a970f5d6 Fix deleting scheduled import/exports 2011-12-09 16:25:17 +00:00
Klaus Leithoff
9ae32b68a0 * API: fixed a reported deprecated warning on logout when using CAS 2011-12-09 10:55:40 +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
d4cda9a91a - Fix broken encodings by using export_csv's fputcsv
- Include set charset in HTTP header
2011-12-08 17:27:16 +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
0b9b48b6da - Change schedule list to display results & errors from each file
- Process files in a directory oldest->newest
- Change display of 'Last run', was last successful run, now last attempt
- Fix display of next run, updates even if errors
- If errors are encountered (not writable, definition not found) don't block other async jobs
2011-12-07 20:05:02 +00:00
Nathan Gray
5f815928f4 Improve handling / display of error messages 2011-12-07 17:18:08 +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
ada529a9d5 - Remove standard encodings from extra charset list
- Add extra charsets to export too
2011-12-07 00:12:18 +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
Klaus Leithoff
220afbf728 * calendar/esync: active-sync does NOT want calendar owner as participant 2011-12-06 14:00:04 +00:00
Nathan Gray
225317c0b3 Scheduled imports now can operate on a folder to import all files in folder. If successful, improted files can be deleted after import. 2011-12-06 00:44:07 +00:00
Nathan Gray
ee9398c8f1 Clever note to indicate what to use CP850 for 2011-12-05 19:43:33 +00:00
Nathan Gray
d033d3b651 Use wizard to try to translate headers. It should give better results, especially with compounds like 'Street (Business)', where translation has no such phrase 2011-12-05 19:33:29 +00:00
Nathan Gray
d0f9f93d4a Revert #37423 - mis-understood change 2011-12-05 19:32:12 +00:00
Nathan Gray
6ecf36d27b Change 'title' to 'Job title', 'role' to 'Occupation'. Apparently these changed. Fixes automatic field mapping in import 2011-12-05 17:48:39 +00:00
Nathan Gray
d366cf8b71 - Explicitly add CP850 to list of import encodings
- Other encodings (not supported by eGW) can be added in site configuration
2011-12-05 17:27:04 +00:00
Klaus Leithoff
95a3e33aea fixing an php5.2.x error for ::export... to ->export... - we dont need the static call here anyhow. 2011-12-05 11:12:07 +00:00
Nathan Gray
21c6a0f447 Add ability to create an export definition based on an existing import definition 2011-12-01 18:49:42 +00:00
Nathan Gray
4283e1122e Allow browser to notify even if verbosity is low, in case browser is not visible 2011-12-01 16:20:00 +00:00
Ralf Becker
e9ba37173a remove old ISS specific redirect code and default of $_SERVER[PHP_SELF] for $url parameter of egw::redirect (not used in current EGroupware) 2011-11-30 20:32:45 +00:00
Nathan Gray
2d906d7a3e Wrap attempt at lang in try/catch for if egw.lang() isn't available 2011-11-30 19:48:54 +00:00
Nathan Gray
2c636586c6 Allow importing files with any encoding supported by server, not just eGW encodings 2011-11-30 18:06:35 +00:00
Nathan Gray
abe612461c Fix conditions using custom fields - needed extra query key 2011-11-30 18:01:29 +00:00
Ralf Becker
075db1ac82 quietening permanent error_log 2011-11-30 09:37:47 +00:00
Ralf Becker
7ee9d55f85 fixed racecondition in caching translations for installs with multiple instances:
do NOT use automatic callback to cache result, as installing languages in setup can create a racecondition, therefore only cache existing non-instance-specific translations, never cache nothing found === array(), instance-specific translations can and should always be cached!
2011-11-30 09:20:05 +00:00
Ralf Becker
64e7b3cb57 added some docu 2011-11-30 08:11:40 +00:00
Ralf Becker
2bbee5b373 fixed not working display of validation errors and show them in red 2011-11-29 15:44:17 +00:00
Ralf Becker
86577fa44e * Addressbook: ablity to mail (multiple) vCard via context menu 2011-11-29 12:07:11 +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
d5904fb3c0 Try out PHP's native fputcsv() to see if it still causes problems 2011-11-29 00:27:54 +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
4312c485d1 Use system charset for systems that aren't UTF-8 2011-11-28 16:15:21 +00:00
Nathan Gray
288d40065a Do charset conversion once per line instead of on each field 2011-11-25 23:12:08 +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