Commit Graph

156 Commits (87d4369e38a8b411fee88553d10e00cf997edfef)

Author SHA1 Message Date
Alex Pott 9c32a1039c
Issue #3034885 by godotislate, Sam152, alexpott: Content moderation paramconverter.latest_revision paramconverter applied on config entity admin route 2019-05-06 11:58:36 +01:00
Alex Pott e07c22588a
Issue #3048698 by Sam152, alexpott, tedbow, fenstrat: Content moderation layout builder integration fails when a node has an associated menu item 2019-04-23 16:26:50 +01:00
xjm 82bba2741a Issue #3018073 by tim.plunkett, kostyashupenko, mark_fullmer, johndevman, JacobSanford: Stop Using Title Case When Not Appropriate in Layout Builder UI 2019-04-22 12:09:53 -05:00
catch f2eaf0178c Issue #3041985 by alexpott, pifagor: Add Generic.CodeAnalysis.EmptyPHPStatement to phpcs rules to prevent empty PHP statements 2019-04-16 21:22:07 +09:00
Lee Rowlands 81d8e2a7da
Issue #2953331 by Sam152, Manuel Garcia, alexpott, azinck, anish.a, amateescu, jibran, Wim Leers, dawehner: Add a views sort handler for sorting content by moderation state 2019-04-16 07:08:21 +10:00
Alex Pott c7beade985
Issue #3003238 by Sam152, Berdir, amateescu, catch, jibran: EntityStorageException: Default revision can not be deleted in content_moderation_entity_revision_delete() 2019-03-25 15:14:52 +00:00
Francesco Placella 5d3322ebda Issue #2554235 by amateescu, plach, Berdir, Sam152, joelpittet, mbaynton, catch, jibran: Make the content entity storage and entity query use the last installed definitions instead of the ones living in code 2019-03-22 15:58:51 +01:00
Alex Pott d4f1cb5a34
Issue #3032287 by Sam152, tim.plunkett, amateescu: Add the content moderation state widget to the layout builder entity form 2019-03-11 14:30:27 +00:00
Nathaniel Catchpole 503d9dde7d Issue #2976035 by amateescu, blazey, hchonov, plach, tstoeckler, catch, jibran, larowlan, alexpott: Entity type CRUD operations must use the last installed entity type and field storage definitions 2019-03-08 10:45:58 +00:00
Nathaniel Catchpole 31fbee706e Issue #3035825 by plach, larowlan, amateescu, jhedstrom: Make it easier to set up the current_user service in kernel tests 2019-03-01 14:10:30 +00:00
Alex Pott d0a2440cff
Issue #2995200 by Sam152, sjancich: Defaults for publishing options do not save when workflow is enabled 2019-02-22 11:15:24 +00:00
Lee Rowlands aa003662d1
Issue #3032548 by Sam152: ContentModerationRouteSubscriber assumes all parameters in an entity form route contain a 'type' key 2019-02-13 15:20:57 +10:00
Alex Pott 47dab9a4a9
Issue #1883744 by hchonov, tim.plunkett, borisson_, xjm, tstoeckler, joachim: Convert Entity to EntityBase for consistency with ContentEntityBase and ConfigEntityBase 2019-02-10 08:17:04 +00:00
Alex Pott 73d9d9b770
Issue #3007716 by Sam152, kevin.dutra, jhedstrom, larowlan: Security update introduces breaking changes to content moderation 2019-01-31 11:57:18 +00:00
Alex Pott 6077050ec7
Issue #3025250 by Sam152, chr.fritsch: BaseFieldDefinition::getProvider() always returns 'content_moderation' 2019-01-21 18:22:56 +00:00
Nathaniel Catchpole c59f10b928 Revert "Issue #3003238 by Sam152, amateescu, Berdir: EntityStorageException: Default revision can not be deleted in content_moderation_entity_revision_delete()"
This reverts commit 2492cdda1c.
2019-01-18 11:07:43 +00:00
Nathaniel Catchpole 2492cdda1c Issue #3003238 by Sam152, amateescu, Berdir: EntityStorageException: Default revision can not be deleted in content_moderation_entity_revision_delete() 2019-01-18 08:54:09 +00:00
Nathaniel Catchpole ba726bed0c Issue #2915383 by Sam152, amateescu, jibran: The moderation_state base field is added to all revisionable entity types even if they do not have moderation enabled 2018-12-10 11:14:02 +00:00
Nathaniel Catchpole bd72409157 Issue #2983958 by Sam152, zolt_toth, amateescu, olivier.br, jibran, greggmarshall: Users expect the "latest translation affected revision" not the "latest revision" in the views UI when moderating content 2018-11-29 15:59:03 +00:00
Francesco Placella dd571111fc Issue #2946402 by Sam152, awm, jibran, lamp5, mattshoaf, amateescu: Content moderation incorrectly always assumes a language is being added when the default language of an entity is being changed 2018-11-15 10:25:23 +01:00
Alex Pott 925b4b5655
Issue #3000573 by Sam152, yongt9412, scott_euser, idflood, Berdir, amateescu: After enabling Workflows and Content Moderation there is a fatal error when trying to edit content translation 2018-11-13 09:40:34 +00:00
Alex Pott dff032ddf4
Revert "Issue #3000573 by yongt9412, scott_euser, Sam152, idflood, Berdir, amateescu: After enabling Workflows and Content Moderation there is a fatal error when trying to edit content translation"
This reverts commit 666388d1f9.
2018-11-08 19:17:02 +00:00
Lee Rowlands 666388d1f9
Issue #3000573 by yongt9412, scott_euser, Sam152, idflood, Berdir, amateescu: After enabling Workflows and Content Moderation there is a fatal error when trying to edit content translation 2018-11-08 19:20:40 +10:00
Nathaniel Catchpole 1e5459ebf2 Issue #2943899 by Sam152, amateescu, tstoeckler: Moderation state field cannot be updated via REST, because special handling in ModerationStateFieldItemList 2018-11-01 14:23:04 +00:00
Lee Rowlands 4dfab43fd5
SA-CORE-2018-006 by alexpott, attilatilman, bkosborne, catch, bonus, Wim Leers, Sam152, Berdir, Damien Tournoud, Dave Reid, Kova101, David_Rothstein, dawehner, dsnopek, samuel.mortenson, stefan.r, tedbow, xjm, timmillwood, pwolanin, njbooher, dyates, effulgentsia, klausi, mlhess, larowlan 2018-10-18 08:46:04 +10:00
Alex Pott 8c6c340fe6
Issue #2886547 by naveenvalecha, Mile23, longwave, impalash, Lendude, dawehner, Mixologic, xjm, borisson_, catch: Add trigger_error to deprecated TestBase base classes/traits that have none, reference CR 2018-10-01 15:40:09 +01:00
Alex Pott b6a29fd2f4
Issue #2856967 by Sam152, yongt9412, alexpott, Berdir, larowlan, timmillwood, nlisgo: Allow admins to select a default starting moderation state 2018-09-21 12:58:56 +01:00
Lee Rowlands 6b663aa312
Revert "Issue #2856967 by yongt9412, Sam152: Allow admins to select a default starting moderation state"
This reverts commit a6b0f1de89.
2018-09-21 10:29:52 +10:00
Lee Rowlands a6b0f1de89
Issue #2856967 by yongt9412, Sam152: Allow admins to select a default starting moderation state 2018-09-21 06:20:21 +10:00
Alex Pott e432eea9d7
Issue #2999306 by longwave, chr.fritsch, alexpott: Update numbering - quick follow-up to #2949964 2018-09-13 13:20:44 +02:00
Lee Rowlands bea23d7ce2
Issue #2949964 by Sam152, longwave, Berdir, amateescu: Add an EntityOwnerTrait to standardize the base field needed by EntityOwnerInterface 2018-09-13 07:27:17 +10:00
Nathaniel Catchpole 8f00a9a1ee Issue #2983887 by Berdir: Add static cache to \Drupal\Core\Entity\ContentEntityStorageBase::getLatest*RevisionId() 2018-08-27 19:51:11 +09:00
xjm fa6b3d95dd Revert "Issue #2822382 by voleger, pfrenssen, erozqba, RytoEX, borisson_, sidharthap, Jo Fitzgerald, shashikant_chauhan: Make every property protected on classes extending BrowserTestBase and KernelTestBase"
This reverts commit 69501f3062.
2018-08-16 18:12:22 -05:00
Nathaniel Catchpole 69501f3062 Issue #2822382 by voleger, pfrenssen, erozqba, RytoEX, borisson_, sidharthap, Jo Fitzgerald, shashikant_chauhan: Make every property protected on classes extending BrowserTestBase and KernelTestBase 2018-08-15 19:55:23 +09:00
Alex Pott e4c48af806
Issue #2972365 by andrewmacpherson, msankhala, Sam152: Unlabeled checkboxes for selecting bundles in workflow edit form 2018-08-07 13:14:45 +01:00
Nathaniel Catchpole 163144a923 Issue #2973791 by alexpott, martin107, mairi, volkerk: Fix deprecation messages related to deprecated comment Action plugins 2018-07-12 13:01:47 +01:00
Alex Pott c7afa35f60
Issue #2503263 by jhedstrom, fgm, cilefen: Config import validation needs to provide error messages 2018-07-06 13:22:33 +01:00
Nathaniel Catchpole 191bf52849 Issue #2848089 by Sam152, mpotter, gnuget, kriboogh, joelpittet: Unable to set a moderation_state value for unsaved entities that are assigned an ID 2018-06-26 16:07:19 +01:00
Nathaniel Catchpole de724027fe Issue #2788777 by alexpott, bircher, jribeiro, Eli-T, mpotter, douggreen, GoZ, DamienMcKenna, Dane Powell, jibran, szeidler, Alumei, andypost, dawehner, johndevman: Allow a site-specific profile to be installed from existing config 2018-06-20 19:03:54 +01:00
Nathaniel Catchpole 34637de7aa Issue #2952307 by chr.fritsch, Sam152, timmillwood: Move workflow config into standard profile 2018-06-19 12:00:45 +01:00
Gábor Hojtsy 2d933ecf71 Issue #2851228 by timmillwood, matthieuscarset, Manuel Garcia, Sam152, Gábor Hojtsy, yoroy, tstoeckler, alexpott, Shiraz Dindar, Fabianx, nbchip: Warn users of what features are not available on a given entity type 2018-05-31 14:00:17 +02:00
Alex Pott add4d39507
Issue #2973493 by Sam152: Remove @todo in content_moderation related to NULL values of the moderation_state field 2018-05-17 10:48:51 +01:00
Alex Pott ed9e93f52f
Issue #2971157 by jhedstrom, Sam152: Moderation state set to default after entity is serialized 2018-05-17 09:56:58 +01:00
Alex Pott 1b07d552de
Issue #2901653 by idebr, ankitjain28may, mfernea, borisson_: Add yml files to phpcs.xml.dist 2018-05-15 09:20:17 +01:00
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 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 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