r13569 - in Products.ATVocabularyManager/trunk: . Products/ATVocabularyManager Products/ATVocabularyManager/doc docs
"Wouter Vanden Hove" <[email protected]> Tue, 05 Apr 2011 17:52:35 +0000
| Newsgroups | gmane.comp.web.zope.plone.archetypes.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: WouterVH
Date: Tue Apr 5 17:52:34 2011
New Revision: 13569
Added:
Products.ATVocabularyManager/trunk/CHANGES.txt
- copied, changed from r13564, Products.ATVocabularyManager/trunk/HISTORY.txt
Products.ATVocabularyManager/trunk/CONTRIBUTORS.txt (contents, props changed)
Products.ATVocabularyManager/trunk/MANIFEST.in
Products.ATVocabularyManager/trunk/TODO.txt
- copied, changed from r13564, Products.ATVocabularyManager/trunk/Products/ATVocabularyManager/todo.txt
Products.ATVocabularyManager/trunk/docs/
Products.ATVocabularyManager/trunk/docs/INSTALL.txt (contents, props changed)
Products.ATVocabularyManager/trunk/docs/LICENSE.txt
- copied, changed from r13564, Products.ATVocabularyManager/trunk/LICENSE.txt
Removed:
Products.ATVocabularyManager/trunk/HISTORY.txt
Products.ATVocabularyManager/trunk/LICENSE.txt
Products.ATVocabularyManager/trunk/Products/ATVocabularyManager/todo.txt
Modified:
Products.ATVocabularyManager/trunk/Products/ATVocabularyManager/doc/simplevocabulary.txt
Products.ATVocabularyManager/trunk/README.txt
Products.ATVocabularyManager/trunk/setup.py
Log:
update metadata-filesand folder-structure to current plone-conventions. [WouterVH]
Copied: Products.ATVocabularyManager/trunk/CHANGES.txt (from r13564, Products.ATVocabularyManager/trunk/HISTORY.txt)
==============================================================================
--- Products.ATVocabularyManager/trunk/HISTORY.txt (original)
+++ Products.ATVocabularyManager/trunk/CHANGES.txt Tue Apr 5 17:52:34 2011
@@ -1,277 +1,224 @@
-========================================
-History for Products.ATVocabularyManager
-========================================
+Changelog
+=========
-2011-02-22 1.6
-==============
-* dont fetch version and shortdesc from metadata.xml - this is wrong. [jensens]
+1.7 (unreleased)
+----------------
-2011-02-18 1.6.0a2
-==================
+- Update metadata-files and folder-structure to current conventions. [WouterVH]
-* changed method of dermining if LinguaPlone is installed. Asking QI does not
- work in Plone4 [naro]
+- Add `z3c.autoinclude` entry point for automatic ZCML loading in Plone 3.3+.
+ [WouterVH]
-* added some missing dependencies, and a new extra section to setup.py.
- This helps to get a simple buildout cfg for testing against plone4 [do3cc]
+- Add MANIFEST.in to include top-level \*.txt-files. [WouterVH]
-* added some sleeps between installs in the tests, else genericsetup
- creates ids twice, and fails [do3cc]
-* temporary deactivated two checks in the tests. With
- Products.CMFQuickInstaller>=3.0.3, the portal_vocabularies don't get
- deleted during uninstall [do3cc]
-
-* restructured test setup, since call semantics changed [do3cc]
+1.6 - 2011-02-22
+----------------
-2010-07-16 1.6.0a1
-==================
+- Don't fetch version and shortdesc from metadata.xml - this is wrong. [jensens]
-* Fixed deprecated API call to registerType without Package Name. Works now for
- Plone4.
- [2010-01-15, thet]
-* Added Products.LinguaPlone as test dependency to extras_require and begun
- fixing tests.
- [2010-01-15, thet]
+1.6.0a2 - 2011-02-18
+--------------------
-* removed old slow VDEX implementation; added stub for import/export of vocabs
- with generixsetup; added support for vdex import with genericsetup.
- [2008-07-22, jensens]
+- Changed method of dermining if LinguaPlone is installed. Asking QI does not
+ work in Plone4. [naro]
-2008-06-04 1.4.2
-================
+- Added some missing dependencies, and a new extra section to setup.py.
+ This helps to get a simple buildout cfg for testing against plone4. [do3cc]
-* added spanish translations provided by Diego Municio
- (see http://plone.org/products/atvocabularymanager/issues/39)
+- Added some sleeps between installs in the tests, else genericsetup
+ creates ids twice, and fails. [do3cc]
-* merged in Duke's patch for multilingual csv import for simple vocabularies
- (see http://plone.org/products/atvocabularymanager/issues/53)
+- Temporary deactivated two checks in the tests. With
+ Products.CMFQuickInstaller>=3.0.3, the portal_vocabularies don't get
+ deleted during uninstall. [do3cc]
- [2008-06-02 fRiSi]
+- Restructured test setup, since call semantics changed. [do3cc]
-* fixed test setup so ATVM is set up using the new GS profile
- added by naro. (tested with plone 3.1.1 buildout)
+1.6.0a1 - 2010-07-16
+--------------------
- this fixes http://plone.org/products/atvocabularymanager/issues/52
+- Fixed deprecated API call to registerType without Package Name. Works now for
+ Plone4. [thet]
- also got rid of tests.framework
+- Added Products.LinguaPlone as test dependency to extras_require and begun
+ fixing tests. [thet]
- [2008-06-04 fRiSi]
+- Removed old slow VDEX implementation; added stub for import/export of vocabs
+ with generixsetup; added support for vdex import with genericsetup. [jensens]
-* added imsvdex as a required dependency in setup.py
- which makes it unnecessary to ``easy_install imsvdex``
- for people using buildout.
+1.4.2 - 2008-06-04
+------------------
- [2008-05-29 fRiSi <harald at webmeisterei(dot)com>]
+- Added spanish translations provided by Diego Municio
+ Cfr. http://plone.org/products/atvocabularymanager/issues/39.
+- Merged in Duke's patch for multilingual csv import for simple vocabularies.
+ Cfr. http://plone.org/products/atvocabularymanager/issues/53. [fRiSi]
-* added GenericSetup profile, removed Install.py
+- Fixed test setup so ATVM is set up using the new GS profile added by naro.
+ (tested with plone 3.1.1 buildout)
+ this fixes http://plone.org/products/atvocabularymanager/issues/52
- [2008-05-21 naro <[email protected]>]
+- Got rid of tests.framework. [fRiSi]
+- Added imsvdex as a required dependency in setup.py which makes it unnecessary
+ to ``easy_install imsvdex`` for people using buildout. [fRiSi]
-before 1.4
-==========
+- Added GenericSetup profile, removed Install.py. [naro]
-2007-10-30 jensens <jens at bluedynamics (dot) com>
-* workaround for #46 Upload from Windows/IE creates wrong ID
-* made new VdexFileVocabulary as default for upload form
+before 1.4
+----------
-2007-10-15 jensens <jens at bluedynamics (dot) com>
+- Workaround for #46 Upload from Windows/IE creates wrong ID. [jensens]
-* add alternative vdex vocabulary, much faster
+- Made new VdexFileVocabulary as default for upload form. [jensens]
-2007-08-24 jensens <jens at bluedynamics (dot) com>
+- Add alternative vdex vocabulary, much faster. [jensens]
-* added convinience method to vocabulary library (tool) which returns
+- Added convinience method to vocabulary library (tool) which returns
a dictionary with key=vocbaulary id and value=title of vocabulary (language
- aware.
+ aware. [jensens]
-2007-08-22 jensens <jens at bluedynamics (dot) com>
+- Added convinience function to make it easier to fetch a value from a
+ vocabulary dictionary (utils.vocabs.fetchValueByKeyFromVocabularyDict). [jensens]
-* added convinience function to make it easier to fetch a value from a
- vocabulary dictionary (utils.vocabs.fetchValueByKeyFromVocabularyDict).
-
-2007-05-24 andrewburkhalter <andrewb at onenw (dot) org>
-
-* adding css handles to various elements of portal_vocabulary user
+- 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]
-2007-06-08 jensens <jens at bluedynamics (dot) com>
-
-* language negotation to make sure the cache is language aware.
-
-2007-03-02 fRiSi <harald at webmeisterei (dot) com>
-
-* types/simple/vocabulary.py
-
- applied patch of issue #4 (sorting of simple vocabularies)
+- Language negotation to make sure the cache is language aware. [jensens]
-* doc/simplevocabulary.txt
+- In types/simple/vocabulary.py, applied patch of issue #4
+ (sorting of simple vocabularies) [fRiSi]
- 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.
+- 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]
-2006-12-23 rocky <rocky at serverzen (dot) com>
+- event.py, configure.zcml, interfaces.py, types/simple/term.py. [rocky]
-* event.py, configure.zcml, interfaces.py, types/simple/term.py
+- "renamed events" are now fired when the title of any term is updated. [rocky]
- * "renamed events" are now fired when the title of any term is updated.
+- "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]
- * "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)
-
-2006-11-30 fRiSi <harald (dot) friessnegger at lovelysystems (dot) com>
-
-* types/tree/vocabulary.py, types/simple/vocabulary.py
+- 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.
-
+ object of this type because getLanguage raised an AttributeError. [fRiSi]
-2006-11-15 fRiSi <harald (dot) friessnegger at lovelysystems (dot) com>
-
-* types/tree/term.py
+- 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.
-
+ 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
-
-2006-10-23 fRiSi <harald (dot) friessnegger at lovelysystems (dot) com>
-
-* 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.
-
-2006-09-11 fRiSi <harald (dot) friessnegger at lovelysystems (dot) com>
-
-* 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.
-
- * 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)
+- 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/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/)
-
+ (http://plone.org/products/atvocabularymanager/issues/22/) [fRiSi]
-2006-08-31 jensens <jens at bluedynamics (dot) com>
+- types/simple/term.py: removed bug, which stops me from adding new terms. [jensens]
-* types/simple/term.py
+- 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]
- * removed bug, which stops me from adding new terms.
+- 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]
-2006-08-28 fRiSi <harald (dot) friessnegger at lovelysystems (dot) com>
+- 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)
-* types/simple/term.py
+- tests/testSimpleVocabulary.py: Added a test that checks if translations return
+ the same key and if dictionaries are translated.
- * SimpleVocabularyTerms now return the canoncial's id
- as key. This differs from the current behaviour but is
- essential for translated vocabularies.
- * getTermKeyPath now returns a list containing
- the key of the term, not it's uid. This is consistent
- with the interface.
+- backports.py
-* 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)
+ - Improved the docstrings to be more explicit.
-* 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
+ - getTermKey now states that all translations of a term
have the same key.
- * getTermValue: now has an optional ``lang`` parameter
- making ``**kwargs`` needless.
+ - getTermValue: now has an optional ``lang`` parameter
+ making ``--kwargs`` needless.
-2006-08-21 gotcha <gotcha at bubblenet (dot) be>
-* add sorted simple vocabulary
-* run i18ndude and update fr and nl
+- Add sorted simple vocabulary [gotcha]
-2006-08-03 fRiSi <harald (dot) friessnegger at lovelysystems (dot) com>
-
-* merged branch supporting catalog searches on hierarchical vocabularies to trunk
- (https://svn.plone.org/svn/archetypes/ATVocabularyManager/branches/treevocab-frisi)
+- Run i18ndude and update fr and nl [gotcha]
-2006-07-25 fRiSi <harald (dot) friessnegger at lovelysystems (dot) com>
+- 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
+- Merged current trunk into this branch. [fRiSi]
-* utils/vocabs.py
- utility methods for batch creating vocabularies
+- 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.
+- 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.
- also added a testcase
+- 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
+- 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.
+- 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]
+- Added dutch translations, thanks to Atopia. [jladage]
-- AllowedTypesByIface is broken, it seems - adding manual override to fix
- this in ATVM.
- [optilude]
+- AllowedTypesByIface is broken, it seems - adding manual override to fix this
+ in ATVM. [optilude]
-- removed workflows from ATVM types on installation
- [ferri]
+- Removed workflows from ATVM types on installation. [ferri]
-- added brazilian portuguese translation and portal_vocabularies title i18n
- support
- [ferri]
+- Added brazilian portuguese translation and portal_vocabularies title i18n
+ support. [ferri]
-- added i18n and Czech translation
- [naro]
+- Added i18n and Czech translation. [naro]
-- uncommented code in Install.py to make portal_vocabularylib not show in the
- navigation tree
- [panjunyong]
+- 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]
+- Use StringWidget instead of IDWidget for Simple vocaublary term. [panjunyong]
Added: Products.ATVocabularyManager/trunk/CONTRIBUTORS.txt
==============================================================================
--- (empty file)
+++ Products.ATVocabularyManager/trunk/CONTRIBUTORS.txt Tue Apr 5 17:52:34 2011
@@ -0,0 +1,23 @@
+Author
+======
+
+- Jens Klein <[email protected]>
+
+- Major contributions by Harald Friessnegger 'frisi': i18n, cleanup,
+ more cleanup of hierachical vocabularies.
+
+
+Contributors
+============
+
+Several people committed smaller fixes and translations, thank you all!
+
+- andrewburkhalter - <[email protected]>
+- do3cc
+- fRiSi <harald.webmeisterei.com>
+- gotcha <[email protected]>
+- jensens <[email protected]>
+- naro <[email protected]>
+- rocky <[email protected]>
+- thet <[email protected]>
+- Wouter Vanden Hove, <[email protected]>
Added: Products.ATVocabularyManager/trunk/MANIFEST.in
==============================================================================
--- (empty file)
+++ Products.ATVocabularyManager/trunk/MANIFEST.in Tue Apr 5 17:52:34 2011
@@ -0,0 +1,4 @@
+include *.txt
+
+recursive-include docs *
+recursive-include Products *
\ No newline at end of file
Modified: Products.ATVocabularyManager/trunk/Products/ATVocabularyManager/doc/simplevocabulary.txt
==============================================================================
--- Products.ATVocabularyManager/trunk/Products/ATVocabularyManager/doc/simplevocabulary.txt (original)
+++ Products.ATVocabularyManager/trunk/Products/ATVocabularyManager/doc/simplevocabulary.txt Tue Apr 5 17:52:34 2011
@@ -1,4 +1,3 @@
-=================
Simple Vocabulary
=================
@@ -6,7 +5,7 @@
Creating a simple vocabulary
-============================
+----------------------------
SimpleVocabularies can be created in the vocabulary library:
@@ -25,7 +24,7 @@
Creating simple vocabulary terms
-================================
+--------------------------------
Simple vocabularies can only contain SimpleVocabularyTerms.
@@ -51,7 +50,7 @@
Batch creation
---------------
+++++++++++++++
For creating simple vocabularies in python code you can use
a convenience method atvm provides for you:
@@ -73,7 +72,7 @@
Sorting
-=======
+-------
You can define the sort order of the vocabularyterms within a
simplevocabulary by choosing one of the values in `Sort method`.
@@ -109,7 +108,7 @@
Linguaplone Support
-===================
+-------------------
Simple vocabularies have full Linguaplone Support, but also work
w/o having Linguaplone installed::
@@ -133,7 +132,7 @@
Sorting
--------
++++++++
Also sorting on translated vocabularies works as excepted:
XXX write tests for the following
Modified: Products.ATVocabularyManager/trunk/README.txt
==============================================================================
--- Products.ATVocabularyManager/trunk/README.txt (original)
+++ Products.ATVocabularyManager/trunk/README.txt Tue Apr 5 17:52:34 2011
@@ -2,8 +2,10 @@
ATVocabularyManager: a vocabulary managing portal tool for Plone
================================================================
-Overview:
-=========
+.. contents::
+
+Overview
+========
- ATVocabularyManager offers central through the Plone management of
dynamic vocabularies.
@@ -56,20 +58,19 @@
this see doc/search_treevocabulary.txt) attention: curently certain changes in
the term hierachy require a catalog rebuild (see Limitations).
+
Installation
============
-Put the egg in your buildout or include it manual. In Plone go to portal_setup
-and
+See docs/INSTALL.txt.
-To speed up ATVocabularyManager you might want to associate it with a
-Cache-Manager.
+To speed up ATVocabularyManager you might want to associate it with a Cache-Manager.
Dependencies
============
-- Archetypes 1.5.x
+- Archetypes 1.5.x and above.
- Targets with Plone 3.1+
@@ -77,22 +78,19 @@
easy_install imsvdex - )
- Linguaplone (optional: for tests and multilingual vocabularies)
-
+
+
Tests
=====
If you're using a buildout run the tests using
-
+
bin/instance test -s Products.ATVocabularyManager
-
+
To run a certain testmodule run
-
+
bin/instance test -s Products.ATVocabularyManager -m testSimpleVocabulary
-
-Todo
-====
-- UI work
Limitations
@@ -111,9 +109,8 @@
Known Bugs
==========
-- UI does not show in all cases vocabulary/items properly.
-
-Feel free to add bugs in here!
+- Check the issue-tracker: http://plone.org/products/atvocabularymanager/issues
+ Feel free to add bugs in here!
Support
@@ -122,6 +119,7 @@
community support is found at the mailing-lists and IRC-channels announced at
plone.org:http://plone.org
+
Credits
=======
Several parts code was created for the ZUCCARO project.
@@ -129,28 +127,3 @@
Research Online) is a database framework for the Humanities developed
by the Bibliotheca Hertziana, Max Planck Institute for Art History
For further information: "zuccaro.biblhertz.it":http://zuccaro.biblhertz.it/
-
-
-Copyright/ Author/ Licence
-==========================
-
-copyright
- 2010-2011 by BlueDynamics Alliance, Austria, Germany, Switzerland
-
- 2004-2009 by BlueDynamics Alliance, Klein & Partner KG, Austria
- and parts eduplone Open Source Business Network EEIG, Austria
-
- 2007-2008 by BlueDynamics Alliance, Klein & Partner KEG, Austria
-
-author
- Jens Klein <[email protected]>
-
-contributions
- Harald Friessnegger 'frisi': i18n, cleanup, more cleanup of hierachical
- vocabularies (see HISTORY.txt), Spanky, et al
-
-more contributions
- several people committed smaller fixes and translations, thank you all!
-
-license
- This software is under a BSD-like Licence. See separate file LICENCE.txt
Copied: Products.ATVocabularyManager/trunk/TODO.txt (from r13564, Products.ATVocabularyManager/trunk/Products/ATVocabularyManager/todo.txt)
==============================================================================
--- Products.ATVocabularyManager/trunk/Products/ATVocabularyManager/todo.txt (original)
+++ Products.ATVocabularyManager/trunk/TODO.txt Tue Apr 5 17:52:34 2011
@@ -1,36 +1,39 @@
-tasks:
-========
-
- - create an issue: simplevocabs do not get alphabetically ordered,
- nore do they use the order defined by getObjectPositionInParent
- (see issue #4)
+TODO
+====
- - drop the try
- from Products.Archetypes.interfaces.vocabulary import IVocabularyTerm
+Tasks
+-----
- - we should add the parameter 'lang' to IVocabularyTerm.getTermValue
- [jens] agrees, but we should make it optional (normally translations should happen transparently)
+- create an issue: simplevocabs do not get alphabetically ordered,
+ nore do they use the order defined by getObjectPositionInParent
+ (see issue #4)
- - move getTermPath to separate hierarchicalvocabulary interface?
- [hf] this would allow us to differentiate hierarchical vocabularies by their interface
- we'd should to make namedvocbaulary.getKeyPathForTerms aware of this too then...
+- drop the try
+ from Products.Archetypes.interfaces.vocabulary import IVocabularyTerm
- - (missing in alias) mark methods getVocabularyValue and getVocabularyKey as deprecated
- and use the methods getTermValue and getTermKey instead
- [jens] XXX
+- we should add the parameter 'lang' to IVocabularyTerm.getTermValue
+ [jens] agrees, but we should make it optional (normally translations should happen transparently)
- - use zope3 interfaces for terms
- useful for example in NamedVocabulary.getKeyPathForTerms (see comment there)
+- move getTermPath to separate hierarchicalvocabulary interface?
+ [hf] this would allow us to differentiate hierarchical vocabularies by their interface
+ we'd should to make namedvocbaulary.getKeyPathForTerms aware of this too then.
- - resolve TODOs (XXX, FIXME) marked in the code ;-)
+- (missing in alias) mark methods getVocabularyValue and getVocabularyKey as deprecated
+ and use the methods getTermValue and getTermKey instead
+ [jens] XXX
+- use zope3 interfaces for terms
+ useful for example in NamedVocabulary.getKeyPathForTerms (see comment there)
-ideas for features:
-=====================
+- resolve TODOs (XXX, FIXME) marked in the code ;-)
+
+
+Ideas for features
+------------------
selection-depth
--------------------
++++++++++++++++
basic idea:
fields can specify selection depth (0 unlimited, 1 first level, 2 seconde level, etc)
@@ -42,7 +45,7 @@
variable displaylists
-----------------------
++++++++++++++++++++++
basic idea:
field can specify which attribute of the vocabularyterms is used for the
@@ -58,7 +61,7 @@
caching displaylists
-----------------------
+++++++++++++++++++++
basic idea:
caching of displaylists and vocabularydicts using ZCacheable (the only thing we'd
@@ -77,26 +80,25 @@
generic setup support
-----------------------
++++++++++++++++++++++
-basic idea:
+basic idea
vdex already can be ex and imported to xml. we shoud realize it for simple
and term too
[jens] decision needed: use vdex, some own xml or better atxml from marshall
- or just simple Excel importable CSV?)
-
- Jens decision is: vdex (implemented import) or csv (todo).
+ or just simple Excel importable CSV?)
+ Jens decision is: vdex (implemented import) or csv (todo).
-mixins:
--------
+mixins
+++++++
common hierarchic functionality of vdex and tree and possibly other types
should be coded in a mixin.
code and test once, use everywhere
catalog updates
-----------------
++++++++++++++++
current limitation:
@@ -116,14 +118,11 @@
in portal_catalog for indexes used by content types
- the worse problem is to reindex the objects that define custom
- indexes on their path-methods.
- we don't know which catalog they use (could be portal_catalog, but
- also any other)
+ the worse problem is to reindex the objects that define custom indexes on their path-methods.
+ we don't know which catalog they use (could be portal_catalog, but also any other)
brainstorming:
- store catalog and index in vocab or the atvmtool
- provide a hook somewhere that can be implemented
- - maybe use references instead of text-linefields
- to be able to find out which content uses a certain term.
\ No newline at end of file
+ - maybe use references instead of text-linefields to be able to find out which content uses a certain term.
Added: Products.ATVocabularyManager/trunk/docs/INSTALL.txt
==============================================================================
--- (empty file)
+++ Products.ATVocabularyManager/trunk/docs/INSTALL.txt Tue Apr 5 17:52:34 2011
@@ -0,0 +1,52 @@
+Products.ATVocabularyManager Installation
+=========================================
+
+To install Products.ATVocabularyManager into the global Python environment (or a workingenv),
+using a traditional Zope 2 instance, you can do this:
+
+ * When you're reading this you have probably already run
+ ``easy_install Products.ATVocabularyManager``. Find out how to install setuptools
+ (and EasyInstall) here:
+ http://peak.telecommunity.com/DevCenter/EasyInstall
+
+ * If you are using Zope 2.9 (not 2.10), get `pythonproducts`_ and install it
+ via::
+
+ python setup.py install --home /path/to/instance
+
+ into your Zope instance.
+
+ * Create a file called ``Products.ATVocabularyManager-configure.zcml`` in the
+ ``/path/to/instance/etc/package-includes`` directory. The file
+ should only contain this::
+
+ <include package="Products.ATVocabularyManager" />
+
+.. _pythonproducts: http://plone.org/products/pythonproducts
+
+
+Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance
+recipe to manage your project, you can do this:
+
+ * Add ``Products.ATVocabularyManager`` to the list of eggs to install, e.g.:
+
+ [buildout]
+ ...
+ eggs =
+ ...
+ Products.ATVocabularyManager
+
+ * Tell the plone.recipe.zope2instance recipe to install a ZCML slug:
+
+ [instance]
+ recipe = plone.recipe.zope2instance
+ ...
+ zcml =
+ Products.ATVocabularyManager
+
+ * Re-run buildout, e.g. with:
+
+ $ ./bin/buildout
+
+You can skip the ZCML slug if you are going to explicitly include the package
+from another package's configure.zcml file.
Copied: Products.ATVocabularyManager/trunk/docs/LICENSE.txt (from r13564, Products.ATVocabularyManager/trunk/LICENSE.txt)
==============================================================================
--- Products.ATVocabularyManager/trunk/LICENSE.txt (original)
+++ Products.ATVocabularyManager/trunk/docs/LICENSE.txt Tue Apr 5 17:52:34 2011
@@ -1,8 +1,21 @@
-Copyright (c) 2004-2006, BlueDynamics Tyrol - Klein & Partner KEG, Austria,
- eduplone Open Source Business Network EEIG, Austria,
- 2007-2008, BlueDynamics Alliance - Klein & Partner KEG, Austria,
- Jens Klein <[email protected]> and the respective
- authors.
+Copyright / License
+===================
+
+Products.ATVocabularyManager is under a BSD-like Licence.
+
+
+Products.ATVocabularyManager is copyright by
+
+- Jens Klein <[email protected]> and the respective authors
+
+- 2010-2011 by BlueDynamics Alliance, Austria, Germany, Switzerland
+
+- 2007-2008 by BlueDynamics Alliance, Klein & Partner KEG, Austria
+
+- 2004-2009 by BlueDynamics Alliance, Klein & Partner KG, Austria
+ and parts eduplone Open Source Business Network EEIG, Austria
+
+
All rights reserved.
Modified: Products.ATVocabularyManager/trunk/setup.py
==============================================================================
--- Products.ATVocabularyManager/trunk/setup.py (original)
+++ Products.ATVocabularyManager/trunk/setup.py Tue Apr 5 17:52:34 2011
@@ -1,37 +1,59 @@
import os
-from xml.dom.minidom import parse
from setuptools import setup, find_packages
-CLASSIFIERS = [
- 'Programming Language :: Python',
- 'Framework :: Zope2',
- 'Framework :: Plone',
-]
+def read(*rnames):
+ return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+version = '1.7dev'
+
+long_description = (
+ read('README.txt')
+ + '\n' +
+ read('docs', 'LICENSE.txt')
+ + '\n' +
+ read('CONTRIBUTORS.txt')
+ + '\n' +
+ read('TODO.txt')
+ + '\n' +
+ read('Products', 'ATVocabularyManager', 'doc', 'simplevocabulary.txt')
+ + '\n' +
+ read('Products', 'ATVocabularyManager', 'doc', 'search_treevocabulary.txt')
+ + '\n' +
+ read('CHANGES.txt')
+ + '\n'
+ )
-version = '1.6'
-shortdesc = 'Vocabulary library Plone. Central, Pluggable, TTW, with IMS VDEX Support'
-readme = open(os.path.join(os.path.dirname(__file__), 'README.txt')).read()
-changes = open(os.path.join(os.path.dirname(__file__),
- 'HISTORY.txt')).read().strip()
-long_description = readme + '\n\nCHANGES\n=======\n\n' + changes
setup(name='Products.ATVocabularyManager',
version=version,
+ description="Vocabulary library Plone. Central, Pluggable, TTW, with IMS VDEX Support",
+ long_description=long_description,
+ classifiers=[
+ "Framework :: Plone",
+ "Framework :: Zope2",
+ #"License :: OSI Approved :: GNU General Public License (GPL)",
+ "Programming Language :: Python",
+ ],
+ keywords='Plone Vocabulary Manager Zope IMS VDEX Tree Taxonomy Onthology',
author='BlueDynamics Alliance',
author_email='[email protected]',
- classifiers=CLASSIFIERS,
- keywords='Plone Vocabulary Manager Zope IMS VDEX Tree Taxonomie Onthology',
url='https://svn.plone.org/svn/archetypes/Products.ATVocabularyManager/',
- description=shortdesc,
- long_description=long_description,
- packages=['Products', 'Products.ATVocabularyManager'],
- include_package_data = True,
+ #license='GPL version 2',
+ packages=find_packages(exclude=['ez_setup']),
+ namespace_packages = ['Products'],
+ include_package_data=True,
zip_safe=False,
- install_requires=['setuptools', 'imsvdex', 'zope.i18nmessageid'],
- namespace_packages=['Products'],
extras_require = dict(
test = ['interlude', 'Products.LinguaPlone',],
plone4 = ['Plone', 'Pillow'],
),
-
+ install_requires=[
+ 'setuptools',
+ 'imsvdex',
+ 'zope.i18nmessageid'
+ ],
+ entry_points="""
+ [z3c.autoinclude.plugin]
+ target = plone
+ """,
)
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev