Commit Graph

188 Commits (29155fdb8196ccdd4097806177525053e12515ca)

Author SHA1 Message Date
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
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