Commit Graph

66 Commits (3cb5c72db96223411487b227fcf508a9eb15ab0a)

Author SHA1 Message Date
Nathaniel Catchpole 348ff90c8e Issue #2848508 by timmillwood, dragos-dumi, Sam152, Pavan B S, pradeep22saini: Reverting a revision causes validation error on edit form submit 2017-05-16 13:44:54 +01:00
Alex Pott 2e8b29651c Issue #2878166 by Sam152: Remove deprecated ModerationStateTestBase from core 2017-05-13 08:38:29 +01:00
Gabor Hojtsy 0493d9fbd9 Issue #2843083 by timmillwood, Manuel Garcia, Sam152, naveenvalecha, amateescu, yoroy, Gábor Hojtsy, xjm, jojototh, Bojhan, lauriii: Select entity type / bundle in workflow settings 2017-05-12 10:21:36 +02:00
Alex Pott 2dad9ec019 Issue #2821716 by flocondetoile, anish.a, amateescu, Thew: Fatal error when viewing node with content moderation enabled if a module which implements hook_node_grants() is enabled 2017-05-09 18:01:08 +01:00
Nathaniel Catchpole 260f5f679f Issue #2868429 by Sam152, timmillwood, Adita, RaisinBranCrunch, catch: ModerationStateWidget depends on EntityTypeInterface::getBundleEntityType despite content moderation supporting entity types without a bundle 2017-05-09 14:28:23 +01:00
Alex Pott 469003db9e Issue #2817835 by timmillwood, Sam152, alexpott: When enabling moderation apply a relative state 2017-05-08 11:50:29 +01:00
Alex Pott 8bedf88b63 Issue #2779931 by Sam152, alexpott, timmillwood, Wim Leers, catch, dawehner: Add storage exception that enforces unique content_entity_type_id and content_entity_id on the content moderation state content entity, and add access control handler to forbid all access 2017-05-08 11:09:57 +01:00
Nathaniel Catchpole e88cca5fcb Issue #2864938 by fenstrat, timmillwood, Sam152: Content moderation form doesn't appear on new entities 2017-05-02 10:55:20 +01:00
Nathaniel Catchpole 9e7f7cd4cb Issue #2864008 by nlisgo: Convert web tests to browser tests for content_moderation module 2017-04-28 13:25:10 -04:00
Alex Pott 0aa52f7e7a Issue #2850353 by timmillwood, Pavan B S, Sam152: Test content_moderation with a non-bundleable content entity 2017-04-14 07:59:40 +01:00
Alex Pott 73b750b27c Issue #2864060 by nlisgo, Lendude, alexpott: ModerationStateNodeTypeTest::testEnablingOnExistingContent assertion is misleading 2017-04-14 07:56:04 +01:00
Alex Pott 55e309fc33 Issue #2862988 by timmillwood, catch: EntityOperations::entityPresave doesn't always set the correct default revision 2017-04-14 07:36:40 +01:00
Gabor Hojtsy eee757d9be Issue #2866656 by alexpott, yoroy, timmillwood: Clicking on "New Draft" tab allows you to archive the content 2017-04-12 09:30:32 +02:00
Alex Pott 75f0c02a79 Issue #2850797 by maxocub, dawehner, alexpott: Prepare our phpunit tests to be BC compatible with phpunit 5.x/6.x 2017-04-04 15:29:18 +01:00
Alex Pott d66623ef28 Issue #2819477 by Sam152, timmillwood, dawehner, jibran, xjm: Views integration incorrectly joins content_moderation_state entities with matching IDs, but different entity types 2017-03-13 10:10:04 +00:00
xjm 52e3eec616 Issue #2776975 by joelpittet, dawehner, tim.plunkett, xjm, pfrenssen: March 3, 2017: Convert core to array syntax coding standards for Drupal 8.3.x RC phase 2017-03-03 19:20:24 -06:00
Alex Pott 0d27b06355 Issue #2845151 by Sam152, timmillwood, tstoeckler: ContentModerationStateFormatter pretends it's for the moderated entity, but it is for the content moderation state entity 2017-03-03 11:17:04 +00:00
Nathaniel Catchpole ef4f88376b Issue #2561115 by michaellenahan, alexpott, Lendude, cilefen, lomasr, amit.drupal, Gábor Hojtsy, ifrik, dawehner: Rollback: Use 'Filter' for exposed filter button text in new views and new installations (instead of 'Apply') 2017-02-22 12:37:49 +00:00
Nathaniel Catchpole 4c64f7b840 Issue #2770921 by dawehner, klausi, Mile23, mpdonadio, xjm, claudiu.cristea: Feb 21st: Convert chunk of WTB to BTB by just moving classes, changing use statements adding traits 2017-02-21 12:07:44 +00:00
Alex Pott 037932df45 Issue #2851635 by tim.plunkett, alexpott, dawehner: DefaultSingleLazyPluginCollection retains stale instance IDs 2017-02-14 11:05:36 +00:00
Alex Pott 2a55d2d98a Issue #2781907 by timmillwood, Sam152: Remove unnecessary constraint from moderation state transition validation 2017-02-12 21:21:11 +00:00
xjm 758f01b6f6 Issue #2830581 by alexpott, Sam152, timmillwood, xjm: Fix ContentModeration workflow type to calculate correct dependencies 2017-02-10 15:00:17 -06:00
Nathaniel Catchpole 8f738c844c Issue #2844594 by alexpott, scott_euser, timmillwood, Sam152: Default workflow states and transitions 2017-02-10 17:28:48 +00:00
xjm eb8b64df0f Issue #2850601 by alexpott, xjm, timmillwood: ContentModeration workflow type plugin preserves numeric keys on sorting and not sorting entity types 2017-02-08 15:48:58 -06:00
Alex Pott a3c32ebb6f Issue #2848553 by Sam152, Jaesin, dawehner: Make sure all 'configure' links are valid routes 2017-02-08 21:40:41 +00:00
Chris McCafferty 95e9b9ec4e Issue #2845113 by timmillwood, tstoeckler: Add test coverage that setting an invalid moderation state on a moderated entity fails 2017-02-08 11:20:09 -05:00
xjm 9088257709 Issue #2850592 by alexpott, xjm: Typos in ContentModertaionWorkflowTypeApiTest 2017-02-07 19:09:39 -06:00
xjm 05f42e4b07 Issue #2850341 by alexpott, xjm, timmillwood: Improve \Drupal\content_moderation\Plugin\WorkflowType\ContentModeration::appliesToEntityTypeAndBundle() and ::getBundlesForEntityType() 2017-02-07 15:04:38 -06:00
Chris McCafferty 4ffb98e3d3 Issue #2843997 by Sam152: Add missing test coverage for content edit tab labels 2017-02-05 14:00:34 -05:00
Nathaniel Catchpole 2e4a1c7a9c Issue #2843567 by Sam152, kattekrab: Change "Un-archive" transition label to "Restore" 2017-01-25 13:43:09 +00:00
Nathaniel Catchpole d8c19835a4 Issue #2846013 by Sam152: Use consistent case for the word "workflow" in content_moderation 2017-01-25 13:39:38 +00:00
Alex Pott d55b420af5 Issue #2812811 by Sam152, timmillwood, amateescu, alexpott, catch: Use EntityPublishedInterface during moderation of entities to add support beyond nodes 2017-01-18 17:38:15 +00:00
Alex Pott 5dd7448232 Issue #2844007 by Sam152: Decide if the moderation controls form should set a revision log message 2017-01-17 15:17:47 +00:00
Alex Pott 3bd9f365cf Issue #2842040 by Alan-H, timmillwood: Remove unused code from Content Moderation handlers 2017-01-17 14:07:19 +00:00
Alex Pott 8af814f70d Issue #2843678 by Sam152: Remove dead code in hook_entity_bundle_field_info_alter 2017-01-16 19:15:11 +00:00
Alex Pott 62f81217bd Issue #2843663 by Sam152: Add missing test coverage for content_moderation permissions callback 2017-01-16 10:44:11 +00:00
Alex Pott a76eef7ea3 Issue #2828438 by Adita, timmillwood, Sam152, rachel_norfolk, jp.stacey: Exception when adding tab to a node managed by content moderation 2017-01-16 09:34:11 +00:00
Alex Pott 82f166868b Issue #2799785 by amateescu, timmillwood, dawehner, alexpott: Entity types with non-config bundles can not be moderated 2017-01-13 09:36:42 +00:00
Alex Pott 6b34291332 Issue #2809123 by timmillwood, Sam152: Reverting a revision doesn't keep moderation state 2017-01-12 19:39:19 +00:00
Nathaniel Catchpole 3d72d4be83 Issue #2194783 by Berdir, vprocessor, andypost, Antonnavi, tim.plunkett, Crell, Mile23, catch: Rename EntityTypeInterface::isSubclassOf() to ::entityClassImplements() 2017-01-11 22:06:48 +00:00
Alex Pott 4491a19592 Issue #2842063 by Sam152: Fix undefined index when creating a new content_moderation workflow type and expand test coverage for content_moderation WorkflowType plugin 2017-01-10 14:07:51 +00:00
Alex Pott ac5ccef90a Issue #2818267 by vanessakovalsky, timmillwood, shashikant_chauhan, Sam152: Remove delete link from Manage moderation settings page 2017-01-06 13:14:42 +00:00
Alex Pott ce7cf174eb Issue #2561115 by michaellenahan, Lendude, cilefen, lomasr, amit.drupal, Gábor Hojtsy, dawehner, ifrik: Use 'Filter' for exposed filter button text in new views and new installations (instead of 'Apply') 2017-01-05 21:51:09 +00:00
Alex Pott 4739b5cab0 Issue #2825579 by Sam152, timmillwood, gcb: Unable to Publish/Unpublish from Content Admin Screen when content_moderation enabled 2017-01-05 10:35:57 +00:00
xjm b53de59ae2 Revert "Issue #2828438 by Adita, Sam152, rachel_norfolk, timmillwood, jp.stacey: Exception when adding tab to a node managed by content moderation"
This reverts commit debf5fcc14.
2016-12-15 16:03:18 -06:00
Nathaniel Catchpole debf5fcc14 Issue #2828438 by Adita, Sam152, rachel_norfolk, timmillwood, jp.stacey: Exception when adding tab to a node managed by content moderation 2016-12-15 21:33:01 +00:00
Nathaniel Catchpole 0f13905571 Issue #2779647 by alexpott, Sam152, catch, scookie, yoroy, pericxc, timmillwood, tacituseu, jhedstrom, xjm, bojanz, tstoeckler: Add a workflow component, ui module, and implement it in content moderation 2016-12-13 12:34:20 +00:00
Nathaniel Catchpole 235bfca5ae Issue #2795045 by legovaer, kmoll: Make SchemaCheckTestTrait available outside of the config module 2016-11-21 13:15:27 +00:00
Alex Pott fa34234e58 Issue #2824912 by Sam152, chr.fritsch, timmillwood: The moderation_state field incorrectly reports being read-only 2016-11-10 10:44:53 +00:00
Alex Pott 144fe782a2 Issue #2787881 by timmillwood, amateescu, Sam152, dawehner, alexpott: Moderating a non-translatable entity type throws exception 2016-11-08 10:15:04 +00:00