silverstripe versionedfiles

A module to allow for the replacement and version management of asset files.

23
26
PHP

SilverStripe Versioned Files Module

Build Status
Scrutinizer Code Quality
SilverStripe supported module

IMPORTANT: File versioning is built-in with SilverStripe 4.x. There is currently no migration path from this module. Current file versions are handled by SilverStripe’s built-in upgrade tooling. Both past file metadata versions (in FileVersion table) and content versions (in assets/_versions) are retained, but they’re no longer accessible via the CMS UI. If required, those versions can be retrieved by a developer.

Requirements

  • SilverStripe 3.1 +

Installation Instructions

  1. Place this directory in the root of your SilverStripe installation.
  2. Visit yoursite.com/dev/build to rebuild the database.
  3. Visit yoursite.com/dev/tasks/FileVersionCreationTask - this creates initial
    versions for any existing files.

Documentation

User guide

Known Issues

Issue Tracker

Contributing Translations

Translations of the natural language strings are managed through a third party translation interface, transifex.com. Newly added strings will be periodically uploaded there for translation, and any new translations will be merged back to the project source code.

Please use https://www.transifex.com/projects/p/silverstripe-versionedfiles to contribute translations, rather than sending pull requests with YAML files.