----------
- Workaround for 46 Upload from Windows/IE creates wrong ID. [jensens]
- Made new VdexFileVocabulary as default for upload form. [jensens]
- Add alternative vdex vocabulary, much faster. [jensens]
- Added convinience method to vocabulary library (tool) which returns
a dictionary with key=vocbaulary id and value=title of vocabulary (language
aware. [jensens]
- Added convinience function to make it easier to fetch a value from a
vocabulary dictionary (utils.vocabs.fetchValueByKeyFromVocabularyDict). [jensens]
- Adding css handles to various elements of portal_vocabulary user
interface, so that if desired, one can easily dumb down the user
interface for less technical clients with css, but not override the template
[andrewburkhalter]
- Language negotation to make sure the cache is language aware. [jensens]
- In types/simple/vocabulary.py, applied patch of issue 4
(sorting of simple vocabularies) [fRiSi]
- In doc/simplevocabulary.txt, add doctest testing the sorting of simplevocabularies
sorting might not yet work with translated vocabularies. I added a section to
test this, but did not yet write the tests there. [fRiSi]
- event.py, configure.zcml, interfaces.py, types/simple/term.py. [rocky]
- "renamed events" are now fired when the title of any term is updated. [rocky]
- "deleted events" are now fired when a term is deleted from a
vocabulary; this particular feature will only work when running on
Zope 2.9 or higher (note: this doesn't make ATVM dependent on Zope 2.9)
[rocky]
- types/tree/vocabulary.py, types/simple/vocabulary.py
replaced ``if not instance is None:`` with a try-except.
if you are on a type that is not linguaplone enabled,
and using a vocabulary you got an error when creating an
object of this type because getLanguage raised an AttributeError. [fRiSi]
- types/tree/term.py
to fix http://plone.org/products/atvocabularymanager/issues/26
in the meantime i solved the problem with the "hack solution"
to take away the IVocabulary interface from the term that is
extending the vocabulary. [fRiSi]
(see the issue above for more information.)
- Makefile
added a new target `clean` that removes stale pyc files and ``-~`` backup
files [fRiSi]
- namedvocabulary.py used to not add the keypath of a term if the search for a
term uid in uid-catalog returned more than one value. proceeding and just taking
the first result is better than silently ignoring the path for this item. [fRiSi]
- In Extensions/Install.py, did a cleaner check for BadRequest Error in case the tool already
existed at install time (also added basic tests for installing/uninstalling/and
reinstalling the product. [fRiSi]
- In Extensions/Install.py, self.portal.portal_properties.navtree_properties.metaTypesNotToList
is a tuple by default (on a freshly created plonesite)
ATVM creates a list at installation time and removes the tool from this list at
uninstallation. If other products get installed between installing
and uninstalling, they possibly change metaTypesNotToList back to a tuple again.
changed the installer and uninstaller to operate on and return a tuple here.
(should fix http://plone.org/products/atvocabularymanager/issues/10) [fRiSi]
- tests/testATVocabularyManager.py
tests for the installation and uninstallation of the product.
agreed with jens that we could do a zexp of the vocabularies at uninstallation
in case this was done by accident.
(http://plone.org/products/atvocabularymanager/issues/22/) [fRiSi]
- types/simple/term.py: removed bug, which stops me from adding new terms. [jensens]
- In types/simple/term.py, SimpleVocabularyTerms now return the canoncial's id
as key. This differs from the current behaviour but is essential for translated
vocabularies. [fRiSi]
- In types/simple/term.py,getTermKeyPath now returns a list containing the key of
the term, not it's uid. This is consistent with the interface. [fRiSi]
- types/simple/vocabulary.py, types/tree/vocabulary.py
GetVocabularyDict now uses instance.getLanguage in favour of
portal_lanuages.getPreferredLanguage (otherwhise passing instance would be
useless in most cases)
- tests/testSimpleVocabulary.py: Added a test that checks if translations return
the same key and if dictionaries are translated.
- backports.py
- Improved the docstrings to be more explicit.
- getTermKey now states that all translations of a term
have the same key.
- getTermValue: now has an optional ``lang`` parameter
making ``--kwargs`` needless.
- Add sorted simple vocabulary [gotcha]
- Run i18ndude and update fr and nl [gotcha]
- Merged branch supporting catalog searches on hierarchical vocabularies to trunk
(https://svn.plone.org/svn/archetypes/ATVocabularyManager/branches/treevocab-frisi)
[fRiSi]
- Merged current trunk into this branch. [fRiSi]
- Utils/vocabs.py
utility methods for batch creating vocabularies.[fRiSi]
- types/simple/term.py types/tree/term.py
Marked methods getVocabularyValue and getVocabularyKey as deprecated and used those
defined in IVocabularyTerm to make terms implement their interface. [fRiSi]
- types/tree/vocabulary.py types/simple/vocabulary.py
Improved linguaplone support and also added a testcase. [fRiSi]
- tests/testTreeVocabulary.py
Testing if treevocabulary is linguaplone aware. [fRiSi]
- doc/search_treevocabulary.txt: A doctest explaining how ATVM performs searches
on hierarchical vocabularies, and how to enable them for your content type.
[fRiSi]
- Added dutch translations, thanks to Atopia. [jladage]
- AllowedTypesByIface is broken, it seems - adding manual override to fix this
in ATVM. [optilude]
- Removed workflows from ATVM types on installation. [ferri]
- Added brazilian portuguese translation and portal_vocabularies title i18n
support. [ferri]
- Added i18n and Czech translation. [naro]
- Uncommented code in Install.py to make portal_vocabularylib not show in the
navigation tree. [panjunyong]
- Use StringWidget instead of IDWidget for Simple vocaublary term. [panjunyong]