Commit Graph

148 Commits (0ff3dada280f172289a45793e50494a4a0730264)

Author SHA1 Message Date
Alex Pott 7dcda1f625
Issue #2977107 by Berdir, alexpott, jibran, larowlan: Use more specific entity.manager services in module .services.yml files 2019-01-11 14:13:39 +00:00
Nathaniel Catchpole a979848a71 Issue #3020001 by Wim Leers, jeqq: Error when normalizing entity reference field item that references to a new entity 2019-01-07 11:45:52 +00:00
Alex Pott 60505f3693
Issue #3019834 by Berdir, alexpott: Add @trigger_error() to deprecated url/link EntityInterface methods 2018-12-23 14:30:20 +01:00
Nathaniel Catchpole d8a6a68bbf Issue #2787871 by alexpott, yogeshmpawar, Insasse, Prashant.c, catch, hass: Properly deprecate getUserName() and use getAccountName() instead 2018-10-08 11:24:56 +01:00
Alex Pott 68c0fd81dc
Issue #2922487 by Wim Leers, Jo Fitzgerald, Berdir, tedbow, borisson_, dawehner, alexpott: Follow-up for #2910211: fix all deprecation warnings 2018-09-20 15:47:52 +01:00
Nathaniel Catchpole 0ab2dc4e07 Issue #2997771 by martin107, longwave: GetResponseForExceptionEvent: Prepare for Drupal9 2018-09-13 16:21:01 +01: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 725e36091e Issue #2895532 by caseylau, Wim Leers, tedbow, dawehner, DamienMcKenna, gabesullice, Berdir, mistermoper, skyredwang, larowlan, bojanz: @DataType=map cannot be normalized, affects @FieldType=link, @FieldType=map 2018-08-16 11:35:24 +09: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 6c40e077ef
Issue #2937853 by idebr, mfernea, SherFengChong, alexpott, borisson_: Fix 'Drupal.Formatting.MultipleStatementAlignment' coding standard 2018-08-13 11:13:36 +01:00
Alex Pott a46c46194d
Issue #2935738 by samuel.mortenson, Wim Leers, Berdir: Entity reference field subclasses (such as file and image fields) lose the non-default properties upon denormalization, in both hal_json and json 2018-06-18 09:28:31 +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
Nathaniel Catchpole c2585a1888 Issue #2961691 by alexpott, Berdir, timmillwood, idebr: Change SYMFONY_DEPRECATIONS_HELPER back to strict 2018-05-11 15:20:00 +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
Nathaniel Catchpole 45bc05523f Issue #2958429 by alexpott: Properly deprecate SafeMarkup::format() 2018-05-01 16:14:09 +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 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 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
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
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 64ffc1ff4d Issue #2902726 by mfernea, martin107: Fix 'Drupal.Commenting.FunctionComment.ParamCommentNotCapital' coding standard 2017-08-21 19:56:09 +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
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
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
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
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
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 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 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 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
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 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 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
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
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 639272360e Issue #2502621 by Pravin Ajaaz, hussainweb, Peacog, jhodgdon, ivanjaros: Replace implement notes with inheritdoc tag 2015-10-23 13:59:43 -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 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
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
webchick a3786eacbe Issue #2338559 by larowlan, damiankloip, hampercm, mradcliffe, jibran, Berdir, Fabianx, catch: Never serialize password fields by default 2015-02-12 15:08:28 -08:00
Alex Pott adb97dad3a Issue #2327935 by Arla, Anushka-mp: Allow empty entity IDs in EntityResolvers 2015-01-08 19:44:25 +00:00
Nathaniel Catchpole 689797a6bd Issue #2365319 by damiankloip, larowlan: Entity normalization should check field access to avoid leaking data 2014-12-05 10:48:00 +00:00
Alex Pott 428ff5b0c1 Issue #2349879 by damiankloip: Fixed Remove unnecessary call to serializer > normalize in XmlEncoder::encode. 2014-10-07 14:20:37 +02:00
webchick 6caeaf03f3 Issue #2002138 by yched, Jose Reyero, xjm, andypost, fago, msonnabaum, Berdir, dixon_: Use adapters for supporting typed data. 2014-09-28 14:09:08 -07:00
Dries ca85441da2 Issue #2260121 by sun: PHPUnit Tests namespace of modules is ambiguous with regular runtime namespace (+ Simpletest tests). 2014-09-05 12:40:22 -04:00
Alex Pott 0463b81a08 Issue #2322889 by sun: Fixed Various setUp() and tearDown() methods are not protected. 2014-08-18 16:50:50 +01:00
Alex Pott a0290ec6ea Issue #2284413 by damiankloip: Use addMethodCall() instead of replaceArgument() in RegisterEntityResolversCompilerPass. 2014-07-31 13:29:23 +01:00
webchick 30c2afed20 Issue #697760 by sun: Replace getInfo() in tests with native phpDoc + annotations (following PHPUnit). 2014-07-10 20:50:37 -07:00
webchick 67c7e45896 Issue #2262483 by sun: Fixed Some more PHPUnit tests that do not exist. 2014-06-01 23:07:36 -05:00
Alex Pott c9b722d0c3 Issue #2119481 by damiankloip, xjm: Inject EntityManager dependency into UuidResolver. 2014-05-31 15:17:04 -05:00
webchick d0d3e53361 Issue #2247991 by xjm, typhonius, donquixote: [May 27] Move all module code to PSR-4. 2014-05-27 19:43:20 -07:00
Nathaniel Catchpole bf3ba52fa0 Issue #2209337 by tstoeckler: Remove hidden property from test extensions. 2014-05-13 17:55:52 +01:00
catch 2f959b9693 Issue #2188613 by Berdir, Xen, andypost: Rename EntityStorageController to EntityStorage. 2014-03-27 12:54:40 +01:00
webchick 23902766ac Issue #2219925 by tim.plunkett: Rename ConfigEntityInterface::getExportProperties() to toArray(). 2014-03-20 19:31:32 -07:00
webchick bccd2a86d3 Issue #2221929 by tstoeckler: ConfigNormalizerTest.php is misnamed. 2014-03-20 14:16:23 -07:00
webchick 77123f3f1b Issue #340723 by ParisLiakos, sun, Berdir, glennpratt, Cottser, swentel, alexpott, tstoeckler, Xano, tim.plunkett, BassistJimmyJam | beejeebus: Make modules and installation profiles only require .info.yml files. 2014-03-17 07:43:29 -07:00
Alex Pott eba0b71872 Revert "Issue #340723 by ParisLiakos, sun, Berdir, glennpratt, Cottser, swentel, tstoeckler, Xano, tim.plunkett, BassistJimmyJam: Make modules and installation profiles only require .info.yml files."
This reverts commit b4c561d0d5.
2014-03-17 13:02:04 +00:00
Nathaniel Catchpole b4c561d0d5 Issue #340723 by ParisLiakos, sun, Berdir, glennpratt, Cottser, swentel, tstoeckler, Xano, tim.plunkett, BassistJimmyJam: Make modules and installation profiles only require .info.yml files. 2014-03-17 11:57:35 +00:00
Nathaniel Catchpole 53068d078f Issue #2191903 by damiankloip: Provide a ConfigEntityNormalizer. 2014-02-28 10:36:02 +00:00
Alex Pott 8f546e5c33 Issue #2191897 by damiankloip: Unit test the Drupal\serialization\Normalizer\EntityNormalizer class. 2014-02-24 09:43:20 +00:00
webchick b50ffe9928 Issue #2159737 by damiankloip: Unit test the Drupal\serialization\Normalizer\NormalizerBase class. 2014-01-07 23:49:45 -08:00
webchick ab0bb61f14 Issue #2159755 by damiankloip: Unit test the Drupal\serialization\EntityResolver\ChainEntityResolver class. 2014-01-07 23:48:53 -08:00
webchick 12f895ec39 Issue #2132145 by plopesc, amateescu, Xano: Rename 'typed_data' / Drupal::typedData() to 'typed_data_manager' / Drupal::typedDataManager. 2013-12-26 14:22:40 -08:00
Nathaniel Catchpole e8c263c4a5 Issue #2112239 by amateescu: Convert base field and property definitions. 2013-12-06 10:56:29 +00:00
webchick 9bcaedec15 Issue #2047229 by fago, smiletrl, Berdir, effulgentsia, amateescu: Make use of classes for entity field and data definitions. 2013-11-27 13:55:54 -08:00
Alex Pott ab59feb8ea Issue #2095943 by dotoree, Tim Bozeman: Core modules and themes missing the version attribute in info.yml. 2013-10-22 16:23:24 -07:00
Nathaniel Catchpole 06ec77ff33 Issue #2083175 by damiankloip: Unit test Drupal\serialization\Normalizer\ListNormalizer class. 2013-10-15 12:42:02 +01:00
Alex Pott 3cee107ce5 Issue #2100329 by cosmicdreams: Use \Drupal instead of Drupal to make IDEs and static code analyse tools happy. 2013-10-03 12:26:25 +01:00
Alex Pott 29dd37a213 Issue #2083983 by damiankloip: Unit test Drupal\serialization\Encoder\XmlEncoder class. 2013-09-21 17:55:13 +02:00
webchick 1bba30a78f Issue #2083985 by damiankloip: Unit test Drupal\serialization\Encoder\JsonEncoder class. 2013-09-16 20:06:41 -07:00
webchick 5e2fac496d Issue #2083175 by damiankloip: Unit test Drupal\serialization\Normalizer\ListNormalizer class. 2013-09-16 19:31:00 -07:00
webchick 4e5a96f837 Issue #2082735 by damiankloip: Unit test Drupal\serialization\Normalizer\TypedDataNormalizer class. 2013-09-16 19:26:33 -07:00
Alex Pott 79ea2f38f8 Issue #1292284 by ParisLiakos, RobLoach, karschsp: Require 'type' key in .info.yml files. 2013-05-07 14:51:26 +01:00
Alex Pott 34e630950a Issue #1939660 by chx | catch: Use YAML as the primary means for service registration. 2013-04-09 05:32:49 +01:00
Dries 6bf13bd87b Issue #1793074 by cweagans, sun, chx: Convert .info files to YAML. 2013-03-06 17:51:39 -05:00
webchick 254d709b4c Issue #1903784 by linclark, damiankloip, effulgentsia: Move serialization to own module. 2013-02-08 16:02:48 -08:00