We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21502
    • 16 Posts
    Hello,

    Does anyone know if there are add-ons for modx that will do version control for files uploaded to a site? Basically looking for the same type of functionality available in the Download Repository on modxcms.com, i.e. you can upload new versions of file while maintaining an archive of older versions.

    Also would like to implement some basic workflow in the system, e.g. someone uploads a new file or creates a new webpage, but it doesn’t go live till someone else approves it.

    Thanks,

    Jonathan
      • 19973
      • 1 Posts
      Other cms which are focussed on document management have "version control". I am also seeking for a way how to do this with MODx but found no idea yet.

      This characterization I found about an older CMS (maybe Daisy ist good regarding version control, but generelly I would not recommend Daisy because it is "old-fashioned")

      Version control (also known as revision control or source control) is the management of multiple versions of the same unit of information. It is most commonly used in situations where teams must manage the ongoing development of critical information in digital documents such as web pages, lists, application source code, art resources, etc. Changes to these documents are identified by a "version number", "version level", or simply "version" and are associated historically with the person making the change. Daisy’s version control, for example, has the initial version of a document assigned the revision number "1". When the first change is made, that version number is incremented to "2" and associated with the person who entered the changes.

      Implicit in this version control is the ability to return to any earlier state of the information or design, for cases in which an error has been made. Traditionally, revision control systems have used a centralized model, where all the revision control functions are performed on a shared server.

      To prevent "concurrent access" some systems lock files so that only one developer at a time has write access to the central "repository" copies of those files. This is referred to as pessimistic locking. Pessimistic locking prevents users from fetching or updating the same data at the same time. Others, such as CVS, allow multiple developers to edit the same file at the same time and provide facilities to merge changes later. This is referred to as optimistic locking.

      Some systems attempt to manage who is allowed to make changes to different aspects of the program, for instance, allowing changes to a file to be checked by a designated reviewer before being added.

      This I found in the German MODx forums:

      Just to give perhaps perhaps a clearer understanding of version control terminology (assuming that I understand it ):

      "Checkout" assumes that you will be making local copies of files in the repository, working on them, then "committing" the changes back to the repository to be available to others. Since most of us only have read-only access to the repository, the "commit" part is theoretical.
      "Export" is a different process which assumes that you want to make copies of the files but without the intention of editing them and committing the changes.
      "Update" allows you to accept the changes to the repository made by others (after you checked your copy out) into your current working copy.
      "Merge" lets you merge two separate sets of changes together (usually assuming that various people were working on different parts of the file(s) so there are no conflicts).
      http://modxcms.com/forums/index.php?topic=21864.0
        • 25663 MODX Staff
        • 12,272 Posts
        Both of these features are on the Roadmap for MODx Revolution, but will not be in the initial release.
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 22851
          • 805 Posts
          The content history plugin could be of use, probably not for attached documents, but for managing versions of web documents within the manager. I have not yet tried it myself, but have been looking for something like this for a while.
            YAMS: Yet Another Multilingual Solution for MODx
            YAMS Forums | Latest: YAMS 1.1.9 | YAMS Documentation
            Please consider donating if you appreciate the time and effort spent developing and supporting YAMS.