Go to file
Robbie Averill e4bc553521 API Add document sets, remove *Page methods from DMSDocument
* Add 2.0.0 changelog
* Update DMSInterface and DMSDocumentInterface removing *page and adding getDocumentSetsByPage to DMSInterface
* Update use documentation and update unit tests

This commit changes the relationship from Pages has_many Documents to Pages has_many DocumentSets which are many_many to Documents. The upload field has been upated to attach documents to a set instead of a page, the tests updated and the DMSInterface and DMSDocumentInterface updated to be less relevant to pages and more relevant to document sets.
2017-05-09 13:04:29 +12:00
_config API Add document sets, remove *Page methods from DMSDocument 2017-05-09 13:04:29 +12:00
.tx Transifex translation support 2013-07-08 12:53:17 +02:00
code API Add document sets, remove *Page methods from DMSDocument 2017-05-09 13:04:29 +12:00
css fix js and styles for SS 3.2+ 2016-07-15 17:15:03 +10:00
docs/en API Add document sets, remove *Page methods from DMSDocument 2017-05-09 13:04:29 +12:00
images ENHANCEMENT: Add styling to Embargo and expiry fields. Change date format to dd-mm-yyyy 2012-08-16 16:18:41 +12:00
javascript Added ability to secure DMS assets by user groups. 2017-05-08 16:12:46 +12:00
lang API Add document sets, remove *Page methods from DMSDocument 2017-05-09 13:04:29 +12:00
resources ENHANCEMENT: protecting the "dms-assets" folder from web access 2012-08-07 11:16:10 +12:00
scss fix js and styles for SS 3.2+ 2016-07-15 17:15:03 +10:00
templates API Add document sets, remove *Page methods from DMSDocument 2017-05-09 13:04:29 +12:00
tests API Add document sets, remove *Page methods from DMSDocument 2017-05-09 13:04:29 +12:00
_config.php API Add document sets, remove *Page methods from DMSDocument 2017-05-09 13:04:29 +12:00
.codecov.yml Add codecov YAML configuration to disable comments 2017-05-02 13:06:58 +12:00
.editorconfig Added standard .editorconfig file 2015-12-17 10:21:22 +13:00
.gitattributes DOCS Split readme documentation into docs/en files, add related documents information 2017-05-02 12:55:29 +12:00
.gitignore Make DMSDocument methods chainable. PHPDoc cleanup. 2014-01-10 15:21:50 +13:00
.scrutinizer.yml Added standard Scrutinizer config 2016-02-17 05:52:13 +13:00
.travis.yml Add Codecov integration and Codecov/Scrutinizer badges to readme 2017-05-01 16:49:41 +12:00
code-of-conduct.md Added standard code of conduct file 2016-02-16 12:28:21 +13:00
composer.json Update branch alias for 2.0.x-dev 2017-05-02 09:24:33 +12:00
config.rb ENHANCEMENT: adding scss stlying 2012-08-01 16:12:11 +12:00
CONTRIBUTING.md API Add document sets, remove *Page methods from DMSDocument 2017-05-09 13:04:29 +12:00
LICENSE.md Add BSD-3 Clause license file 2017-05-01 17:02:44 +12:00
README.md DOCS Split readme documentation into docs/en files, add related documents information 2017-05-02 12:55:29 +12:00

Document Management Module (DMS)

Build status Code quality Code coverage Helpful Robot

Overview

The module adds a new DMSDocument model which allows management of large amounts of files, and their relations to pages. In contrast to the File model built into SilverStripe core, it aims to wrap storage and access concerns in a generic API. This allows more fine-grained control over how the documents are managed and exposed through the website.

Additionally, documents are stored and managed as part of a page instead of away in a separate assets store.

Features

  • Relation of documents to pages
  • Relation of documents to other documents
  • Management and upload of documents within a page context in the CMS
  • Metadata management through the powerful GridField and UploadField core APIs
  • Configurable tags for documents
  • Download via SilverStripe controller (rather than filesystem URLs)
  • Access control based on PHP logic, and page relations
  • Replacement of existing files

Documentation

For information on configuring and using this module, please see the documentation section.

Requirements

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-dms/ to contribute translations, rather than sending pull requests with YAML files.

See the "i18n" topic on doc.silverstripe.org for more details.