Nathan Gray
8de504397a
Clear owner & allowed popups after changing
2012-12-05 16:29:17 +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
6c708791a2
* Add All users permission option for easier maintenance
2012-06-25 20:30:38 +00:00
Nathan Gray
b537ac9d81
Fix import CSV date/times to correctly handle differences in user time
2012-02-08 16:47:46 +00:00
Nathan Gray
0054184aaf
* Scheduled import improvements:
...
- Importing from a remote url over HTTP
- Better display of results in schedule list
- Notification of warnings / errors via notification system
- Import all files in a directory
- Option to delete file(s) after import
2011-12-20 15:45:16 +00:00
Nathan Gray
360d45b2f1
Fix scheduled import from remote url
2011-12-16 15:54:02 +00:00
Nathan Gray
acffb97eb1
Add CP850 to charset list, add configuration option for other available charsets
2011-12-08 16:08:36 +00:00
Nathan Gray
fe7dddcc0d
* Add ability for user to change import/export delimiter when importing / exporting
2011-11-14 16:27:34 +00:00
Nathan Gray
de6cf8100b
Make wizard read-only if user has access to the definition, but is not the owner
2011-10-27 14:14:29 +00:00
Nathan Gray
eb924b13cd
Add convert option, affects how date/times & categories are parsed
2011-10-26 17:46:11 +00:00
Nathan Gray
60b1b10d9c
Fix recursive call until memory exhausted - etemplate mangles onclick
2011-10-26 17:15:19 +00:00
Ralf Becker
9db4fa8625
* jQuery: changed $ to $j to work around mootools use in Joomla templates and other js code in imported projects
...
required to change $ --> $j:
phpgwapi/*
jdots/*
etemplate/*
stylite/*
felamimail/*
admin/*
news_admin/*
projectmanager/*
importexport/*
infolog/*
ranking/*
required, but not automatic:
importexport/setup/etemplates.inc.php
phpgwapi/js/jquery/*
negative, not to touch or revert later:
phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php: '(\$(.+))' => 'print $1',
phpgwapi/js/dhtmlxtree/libCompiler/core.js
sitemgr/*
phpfreechat/*
gallery/*
activesync/include/smb.php: '^\tIPC\\\$(.*)[ ]+IPC' => 'skip',
etemplate/inc/class.bo_merge.inc.php: if ($this->table_plugins && preg_match_all('/\\$\\$table\\/([A-Za-z0-9_]+)\\$\\$(.*?)\\$\\$endtable\\$\\$/s',$content,$matches,PREG_SET_ORDER))
find phpgwapi jdots etemplate stylite felamimail admin news_admin projectmanager importexport infolog ranking \
\( -name '*.php' -o -name '*.js' \) -exec grep -q '\$(' {} \; -print \
-exec sed -i '' 's|\$(|$j(|g' {} \;
svn revert phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php phpgwapi/js/dhtmlxtree/libCompiler/core.js \
importexport/setup/etemplates.inc.php phpgwapi/js/jquery/jquery.js etemplate/inc/class.bo_merge.inc.php
additional changes:
phpgwapi/js/jquery/jquery.js: window.$ --> window.$j
phpgwapi/js/egw_json.js:291 this.request = $j.ajax({url: this.url,
jdots/templates/jdots/head.tpl:59 $j(document).ready(function() {
phpgwapi/js/egw_action/egw_grid_view.js: $.browser --> $j.browser
importexport/setup/etemplates.inc.php: etemplate editor importexport.wizard_basic_export_csv.choose_fields onclick of check icon changed
phpgwapi/js/egw_action/tests/*.html
phpgwapi/js/egw_action/tests/js/jquery.js: window.$ --> window.$j
2011-07-03 09:12:55 +00:00
Ralf Becker
8e53f21349
using bo_merge::get_documents to get export documents
2011-06-17 14:07:10 +00:00
Nathan Gray
ddfd5d50bb
Translate app names
2011-06-08 15:32:45 +00:00
Nathan Gray
0afe6ae498
Add legacy select all + Select action button
2011-06-02 20:28:17 +00:00
Nathan Gray
8820c41c3d
Add context menu
2011-06-02 16:50:41 +00:00
Ralf Becker
e2cd10a286
putting row-id in value of checkbox
2011-05-27 10:35:00 +00:00
Nathan Gray
da20e2ea06
Add check all button
2011-05-24 17:04:16 +00:00
Nathan Gray
eed3385496
Allow admin to choose when to update default definitions: never, manual or auto
2011-05-24 16:13:51 +00:00
Nathan Gray
614882c347
Disable edit / delete buttons for definitions you have no access to
2011-05-17 23:27:42 +00:00
Nathan Gray
f6f9617261
Make spreadsheet list useful, fakes a call to merge with the chosen document and the currently selected items
2011-05-05 21:40:15 +00:00
Nathan Gray
9786f03980
Add a link to list of spreadsheets available for merging into
2011-04-26 20:30:26 +00:00
Nathan Gray
86fa96b504
Fix import / export buttons in definition list
2011-04-20 14:18:06 +00:00
Nathan Gray
bbf3778172
Use a nextmatch for definition list
2011-04-19 16:00:43 +00:00
Nathan Gray
49bf54aace
More agressive filtering on schedule options - all subsequent options start filtered
2011-03-14 20:55:42 +00:00
Nathan Gray
34354a2a6b
Change config options, admin can now allow users to create their own definitions, and can choose which users are allowed to share their definitions with others
2011-02-23 23:44:20 +00:00
Nathan Gray
838f4664f1
* Add ability for users to define their own definitions
...
- Permissions set by admin in the Site configuration
2011-02-22 17:13:03 +00:00
Nathan Gray
fa974d0a50
Remove 'some nice text' on export dialog
2011-01-27 16:41:48 +00:00
Nathan Gray
46a90c13f9
Fix field indexing in import definition wizard (causes confusion in translations)
2010-11-23 20:52:50 +00:00
Nathan Gray
fdfff16b55
Make the type icon in the definition list clickable, it will 'run' that definition
2010-11-23 20:15:51 +00:00
Nathan Gray
8df0a6527f
Add toggle all checkbutton to field select step
2010-11-23 19:41:37 +00:00
Nathan Gray
84e99bbe25
Fix export conversion options
2010-11-23 00:02:40 +00:00
Nathan Gray
22441f3112
Add new option to convert to human friendly values
2010-11-22 23:34:06 +00:00
Nathan Gray
47ff785588
- Add an option for export header: use field names or human labels
...
- Fix missing first field
2010-11-09 18:14:49 +00:00
Nathan Gray
edf5759a50
Check protocol to prevent direct file system access. Use VFS to access files on the server instead.
2010-10-19 17:29:11 +00:00
Nathan Gray
dd8df67229
- Mess with export dialog so it actually works with definitions
...
- Add base csv export wizard
2010-10-07 23:05:25 +00:00
Nathan Gray
7bf2053a54
Add 'Select' default entry to condition field column also
2010-09-17 14:15:20 +00:00
Nathan Gray
d01499df7b
Change UI a little to have actions default to 'Select' when no action is selected
2010-09-16 17:17:29 +00:00
Nathan Gray
117299fc3b
Fix (hopefully) for IE unable to change popup size
2010-09-08 16:25:32 +00:00
Nathan Gray
a6887ae908
- Change file/class names to match new naming conventions
...
- Change spelling of wizzard to wizard
2010-03-22 15:09:26 +00:00
Nathan Gray
54b4454d51
Add some base classes to make it easier for other applications to implement importing CSVs
...
To use them, you need to create two files in the app/importexport directory, 'class.import_appname_csv.inc.php' and 'class.wizzard_import_appname_csv.inc.php'.
The minimum required files are shown below, but they can be modified as needed to override the basics and add capabilities.
class.import_appname_csv.inc.php:
<?php
require_once(EGW_INCLUDE_ROOT. '/importexport/inc/class.basic_import_csv.inc.php');
class import_appname_csv extends basic_import_csv {
protected function import_record(&$record, &$import_csv) {
// Handle one record here. Handle conditions and call action() as appropriate.
// See basic_import_csv.
}
protected function action($action, Array $record, $record_num = 0) {
// Take the given action (none, insert, delete, update) etc. as understood for your app.
// See basic_import_csv.
}
}
?>
class.wizzard_import_appname_csv.inc.php:
<?php
require_once(EGW_INCLUDE_ROOT . '/appname/importexport/class.import_appname_csv.inc.php');
require_once(EGW_INCLUDE_ROOT . '/importexport/inc/class.wizzard_basic_import_csv.inc.php');
class wizzard_import_appname_csv extends wizzard_basic_import_csv {
public function __construct() {
$this->mapping_fields = array(
// List of destination fields available in appname
'field' => lang('name')
);
$this->conditions = array(
// List of conditions supported by import_appname_csv
'field' => lang('name')
);
$this->actions = array(
// List of actions supported by import_appname_csv
'field' => lang('name')
);
}
}
?>
2010-03-10 16:31:25 +00:00
Nathan Gray
f85abe96f8
Fix popup size for new definitions
2010-03-09 16:26:17 +00:00
Nathan Gray
3e33651c5d
Change import wizard popup size, shuffle around sidebox menu to have links to import & export dialogs
2010-03-03 19:34:05 +00:00
Nathan Gray
e395a4dfb4
Add support for reporting how many of which action (insert, update) were done when importing
2010-03-03 16:28:45 +00:00
Nathan Gray
30ce07e567
Add some results from scheduled jobs so you can see if they ran
2010-03-02 22:33:47 +00:00
Nathan Gray
ed106c431c
Improve popup size
2010-03-01 23:26:38 +00:00
Nathan Gray
731abfd2a3
Some more work toward completion:
...
- Wizard now works to define input definitions; you can define the mapping, translations and conditions using the UI.
- Added ability to schedule imports / export using async services
Still a lot of work to be done...
2010-02-25 23:13:18 +00:00
Cornelius Weiß
7a3e571376
- reworked conversions backend in importexport_helper_functions
...
- reworked plugin interfaces.
- charset is now an attribut of plugin_options only
- import / export function itselve is not static any more
- whiped out silly phpdoc tags generated by umbrello (kde uml modeler)
- reworked representation of plugin_options for definitions
- many fixes in uiexport and export_csv
- lang updates
2007-06-09 15:36:30 +00:00
Cornelius Weiß
2b3ce8669b
changed export ui to be focused on definitions
2006-11-16 11:04:09 +00:00
Cornelius Weiß
9e61aaf90d
propset svn:keyword Id
2006-11-10 15:38:31 +00:00