Commit Graph

361 Commits (1b920b29666dca8b326482036883ffc5b67d339c)

Author SHA1 Message Date
Alex Pott 1e7cb6ac40
Issue #2971779 by timmillwood, amateescu, alexpott, Sam152: Disallow moderation of internal entity types 2018-05-15 09:14:15 +01:00
Lee Rowlands 0d6d22af0b
Issue #2926120 by idebr, zaporylie, borisson_: @var tag must not end with a full stop 2018-05-15 06:49:38 +10:00
Alex Pott be6d515cad
Issue #2572613 by Malevi4, idebr, pfrenssen, Mile23, RajeevK: Fix 'Drupal.Array.Array.CommaLastItem' coding standard 2018-05-11 10:40:33 +01:00
Alex Pott b8f93d5b61
Issue #2901730 by mfernea, ankitjain28may, idebr: Fix 'Squiz.WhiteSpace.FunctionSpacing' coding standard 2018-05-11 10:26:36 +01:00
Alex Pott bdf6c01cb1
Issue #2940830 by Sam152, catch, amateescu, timmillwood: Provide explicit test coverage for isDefaultRevisionPublished and its usage within ModerationStateFieldItemList 2018-05-08 00:04:56 +01:00
Alex Pott 3bfc5a384b
Issue #2938970 by MerryHamster, surbz, msankhala, alexpott, Jo Fitzgerald, Yasiru Nilan, Manuel Garcia, ZeiP, boaloysius, xjm, wturrell, tameeshb, darrenwh, ritzz: Replace drupal_render() in @param, @return, @see, @link, etc 2018-05-03 17:58:24 +01:00
Lee Rowlands 64640c24f0
Issue #2942578 by Sam152: Content Moderation module marked as stable produces failures in Workbench Moderation assets loading 2018-05-03 06:53:14 +10:00
Alex Pott b84b827d42
Issue #2935256 by Jo Fitzgerald, voleger, kim.pepper, ibustos, Yogesh Pawar, catch, jibran: Remove all usages of drupal_get_message and drupal_set_message in modules 2018-05-01 10:15:07 +01:00
Alex Pott 7e11010140
Issue #2960054 by Sam152: content_moderation_post_update_update_cms_default_revisions fails if content_moderation was enabled but no entity types were being moderated 2018-04-11 12:19:54 +01:00
Nathaniel Catchpole d90ac78f3e Issue #2798891 by ankitjain28may, trobey, TR: Define project dependencies in core module .info files 2018-04-06 13:13:01 +01:00
Alex Pott 19d0533ffa
Issue #2927408 by Anas_maw, Erik Frèrejean, timmillwood, Sam152, catch: Default value not correctly set in the ModerationStateWidget 2018-04-04 15:21:50 +02:00
Alex Pott 4a85296adc
Issue #2952544 by hexblot, Sam152, timmillwood: Provide a reason for AccessResult::forbidden() in latest revision 2018-03-29 17:31:46 +01:00
Alex Pott 13822906e5
Issue #2702683 by Manuel Garcia, xjm, prics, pguillard, Jo Fitzgerald, vg3095, ztl8702, lucian.cazaciuc, bojanz, tstoeckler, hchonov, rszrama, rteijeiro, svjuly, jibran, vdanielpop, vasike, jmikii, jhodgdon, Wim Leers, amateescu, Gabr1el, Drupa1ish, ciprian.stavovei: Add plural labels to entity types 2018-03-20 09:57:05 +00:00
Alex Pott 6f4affd1e6 Issue #2865223 by timmillwood, amateescu: Node type form alter sets new revision to false on subsequent saves 2018-03-08 22:10:50 +00:00
Alex Pott 86746fce08 Issue #2940513 by Sam152, Berdir: ModerationStateFieldItemList fails after an entity has been serialized/unserialized 2018-02-27 22:46:58 +00:00
Alex Pott b6890803c1 Issue #2942497 by scott_euser, timmillwood, malcomio, Berdir: Using content moderation block in preview mode causes EntityStorageException 2018-02-12 10:57:12 +00:00
Alex Pott 445b7d0515 Issue #2933099 by Sam152, sathish.redcrackle, amaisano, Berdir: "Default Revision cannot be deleted." But it's not the default revision 2018-02-12 09:31:08 +00:00
Nathaniel Catchpole f51c227edd Issue #2940899 by plach, Wim Leers, hchonov: Regression: _entity_form routes should not get load_latest_revision_flag by default: changes default behavior (= regression) while only Content Moderation needs it 2018-02-08 10:54:19 +00:00
Alex Pott 5a9de4fc76 Issue #2941622 by Wim Leers: Make REST's EntityResource deriver exclude internal entity types and mark ContentModerationState entity type as internal instead of the current hack 2018-02-07 23:36:07 +00:00
effulgentsia a26167382e Issue #2860097 by plach, timmillwood, Sam152, Wim Leers, hchonov, catch, amateescu, matsbla: Ensure that content translations can be moderated independently 2018-02-05 19:39:45 -08:00
effulgentsia 7f1193a749 Issue #2941736 by plach, Sam152, amateescu, timmillwood: Moderation state revisions should have their isDefaultRevision() match the host entity's 2018-02-05 10:32:06 -08:00
Lee Rowlands d9bd719b56
Issue #2914839 by Sam152: The current moderation state in the "meta" region on content entity forms is coupled to the moderation_state field widget 2018-02-03 10:32:53 +10:00
Nathaniel Catchpole 56247da6c2 Issue #2915398 by Sam152, amateescu, timmillwood, plach, mstef: The moderation_state field is not computed during the creation of a new entity translation 2018-01-29 13:18:59 +00:00
xjm 780164e879 Issue #2897132 by timmillwood, Sam152, amateescu, pameeela, xjm, Wim Leers, webchick, lauriii, esod: Mark Content Moderation module as stable 2018-01-27 07:04:29 -06:00
effulgentsia df209e9596 Issue #2924812 by Sam152, plach, Wim Leers, timmillwood, xjm: Deprecate EntityRevisionConverter in content_moderation 2018-01-25 23:09:13 -08:00
effulgentsia 1708b460b8 Issue #2938895 by plach, Wim Leers, hchonov, timmillwood: Make EntityConverter load the latest translation-affecting revision for translated entities 2018-01-23 19:12:30 -08:00
webchick 8eac2a1dd0 Issue #2902187 by amateescu, timmillwood, Sam152, webchick, Manuel Garcia, xjm, plach, DuneBL, larowlan, Bojhan, jibran, Berdir, jojototh: Provide a way for users to moderate content 2018-01-15 12:38:22 -08:00
Lee Rowlands 418e4991b5
Issue #2862041 by Sam152, amateescu, timmillwood, jibran, hamrant, dawehner, plach, Manuel Garcia, Jo Fitzgerald, mgalalm, xjm, larowlan, webchick, Wim Leers, gambry, kkus, tim.plunkett, tedbow, CatherineOmega: Provide useful Views filters for Content Moderation State fields 2018-01-13 17:37:08 +10:00
Alex Pott 7bf384b29c Issue #2866816 by harsha012, BrightBold, cwells, joelpittet, idebr: Update stylelint rule length-zero-no-unit to be consistent with Drupal's CSS standards 2018-01-10 10:55:17 +00:00
Alex Pott cbd3299e68 Issue #2916740 by chr.fritsch, xjm, Manuel Garcia, tstoeckler, alexpott, seanB, Sam152, amateescu, tim.plunkett, dawehner, larowlan, Berdir: Add generic entity actions 2018-01-09 08:47:01 +00:00
Lee Rowlands be569c75d7
Issue #2859381 by Manuel Garcia, Sam152, mstef, jhedstrom: Broken/missing handler for Moderation state field 2018-01-05 08:29:33 +10:00
Lee Rowlands f3b60edab6
Issue #2932154 by jhedstrom: ModerationInformation::getLatestRevisionId returns access-specific results 2017-12-23 09:58:46 +10:00
Lee Rowlands e145f2a543
Issue #2932551 by jeqq: Error when calling ModerationStateFieldItemList::updateModeratedEntity() if the entity doesn't have workflow 2017-12-23 08:58:54 +10:00
Nathaniel Catchpole 03fd77c842 Issue #2927806 by alexpott, mondrake, jibran, Mile23: Use PHPUnit 6 for testing when PHP version >= 7.2 2017-12-22 12:47:46 +00:00
Lee Rowlands 7d1545b32a
Issue #2927569 by tstoeckler, amateescu: Various tests do not set values for required field when creating entities 2017-12-11 07:07:20 +10:00
xjm 752fd5a721 Issue #2924780 by zaporylie: Missing @var annotation for scalars that provide default values 2017-11-22 12:43:49 -06:00
xjm c53606edc9 Issue #2918569 by amateescu, Sam152: Simplify ModerationInformation::getLatestRevisionId() 2017-11-19 15:55:50 -06:00
Lee Rowlands f0a9699064
Issue #2924055 by TuWebO: Wrong description for "view latest version" permission 2017-11-18 14:37:05 +13:00
Nathaniel Catchpole 4d176b95ea Issue #2902407 by mfernea, zaporylie: Fix 'Drupal.Commenting.DataTypeNamespace' coding standard 2017-11-16 15:00:40 +00:00
Nathaniel Catchpole 2bd52f5d50 Issue #2922285 by mstef, timmillwood: Classes should use StateTransitionValidationInterface rather than StateTransitionValidation 2017-11-15 14:33:18 +00:00
Nathaniel Catchpole 839d67fa83 Issue #2922018 by jhedstrom, amateescu: Set revision creation time when moderating content 2017-11-14 14:01:02 +00:00
Alex Pott fd8d98399a Issue #2901722 by mfernea: Fix 'Squiz.Functions.FunctionDeclarationArgumentSpacing' coding standard 2017-10-16 18:19:44 +01:00
Nathaniel Catchpole ee0f806896 Issue #2873696 by nvexler, wengerk, gido, Jo Fitzgerald, xjm: Add @internal to core classes, methods, properties to Form Classes 2017-10-12 16:15:53 +01:00
Alex Pott b85856f417 Issue #2909368 by mfernea, reflie, zaporylie: Fix 'Drupal.Commenting.VariableComment.InlineVariableName' coding standard 2017-10-12 11:31:03 +01:00
Nathaniel Catchpole 64fa6ad712 Issue #2901744 by mfernea: Fix 'PSR2.Namespaces' coding standard 2017-10-10 16:09:51 +01:00
Nathaniel Catchpole f659d6ca8e Issue #2901726 by mfernea, gmario, finn.lewis, robertoperuzzo, rachel_norfolk: Fix 'Squiz.Functions.MultiLineFunctionDeclaration' coding standard 2017-10-10 15:43:06 +01:00
Lee Rowlands 581984949d
Issue #2901478 by Sam152, Jo Fitzgerald, timmillwood: Test ModerationStateWidget::isApplicable with a BaseFieldOverride 2017-10-10 07:38:44 +10:00
Lee Rowlands e9542e5d6e
Issue #2894765 by bendev, Sam152, arunkumark, cedric_a: BlockContentModerationHandler::enforceRevisionsEntityFormAlter sets incorrect keys in form 2017-10-09 20:10:17 +10:00
Nathaniel Catchpole e64d7536a6 Issue #2898886 by Sam152, timmillwood: ContentModerationConfigureForm should use inline list in place of concatenated markup 2017-09-25 15:12:24 +01:00
Nathaniel Catchpole d1227108d2 Issue #2910715 by Sam152: The assertions in ModerationFormTest::testWorkflowInUse are inadequate 2017-09-25 14:57:09 +01:00
Lee Rowlands c9b30844be
Issue #2875896 by Sam152, timmillwood: EntityRevisionConverter isn't invoked if an entity definition doesn't explicitly set an "edit" form handler 2017-09-24 10:51:58 +10:00
Nathaniel Catchpole d64ec77c95 Issue #2890380 by timmillwood, amateescu, acrosman: Remove descriptions of permissions in Content Moderation 2017-09-12 10:12:39 +01:00
xjm df074f63ba Issue #2907316 by timmillwood: The entity type dialog title is a little odd 2017-09-07 14:29:07 -05:00
Nathaniel Catchpole 30a133b0f4 Issue #2865579 by amateescu, Sam152: Rewrite the 'Latest revision' views filter and remove the revision_tracker table 2017-08-25 12:51:01 +09:00
Lee Rowlands 517619e984
Issue #2899306 by Neograph734: Group content moderation permissions per workflow type 2017-08-24 18:16:59 +10:00
Nathaniel Catchpole 22b8c33521 Issue #2900421 by timmillwood, tim.plunkett, catch, Sam152: Architectural review of the Content Moderation module 2017-08-23 20:15:46 +09:00
Nathaniel Catchpole 98c5df8941 Revert "Issue #2900421 by timmillwood, tim.plunkett, Sam152: Architectural review of the Content Moderation module"
This reverts commit c7c9a329ef.
2017-08-23 14:50:22 +09:00
Nathaniel Catchpole c7c9a329ef Issue #2900421 by timmillwood, tim.plunkett, Sam152: Architectural review of the Content Moderation module 2017-08-23 12:52:09 +09:00
Nathaniel Catchpole aa45adec15 Issue #2881645 by jhedstrom, tstoeckler, Sam152, timmillwood, plach: ContentModerationState 'workflow' column empty for all non-default translations 2017-08-18 16:33:44 +09:00
xjm 5c2593d17b Issue #2859455 by Sam152, vijaycs85, timmillwood, dawehner, Wim Leers: Remove superfluous @todos from content moderation 2017-08-15 00:52:02 -05:00
Lee Rowlands f9c65b1160
Issue #2900700 by timmillwood: Add orderby to content_moderation schema sequences 2017-08-15 08:14:16 +10:00
Lee Rowlands 10a1e15fa3
Issue #2900320 by Sam152, timmillwood, Wim Leers: Remove workflow type checkWorkflowAcess() & "view content moderation" permission 2017-08-15 08:11:18 +10:00
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
Lee Rowlands 3cb53fef78
Issue #2898913 by Sam152, andrewmacpherson, Wim Leers: Review a11y concerns in ContentModerationConfigureForm 2017-08-12 17:53:24 +10:00
Nathaniel Catchpole e259a77888 Issue #2898020 by amateescu, timmillwood: Simplify ContentModerationStateTest 2017-08-11 15:07:31 +09:00
Nathaniel Catchpole d4165ff108 https://www.drupal.org/files/issues/2900046-20.patch 2017-08-11 14:59:26 +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
webchick 4ed19288b0 Issue #2899395 by timmillwood, Wim Leers, jojototh, xjm, Bojhan, DyanneNova: Content Moderation form in displayed entity looks broken 2017-08-08 13:07:09 -07: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 42a76cf1ef
Issue #2896721 by Sam152, Wim Leers: Remove the concept of decorated states/transitions from worfklow type plugins. 2017-07-30 08:10:57 +10:00
Lee Rowlands a16b9c74c2
Issue #2893778 by timmillwood, Sam152, Wim Leers: Remove deprecated Workflows methods 2017-07-29 17:08:18 +10:00
Nathaniel Catchpole b77f378db7 Issue #2876419 by Sam152, timmillwood, plach: Review content_moderation module and mark code with @internal where necessary 2017-07-28 16:33:41 +09: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
Nathaniel Catchpole 2b0101ec88 Issue #2881200 by Manuel Garcia: Incorrect syntax on content_moderation.permissions.yml and workflows.permissions.yml 2017-05-24 22:47:24 +01:00
Alex Pott a5818240d6 Issue #2877913 by Sam152, timmillwood, amateescu, Wim Leers: Bring content_moderation library definition into line with the rest of core 2017-05-24 22:33:00 +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
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
Alex Pott c3cad9bd39 Issue #2821265 by tim.plunkett: Allow #entity_builders to use the ::Callback shorthand 2016-10-26 11:10:22 -07:00
Nathaniel Catchpole 962eddec66 Issue #2796581 by tim.plunkett, jibran, catch, swentel, alexpott, cilefen, xjm, amateescu: Fields must store their region in entity displays 2016-10-25 22:21:33 +01: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 b0abe17943 Issue #2813661 by evaldask: A fatal error occurred: Field changed is unknown 2016-10-11 23:16:22 +01:00
Nathaniel Catchpole 59e527c52c Issue #2811927 by timmillwood, alexpott: Disabling Content moderation on a bundle, removes the ability to perform create content on that bundle 2016-10-10 13:22:15 +01:00
Alex Pott aef08f50f3 Issue #2802301 by tstoeckler: Use route providers for ModerationState(|Transition) 2016-09-22 15:23:33 +01:00
Alex Pott 57d9909de5 Issue #2801855 by dbt102: Add_content_moderation_help 2016-09-22 15:20:58 +01:00
Alex Pott 57bbb6f565 Issue #2788487 by timmillwood: Manage moderation tab not displaying on bundle admin 2016-08-26 14:13:05 +01:00
Alex Pott fe33c4b9e7 Issue #2781207 by timmillwood, dawehner: Use class resolver for abstracted Content Moderation classes 2016-08-18 13:39:57 +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 45b845de5e Issue #2781179 by timmillwood: Remove service from class docblocks 2016-08-12 12:31:34 +01:00
Alex Pott ffe7d13ab1 Issue #2780705 by timmillwood: Fix "Manage moderation" dropbutton on /admin/structure/types 2016-08-08 20:35:57 +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