Skip to main content

EEA versions

Project description

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.

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.9 - (2014-03-10)

  • Change: getLatestVersionUrl can now be called from the getLatestVersionUrl browser page [ichimdav refs #18316]

6.8 - (2014-01-23)

  • Feature: added test which documents the way versions are returned when viewed by anonymous users [ichim-david refs #18155]

  • Bug fix: archiving an object no longer messes the order of versions for anonymous users [ichim-david refs #18155]

  • Change: creating a version now sets the currently logged in user as the creator of the object while also preserving the previous creators [ichim-david refs #18142]

6.7 - (2014-01-22)

  • Bug fix: removed wrongly added blockquotes within README.rst [ichim-david refs #18064]

  • Feature: adding Sphinx-generated documentation in Page Template format [batradav refs #9502]

6.6 - (2013-12-05)

  • Feature: added a portlet_versions viewlet [tiberich refs #17321]

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]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eea.versions-6.9.zip (180.2 kB view details)

Uploaded Source

File details

Details for the file eea.versions-6.9.zip.

File metadata

  • Download URL: eea.versions-6.9.zip
  • Upload date:
  • Size: 180.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for eea.versions-6.9.zip
Algorithm Hash digest
SHA256 9dfcaf2e8a672bdedc4f832d7d58cdeec9b85561a1be4d6300662b168f8045db
MD5 5b60c29a79bc9291cd1600bff0fa5eca
BLAKE2b-256 ad084b819649ae2246725297f25274c7b59136c4d1a088bd8dc75f9a54ba1c48

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page