| 1 |
/* $Id: TODO.txt,v 2.10 2009/10/05 09:43:12 danielkm Exp $ */
|
| 2 |
|
| 3 |
|
| 4 |
TAXONOMY CSV IMPORT/EXPORT
|
| 5 |
==========================
|
| 6 |
|
| 7 |
|
| 8 |
== T O D O ==
|
| 9 |
=========
|
| 10 |
|
| 11 |
(no particular order)
|
| 12 |
|
| 13 |
o = TODO
|
| 14 |
- = Skipped/postponed
|
| 15 |
x = DONE
|
| 16 |
R = Removed
|
| 17 |
nnn mmm = Release introduced into (Module for Drupal 6 / 7)
|
| 18 |
=====================
|
| 19 |
|
| 20 |
User interface
|
| 21 |
x 622 --- display result of import
|
| 22 |
x 622 --- display imported terms
|
| 23 |
x 622 --- notice warnings and errors of import file
|
| 24 |
x 622 --- choose level of message
|
| 25 |
o cumulate important messages with use Drupal's log
|
| 26 |
x 622 --- auto create vocabulary
|
| 27 |
x 630 --- test on an existing vocabulary (duplicating it)
|
| 28 |
x 630 --- dynamic options and examples (existing items matching source content)
|
| 29 |
x 630 --- import by a text area. See taxonomy_batch_operations
|
| 30 |
o text area to modify line when warning
|
| 31 |
x 620 --- add link to use module after installation
|
| 32 |
x 630 --- remind previous options values
|
| 33 |
x 630 --- do a uninstall hook if remind previous options values is done
|
| 34 |
x 622 --- warn remove when there is only one column and update is chosen
|
| 35 |
- --- --- reset button (useless)
|
| 36 |
x 630 --- recommended default values button
|
| 37 |
o inform about changes during import (ex: relations set then unset)
|
| 38 |
o two steps import (validate and display warnings then process)
|
| 39 |
o option to choose one or two steps
|
| 40 |
o five step wizard for non javascript users
|
| 41 |
x 630 --- notice exceed file size
|
| 42 |
o option to import in original vocabulary after import in a duplicate
|
| 43 |
o 645 745 no warning on last empty lines
|
| 44 |
x 643 743 ahah ui for specific parameters
|
| 45 |
x 643 743 disable utf8 option if textarea import
|
| 46 |
x 640 --- add a csv enclosure option (so >= php 4.3)
|
| 47 |
o use Drupal themes
|
| 48 |
- --- --- add a menu link to taxonomy csv in list terms
|
| 49 |
x 643 743 use drupal_set_message 'warning' and not only 'status' and 'error'.
|
| 50 |
- --- --- batch process without Javascript
|
| 51 |
|
| 52 |
Functions
|
| 53 |
o import of structured alphabetic terms list (thesaurus)
|
| 54 |
o import of iso 2788 as in taxonomy_xml (but KISS by line approach)
|
| 55 |
x 623 --- option to import sub-relations and not only relations to first term
|
| 56 |
x 623 --- option to make relations to terms of all vocabularies.
|
| 57 |
x 630 --- import of ancestors structure and not children (change name)
|
| 58 |
x 644 744 import of first level parents
|
| 59 |
x 644 744 import of first level children
|
| 60 |
x 622 --- use of parents of previous line for children without ancestors
|
| 61 |
("one term by line structure import")
|
| 62 |
x 645 745 parent merge (polyhierarchy)
|
| 63 |
x 620 --- distinction between description and synonyms
|
| 64 |
o multiple files import
|
| 65 |
- --- --- option sensitive or not to uppercase/lowercase (not in D6 neither D7)
|
| 66 |
o add notice when sensitive duplicate items are found in line check
|
| 67 |
o integrate or reference to Taxonomy manager module
|
| 68 |
o remove csv terms import choice
|
| 69 |
o test before import (autocreate a vocabulary) (see UI)
|
| 70 |
o remove ignore existing terms choice (see dynamic options above)
|
| 71 |
- --- --- import relateds in other vocabulary before current one (not in D6)
|
| 72 |
o autodetect good source content and vocabulary with a command line key
|
| 73 |
o with autodetect, import multiple type with one file
|
| 74 |
o convert and export vocabulary to xml (especially to compare with xml)
|
| 75 |
R 643 743 multistep import: autodivide big taxonomies to avoid memory error
|
| 76 |
o import by term identifiant (tid)
|
| 77 |
x 643 743 import from url (#529480)
|
| 78 |
o allow direct duplicates with polyhierarchy
|
| 79 |
o option to automatically disable and re-enable non compatible modules
|
| 80 |
o 647 747 full term definitions and links export in order to import in Drupal 7
|
| 81 |
|
| 82 |
Code / security
|
| 83 |
o remove query and use only Drupal core ones and php filters (useful?)
|
| 84 |
x --- 740 see if there are Drupal functions to import only synonyms etc.
|
| 85 |
x 622 --- manage and inform on input error
|
| 86 |
o factorize code and use more php functions (import type callback...)
|
| 87 |
x 622 --- redo a cache
|
| 88 |
x 622 --- clean the input line at the beginning of process and never after
|
| 89 |
o use taxonomy_parser?
|
| 90 |
x 622 --- change the type of vocabulary (flat, monohierarchy, polyhierarchy)
|
| 91 |
x 630 --- add hook_perm
|
| 92 |
o add hook_info
|
| 93 |
x 630 --- replace _taxonomy_csv_parse_size by a Drupal function
|
| 94 |
o no order to import files
|
| 95 |
o use Drupal management of errors (mysql log)
|
| 96 |
x 622 --- change function name to internal, except some
|
| 97 |
o vocabulary full fine check (after and before)
|
| 98 |
o vocabulary relations integrety check and attribute
|
| 99 |
o --- use management of test in Drupal 7.
|
| 100 |
x 643 743 time out control
|
| 101 |
x 645 745 fix: keep multiple parents when children import
|
| 102 |
x 622 --- fix: if ignore existing items, search in imported terms cache before
|
| 103 |
x 643 743 fix: result statistic import (sometime new terms number is wrong)
|
| 104 |
- --- --- remove useless define
|
| 105 |
- --- --- use a global messages variable or sandbox to avoid multiple copy
|
| 106 |
o relations with other vocabularies (unsupported in Drupal 6 neither 7)
|
| 107 |
o extract all helps of forms to help.html in order to remove duplicates
|
| 108 |
x 640 --- simplify batch set (all $options aren't needed)
|
| 109 |
- --- --- use $form_state['storage'] for batch operations? Useless.
|
| 110 |
x 643 743 remove base64 temporary and work only with utf8
|
| 111 |
- --- --- use a smarter regexp delimiter than fgetcsv or explode
|
| 112 |
x 642 742 fix: when a file is set, avoid UI bug when first option changes
|
| 113 |
x 645 745 change Warning empty line by a simple info except if problem
|
| 114 |
o modularize code to simplify addition of new schemes
|
| 115 |
x 643 743 create API
|
| 116 |
R --- --- fix: make multistep import compatible with one term by line import
|
| 117 |
R --- --- allow cancel multistep when import in an existing vocabulary
|
| 118 |
- --- --- fix: allow only users with taxonomy rights (useless: roles)
|
| 119 |
R --- --- fix: display main form when error occurs in multistep process
|
| 120 |
x 643 743 direct read of lines without prepare batch for file import
|
| 121 |
|
| 122 |
Documentation
|
| 123 |
o make it simpler
|
| 124 |
o more examples
|
| 125 |
o merge advanced help and dynamic examples (cf. modularize code)
|
| 126 |
x 620 --- image view and presentation text for project page
|
| 127 |
x 620 --- translations
|
| 128 |
|
| 129 |
Drupal version
|
| 130 |
o --- 740 Drupal 7: All. Use terms as objects: simpler with parents, etc.
|
| 131 |
- Drupal 5: update / backport
|
| 132 |
- Drupal 4: update / backport
|