Commit Graph

443 Commits

Author SHA1 Message Date
Nathan Gray
bb496273c9 Number of columns in file must match number of columns in sample file given to definition instead of number of columns imported (to get non-imported columns working again)
r40944: Do not consider stop flag when clearing empty conditions
2012-11-27 15:41:27 +00:00
Nathan Gray
e1d06c0e59 vCard import/export improvements 2012-11-16 16:56:40 +00:00
Nathan Gray
fa4ef25f22 Add category ACL check to export conversion to human values 2012-11-13 17:40:39 +00:00
Nathan Gray
9f4118e947 Use addressbook vCard charset preference for exporting vcards using Import/Export 2012-10-29 18:29:40 +00:00
Ralf Becker
63d1624098 reverting r40662, as there is more PHP 5.3 code ($record_class::$variable) to fix 2012-10-25 14:20:48 +00:00
Ralf Becker
b6785e45ad * ImportExport: fix to support PHP 5.2, changed from static::$record_class to self::$record_class, it seems not to be used anyway 2012-10-25 07:42:59 +00:00
Nathan Gray
084a5a5b93 Use new translation::detect_encoding() for encoding detection 2012-10-24 16:59:00 +00:00
Nathan Gray
d3bd93fdf3 Automatically change Import/Export sidebox link to just 'Export' if the app has more than one plugin 2012-10-23 16:18:06 +00:00
Nathan Gray
13844bbf17 Automatically change Import/Export sidebox link to just 'Export' if the app has more than one plugin 2012-10-22 17:22:30 +00:00
Nathan Gray
c5373ef82d Prevent new categories from being created during dry-run
- Do not wipe previous mapping if user went back a step
2012-10-22 14:27:17 +00:00
Nathan Gray
caae2ceeae Prevent new categories from being created during dry-run 2012-10-22 14:25:43 +00:00
Nathan Gray
f300f52162 Don't wipe previous mapping if user went back a step 2012-10-18 16:54:09 +00:00
Nathan Gray
34f8f7db08 Prevent new categories from being created during dry-run 2012-10-18 16:38:30 +00:00
Nathan Gray
8bcdfa1861 Process the whole file when doing a preview, but only keep a few records for display 2012-10-18 14:49:47 +00:00
Nathan Gray
5132b8e3ca Process the whole file when doing a preview, but only keep a few records for display 2012-10-17 14:49:18 +00:00
Nathan Gray
e75e112598 Allow plugins to suggest download file names 2012-10-16 18:44:33 +00:00
Nathan Gray
8a9f710815 Try translation of lookup values if straight lookup fails' importexport 2012-10-16 14:41:33 +00:00
Nathan Gray
d92a2315cb Some documentation updates 2012-10-15 21:28:33 +00:00
Nathan Gray
ae51767122 * Add vCard import/export plugins 2012-10-15 16:29:52 +00:00
Nathan Gray
e2fd624a5a Fix typo causing new/edit definition suggestions to always be shown
r40494: Fix handling of recurrence and time zone
2012-10-15 14:17:30 +00:00
Nathan Gray
f34afea1c7 Keep previous CSV-only preview around too 2012-10-12 19:54:39 +00:00
Nathan Gray
2b96aff758 Import / Export cleanup:
- Start reducing some duplication by making better use of common CSV import ancestor
- Work towards a universal preview, regardless of file type
2012-10-12 19:50:26 +00:00
Nathan Gray
dccb36e16a Fix typo causing new/edit definition suggestions to always be shown 2012-10-12 15:53:17 +00:00
Nathan Gray
c7b74c60d2 Update default import definition to expect english labels, not internal field names
r40476: Fix missing conditions
r40477: Update default definitions
2012-10-12 15:31:58 +00:00
Nathan Gray
870d49f881 Show new / edit definition options on any warning 2012-10-12 15:05:29 +00:00
Nathan Gray
759b7b515a Update import / export CSV plugins & default definitions 2012-10-11 20:53:55 +00:00
Nathan Gray
7e1053c8ec Update import / export CSV plugins & default definitions 2012-10-11 20:34:53 +00:00
Nathan Gray
68968db0e7 Fix missing conditions 2012-10-11 20:06:41 +00:00
Nathan Gray
d06f3a82ee Try field mapping for both parts of column count check 2012-10-10 18:39:03 +00:00
Nathan Gray
4f76748536 Try translation of lookup values if straight lookup fails 2012-10-10 15:58:58 +00:00
Nathan Gray
844298f779 Ignore case when searching for lookup matches 2012-10-10 15:04:50 +00:00
Nathan Gray
a0a3cfb4fc Still check original file columns 2012-10-09 15:55:57 +00:00
Nathan Gray
d7316f76ad Use mapped columns instead of original file columns to verify file. Still not perfect, but maybe better? 2012-10-09 15:53:45 +00:00
Nathan Gray
72e6f6f8f4 Remove duplicate conditions, causes double action 2012-10-09 15:43:59 +00:00
Nathan Gray
1f52784583 Handle potentially invalid messages by removing new lines 2012-09-26 16:59:35 +00:00
Nathan Gray
d986ef7a6d .animate() is not available here, just set set the color directly 2012-09-26 16:30:21 +00:00
Nathan Gray
3386edced3 * Improvements to import - file checking, more warnings, destination addressbook checking 2012-09-25 14:49:27 +00:00
Nathan Gray
5ef7306342 Reload import popup if user wants to create new definition to avoid a re-submit with the old definition when the new definition wizard finishes 2012-09-20 16:11:14 +00:00
Nathan Gray
86f334bbf0 - Don't try a CSV preview on non-csv files
- Skip plugin definition wizards
2012-09-18 19:04:31 +00:00
Nathan Gray
0fa73a76a1 A condition with a True action must have a False action. Pick 'none' if not specified 2012-09-17 16:22:39 +00:00
Nathan Gray
a32b7186c2 Supply app tab for jdots refresh 2012-09-13 17:13:19 +00:00
Nathan Gray
9139c11dc5 - Better messages if import file has a problem
- Reload opening window when definition wizard is done
2012-09-12 17:55:13 +00:00
Nathan Gray
07f50bb264 Fix 'Application importexport not found' error in jdots by setting app to 'admin' in link 2012-09-12 17:10:45 +00:00
Nathan Gray
a3cf69c97c - Make highlight of non-mapped columns stick around
- Fix file upload missing if you use previous button
2012-09-12 16:43:20 +00:00
Nathan Gray
411fe5eca6 Add explanation to conditions step 2012-09-06 23:05:50 +00:00
Nathan Gray
ab89c8c1a8 Highlight columns that won't be imported 2012-09-06 22:52:46 +00:00
Nathan Gray
b38775db65 - Uploading a new file to a definition fully clears mapping - should fix some of the mapping confusion
- Add new / edit definition links in import dialog now open in new window, at the correct step
- Reworked import file checking
2012-09-06 21:50:58 +00:00
Nathan Gray
6615964c39 Import export dialog - Add suggestion for admin to take a backup before importing
- Add links to add new or edit definition (subject to access rules) if an exception happens (column mis-match, import plugin error)
2012-09-05 20:02:03 +00:00
Nathan Gray
29e52fc727 Enforce at least the right number of columns in import file vs definition, even if we can't tell what the columns are 2012-09-04 22:45:55 +00:00
Nathan Gray
a85fdb63a0 Add a check & warning on mismatched encoding. Conversion will happen automatically, but warn if we know it will happen. 2012-09-04 22:39:15 +00:00