Commit Graph

218 Commits (0c0c63e9af3a657426c2343c2846769f50674043)

Author SHA1 Message Date
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
xjm ac3b76625c Issue #2383871 by mgifford, rpayanm, a_thakur, maximpodorov, AohRveTPV, jhodgdon: Spellchecking Drupal - PHP 2015-05-24 15:51:18 -05: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
Alex Pott ad871286d1 Issue #2472323 by dawehner, neclimdul, Crell, kim.pepper, nod_, Wim Leers, larowlan, jibran, pwolanin, catch: Move modal / dialog to query parameters 2015-05-13 18:12:54 -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
catch 40cc6312d9 Issue #2090115 by alexpott, xjm: Don't install a module when its default configuration has unmet dependencies 2015-03-22 18:53:45 +00:00
Alex Pott 13e0794edc Issue #2445723 by dawehner, neclimdul: Use the $request format instead of the ContentNegotation 2015-03-20 22:39:42 +00:00
Alex Pott 2d714fbef2 Issue #2357199 by andypost, naiduharish: Consider CommentManagerInterface::addDefaultField() as deprecated and remove in favour of CommentTestTrait 2015-02-09 14:17:47 +00:00
Alex Pott 0509fbe789 Issue #2164601 by yched, jibran, amateescu, pfrenssen: Stop auto-creating FieldItems on mere reading of $entity->field[N] 2015-02-05 08:58:52 +00:00
Alex Pott f46d6ad949 Issue #2358079 by pwolanin, Berdir: Require a specific placeholder format in db_query() in order to trigger argument expansion, and require explicit 'IN' parameter for conditions 2015-02-03 09:42:28 +00:00
Alex Pott 466759dc15 Issue #2405091 by marthinal, Berdir, RavindraSingh: Cannot create user entities - {"error":"Access denied on creating field pass"} 2015-02-02 12:31:59 +00:00
webchick e69cd76706 Issue #2416763 by xjm, Wim Leers, effulgentsia: Convert Url::fromUri() base:// scheme to base: 2015-01-30 15:15:21 -08:00
webchick 0fb9bb5474 Issue #2364157 by mpdonadio, dawehner, martin107, Berdir, pcambra, naveenvalecha, tim.plunkett: Replace most existing _url calls with Url objects 2015-01-29 20:56:19 -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
Alex Pott b778bfd1ec Issue #2143729 by tstoeckler, plach, jsbalsera, Berdir, mauzeh, damiankloip, andypost: Entity definitions miss a language entity key 2014-12-29 22:15:19 +00:00
Nathaniel Catchpole da33162efd Issue #2368807 by yched: Remove special support for NULL values in FieldItemList 2014-12-19 10:12:31 +00:00
Alex Pott 0bb57ed2f5 Issue #2347999 by Mile23, daffie, cs_shadow, cosmicdreams: DrupalUnitTestBase is deprecated, replace with KernelTestBase 2014-12-05 14:42:56 +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
Nathaniel Catchpole 150cbcf61f Issue #2374087 by alexpott, benjy: Fixed Create a persistent comment body field storage. 2014-11-18 10:29:05 +00:00
Nathaniel Catchpole 4dc03e7037 Issue #2372477 by yched: Fixed Lots of tests still enable entity.module. 2014-11-12 17:22:47 +00:00
Nathaniel Catchpole cd9b0f4fde Issue #1426804 by alexpott, swentel: Fixed Allow field storages to be persisted when they have no fields. 2014-11-12 16:16:39 +00:00
Nathaniel Catchpole 66762a5361 Issue #2340667 by YesCT, Pedro Lozano, alexpott, martin107: Protect Drupal\Core\Language\Language::id, and use getId(). 2014-10-13 10:10:32 +01:00
Alex Pott ba2b869092 Issue #2275659 by fago, pgautam: Separate FieldableEntityInterface out of ContentEntityInterface. 2014-10-01 16:11:14 +02:00
webchick 0189add1e3 Issue #2304987 by Berdir, Wim Leers: Fixed Don't invalidate cache tags of referenced entities, use entity list cache tags correctly, add test coverage for entity list cache tags. 2014-10-01 01:20:51 -07:00
Alex Pott 002ae719c9 Issue #2343661 by larowlan, tim.plunkett | xjm: Rename l() to _l() and url() to _url(), and document replacements. 2014-09-30 10:10:00 +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
Alex Pott 420248266f Issue #2344821 by yched: Unify 'name' / 'field_name' in FieldConfig / FieldStorageConfig. 2014-09-28 18:36:18 +02:00
Alex Pott 22d79dc212 Issue #2238149 by Berdir, swentel: Apply formatters and widgets in EntityTestFormCotroller. 2014-09-22 09:40:58 +01:00
webchick 1476c56c62 Issue #2312093 by alexpott, yched, andypost, swentel | xjm: Rename FieldInstanceConfig to FieldConfig. 2014-09-19 19:45:52 -07:00
catch 21a11cf58f Issue #2336177 by alexpott, YesCT: Fixed ConfigurableLanguage cannot be created/removed directly, integrate language_save() and language_delete(). 2014-09-14 15:27:33 +01:00
Alex Pott 320ebd0363 Issue #1915056 by Arla, Berdir, amateescu | catch: Use entity reference for taxonomy parents. 2014-09-09 16:54:47 +01:00
Nathaniel Catchpole f749eac343 Revert "Issue #2238149 by Berdir: Apply formatters and widgets in EntityTestFormCotroller."
This reverts commit 3ac426f9cb.
2014-09-09 14:21:09 +01:00
Nathaniel Catchpole 3ac426f9cb Issue #2238149 by Berdir: Apply formatters and widgets in EntityTestFormCotroller. 2014-09-09 14:06:02 +01: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
webchick 9c537ec4b2 Issue #1966436 by naveenvalecha, cesarmiquel, Berdir, mr.york, jlbellido, segi, vasi1186, Leksat, Gábor Hojtsy, Schnitzel, grisendo, Aron Novak, likin, penyaskito, vijaycs85, kfritsche, fago: Fixed Default *content* entity languages are not set for entities created with the API. 2014-08-28 12:58:27 -07: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 f9c1ff235b Issue #2314123 by sun: Fixed various tests. 2014-08-12 00:40:02 -07:00
Alex Pott 9eac446013 Issue #1676910 by cs_shadow, penyaskito, lokeoke | xjm: Rename randomName() to randomMachineName(). 2014-08-06 09:50:23 +01:00
Nathaniel Catchpole a57630c83d Issue #2287727 by yched, swentel, alexpott: Rename Field[instance]Config classes and entity types (again). 2014-07-18 19:56:27 +01:00