Commit Graph

256 Commits (6eb60a3669eee5e2bc3adfbb35d80fc79b51d340)

Author SHA1 Message Date
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
Lee Rowlands 2db1774546
Issue #2843770 by Wim Leers, vaplas: EntityResource: Provide comprehensive test coverage for ResponsiveImageStyle entity 2017-07-15 10:26:28 +10:00
Gabor Hojtsy 32276e9498 Issue #2890824 by Wim Leers: Some HAL module functional tests are tagged "@group rest" instead of "@group hal" 2017-07-04 12:52:11 +02:00
Gabor Hojtsy 7d510cc1bc Issue #2873789 by ponies, Wim Leers, xjm: Add change record to @deprecated for TypeLinkManagerInterface 2017-06-28 15:34:56 +02:00
Nathaniel Catchpole 5e2e4a8605 Issue #2843783 by vaplas, Wim Leers, tedbow: EntityResource: Provide comprehensive test coverage for Menu entity 2017-06-12 14:37:00 +01:00
Nathaniel Catchpole 3a6bbc8cae Issue #2843772 by Wim Leers, arshadcn: EntityResource: Provide comprehensive test coverage for DateFormat entity 2017-06-12 12:08:10 +01:00
Nathaniel Catchpole 7e052a1550 Issue #2843768 by Wim Leers, arshadcn, himanshu-dixit, yoroy: EntityResource: Provide comprehensive test coverage for Tour entity 2017-06-12 11:25:32 +01:00
Nathaniel Catchpole a2cc58de8a Issue #2846554 by Berdir, tedbow, amateescu, dawehner, himanshu-dixit, Wim Leers, badrange, damiankloip, catch: Make the PathItem field type actually computed and auto-load stored aliases 2017-06-06 21:27:48 +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
Alex Pott b9c288ba3e Issue #2843767 by arshadcn, Wim Leers, tstoeckler: EntityResource: Provide comprehensive test coverage for BaseFieldOverride entity + add missing access control handler 2017-05-23 15:38:02 +01:00
Alex Pott abf5997d93 Issue #2843758 by jamesdesq, vaplas, Wim Leers: EntityResource: Remove ViewAccessControlHandler and provide comprehensive test coverage for View entity 2017-05-23 15:38:02 +01:00
Alex Pott f135eb20cc Issue #2843771 by arshadcn, Wim Leers: EntityResource: Add an admin permission to RdfMapping entity and provide comprehensive test coverage 2017-05-23 14:58:45 +01:00
Gabor Hojtsy 73aaa2643d Issue #2877593 by alexpott, Berdir, Wim Leers: Improve \Drupal\hal\LinkManager\RelationLinkManager::getRelations() documentation 2017-05-12 14:28:36 +02:00
Alex Pott 4db928776a Issue #2868362 by Berdir, Ginovski, dawehner, Wim Leers, alexpott: HAL RelationLinkManager caches and returns entity type definition object instead of id 2017-05-08 11:29:44 +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 f170a96bc2 Issue #2843774 by jamesdesq, vaplas: EntityResource: Provide comprehensive test coverage for BlockContentType entity 2017-04-29 22:27:19 +01:00
Alex Pott a6b84bfbf2 Issue #2843756 by vaplas, Wim Leers, brentschuddinck, jamesdesq: EntityResource: Provide comprehensive test coverage for FieldStorageConfig entity 2017-04-29 21:27:29 +01:00
Alex Pott 2dc6d91d60 Issue #2843754 by rogierbom, Wim Leers, gaurav.kapoor, vaplas: EntityResource: Provide comprehensive test coverage for Feed entity 2017-04-18 18:52:39 +01:00
Alex Pott 8938ab2906 Issue #2825973 by amateescu, timmillwood, himanshu-dixit, dawehner, Berdir, Wim Leers: Introduce a EditorialContentEntityBase class for revisionable and publishable entity types 2017-04-18 13:47:45 +01:00
Alex Pott b712a2d91f Issue #2843763 by arshadcn, Wim Leers: EntityResource: Provide comprehensive test coverage for ContentLanguageSettings entity 2017-04-15 10:21:42 +01:00
Alex Pott 757cfbbb82 Issue #2843766 by arshadcn: EntityResource: Provide comprehensive test coverage for FieldConfig entity 2017-04-15 10:20:00 +01:00
Alex Pott c522c8f789 Issue #2843773 by Wim Leers: EntityResource: Provide comprehensive test coverage for RestResourceConfig entity 2017-04-15 10:16:43 +01:00
Gabor Hojtsy c8d1f0b157 Issue #2108243 by Wim Leers, prics, linclark, YesCT: Document that HAL's RelationLinkManager(Interface) also supports registered link relation types 2017-04-11 21:12:30 +02:00
Nathaniel Catchpole 3d292b3ede Issue #2843779 by vaplas, Yogesh Pawar: EntityResource: Provide comprehensive test coverage for ShortcutSet entity 2017-04-04 13:34:26 +01:00
Nathaniel Catchpole af81a985ea Issue #2843782 by arshadcn: EntityResource: Provide comprehensive test coverage for Editor entity 2017-04-04 12:06:22 +01:00
Alex Pott 8419d5e2eb Issue #2843752 by arshadcn, Wim Leers: EntityResource: Provide comprehensive test coverage for Item entity 2017-03-28 18:43:26 +01:00
Alex Pott e1524ff3e1 Issue #2843750 by vaplas, sumanthkumarc, Wim Leers: EntityResource: Provide comprehensive test coverage for Shortcut entity 2017-03-28 18:39:27 +01:00
Alex Pott 5955462816 Issue #2843786 by arshadcn: EntityResource: Provide comprehensive test coverage for ImageStyle entity 2017-03-28 18:37:52 +01:00
Alex Pott 5222fbfefd Issue #2843777 by arshadcn, Wim Leers: EntityResource: Provide comprehensive test coverage for NodeType entity 2017-03-28 13:11:16 +01:00
Alex Pott c7d9cdea0c Issue #2843775 by arshadcn, Wim Leers: EntityResource: Provide comprehensive test coverage for CommentType entity 2017-03-28 09:04:02 +01:00
Alex Pott df19756da3 Issue #2843759 by vaplas, Wim Leers: EntityResource: Provide comprehensive test coverage for SearchPage entity 2017-03-28 09:02:31 +01:00
Alex Pott 278c0b8a47 Revert "Issue #2843756 by vaplas, brentschuddinck, Wim Leers: EntityResource: Provide comprehensive test coverage for FieldStorageConfig entity"
This reverts commit bfaa4f5ab6.
2017-03-27 23:34:00 +01:00
Alex Pott df2fd66d59 Issue #2843756 by vaplas, brentschuddinck, Wim Leers: EntityResource: Provide comprehensive test coverage for FieldStorageConfig entity 2017-03-27 11:39:13 +01:00
Alex Pott 66c750c6c7 Issue #2843761 by vaplas, Wim Leers: EntityResource: Provide comprehensive test coverage for ConfigurableLanguage entity 2017-03-27 11:34:14 +01:00
Alex Pott 478f2fb92e Issue #2843762 by vaplas, Wim Leers: EntityResource: Provide comprehensive test coverage for Action entity 2017-03-27 11:31:19 +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 0edd07b2f9 Issue #2853211 by vaplas, Wim Leers, arshadcn: EntityResource::post() incorrectly assumes that every entity type has a canonical URL 2017-03-27 09:30:26 +01:00
Alex Pott 4826159924 Issue #2843757 by vaplas, Wim Leers, alexpott: EntityResource: Provide comprehensive test coverage for FilterFormat entity 2017-03-27 09:15:12 +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
Alex Pott 983612d07e Issue #2858598 by danielnv18, chiranjeeb2410, jhodgdon: hal.install has @defgroup instead of @addtogroup 2017-03-13 09:26:59 +00:00
Alex Pott e4461e6dc8 Issue #2832859 by vaplas, webflo, harings_rob, Wim Leers: Write EntityResourceTestBase subclasses for: MenuLinkContent 2017-03-07 16:47:20 +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
Nathaniel Catchpole 4c64f7b840 Issue #2770921 by dawehner, klausi, Mile23, mpdonadio, xjm, claudiu.cristea: Feb 21st: Convert chunk of WTB to BTB by just moving classes, changing use statements adding traits 2017-02-21 12:07:44 +00:00
Alex Pott d2fdd97d11 Issue #2827084 by damiankloip, Wim Leers, dawehner, prics, larowlan, catch, darrenwh: EntityNormalizer::denormalize should not throw UnexpectedValueException, but \Symfony\Component\HttpKernel\Exception\UnprocessableEntityHttpException, so we get a 422 response instead of 400 2017-02-14 14:09:58 +00:00
xjm 5f178e351d Revert "Issue #2832859 by webflo, harings_rob, Wim Leers: Write EntityResourceTestBase subclasses for: MenuLinkContent"
This reverts commit ef0a8723e4.
2017-02-11 19:23:50 -06:00
Alex Pott ef0a8723e4 Issue #2832859 by webflo, harings_rob, Wim Leers: Write EntityResourceTestBase subclasses for: MenuLinkContent 2017-02-12 00:30:08 +00:00
Nathaniel Catchpole 8dbd209ef3 Issue #2313095 by claudiu.cristea, l0ke, umarzaffer, mrjmd, dawehner, alexpott, catch: Move node constants to NodeInterface 2017-02-09 11:14:54 +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
effulgentsia 0bc54981d2 Issue #2113345 by dawehner, tedbow, Wim Leers, kristiaanvandeneynde, Crell, Grayside, klausi: Define a mechanism for custom link relationships 2017-01-30 12:29:33 -08:00
Alex Pott 5ce4fce14f Issue #2813853 by Wim Leers: RequestHandler has its own error handling rather than leaving it to KernelEvents::EXCEPTION event subscribers 2017-01-25 18:02:58 +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 51d3d8a984 Issue #2805281 by Wim Leers, damiankloip: ?_format=hal_json error responses are application/json, yet should be application/hal+json 2017-01-11 15:32:48 +00:00
Alex Pott 35acba7aed Issue #2824827 by damiankloip, dawehner, Wim Leers, klausi: \Drupal\hal\Normalizer\ContentEntityNormalizer::denormalize() fails with fatal PHP error when bundles are missing from link relation types 2017-01-10 17:40:26 +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
Nathaniel Catchpole 8f53fb1430 Issue #2824576 by Wim Leers: Delete old REST test coverage: (Read|Create|Update|Delete)Test, deprecate RESTTestBase 2016-12-01 15:55:55 +00:00
Nathaniel Catchpole 319076780b Issue #2737719 by Wim Leers, dawehner: EntityResource: Provide comprehensive test coverage: for every entity type, every format, every method 2016-11-30 16:28:46 +00:00
Nathaniel Catchpole 3c4e905762 Revert "Issue #2737719 by Wim Leers, dawehner: EntityResource: Provide comprehensive test coverage: for every entity type, every format, every method"
This reverts commit 59781ffc44.
2016-11-29 13:19:15 +00:00
Nathaniel Catchpole 59781ffc44 Issue #2737719 by Wim Leers, dawehner: EntityResource: Provide comprehensive test coverage: for every entity type, every format, every method 2016-11-29 12:46:11 +00:00
Alex Pott feb3a4df40 Issue #2792205 by fago: Denormalization of entities with translations fails 2016-10-01 08:04:00 +01:00
Alex Pott a7b67e7af1 Issue #2721901 by Mile23, anoopjohn: Fix Drupal.Commenting.FunctionComment.MissingParamName 2016-08-29 06:50:59 -05:00
Alex Pott af1abd851c Issue #2780905 by catch, joelpittet: cache MemoryBackend has a pointless constructor 2016-08-15 11:17:11 +01:00
Nathaniel Catchpole 3700d9fd91 Issue #2427637 by Mile23, keopx, naveenvalecha, marvin_B8: Remove usages of deprecated entity_get_bundles() 2016-07-31 21:20:40 +01: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 942c1cff1b Issue #2572307 by vprocessor, attiks, andriyun, alexpott, pfrenssen: Fix 'Generic.PHP.UpperCaseConstant' coding standard 2016-04-28 17:18:08 +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 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
Alex Pott f3f3800fe4 Issue #2674408 by alexpott: Fix "Drupal.Classes.UnusedUseStatement" standard in core 2016-04-05 11:50:03 +01:00
Nathaniel Catchpole 0f76f79c3d Issue #2680931 by alexpott: Test failures in NormalizeTest 2016-03-30 11:29:29 +09:00
Alex Pott 0db5b13892 Issue #2686207 by Berdir: Convert simpletest kernel tests in modules A-I to phpunit 2016-03-28 19:36:47 +01:00
Nathaniel Catchpole 348aa684a7 Issue #2672600 by borisson_, arunkumark, Mile23: Replace deprecated usage of entity_create('node') with a direct call to Node::create() in comment,datetime,editor,field,hal,system,taxonomy,views 2016-03-04 10:59:57 +09:00
Nathaniel Catchpole 1d75784abe Issue #2672604 by saurabh.tripathi.cs: Replace deprecated usage of entity_create('taxonomy_term') and entity_create('taxonomy_vocabulary') with a direct call to Term::create() and Vocabulary::create() 2016-02-24 13:17:21 +09:00
Nathaniel Catchpole c051385d7b Issue #2600576 by droplet: MIME, not Mime / mime 2016-02-22 21:30:26 +09:00
Nathaniel Catchpole 4b8acaab95 Issue #2304849 by Arla, clemens.tolboom, effulgentsia, kaa4ever: Stop excluding local ID and revision fields from HAL output 2016-02-22 12:26:32 +09:00
Alex Pott 98d39d1bdb Issue #2669400 by jungle, dimaro, rakesh.gectcr, lluvigne, Mile23: Replace deprecated usages of entity_create('type') with a direct call to <EntityType>::create() 2016-02-20 10:55:26 +05:30
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 dc111b405e Issue #2641588 by naveenvalecha, Mac_Weber, dimaro, heykarthikwithu: Replace deprecated usage of entity_create('file') with a direct call to File::create() 2016-02-17 15:25:46 +09:00
Nathaniel Catchpole a55d4651e0 Issue #2641604 by Mac_Weber, lluvigne, heykarthikwithu: Replace deprecated usage of entity_create('node_type') with a direct call to NodeType::create() 2016-02-17 09:24:04 +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
Nathaniel Catchpole 854649c923 Issue #2641624 by heykarthikwithu, Mac_Weber, kostyashupenko: Replace deprecated usage of entity_create('user') with a direct call to User::create() 2016-02-16 16:54:49 +09:00
Nathaniel Catchpole a79891dadf Issue #2503411 by DuaelFr, Mac_Weber: Replace deprecated usage of entity_create('comment*') with a direct call to Comment/CommentType::create() 2016-02-15 08:43:00 +09: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 9067206883 Issue #2571845 by drupal.ninja03, hussainweb, anil280988, snehi, jhodgdon, GoZ, stefan.r: Links to wikipedia/php.net should be part of the actual t() string so they can be localized 2016-01-05 14:31:39 +00:00
Jennifer Hodgdon e225500828 Issue #2607332 by r_sharma08, ashhishhh, snehi, pjonckiere, dawehner: Missing @return tag in getActiveHelp(), denormalize(), createBookNode()
(cherry picked from commit 0a97f79072)
2015-12-07 10:40:28 -08: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 5c0eb9b7a5 Issue #2090983 by plach, Berdir, yched: ContentEntityInterface::getTranslation() should throw an exception when an invalid language is specified 2015-10-02 12:23:54 +01:00
Alex Pott 7599b055c7 Issue #2493475 by ifrik, walangitan, XaviP, jhodgdon, batigolix: Fix online docs references in Help to conform to our standards 2015-09-26 16:01:27 +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 dd8f5660d9 Issue #2529034 by penyaskito, vijaycs85, yched: Replace direct access to FieldConfigBase::default_value with methods 2015-09-10 10:28:11 +01:00
effulgentsia 764890d629 Issue #2349819 by amateescu, swentel, Leksat, larowlan, dawehner, Gábor Hojtsy, mpdonadio, benjy, jmuzz, yched, jibran, marthinal, dmsmidt: String field type doesn't consider empty string as empty value 2015-08-20 12:15:48 -07:00
Alex Pott efd4da3a8f Issue #2401159 by kim.pepper, Jaesin: Convert instances of Guzzle getBody(TRUE) 2015-07-25 00:16:20 +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
Nathaniel Catchpole 30ca0d1de6 Issue #2481453 by dawehner, pwolanin, rteijeiro, neclimdul, znerol: Implement query parameter based content negotiation as alternative to extensions 2015-06-08 11:11:09 +01:00