{"id":25209887,"url":"https://github.com/backdrop-contrib/enforce_revlog","last_synced_at":"2026-01-19T12:02:11.021Z","repository":{"id":185569760,"uuid":"673745608","full_name":"backdrop-contrib/enforce_revlog","owner":"backdrop-contrib","description":"Enforce revisions and/or revision logs for content types on your Backdrop CMS website","archived":false,"fork":false,"pushed_at":"2024-07-27T18:38:24.000Z","size":34,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":9,"default_branch":"1.x-1.x","last_synced_at":"2025-02-10T13:18:48.152Z","etag":null,"topics":["backdrop","backdropcms","cms","editor","revision","revision-control","revision-management","revision-notes"],"latest_commit_sha":null,"homepage":"https://backdropcms.org/project/enforce_revlog","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/backdrop-contrib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-02T10:24:22.000Z","updated_at":"2024-07-27T18:38:29.000Z","dependencies_parsed_at":"2024-01-31T21:37:05.319Z","dependency_job_id":"8ced41fe-b044-496a-8882-95e5f6b1a319","html_url":"https://github.com/backdrop-contrib/enforce_revlog","commit_stats":null,"previous_names":["backdrop-contrib/enforce_revlog"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fenforce_revlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fenforce_revlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fenforce_revlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fenforce_revlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/backdrop-contrib","download_url":"https://codeload.github.com/backdrop-contrib/enforce_revlog/tar.gz/refs/heads/1.x-1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247290717,"owners_count":20914728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backdrop","backdropcms","cms","editor","revision","revision-control","revision-management","revision-notes"],"created_at":"2025-02-10T13:18:49.780Z","updated_at":"2026-01-19T12:02:11.014Z","avatar_url":"https://github.com/backdrop-contrib.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Enforce Revision Logs\n\u003c!--\nThe first paragraph of this file should be kept short as it will be used as the\nproject summary on BackdropCMS.org. Aim for about 240 characters (three lines at\n80 characters each).\n\nAll lines in this file should be no more than 80 characters long for legibility,\nunless including a URL or example that requires the line to not wrap.\n|\u003c- - - - - - - This line is exactly 80 characters for reference - - - - - - -\u003e|\n\nDetail in READMEs should be limited to the minimum required for installation and\ngetting started. More detailed documentation should be moved to a GitHub wiki\npage; for example: https://github.com/backdrop-contrib/setup/wiki/Documentation.\n--\u003e\nEnforce Revision Logs allows an administrator to force users to write a\nrevision log message whenever a revision is created. It can also force a\nrevision to be created for every modification.\n\nIf you have several editors for your website's content, it's probable you'll\nwant to be able to easily track the modifications made by each one on the pages.\n\nWhen enabling node revisions, you can have access to every previous version of\na node. But having to dig into former revisions to know what has been done, or\nto revert to a given point in the past, is not that practical.\n\nEnter log messages. Each time someone updates a node where revisions are\nenabled, one can leave a comment on what has been done. The problem with log \nmessages is that there is no way to make them mandatory, and you'll soon notice\nthat users often forget or disregard what is only optional.\n\nThis module brings a solution by allowing administrators to make revision log\nmessages required as well as enforcing revisions for every modification.\n\nThere are permissions to skip creating a log message and to override the\nsetting to create a new revision. However, you can also go the other way and\nremove the permissions entirely, including from User 1, which could be\nimportant to prevent untracked changes or inadvertent data loss that even\nadministrators can cause.\n\nThis module will work alongside the [Draft Workflow](https://backdropcms.org/project/draft_workflow)\nmodule, and when editing an existing revision the log message, any existing\nlog message will be used.\n\n### Differences from Drupal 7\n- Allow to force revisions for each modification.\n- Allow to force revision log and force revisions for User 1 if permission is\ndisabled for the admin role. This helps you with self discipline in creating\nrevisions.\n- Settings is under Configuration \u003e Content Authoring (`admin/config/content/enforce-revlog`)\nrather than Configuration \u003e User Interface (`admin/config/user-interface/enforce_revlog`).\n- The link to the permissions on the settings page uses either the core\npermission search or the [Filter Permissions](https://backdropcms.org/project/filter_perms)\nmodule to go directly to the settings.\n- Wording and user interface improvements including changing the name to\n\"Enforce Revision Logs\" although the system name remains `enforce_revlog`\n\n## Installation\n\u003c!--\nList the steps needed to install and configure the module. Add/remove steps as\nnecessary.\n--\u003e\n- Install this module using the official Backdrop CMS instructions at\n  https://docs.backdropcms.org/documentation/extend-with-modules.\n- Navigate to Admin \u003e Configuration \u003e Content authoring \u003e Enforce Revision Logs\n(`admin/config/content/enforce-revlog`) to set the Global settings\nand enable for each content type.\n- Alternatively you can (de)activate Enforce Revision Logs for a given content\n  type on the content type configuration form.\n- Configure permissions to override create new revision and skip revision log\nmessages.\n\n## Usage\n\u003c!--\nLink to the repository's wiki if more documentation can be found there. Remove\nthis section if not needed (and consider disabling the wiki in the repo settings\nif not used).\n--\u003e\nEnforce Revision Logs will only be enabled for a node when a revision is about\nto be created. Therefore it WON'T require users to enter a log message\nwhen:\n\n- The node is being created (no previous version exists).\n- \"Create new revision\" is disabled (on the node form or set as a\n  default through the content type configuration form).\n\nMake sure that \"Create new revision\" is checked as the default behavior \nfor the content types on which Enforce Revision Log is set.\n\nEnsure the Global settings and permissions are configured to meet your needs.\n\nIf the \"Create new revision\" checkbox on the node editing form is unchecked\nwhile editing a node, Enforce Revision Logs will be disabled.  If it's checked\nagain, Enforce Revision Logs will be enabled again.\n\n### Developers\nOn the node add/edit form, Enforce Revision Logs will check if the property\n`$node-\u003eenforce_revlog` is set before enabling itself. Therefore you can\ndefine your very own conditions to set/unset `$node-\u003eenforce_revlog` in a\ncustom module.\n\n## Issues\n\u003c!--\nLink to the repo's issue queue.\n--\u003e\nBugs and Feature Requests should be reported in the Issue Queue:\nhttps://github.com/backdrop-contrib/enforce_revlog/issues.\n\n## Current Maintainers\n\u003c!--\nList the current maintainer(s) of the module, and note if this module needs\nnew/additional maintainers.\n--\u003e\n- [Martin Price](https://github.com/yorkshire-pudding) - [System Horizons Ltd](https://www.systemhorizons.co.uk)\n- Collaboration and co-maintainers welcome!\n\n## Credits\n\u003c!--\nGive credit where credit's due.\nIf this is a Drupal port, state who ported it, and who wrote the original Drupal\nmodule. If this module is based on another project, or uses third-party\nlibraries, list them here. You can also mention any organisations/companies who\nsponsored the module's development.\n--\u003e\n- Ported to Backdrop CMS by - [Martin Price](https://github.com/yorkshire-pudding) - [System Horizons Ltd](https://www.systemhorizons.co.uk)\n- Port sponsored by [System Horizons Ltd](https://www.systemhorizons.co.uk)\n- Written for Drupal by [Michaël Dupont](https://www.drupal.org/u/mdupont)\n\n## License\n\u003c!--\nMention what license this module is released under, and where people can find\nit.\n--\u003e\nThis project is GPL v2 software.\nSee the LICENSE.txt file in this directory for complete text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackdrop-contrib%2Fenforce_revlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbackdrop-contrib%2Fenforce_revlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackdrop-contrib%2Fenforce_revlog/lists"}