Commit Graph

67 Commits

Author SHA1 Message Date
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
02a93ae43e Remove incorrect attempt at setting defaults 2011-03-21 16:25:57 +00:00
Nathan Gray
fa2a3d9a1a Remove wrong and unneeded upgrade 2011-03-21 15:07:52 +00:00
Nathan Gray
83bbea7669 Try to set some default values for export definitions 2011-03-16 17:07:32 +00:00
Nathan Gray
49bf54aace More agressive filtering on schedule options - all subsequent options start filtered 2011-03-14 20:55:42 +00:00
Ralf Becker
01fe133e60 removed accidently commited disable of automatic install 2011-03-11 16:05:13 +00:00
Ralf Becker
ed60695cd5 * fixed not working scheduled import from vfs 2011-03-11 16:03:08 +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
37417195eb Add auto-import of definitions in appname/setup/*.xml 2011-02-03 18:09:39 +00:00
Nathan Gray
ae07ff2331 Use new sidebox_all hook to add importexport links to other apps' sideboxes 2011-02-03 16:32:03 +00:00
Nathan Gray
fa974d0a50 Remove 'some nice text' on export dialog 2011-01-27 16:41:48 +00:00
Nathan Gray
ba485f1338 Look in setup directory for pre-defined definitions, importexport sub-directory is no longer used. 2011-01-26 00:28:14 +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
Ralf Becker
50c43deec9 updating verson to 1.8 2010-09-05 15:24:34 +00:00
Ralf Becker
f3017cdeba adding "regular" import/export functions (import & export) to preferences: allows to use them without being admin 2010-07-07 17:11:10 +00:00
Ralf Becker
c4ec7ad53f fixed old classname 2010-03-29 13:10:01 +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
Oscar Manuel Gómez Senovilla
a38a004668 Move importexport lang files 2009-11-28 13:23:42 +00:00
Oscar Manuel Gómez Senovilla
a70df0ddbb Pending language updates 2009-11-24 05:51:49 +00:00
Ralf Becker
d268d6d816 Using static translation methods 2009-04-28 16:05:04 +00:00
Oscar Manuel Gómez Senovilla
388c515883 preparing to sync current lang files before branching for 1.6. One more commit
expected meanwhile!
2008-11-22 11:05:43 +00:00
Oscar Manuel Gómez Senovilla
7c3ab3ab8c tracker #1774, added estonian translation 2008-11-02 14:23:56 +00:00
Oscar Manuel Gómez Senovilla
504b096e06 latest update of egw translators pending work 2008-10-15 21:11:30 +00:00
Ralf Becker
3358a39461 Fixed install problems with missing php dom extension,
which is required (but not declared) by importexport:
- added requirement to importexport/setup/setup.inc.php
- gracefully fail if dom is not available
- add dom extension to rpm requirements
--> this has been reported many times on the list as "missing wiki
pages", which is caused by suppressed fatal error in importexports
default-records, stoping other apps default records to run
2008-10-14 08:42:09 +00:00
Ralf Becker
61a23ba829 "update API and etemplate dependency" 2008-10-07 07:17:12 +00:00
Oscar Manuel Gómez Senovilla
8ed57c413b tracker #1747 2008-10-05 19:24:49 +00:00
Oscar Manuel Gómez Senovilla
f98569ee85 Updated russian translation (#1658) and some spanish updates 2008-08-03 19:07:15 +00:00
Oscar Manuel Gómez Senovilla
77f63b4c00 updated russian translation 2008-07-29 20:40:02 +00:00
Oscar Manuel Gómez Senovilla
241e844f4b Resulting lang files after applying the "Search for new phrases" in translation tools for every app 2008-07-26 21:59:22 +00:00
Oscar Manuel Gómez Senovilla
8913855001 tracker #1476 2008-07-25 22:15:31 +00:00