Commit Graph

77 Commits

Author SHA1 Message Date
nathangray
94798bb691 Import/Export - fix definition list actions (Create export) disappeared from context menu after use 2019-07-08 13:49:16 -06:00
nathangray
fdddeb1e84 ImportExport - fix create export from import fails with error
"Too few arguments to function importexport_definitions_ui::save(), 0 passed..."
2019-06-24 09:35:11 -06:00
nathangray
bdf0b6c287 Explicitly load any changed JS & CSS 2019-01-15 09:39:31 -07:00
Ralf Becker
030eb89f84 using standard site-configuration plus some hooks 2018-08-22 12:15:42 +02:00
Ralf Becker
2c238b7071 * PHP7/ImportExport: fix different evaluation order of PHP 5 and 7 gives eg. error "Function name must be string" in wizard 2016-07-07 20:25:32 +02:00
nathangray
6b39b40449 Remove execute action from server side, handled client side now 2016-06-07 14:14:02 -06:00
nathangray
1c24585eab Remove any mention of xajax 2016-06-01 09:30:42 -06:00
Nathan Gray
7e7f045343 Move importexport to new API 2016-05-09 22:49:20 +00:00
Nathan Gray
fd6d0424e3 Fix edit definition dialog looks weird when we open it directly to a certain step 2015-11-30 23:23:51 +00:00
Nathan Gray
6097c39ea5 Silence debug 2014-10-14 16:11:56 +00:00
Nathan Gray
51f869e57d Fix up allowed users handling
- Fix definition list filter
- Fix invalid option 'both' in definition list
- No longer need separate checkboxes in wizard
2014-07-15 18:09:20 +00:00
Nathan Gray
54b447ce98 No need to clear selected plugin just because user pressed 'back', if they choose a different app they'll just have to pick a different plugin 2014-05-14 15:53:38 +00:00
Nathan Gray
e6eda6ddc8 - Fix Execute context menu action
- Fix missing import preview OK button
- Fix message mangled by et2
- Try to prevent session/request collection from destroying
2014-05-13 21:21:56 +00:00
Nathan Gray
45a709cc62 Remove legacy action columns & associated readonlys 2014-02-27 21:27:14 +00:00
Nathan Gray
a82580211e Fix changing owner or allowed by context menu 2014-02-19 22:37:30 +00:00
Nathan Gray
03c5e925c8 - Add 'Add' button above nextmatch
- Add placeholder action to add when there are no rows
2014-02-19 00:05:03 +00:00
Nathan Gray
85661439f1 Fix Allowed users:'All users' always checked 2014-02-18 23:38:51 +00:00
Nathan Gray
75bd91c79d Don't use msg as ID for step instructions, it gets grabbed by framework message stuff, and disappears.
Also, silence an error_log and avoid a warning
2014-02-18 23:29:30 +00:00
Nathan Gray
001d3176e1 Fix definition export 2013-12-02 23:31:00 +00:00
Nathan Gray
0befd85d04 Make sure definition edit opens as popup 2013-11-15 19:58:50 +00:00
Nathan Gray
d4be70de5a - Use a hook for app's custom widgets to avoid scanning filesystem
- Use new hook to load importexport's filter widget
- Remove some typos & error_log()s
2013-11-04 17:23:58 +00:00
Nathan Gray
7f98f428a0 Adapt importexport for etemplate2 2013-11-01 22:04:43 +00:00
Nathan Gray
17634bd72a Pass proper variable type (array) to exec 2013-06-24 17:40:44 +00:00
Nathan Gray
270d8a9145 If app has no filterable fields, skip that step 2013-01-09 19:42:21 +00:00
Nathan Gray
0a91bc5aa9 Add support for filtering records to be exported.
Filterable fields are attempted to be autodetected by using the exportable fields.
Records can be filtered by fields with type select,select-cat,select-account,date,date-time (according to egw_record class) 
only at this time.  Filters are saved in the definition and used with scheduled exports.  They are also available to the
user for modification in the export dialog.
2012-12-31 20:36:28 +00:00
Nathan Gray
e4133aa210 Clear all users or Just me checkboxes 2012-12-04 22:55:48 +00:00
Nathan Gray
bff2bdc6d6 - Clear owner & allowed popups after changing
- Make allowed popup user selection not look disabled
2012-12-03 22:43:47 +00:00
Nathan Gray
57cc6dba1a Default application filter to the application you were just in 2012-12-03 21:55:52 +00:00
Nathan Gray
9f4118e947 Use addressbook vCard charset preference for exporting vcards using Import/Export 2012-10-29 18:29:40 +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
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
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
343deeab7c Add 'All users' option to allowed users in definition list popup 2012-06-20 17:34:03 +00:00
Nathan Gray
f3f0406471 Add All users permission option 2012-06-05 21:50:34 +00:00
Ralf Becker
4d95a9b495 * ImportExport/Tracker: timeout left num-rows set to -1, causing nextmatch to try to display full list on next login 2012-03-29 10:43:21 +00:00
Nathan Gray
03671abeb8 Give a list of what definitions were imported, so you can find them 2012-01-20 18:39:50 +00:00
Nathan Gray
03bae6ff27 Add CP850 to translation class list of installed charsets, don't need to add it in import/export 2011-12-14 21:34:24 +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
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
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
1657114628 - Add 'Add' button to add a new condition
- Matching conditions stop by default now
2011-11-03 20:23:04 +00:00
Nathan Gray
89ecce38bf Fix SQL error preventing multiple users/groups allowed to share their own definitions 2011-10-31 19:36:21 +00:00
Nathan Gray
79baa55fe2 Fix some problems with read-only wizard:
- New definitions aren't read-only
- Hide 'Just me' checkbox when read-only, to avoid confusion
- Wizard stays read-only if you go to previous step
- Disable Change context menu for definitions the user has no permission to change
2011-10-26 19:54:15 +00:00
Nathan Gray
df44d80c60 Make wizard steps read-only if user is not owner or admin 2011-10-25 21:55:55 +00:00
Klaus Leithoff
6a2d5d8b36 using new bo_merge static function to check for is_export_limit_excepted; fixing an off but vone error regarding the limit of rows returned 2011-08-29 15:02:00 +00:00
Nathan Gray
16bafa78b8 Implement export restriction exception for given users/groups in apps 2011-08-17 15:38:56 +00:00
Nathan Gray
89c2097894 Add new import translation function list(sep,field,index) to explode a field and pick one part 2011-08-05 22:04:05 +00:00
Ralf Becker
8e53f21349 using bo_merge::get_documents to get export documents 2011-06-17 14:07:10 +00:00