Commit Graph

71 Commits (82f1a1ca6cdc4c41fe399914dedd226a8250294d)

Author SHA1 Message Date
Nathaniel Catchpole 82f1a1ca6c Issue #2848775 by Sam152, eyilmaz, D34dMan, DuneBL, huzooka: BaseFieldOverride entities created by content_translation break content_moderation because they don't support computed fields 2017-08-14 10:38:26 +09:00
Nathaniel Catchpole 8c9c8d3b93 Issue #2900687 by timmillwood, Sam152, DuneBL: Fatal error when saving a node type without content moderation 2017-08-13 16:34:12 +09:00
Nathaniel Catchpole e259a77888 Issue #2898020 by amateescu, timmillwood: Simplify ContentModerationStateTest 2017-08-11 15:07:31 +09:00
Nathaniel Catchpole e6f77992cd Issue #2893888 by plach, Sam152, amateescu, evilehk: Content moderation state entity field data not removed when the host field data is 2017-08-10 16:16:25 +09:00
Lee Rowlands 2534957ae1
Issue #2900019 by tim.plunkett, joelpittet: \Drupal\content_moderation\EventSubscriber\ConfigImportSubscriber causes errors when importing any non-workflow config 2017-08-07 18:14:46 +10:00
xjm f589b8800a Issue #2856917 by amateescu, kriboogh: Moderating an entity that uses a special language (e.g. LANGCODE_NOT_SPECIFIED) throws exception 2017-08-05 10:29:45 -05:00
Nathaniel Catchpole 42c492cd70 Issue #2892967 by amateescu, Sam152: \Drupal\content_moderation\EntityTypeInfo::formAlter() is half broken 2017-08-05 09:40:56 +09:00
Lee Rowlands 2d5e8d119d
Issue #2753717 by timmillwood, amateescu, alexpott, mtodor, boaloysius, Jo Fitzgerald, phenaproxima, plach, gaurav.kapoor, tkoleary, yoroy, larowlan, karlos007, Berdir, Sam152: Add select field to choose moderation state on entity forms 2017-08-02 07:34:36 +10:00
Lee Rowlands f7f742ef56
Issue #2896722 by Sam152, Wim Leers, tim.plunkett, larowlan, timmillwood: Leverage PluginWithFormsInterface to encapsulate @WorkflowType schema and clean up state/transition form methods 2017-08-01 18:08:48 +10:00
Lee Rowlands aee577b8a7
Issue #2890364 by timmillwood, amateescu, plach, xjm: Replace all uses of "forward revision" with "pending revision" 2017-07-31 08:39:37 +10:00
Lee Rowlands a16b9c74c2
Issue #2893778 by timmillwood, Sam152, Wim Leers: Remove deprecated Workflows methods 2017-07-29 17:08:18 +10:00
Lee Rowlands b3aa553406
Issue #2894499 by amateescu, Manuel Garcia, xjm: Rename 'Editorial workflow' to 'Editorial' 2017-07-28 13:56:18 +10:00
Lee Rowlands e7d43505b2
Revert "Issue #2894499 by amateescu, Manuel Garcia, xjm: Rename 'Editorial workflow' to 'Editorial'"
This reverts commit 6fb8ad45d6.
2017-07-28 10:55:46 +10:00
Lee Rowlands 6fb8ad45d6
Issue #2894499 by amateescu, Manuel Garcia, xjm: Rename 'Editorial workflow' to 'Editorial' 2017-07-28 09:11:47 +10:00
Lee Rowlands 832d7695ac
Issue #2830740 by timmillwood, amateescu, Sam152, alexpott, martin107, plach, catch: Allow workflow types to lock certain changes to workflows once things are in use 2017-07-28 09:07:55 +10:00
Lee Rowlands 6772e2dfd1
Issue #2849827 by Sam152, timmillwood, larowlan: Move workflow "settings" setters and getters to WorkflowTypeInterface 2017-07-27 13:14:51 +10:00
Nathaniel Catchpole 75fdbf087c Issue #2766957 by timmillwood, vijaycs85, plach, Sam152, Gábor Hojtsy, catch, dawehner, alexpott, hchonov: Forward revisions + translation UI can result in forked draft revisions 2017-07-20 17:17:26 +01:00
Lee Rowlands 930a35b962
Issue #2843753 by Wim Leers, amateescu: Prevent ContentModerationState from being exposed by REST's EntityResource 2017-07-20 13:15:46 +10:00
Lee Rowlands 2441134b04
Issue #2851225 by Sam152, Gábor Hojtsy: Ensure non-configuration bundles are correctly removed when the bundles go away 2017-07-15 18:24:38 +10:00
Nathaniel Catchpole 6ea03e36e2 Issue #2883868 by amateescu, Sam152, timmillwood, plach: Content Moderation decides to set a new revision as the default one way too late in the entity update process 2017-07-11 13:24:30 +01:00
Nathaniel Catchpole 96dfae63c8 Issue #2861417 by Sam152, timmillwood, larowlan: Correctly handle entity validation of the moderation_state field when trying to save invalid states 2017-07-06 16:31:11 +01:00
Nathaniel Catchpole 33d01baced Issue #2888138 by timmillwood: Content Moderation should be tested with Media entity 2017-06-28 13:02:40 +01:00
Nathaniel Catchpole c53b322847 Issue #2068063 by timmillwood, Berdir, tduong, Manuel Garcia, nlisgo, yongt9412, esod, lauriii, jonathan1055, vijaycs85, yoroy, amit.drupal, tkoleary, ifrik, Bojhan, xjm, tstoeckler, amateescu: Change "Save and keep un-/published" buttons to a "Published" checkbox and an included "Save" button 2017-06-15 13:02:05 +01:00
Gabor Hojtsy 69555bcd07 Issue #2884715 by timmillwood, Sam152, larowlan, tstoeckler: Initial Content Moderation transitions are not correct 2017-06-15 09:32:16 +02:00
Alex Pott de122da6a9 Issue #2865498 by jhedstrom, timmillwood, alexpott: Latest revision tab should respect 'view own unpublished content' permission 2017-05-26 18:33:59 +01:00
Alex Pott 3225473ddd Issue #2865213 by acbramley, Sam152, timmillwood: Moderation form submission does not set revision author 2017-05-23 18:03:34 +01:00
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