Commit Graph

239 Commits (f46d09e956a9a3f493b73241ca9527d7e901b7a8)

Author SHA1 Message Date
Nathaniel Catchpole 45bc05523f Issue #2958429 by alexpott: Properly deprecate SafeMarkup::format() 2018-05-01 16:14:09 +01:00
Alex Pott 33519ea3c7
Issue #2958292 by rlhawk: Use SerializerAwareTrait instead of extending deprecated SerializerAwareNormalizer in NormalizerBase 2018-04-07 08:12:27 +01:00
Alex Pott c3e564843c
Issue #2958293 by rlhawk: Use SerializerAwareTrait instead of extending deprecated SerializerAwareEncoder in XmlEncoder 2018-04-07 08:11:49 +01:00
Nathaniel Catchpole 7eaf9abc72 Issue #2937850 by Wim Leers, plach: Mark revision_default as internal for REST consumers 2018-02-19 12:11:24 +00:00
Nathaniel Catchpole 05422f2a0b Issue #2931765 by timmillwood, Wim Leers: Regression: \Drupal\hal\LinkManager\LinkManagerBase implicitly depends on REST module 2018-01-24 14:21:04 +00:00
Nathaniel Catchpole efd626d075 Issue #2920536 by Wim Leers, Grayside: Force all serializer encoders + normalizers services to be private 2018-01-23 12:12:41 +00:00
Lee Rowlands 8640a9df49
Issue #2543726 by damiankloip, Wim Leers, claudiu.cristea, voleger, dagmar, dawehner, amateescu, tedbow, FredCorreia, mgalalm, caseylau, jibran, dbjpanda, pcambra, Grimreaper, idebr, dmouse, larowlan, Berdir, chx, andypost, yched, fgm: Make $term->parent behave like any other entity reference field, to fix REST and Migrate support and de-customize its Views integration 2018-01-16 09:40:26 +10:00
effulgentsia 49c6761b56 Issue #2891215 by plach, timmillwood, hchonov, amateescu, catch, gabesullice: Add a way to track whether a revision was default when originally created 2018-01-12 15:29:04 -08:00
effulgentsia 2909c978d0 Issue #2924724 by plach, hchonov, timmillwood, Gábor Hojtsy, amateescu, gabesullice, catch: Add an API to create a new revision correctly handling multilingual pending revisions 2018-01-12 10:52:55 -08:00
Lee Rowlands 32cc90b3c1
Issue #2933424 by David_Rothstein, harsha012, jhodgdon, vaplas: English-specific links to php.net shouldn't be used in non-translatable strings 2018-01-05 08:09:08 +10:00
Lee Rowlands 9ba7824211
Issue #2626924 by Wim Leers, tedbow, dawehner, frob, martin107, damiankloip, dagmar, almaudoh, Berdir, larowlan, amateescu: Include processed text in normalizations: "text" field type's "processed" computed property should be non-internal and carry cacheability metadata 2018-01-01 16:16:51 +10:00
webchick 66d19eaa71 Issue #2927566 by Wim Leers: Unit test EntityReferenceFieldItemNormalizerTest mocks incorrectly 2017-12-15 11:59:49 -08:00
webchick dd63977226 Issue #2765959 by davidwbarratt, Wim Leers, dawehner, borisson_, tstoeckler, tedbow, catch: Make 4xx REST responses cacheable by (Dynamic) Page Cache + comprehensive cacheability test coverage 2017-11-30 11:10:35 -08:00
Nathaniel Catchpole 4d176b95ea Issue #2902407 by mfernea, zaporylie: Fix 'Drupal.Commenting.DataTypeNamespace' coding standard 2017-11-16 15:00:40 +00:00
xjm 91e668f575 Issue #2572795 by mfernea, zaporylie, pfrenssen, andypost, attiks, alexpott, xjm, Mile23, catch, borisson_: Fix coding standard for closures - Drupal.WhiteSpace.ScopeClosingBrace and Generic.Functions.OpeningFunctionBraceKernighanRitchie 2017-11-10 05:35:50 -06:00
xjm 6dc062eb45 Issue #2901562 by mfernea, Jo Fitzgerald, Yogesh Pawar, 3ssom, Mile23, borisson_: Fix 'Squiz.WhiteSpace.SuperfluousWhitespace' coding standard 2017-11-09 15:13:57 -06:00
xjm edf57d8ab8 Revert "Issue #2572795 by mfernea, pfrenssen, attiks, andypost, alexpott, xjm, Mile23, catch, borisson_: Fix coding standard for closures - Drupal.WhiteSpace.ScopeClosingBrace and Generic.Functions.OpeningFunctionBraceKernighanRitchie"
This reverts commit c422bdfa53.
2017-11-09 14:37:59 -06:00
xjm c422bdfa53 Issue #2572795 by mfernea, pfrenssen, attiks, andypost, alexpott, xjm, Mile23, catch, borisson_: Fix coding standard for closures - Drupal.WhiteSpace.ScopeClosingBrace and Generic.Functions.OpeningFunctionBraceKernighanRitchie 2017-11-09 10:56:52 -06:00
Lee Rowlands 52a598e2bf
Issue #2910211 by tedbow, Wim Leers: Allow computed exposed properties in ComplexData to support cacheability 2017-11-08 12:01:36 +10:00
xjm 1e850835d9 Issue #2910682 by Wim Leers, jhedstrom, damiankloip, dawehner, Grayside: Mark serializer encoders @internal 2017-11-06 07:46:11 -06:00
Lee Rowlands c74c39e133
Issue #2871591 by tedbow, Wim Leers, dagmar, borisson_, amateescu, dawehner, damiankloip, tstoeckler, mradcliffe, larowlan: Allow ComplexData in TypedData to specify computed properties that should be exposed in normalization and other contexts 2017-11-06 09:14:37 +10:00
Lee Rowlands 96452be02f
Issue #2915414 by Wim Leers, dawehner: Omit "_core" key from normalized config entities, which includes the default config hash 2017-10-19 08:40:31 +10: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
Nathaniel Catchpole 4577185c9b Issue #2572791 by Mile23, andriyun, attiks, RoSk0: Fix 'Drupal.WhiteSpace.OpenBracketSpacing' coding standard 2017-09-22 12:16:23 +01:00
Nathaniel Catchpole 64ffc1ff4d Issue #2902726 by mfernea, martin107: Fix 'Drupal.Commenting.FunctionComment.ParamCommentNotCapital' coding standard 2017-08-21 19:56:09 +09:00
Nathaniel Catchpole fb3c8d4ed7 Issue #2143089 by imadalin, yched, dawehner, harsha012, Wim Leers, c.nish2k3, bradjones1, damiankloip, xjm: Clean up normalizer parameter and variable names to use 'field_items' consistently etc 2017-08-21 16:57:07 +09:00
Nathaniel Catchpole 88d1f67ece Issue #2896845 by amateescu, pk188, plach, timmillwood, Sam152: Provide the 'revision_translation_affected' base field by default for all revisionable and translatable entity types 2017-08-14 10:46:10 +09:00
Nathaniel Catchpole 4342ca29c2 Issue #2847708 by arshadcn, tedbow, Wim Leers, ruloweb, larowlan: RPC endpoint to reset user password 2017-06-26 12:01:28 +01:00
Alex Pott da74f223c3 Issue #2768651 by damiankloip, Wim Leers, mpdonadio, Munavijayalakshmi, Jo Fitzgerald, jhedstrom: Let TimestampItem (de)normalize to/from RFC3339 timestamps, not UNIX timestamps, for better DX 2017-05-24 21:47:56 +01:00
Nathaniel Catchpole d66888c36c Issue #2863778 by BR0kEN, dawehner, l0ke, Wim Leers, alexpott, catch: Clean up \Drupal\hal\Normalizer\NormalizerBase: duplicate less from the parent class \Drupal\serialization\Normalizer\NormalizerBase 2017-05-02 11:47:01 +01:00
Alex Pott 081132ddb7 Issue #2685097 by damiankloip, Wim Leers: Fatal error: Call to a member function normalize() on a non-object in XmlEncoder when encoding into xml and there are embedded objects in the response 2017-04-25 22:30:27 +01:00
Alex Pott 2cd2ec6c39 Issue #2827164 by tedbow, damiankloip, Wim Leers, dawehner: Entity reference field normalization has target_type and target_uuid, but not used in denormalization 2017-04-11 13:48:32 +01:00
Nathaniel Catchpole f408410710 Issue #2867113 by Berdir, Wim Leers: Fatal error in serialization_update_8302() when updating to 8.3.0-rc2 2017-04-05 20:34:34 +01: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 e2554cedeb Issue #2865413 by Jo Fitzgerald, GoZ, klausi: Move RegisterSerializationClassesCompilerPassTest.php to correct location 2017-04-03 15:45:23 +01:00
Alex Pott 4656717240 Issue #2822837 by vaplas, martin107, chiranjeeb2410, klausi, dawehner: Replace @expectedException @expectedExceptionMessage with $this->setExpectedException 2017-03-27 11:26:01 +01:00
Alex Pott bd69cfc93a Issue #2860096 by GoZ, jhodgdon: Remove api doc groups for updates eg. updates-8.2.x-to-8.3.x 2017-03-13 16:02:59 +00:00
Nathaniel Catchpole 01f8bd64ed Issue #2854529 by alexpott, xjm, klausi, Chi, Mixologic: Fix Drupal.Scope.MethodScope - all methods should have scopes 2017-03-06 11:25:01 +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
xjm 6cca8a6da0 Issue #2751325 by damiankloip, Grayside, dawehner, Wim Leers, catch, tedbow, alexpott, himanshu-dixit, Jo Fitzgerald, xjm, andrewbelcher, skyredwang, effulgentsia, hampercm, eelkeblok: All serialized values are strings, should be integers/booleans when appropriate 2017-02-28 10:13:35 -06:00
Nathaniel Catchpole 55a4f988c1 Issue #2854830 by Wim Leers: Move rest/serialization module's "link manager" services to HAL module 2017-02-27 12:22:01 +00:00
xjm f2c2531c52 Issue #2848933 by Wim Leers, tstoeckler: SerializationLinkManagerTest should not enable the rest_test module (because it implicitly enables the rest module) 2017-02-13 04:03:07 -06:00
Alex Pott 34a37704c8 Issue #2851678 by efrainh, jhodgdon: rest.install and other .install files have malformed @defgroup doc blocks 2017-02-11 23:44:38 +00:00
Nathaniel Catchpole 0a3fb0a8a2 Issue #2838144 by arshadcn, Wim Leers, drpal: Update "bundle missing" error message in entity denormalization to indicate which field is actually missing 2017-02-08 13:02:14 +00:00
effulgentsia bfaf6b6e0f Issue #2758897 by Wim Leers, damiankloip, larowlan: Move rest module's "link manager" services to serialization module 2017-01-30 21:53:34 -08:00
Alex Pott 98e7ac3f66 Issue #2838949 by damiankloip: HttpException Handling Does Not Pass Headers to Responses — results e.g. in missing Allow header for 405 responses 2017-01-25 18:40:27 +00:00
Nathaniel Catchpole cf2b9be686 Issue #2820743 by damiankloip, dawehner: FieldNormalizers are very unforgiving, impossible to debug error response given 2017-01-25 13:53:11 +00:00
Alex Pott f182e9d216 Issue #2841542 by Wim Leers: \Drupal\serialization\EventSubscriber\UserRouteAlterSubscriber has serializer service injected, but doesn't use it — also makes route rebuilding more expensive 2017-01-11 11:25:29 +00:00
Alex Pott efb8f715f6 Issue #2739617 by dawehner, Wim Leers, neclimdul, chx: Make it easier to write on4xx() exception subscribers 2017-01-05 13:07:02 +00:00
Alex Pott 23a9dd83fd Issue #2827218 by tedbow, damiankloip, Wim Leers, Berdir, tstoeckler: Denormalization on field items is never called: add FieldNormalizer + FieldItemNormalizer with denormalize() methods 2016-12-21 09:58:53 +00:00
Alex Pott badbcd334b Issue #2813755 by Wim Leers, dawehner, tedbow, damiankloip: JSON responses encoded inconsistently: make them all RFC4627-compliant 2016-12-20 11:31:00 +00:00
Alex Pott 63e73e9cf4 Issue #2835588 by amateescu, Berdir: Restore EntityTestRev's behavior to not implement RevisionLogInterface 2016-12-17 12:03:46 +00:00
Nathaniel Catchpole f4a242f154 Issue #2669802 by chr.fritsch, Berdir, seanB, bojanz, dawehner, yoroy, slashrsm, tstoeckler: Add a content entity form which allows to set revisions 2016-12-13 15:45:12 +00:00
Alex Pott bc7d4f144f Issue #2820888 by lhangea, Wim Leers: Cookie authentication: the user.login.http route never supports the 'hal_json' format or some other format, depending on module order 2016-11-26 21:24:19 +00:00
Alex Pott a74640a640 Issue #2798981 by dawehner, Sam152: ListNormalizer fails to pass on context variable to field items 2016-10-12 12:38:18 +01:00
Alex Pott 0fe04b1520 Issue #2798097 by klausi, claudiu.cristea: Move all kernel tests to their correct phpunit location 2016-09-25 11:47:16 +01:00
Nathaniel Catchpole f6ae58526c Issue #2572801 by alexpott, vprocessor, andriyun, andypost, chishah92, Mile23, attiks, hussainweb, klausi, dawehner, pfrenssen: Fix 'Drupal.WhiteSpace.ScopeIndent' coding standard 2016-08-28 18:16:36 +01:00
Alex Pott 27df05cd81 Issue #2403307 by dawehner, marthinal, tedbow, clemens.tolboom, Wim Leers, neclimdul, Crell, klausi, andypost, e0ipso: RPC endpoints for user authentication: log in, check login status, log out 2016-07-28 18:54:03 +01:00
Alex Pott 1e770ce9f1 Revert "Issue #2403307 by dawehner, marthinal, tedbow, clemens.tolboom, Wim Leers, neclimdul, Crell, klausi, andypost, e0ipso: RPC endpoints for user authentication: log in, check login status, log out"
This reverts commit 18feefc302.
2016-07-28 18:53:42 +01:00
Alex Pott 18feefc302 Issue #2403307 by dawehner, marthinal, tedbow, clemens.tolboom, Wim Leers, neclimdul, Crell, klausi, andypost, e0ipso: RPC endpoints for user authentication: log in, check login status, log out 2016-07-28 17:15:12 +01:00
Alex Pott 871da5e4f7 Issue #2308745 by Alumei, dawehner, Wim Leers, larowlan, Arla, alexpott, g.oechsler, R.Muilwijk, Berdir, catch, klausi, clemens.tolboom, MattA, Crell: Remove rest.settings.yml, use rest_resource config entities 2016-06-19 14:41:10 +01:00
Alex Pott 9764ec4dbc Revert "Issue #2403307 by dawehner, marthinal, clemens.tolboom, tedbow, Wim Leers, neclimdul, Crell, klausi, andypost, e0ipso: RPC endpoints for user authenication: log in, check login status, log out"
This reverts commit da16ae5601.
2016-06-14 12:59:19 +01:00
Alex Pott da16ae5601 Issue #2403307 by dawehner, marthinal, clemens.tolboom, tedbow, Wim Leers, neclimdul, Crell, klausi, andypost, e0ipso: RPC endpoints for user authenication: log in, check login status, log out 2016-06-14 11:43:13 +01:00
Alex Pott 95481848dc Issue #2533776 by nicolas.rafaelli, lluvigne, dagmar: Instead of mocking TypedDataManager, use TypedDataManagerInterface in tests 2016-05-27 15:17:52 +01:00
Alex Pott 491554b180 Issue #1996130 by dawehner, damiankloip, dagmar, marthinal, clemens.tolboom, Nitesh Sethia: REST views: not adding dependencies on Serializer providers 2016-05-27 12:13:13 +01:00
Alex Pott b5969b69bd Issue #2708185 by anoopjohn: Fix 'Drupal.Commenting.FunctionComment' coding standard - Issues related to spacing and styling 2016-05-08 11:29:19 -05:00
Alex Pott 133c212ed9 Issue #2719695 by alexpott, Mile23: Fix 'Drupal.Classes.ClassDeclaration.CloseBraceAfterBody' coding standard 2016-05-08 10:05:38 -05:00
Alex Pott 70f58860c8 Issue #2716685 by Mile23: Part 2: Fix several errors in the 'Drupal.Commenting.DocComment' coding standard 2016-05-05 12:32:19 +01:00
Alex Pott 1b3ffe2ab8 Issue #2572707 by attiks, alexpott: Fix 'Drupal.Files.EndFileNewline' coding standard 2016-04-27 11:05:37 +01:00
Alex Pott 0018b94fa1 Issue #2456477 by Berdir, dawehner, heddn, pguillard: Convert deprecated \Drupal\simpletest\KernelTestBase tests to KernelTestBaseNG 2016-04-26 14:57:14 +01:00
Alex Pott c28553c552 Issue #2700261 by timmillwood, amateescu: allRevisions() entity queries ignore non-revisionable fields 2016-04-26 13:55:42 +01:00
Alex Pott bfde6d3423 Issue #2665992 by alexpott, klausi, heykarthikwithu, xjm, tstoeckler: @file is not required for classes, interfaces and traits 2016-04-09 15:48:39 +01:00
Nathaniel Catchpole fb8d5b1f0c Issue #2686765 by sidharthap, thhafner: cacheUntilEntityChanges() is deprecated and should be replaced with addCacheableDependency() 2016-03-16 10:34:36 +09:00
Nathaniel Catchpole 4d185faff1 Issue #2674408 by alexpott, dawehner: Fix Drupal.Classes.UnusedUseStatement standard in core 2016-03-14 09:22:44 +09:00
Nathaniel Catchpole a3f5ca8a81 Issue #2338747 by dawehner, chx: Move {router} out of system.install and create the table lazy 2016-02-19 13:26:53 +09:00
Nathaniel Catchpole 9040dc8002 Issue #2664466 by dawehner, alexpott, kostyashupenko: url_alias table is only used by a core service but it depends on system install 2016-02-17 16:11:37 +09:00
Nathaniel Catchpole 8e4fe5c0f9 Issue #2641584 by Mac_Weber, heykarthikwithu, legovaer: Replace deprecated usage of entity_create('field_config') with a direct call to FieldConfig::create() 2016-02-16 20:13:36 +09:00
effulgentsia ada4e570d6 Issue #2060677 by damiankloip, dawehner, Wim Leers, larowlan: Add target_type, target_uuid to serialized output of entity reference fields in non-HAL formats 2016-02-11 17:54:37 -08:00
Nathaniel Catchpole d4e7281f28 Issue #2641586 by Mac_Weber, marvin_B8: Replace deprecated usage of entity_create('field_storage_config') with a direct call to FieldStorageConfig::create() 2016-02-09 08:52:18 +09:00
Alex Pott 2ecea88243 Issue #2641540 by Mac_Weber: Replace deprecated usage of entity_create('entity_test_mulrev') with a direct call to EntityTestMulRev::create() 2016-02-04 10:51:39 +00:00
Alex Pott 9f4034ac98 Issue #2642236 by TR: Various setUp() and tearDown() methods are not protected (the sequel) 2016-01-05 10:53:08 +00:00
xjm 10226842ab Issue #2609904 by timmillwood, dawehner: Replace deprecated entity_create() calls in NormalizerTestBase 2015-11-14 17:24:40 -06:00
Alex Pott 0a8d97ec91 Issue #2600538 by rakesh.gectcr, anil280988, justAChris, jhodgdon: Incorrect @file description in core/ classes - wrong namespace or class name 2015-10-27 15:28:29 +00:00
xjm 639272360e Issue #2502621 by Pravin Ajaaz, hussainweb, Peacog, jhodgdon, ivanjaros: Replace implement notes with inheritdoc tag 2015-10-23 13:59:43 -07:00
Nathaniel Catchpole 8b65164c5a Issue #2533800 by alexpott: Remove all unused use statements from core 2015-10-08 20:46:26 +01:00
Alex Pott 97823b5a54 Issue #2429191 by claudiu.cristea, amateescu, yched, nlisgo, Berdir, alexpott, klausi, Wim Leers, xjm, catch: Deprecate entity_reference.module and move its functionality to core 2015-10-06 12:02:22 +01:00
Alex Pott cc1459949f Issue #2575741 by Berdir: Priority of serialialization EntityReferenceFieldItemNormalizer must be lower than the one from hal 2015-10-05 15:13:46 +01:00
effulgentsia 708ce0a998 Issue #2576533 by alexpott, stefan.r, Wim Leers, dawehner, xjm, effulgentsia, catch: Rename SafeStringInterface to MarkupInterface and move related classes 2015-10-01 16:25:03 -07:00
Alex Pott ba447d77ab Issue #2124677 by damiankloip, juampynr, chr.fritsch, klausi: Expose URI in file fields when serializing an object 2015-09-26 15:33:59 +02:00
Alex Pott 7a25f513f5 Issue #2560783 by stefan.r, joelpittet, lauriii, Cottser, Sutharsan, kgoel, justAChris, Gábor Hojtsy, dawehner, jhodgdon, effulgentsia, xjm, andypost, googletorp: Replace !placeholder with :placeholder for URLs in hook_help() implementations 2015-09-21 12:38:19 +01:00
Alex Pott 7461ba213d Issue #2566335 by damiankloip, dawehner: Context data is not passed to normalize() field calls in ComplexDataNormalizer 2015-09-15 10:14:34 +01:00
Alex Pott fe81cfac2a Issue #2451397 by Jaesin, damiankloip, alexpott, dawehner: Entity denormalization fails to retrieve bundle 2015-09-13 17:21:53 +01:00
Nathaniel Catchpole 45a48e8e01 Issue #2501931 by alexpott, alimac, cmanalansan, davidhernandez, scotself, cilefen, RavindraSingh, peezy, YesCT, pwolanin: Remove SafeMarkup::set in twig_render_template() and ThemeManager and FieldPluginBase:advancedRender 2015-08-13 12:33:54 +01:00
Alex Pott 3f0ff2198b Revert "Issue #2501931 by alexpott, alimac, cmanalansan, davidhernandez, scotself, cilefen, RavindraSingh, peezy, YesCT, pwolanin: Remove SafeMarkup::set in twig_render_template() and ThemeManager and FieldPluginBase:advancedRender"
This reverts commit 9ccb44e236.
2015-08-13 10:23:05 +01:00
Nathaniel Catchpole 9ccb44e236 Issue #2501931 by alexpott, alimac, cmanalansan, davidhernandez, scotself, cilefen, RavindraSingh, peezy, YesCT, pwolanin: Remove SafeMarkup::set in twig_render_template() and ThemeManager and FieldPluginBase:advancedRender 2015-08-13 09:54:02 +01:00
Alex Pott 1f53649bfb Issue #1392754 by tss, justAChris, jhodgdon: Comply with new documentation standards for @file for namespaced class files 2015-06-26 21:53:33 +01:00
xjm 088f8b357a Issue #2491155 by mikeburrelljr, Mac_Weber, opdavies: Update drupal.org and kernel.org URLs in core modules (Follow-up to 2489912) 2015-05-24 15:08:46 -05:00
Jennifer Hodgdon 6477492ee6 Issue #2473105 by ifrik, jhodgdon, lostkangaroo, opratr, LinL: Update hook_help texts that link to modules that can be uninstalled 2015-05-20 07:25:07 -07:00
Alex Pott 20add38187 Issue #2336247 by larowlan, andythorne: Make Relation and Type domain configurable based on context 2015-05-08 15:58:10 -07:00
Alex Pott fdc1c3daf8 Issue #2383863 by rpayanm, mgifford, maximpodorov, Valentine94: Spellchecking Drupal - Comments 2015-04-02 11:59:11 +01:00