skip to navigation
skip to content

Not Logged In

eea.versions 6.5

EEA versions

Latest Version: 6.9

http://ci.eionet.europa.eu/job/eea.versions-www/badge/icon http://ci.eionet.europa.eu/job/eea.versions-plone4/badge/icon

EEA Versions is a versioning system based on a version ID to group certains objects and EffectiveDate to determine version number.

Note

This add-on doesn't do anything by itself. It needs to be integrated by a developer within your own products. For reference you can check the eea.sparql package.

Installation

zc.buildout

If you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can do this:

  • Update your buildout.cfg file:

    [instance]
    ...
    eggs =
      ...
      eea.versions
    
    zcml =
      ...
      eea.versions
    
  • 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.

Source code

Latest source code (Plone 4 compatible): - Plone Collective on Github - EEA on Github

Funding

EEA - European Enviroment Agency (EU)

Changelog

6.5 - (2013-09-23)

  • Bug fix: code cleanup; slightly refactor the way the random versionId is calculated [tiberich]

6.4 - (2013-09-17)

  • Bug fix: added a script to migrate old objects storage to new versions storage for objects which were not IVersionEnhanced [tiberich #14751]

6.3 - (2013-09-17)

  • Bug fix: Fixed inconsistent information message regarding assessment state for anonymous users. [tiberich #14613]
  • Bug fix: don't calculate versions if versionId is empty [tiberich #16751]
  • Bug fix: Removed endless loop while generating random_id [voineali refs #16723]

6.2 - (2013-09-06)

  • Bug fix: use POST instead of GET when creating a new version [tiberich #16641]

6.1 - (2013-08-09)

  • Change: when a newer version is present, only show the latest version in the portlet_versions, instead of showing a list of all newer versions

6.0 - (2013-05-21)

  • Bug fix: fix bug caused by missing proper security wrapper in init of a view [tiberich #14568]

5.9 - (2013-05-21)

  • Bug fix: fix getLatestVersionUrl, it needs to be a separate view [tiberich #14568]

5.8 - (2013-05-20)

  • Bug fix: bump version in metadata.xml to ensure automatic upgrades [tiberich #14008]

5.7 - (2013-05-20)

  • Feature: added IVersionControl.can_create_new_version and @@can_create_new_version view as the basis of a mechanism to disable creation of new versions
  • Change: refactor the versioning to simplify code and make it easier to use. Added and improved tests. [tiberich #14008]
  • Pre-upgrade step: run as first step! Go to portal_setup, Upgrades, choose eea.versions:default, execute upgrade step [tiberich #14361]

5.6 - (2013-04-17)

  • Bug fix: improve message show in portlet versions about the latest version [tiberich #14050]

5.5 - (2013-02-25)

  • Feature: added information for contributors [ciobabog refs #13892]
  • Bug fix: don't strip obj of aquisition context when deleting conversation, avoids possible reindexing errors [tiberich #13836]

5.4 - (2013-01-10)

  • Change: hide older version listing by default, listing can be seen by clicking on older versions link [ichimdav #10182]
  • Change: moved older versions listing to the portalMessage div containing new and old versions [ichimdav #10182]
  • Bug fix: avoid page reload when clicking on previous version [ichimdav #10182]

5.3 - (2012-11-27)

  • Bug fix: fix migration code for #9847

5.2 - (2012-11-22)

  • Bug fix: make revoke action hidden by default [tiberich]

5.1 - (2012-11-09)

  • Feature: Added i18n translations [avoinea]
  • Bug fix: don't fail if reindex fails for children of copied (versioned) objects. They will be reindexed anyway in a later step [tiberich #9946]

5.0 - (2012-10-08)

  • Bug fix: added a page to detect and fix objects that have a recorded versionId but they don't publish this to the catalog [tiberich refs #5502]
  • Upgrade step: go to /www/@@missing_values_for_index?portal_type=Specification&index=getVersionId&fix=true Visit it two times. Note the output should be empty the second time. [tiberich refs #5502]

4.7 - (2012-08-10)

  • Bugfix: made eea.versions compatible with plone 4.0 [szabozo0 refs #5387]

4.6 - (2012-06-12)

  • Bug fix: fixed markup of HISTORY.txt file [ciobabog refs #5231]
  • Feature: updated for plone.app.discussion 2.0.10 [szabozo0 #5189]
  • Bug fix: fix pylint warnings [tiberich #5111]
  • Bug Fix: Fixed duplicate key for translation in .pt files [prospchr refs #5162]

4.5 - (2012-05-03)

  • Bug fix: no longer depend on collective.indexing [tiberich #5111]

4.4 - (2012-03-30)

  • Bug fix: check if ver.talkback is None to avoid crash [tiberich #5020]
  • Bug fix: don't start an uncontrolled number of timeouts in javascript versions popup [tiberich #5020]
  • Bug fix: moved createVersionAjax to its own class; use @@createVersion view to do the versioning. This allows packages to override version creation [tiberich #5020]
  • Feature: added test to see if using collective.indexing is faster [tiberich #5033]

4.3 - (2012-02-15)

  • Feature: added method for checking if context object is latest [demarant]

4.2 - (2011-11-22)

  • Bug fix: Fixed versions portlet for items with non-ASCII chars [voineali #4760]

4.1 - (2011-11-18)

  • Rerelease broken egg

4.0 - (2011-11-18)

  • Change: Cleaned up versions.py, the modal box copes with server errors, it displays an error message in case of any error (except apache timeout) [szabozo0 #4612]
  • Feature: Avoid timeout error message on creating new version, display fancybox while copying, show link to the new version when copy is done [szabozo0 #4612]
  • Bugfix: fixed "Permalink to latest version" in case if only one entry is available [szabozo0 #4630]
  • Feature: added a utility view, @@get_interfaces [tiberich #4275]
  • Feature: Added upgrade steps [voineali #4392]
  • Feature: Plone 4.x compatible release [tiberich #4275]

1.10 - (2011-04-07)

  • Bug fix: omitted the change of object to obj which broke the version portlet [ichimdav]
  • Cleanup: of pyflakes warnings [ichimdav #4141]
  • Cleanup: of pylint violations [ichimdav #4140]

1.9 - (2011-02-01)

  • Feature: make versioning trigger IVersionCreated event [tiberich #3988]
  • Change: set effective and expiration date to None when creating a version [tiberich #4000]

1.8 - (2010-10-29)

  • API Change: renamed has_versions to isVersionEnhanced, also coresponding view [tiberich #3278]

1.7 - (2010-10-29)

  • Change: changes _get_random() to make catalog checks, so that it doesn't return duplicated versionIds [tiberich #3758]

1.6 - (2010-10-07)

  • Use getToolByName instead of acquisition to retrieve portal_membership. [tiberich]

1.5 - (2010-10-06)

  • Add a nextURL parameter in the @@assign_version view [tiberich #3650]

1.4 - (2010-09-30)

  • Feature: Delete comments when creating a new version [ghicaale #3601]

1.3 - (2010-09-17)

  • Bug fix: fixed getting workflow state title [ghicaale]

1.2 - (2010-09-06)

  • Feature: Messages now display title of the workflow state instead of its id [ghicaale #3576]
  • Feature: Versions listing colored based on review_state [ghicaale #3576]
  • Bug fix: Do not display versions in 'public draft' for anonymous [ghicaale #3576]

1.1 - (2010-08-16)

  • Feature: If there is no EffectiveDate, version number is computed based on CreationDate [ghicaale #3506]

1.0 - (2010-07-01)

  • Initial release, based on code from eea.dataservice [tiberich]
 
File Type Py Version Uploaded on Size
eea.versions-6.5.zip (md5) Source 2013-09-25 94KB
  • Downloads (All Versions):
  • 71 downloads in the last day
  • 383 downloads in the last week
  • 1875 downloads in the last month