Commit Graph

300 Commits (1df994459b9f47b89a214ec69a41dd33d41e3d11)

Author SHA1 Message Date
Alex Pott 6bf02d966d
Issue #2822382 by voleger, pfrenssen, erozqba, jungle, RytoEX, borisson_, jofitz, shashikant_chauhan, sidharthap, dawehner, xjm, kiamlaluno, catch, daffie, klausi: Make every $modules property protected on classes extending BrowserTestBase and KernelTestBase 2020-04-13 12:05:00 +01:00
Alex Pott 0dc28534c8
Issue #3107732 by mondrake, longwave, swatichouhan012, salah1, xjm, catch, alexpott, Berdir: Between April 13 and April 17, 2020: Add return typehints to setUp/tearDown methods in concrete test classes 2020-04-13 09:56:30 +01:00
xjm 4c453683e4 Issue #3106666 by catch, jungle, xjm, alexpott, tim.plunkett, Berdir: Remove post updates added prior to 8.8.0 2020-03-11 15:58:38 -05:00
catch e1a041c493 Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, xjm, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88** 2020-01-24 23:52:03 +00:00
Lee Rowlands 2e53ac1699
Revert "Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88**"
This reverts commit 136f055066.
2020-01-22 10:30:15 +10:00
Lee Rowlands 136f055066
Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88** 2020-01-22 09:33:30 +10:00
catch a0bdf62a33 Issue #3099583 by alexpott, klausi, neclimdul, heddn: Update coder to 8.3.7 2020-01-07 11:26:29 +00:00
catch 6c6938520b Issue #3093219 by amateescu, longwave, Dinesh18: Remove content_moderation.module BC layers 2019-11-28 12:21:21 +00:00
catch d21afb80d6 Issue #3093132 by Sam152, Dinesh18: Remove isLatestRevision, getLatestRevision, getLatestRevisionId from the ModerationInformation service 2019-11-26 13:27:21 +00:00
Alex Pott 84b9809a0b
Issue #2985253 by mbovan, Berdir, amateescu, Sam152: content_moderation_entity_access() wrongly adds uncacheable dependencies 2019-11-21 16:49:06 +00:00
catch 475ad55f56 Issue #3094292 by Berdir, jibran, plach, ravi.shankar, xjm: Remove usages of deprecated path alias services and clear "DeprecationListenerTrait" entries 2019-11-18 14:14:57 +00:00
xjm 4b12049a28 Revert "Issue #3094292 by Berdir, plach, jibran, ravi.shankar: Remove usages of deprecated path alias services and clear "DeprecationListenerTrait" entries"
This reverts commit ac65a88bed.
2019-11-17 22:48:52 -06:00
catch ac65a88bed Issue #3094292 by Berdir, plach, jibran, ravi.shankar: Remove usages of deprecated path alias services and clear "DeprecationListenerTrait" entries 2019-11-16 23:09:26 +00:00
Alex Pott f2469de972
Issue #3087546 by Berdir, alexpott, martin107, jibran: Remove deprecated entity manager 2019-11-14 10:49:28 +00:00
Alex Pott 2a009c5edd
Issue #3048498 by jonathan1055, Lendude, naveenvalecha, klausi, alexpott, Gábor Hojtsy: [≈Nov. 11] Fix Drupal.Commenting.Deprecated coding standard 2019-11-14 09:08:15 +00:00
catch 19f9474b9b Issue #2742585 by ZeiP, alexpott, mondrake, klausi, tomasnagy, Krzysztof Domański, sokru, kristiaanvandeneynde, dawehner, jeroenbegyn: Deprecate dangerous assertTrue/False() compatibility overrides in PHPUnit Kernel, Functional and FunctionalJavascript tests 2019-11-08 13:53:52 +00:00
catch 32d95eccd7 Issue #3082655 by Wim Leers, alexpott, iyyappan.govind, dww, lauriii: Specify the $defaultTheme property in all functional tests 2019-11-08 13:39:33 +00:00
catch bc6aabc9cd Issue #3087692 by Wim Leers, alexpott: Remove the core key from views configuration 2019-10-22 20:40:16 +01:00
catch e37031e09a Issue #3072702 by alexpott, Wim Leers, mikelutz, xjm, catch, Berdir, tedbow, webchick, shaal, Mixologic, heddn: Core extensions should not need to specify the new core_version_requirement in *.info.yml files so that 9.0.x can be installed 2019-10-15 15:34:52 +01:00
Alex Pott 9f7df658e4
Issue #2934026 by Sam152, govind.maloo, vacho, Jo Fitzgerald, amateescu, Berdir, mikelutz: Deprecate isLatestRevision, getLatestRevision, getLatestRevisionId in the ModerationInformation service 2019-10-11 10:08:27 +01:00
Alex Pott 1d386c5ddb
Issue #2894479 by Sam152, alexpott, amateescu, Berdir, larowlan: Deprecate the Views relationship from moderated content to the "content_moderation_state" entity 2019-10-11 09:45:04 +01:00
Francesco Placella 4362606d71 Issue #3037136 by amateescu, Sam152, blazey, Berdir: Make Workspaces and Content Moderation work together 2019-10-08 00:44:04 +02:00
catch 099ce08ac8 Issue #2336597 by amateescu, slashrsm, jibran, Wim Leers, saki007ster, Berdir, catch, plach, Charlie ChX Negyesi, dawehner, gabesullice: Convert path aliases to full featured entities 2019-10-01 11:30:19 +01:00
Alex Pott 884786d6af
Issue #3065802 by Sam152, mtodor, alexpott: Preview and content moderation widget broken for unsaved entities 2019-09-24 09:40:58 +01:00
Lee Rowlands 0192048dca
Issue #3063323 by idebr, klausi, truls1502: Update drupal/coder to 8.3.6 2019-08-29 13:02:37 +10:00
Lee Rowlands dec55132d4
Issue #2897483 by plach, Sam152, amateescu: Use injected entity type manager in ModerationInformation 2019-08-20 12:05:43 +10:00
Francesco Placella 961c2b1ccb Issue #2803717 by Sam152, timmillwood, dawehner, Berdir, yogeshmpawar, amateescu: Allow 'syncing' content to be updated in content moderation without forcing the creation of a new revision 2019-08-01 23:50:24 +02:00
Alex Pott 74ddb4b305
Issue #3067361 by mikelutz, Berdir: Properly deprecate NodeType::isNewRevision 2019-07-19 07:26:43 +01:00
Lee Rowlands 24d99ffdb1
Issue #3065663 by phenaproxima, alexpott, amateescu, tim.plunkett, Wim Leers: Several post-update functions try to update config entity types without checking if they exist 2019-07-09 09:28:13 +10:00
catch 9e354b8f4f Issue #3064753 by R.shaikh, Sam152: Remove 'latest_revision' views filter schema from content moderation, since it was moved to views 2019-07-01 14:40:24 +01:00
Alex Pott 4a1e820742
Issue #2914873 by nick.james, chr.fritsch, Sam152, alexpott, timmillwood, jhedstrom: The "from state" used for calculating available transitions is changed when using the content moderation state widget and preview mode 2019-06-28 06:54:26 +01:00
catch 3263c8cbab Issue #3059545 by alexpott, Lendude, tstoeckler, Mile23, neclimdul, vijaycs85, Morbus Iff: Improve \Drupal\KernelTests\Config\DefaultConfigTest to install all optional configuration 2019-06-19 16:21:24 +01:00
Alex Pott e82e0c0573
Issue #3059090 by clepson, mondrake, alexpott: Deprecate \Drupal\Tests\PhpunitCompatibilityTrait::setExpectedException() 2019-06-11 12:38:53 +03:00
Lee Rowlands b16578685f
Issue #3055075 by yogeshmpawar, Nugg, Sam152: Move update tests into the 'Update' directory in content moderation 2019-06-05 10:45:15 +10:00
Alex Pott 5cbd58e6a3
Issue #3001299 by seanB, joseph.olstad, damondt, amateescu: Error Loading Language Not Translated For Current Revision 2019-05-18 16:09:35 +02:00
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
Lauri Eskola 9a4a499f07
Issue #3024527 by alexpott, markconroy, waako, occupant: Add and configure stylelint-order 2019-04-01 20:16:16 +03:00
Alex Pott cb03af1056
Issue #3030477 by Manuel Garcia, Anas_maw: Views filter "Published status or admin user" not checking "View any unpublished content" permission 2019-03-26 11:33:43 +00: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
xjm 8d1a7d7c86 Issue #3038442 by Sam152, amateescu, tim.plunkett: Use hook_entity_form_display_alter() instead of Layout Builder's custom overrides display altering hook 2019-03-22 18:42:41 -05: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
Nathaniel Catchpole 9d96532b79 Issue #3035383 by andypost, martin107, Berdir: Replace deprecated usages of entityManager in list builder classes 2019-03-18 16:28:26 +00: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
Nathaniel Catchpole 5cbcd6d33d Issue #2988562 by jeqq, amateescu, timmillwood: Classes that extend SqlContentEntityStorageSchema should not hardcode table names and use the ones provided by the storage instead 2018-08-22 21:42:17 +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
Francesco Placella ab30572ce6 Issue #2916780 by amateescu, timmillwood, alexpott: Rename to "workspaces" 2018-07-24 13:36:16 +02: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 e9dd745e03
Issue #2983837 by Berdir, alexpott, amateescu: Optimize EntityOperations::entityView() 2018-07-09 11:21:28 +01:00
webchick 5409fffb96 Issue #2971699 by amateescu, timmillwood, catch, plach, Sam152: Content Moderation and Workspace don't work together 2018-07-06 09:27:53 -07: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 86c9b347fd Issue #2980405 by mbovan: Fix "view all unpublished content" documentation leftover 2018-06-21 22:40:40 +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
Nathaniel Catchpole 6f8f239d8e Issue #2968519 by alexpott, amateescu, martin107: The entity.query service is essentially deprecated because it relies on \Drupal\Core\Entity\Query\QueryFactory which is 2018-05-17 13:18:31 +01: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 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