Commit Graph

45 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
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 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
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
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
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 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 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
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 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
Nathaniel Catchpole 1029c23ef1 Issue #2784357 by alexpott: Remove ModerationInformationInterface::loadBundleEntity() 2016-10-14 17:37:36 +01:00
Alex Pott c13f31cd0b Issue #2817565 by Sam152: Bugs in ModerationStateFieldItemList mean it can never be used with a field formatter 2016-10-14 10:24:21 +01:00
Alex Pott 08b7a3fbc8 Issue #2783393 by Mile23: Fix 'Drupal.Commenting.FunctionComment.IncorrectParamVarName' coding standard 2016-08-18 10:38:31 +01:00
Nathaniel Catchpole 3c1ce586ef Issue #2784341 by alexpott: Remove form functions from ModerationInterface
(cherry picked from commit 0d00a94b139602d9280360dc2977dbc989c6ef1e)
(cherry picked from commit 04abf4c067)
2016-08-17 12:50:14 +01:00
Nathaniel Catchpole ce17b23724 Issue #2779939 by alexpott: Cleanup the ModerationInformationInterface 2016-08-15 22:19:00 +01:00
Nathaniel Catchpole bc00f081e6 Issue #2725533 by timmillwood, alexpott, amateescu, webchick, dixon_, larowlan, dawehner, catch, Crell, Bojhan, jibran, Wim Leers, agentrickard, Berdir: Add experimental content_moderation module 2016-08-08 13:26:31 +01:00