Commit Graph

1837 Commits (90a550d5555087637f031675c5a35dffb4c5f36d)

Author SHA1 Message Date
Lee Rowlands 0b47db51aa
Issue #2998335 by tim.plunkett: [regression] \Drupal\user\ContextProvider\CurrentUserContext broken for anonymous users 2019-03-22 09:03:43 +10:00
Nathaniel Catchpole 9d96532b79 Issue #3035383 by andypost, martin107, Berdir: Replace deprecated usages of entityManager in list builder classes 2019-03-18 16:28:26 +00:00
Alex Pott d05fe05421
Issue #3039081 by claudiu.cristea: Remove reset of user_role static cache in UserRoleAdminTest::testRoleWeightOrdering() 2019-03-16 14:06:42 +00:00
Alex Pott a916e4d4fa
Issue #2951550 by mikelutz, Jo Fitzgerald, quietone, heddn, alexpott, phenaproxima: Make service for field discovery for use in migrate entity derivers 2019-03-08 06:44:20 +00:00
Nathaniel Catchpole 31fbee706e Issue #3035825 by plach, larowlan, amateescu, jhedstrom: Make it easier to set up the current_user service in kernel tests 2019-03-01 14:10:30 +00:00
Alex Pott 81915a93a3
Issue #3025427 by Berdir, amateescu: Add @trigger_error() to deprecated EntityManager->EntityTypeBundleInfo methods 2019-02-26 15:05:23 +00:00
Gábor Hojtsy bba5f2053a Issue #3030929 by kiwimind, Kavichandran P, c.nish2k3, quietone: User migrations tests in wrong directory 2019-02-25 20:44:20 +01:00
Alex Pott e69e249da0
Issue #3023981 by Berdir, larowlan, alexpott, xjm, catch: Add @trigger_error() to deprecated EntityManager->EntityRepository methods 2019-02-17 00:00:58 +00:00
Alex Pott 47dab9a4a9
Issue #1883744 by hchonov, tim.plunkett, borisson_, xjm, tstoeckler, joachim: Convert Entity to EntityBase for consistency with ContentEntityBase and ConfigEntityBase 2019-02-10 08:17:04 +00:00
Nathaniel Catchpole df8b8a949b Issue #3026264 by Wim Leers, cspitzlay: UserAccessControlHandler::checkFieldAccess() denies access to mail field without varying by the ‘user’ cache context 2019-02-08 12:36:11 +00:00
Nathaniel Catchpole a3a1663bfc Issue #2723593 by alexpott, Jo Fitzgerald, daffie, JacobSanford, rajeshwari10, chishah92, Saviktor, marvin_B8, valthebald, Mile23, Berdir: Properly deprecate entity_load() and friends 2019-02-05 12:08:32 +00:00
Nathaniel Catchpole d74e36a43f Issue #2859315 by quietone, heddn, jhodgdon: SQL error from profile_fields when migrating d6 (or d7) to d8 without Profile module 2019-02-04 14:28:27 +00:00
Nathaniel Catchpole 3cc8a612de Issue #3015752 by alexpott, bnjmnm: Properly deprecate USERNAME_MAX_LENGTH and USER_REGISTER_* constants 2019-02-04 12:39:54 +00:00
Nathaniel Catchpole 447cdb78ed Issue #3028657 by alexpott, Berdir: Properly deprecate entity_load_multiple() 2019-02-04 12:29:50 +00:00
xjm b77bf6a978 Issue #3025867 by tim.plunkett, Kristen Pol, phenaproxima, alexpott, xjm, andypost: Provide a classed object for TempStore metadata 2019-02-03 11:57:11 -05:00
Alex Pott f06b97e218
Issue #2949555 by quietone, ankitjain28may: Correct the documentation on method UserMigrationClassTest 2019-01-28 22:54:45 +00:00
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 95b3b17867 Issue #3023747 by mikelutz, heddn: D6 profile migrations assume stubs, which fail 2019-01-07 11:40:36 +00:00
Nathaniel Catchpole 75a4213161 Issue #2845975 by quietone, Jo Fitzgerald, aleevas, maxocub, Gábor Hojtsy: Migrate Drupal 6 user profile field value option translations 2019-01-07 11:27:16 +00:00
Nathaniel Catchpole 31f9ebf7f5 Issue #3008446 by alexpott, jcnventura, fenstrat, quietone, voleger, andypost: Complete the deprecation of format_date() 2019-01-01 19:15:24 +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
Alex Pott 701be77194
Issue #2869426 by Wim Leers, dawehner, tstoeckler, alexpott, Berdir, larowlan: EntityResource should add _entity_access requirement to REST routes 2018-12-18 16:10:14 +00:00
Alex Pott 478177541c
Issue #2927768 by justinlevi, Lendude, pritish.kumar, Wim Leers, dawehner: Update RestRegisterUserTest to use the ResourceTestBase base class instead of the deprecated RESTTestBase 2018-12-15 22:21:22 +00:00
Nathaniel Catchpole ae6c7444de Issue #2578263 by Jo Fitzgerald, quietone, svendecabooter, yogeshmpawar, phenaproxima, imalabya, heddn, alexpott, xjm: Add helper functions to MigrateDrupal7TestBase 2018-12-04 12:58:29 +00:00
Alex Pott b6208e5225
Issue #3000240 by govind.maloo, philipnorton42, msankhala, izus, scott_euser, joachim, alexpott, catch: hook_user_format_name_alter() should document that it's invoked for both user entities and session objects 2018-12-02 01:53:45 +00:00
Alex Pott bab4f6d3f3
Issue #3014949 by tim.plunkett: Deprecate 'context' on Block and Condition plugin annotations in favor of 'context_definitions' 2018-11-29 00:01:35 +00:00
Alex Pott c503bb6a93
Issue #3014950 by goodboy, mondrake, alexpott: Replace all db calls to file_managed table with Entity APIs 2018-11-23 21:08:40 +00:00
Nathaniel Catchpole 6b14845b31 Issue #3004456 by mikelutz, phenaproxima, alexpott, heddn, maxocub, quietone: Add a weighting option to MigrateField plugin's definition and lower weight of deprecated 'date' plugin so it isn't used 2018-11-20 12:29:18 +00:00
Nathaniel Catchpole 8ea1c48ee9 Issue #2902412 by Jo Fitzgerald, andypost, mfernea, andriyun: Fix 'Drupal.Strings.UnnecessaryStringConcat' coding standard 2018-11-08 15:51:18 +00:00
Nathaniel Catchpole 125e9f41dc Issue #3011237 by kiamlaluno, benjifisher: user_schema() uses the wrong structure for foreign_keys 2018-11-08 14:08:28 +00:00
Lee Rowlands bd6a7df248
Issue #2921114 by AdamPS, Berdir: Username formatter ignores entity access 2018-11-08 19:34:03 +10:00
Nathaniel Catchpole 7ecfaf4c3c Issue #2886740 by kiamlaluno: user_schema() reports uid as primary key for the user_data table when it's just part of the primary key 2018-11-05 13:07:51 +00:00
Lee Rowlands b1d33121cc
Issue #3001309 by alexpott, Krzysztof Domański: Replace usages of UrlGeneratorTrait in non-api classes 2018-10-26 15:22:25 +10:00
Alex Pott a324d5be36
Issue #2866722 by shabana.navas, kpv: Avoid using display mode machine name in AccountForm::form() 2018-10-12 23:01:59 +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 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 dc23efb6d7
Issue #3001644 by Lendude: Convert \Drupal\user\Tests\UserSubAdminTest to BrowserTestBase 2018-09-24 10:58:24 +01:00
Alex Pott 400413fafa
Issue #2954825 by rakesh.gectcr, tresti88, gnuget, borisson_, DamienGR, Prashant.c, amietpatial, alexpott, joachim, Berdir: Update the user.api.php documentation and add the correct type hints in the user's hooks implementations 2018-09-24 08:55:20 +01:00
Lee Rowlands bfed684dd5
Issue #2846379 by alexpott, esolitos, casey: Processing paths in LanguageNegotiationUserAdmin causes 404s while accessing private files 2018-09-24 07:56:26 +10:00
Nathaniel Catchpole b48e1e7438 Issue #2873684 by voleger, longwave, jeetendrakumar, andypost, mondrake, catch: Replace all calls to db_select, which is deprecated 2018-09-21 14:01:49 +01:00
Alex Pott 618274b96f
Issue #2996789 by Mile23, Lendude, longwave, dawehner: Deprecate Drupal\field\Tests\EntityReference\EntityReferenceTestTrait 2018-09-21 13:05:21 +01:00
Alex Pott 2dabd1de10
Issue #2829185 by vaplas, Jo Fitzgerald, anmolgoyal74, chipway, gaurav.kapoor, mark_fullmer, amit.drupal, cilefen, longwave, xjm, wturrell, anavarre: Fix spelling errors in Drupal core comments 2018-09-20 17:12:38 +01:00
Alex Pott 6002e2dd9c
Issue #2854252 by AdamPS, agoradesign, alexpott, Berdir, borisson_, xjm, jhedstrom, joachim: User forms broken for admin without 'administer users' 2018-09-19 11:02:08 +01:00
Alex Pott 66f5091a5b
Issue #2887869 by navneet0693, ApacheEx, Lendude, Dinesh18, dawehner, naveenvalecha, borisson_: Convert web tests to browser tests for user module part-2 2018-09-19 10:34:18 +01:00
Alex Pott 87aa997097
Issue #2999012 by LOBsTerr: Action plugins have the wrong comments for contructors 2018-09-18 22:33:04 +01:00
Nathaniel Catchpole 0f02ad4c0f Issue #2986539 by alexpott: \Drupal\user\Plugin\EntityReferenceSelection\UserSelection::entityQueryAlter() should escape the fake condition column on replacement 2018-09-18 17:56:58 +01:00
Alex Pott 383f701fe8
Issue #2853118 by voleger, Jo Fitzgerald, Pavan B S, yogeshmpawar, hgunicamp, pk188, andypost, jeetendrakumar, longwave, gaurav.kapoor, RenatoG, daffie, mondrake, dhruveshdtripathi, catch, alexpott, xjm: Replace all calls to db_insert, which is deprecated 2018-09-18 13:15:20 +01: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
Alex Pott 57dfd4ba8c
Issue #2809543 by Lendude, Tessa Bakker: Convert AJAX part of \Drupal\user\Tests\UserPasswordResetTest to WebDriverTestBase 2018-09-12 16:33:17 +02:00
Nathaniel Catchpole 7e77a48c91 Issue #2907546 by johndevman, Falco010: User's language preference is not applied! 2018-09-11 12:41:17 +01:00
Nathaniel Catchpole eadaeb9ac7 Issue #2848137 by gaurav.kapoor, voleger, hgunicamp, andypost, shashikant_chauhan, brahmjeet789, pk188, cilefen, daffie: Replace all calls to db_update, which is deprecated 2018-08-28 20:41:58 +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
Nathaniel Catchpole fbe82f785b Issue #2669984 by maxocub, masipila: Migrate Drupal 7 user entity translations data to Drupal 8 2018-08-21 20:15:13 +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 6c40e077ef
Issue #2937853 by idebr, mfernea, SherFengChong, alexpott, borisson_: Fix 'Drupal.Formatting.MultipleStatementAlignment' coding standard 2018-08-13 11:13:36 +01:00
Lauri Eskola e742590eed
Issue #2981652 by ApacheEx, corbacho, drpal, dawehner, xjm, alexpott, lauriii: Format core JavaScript using recently add Prettier 2018-08-09 18:49:18 +03:00
Alex Pott bfb8a7da0f
Issue #2746065 by Berdir, yogeshmpawar, hlykos, xeM8VfDh: Profile page's title/heading does not fulfill hook_user_format_name_alter 2018-08-06 12:40:50 +01:00
Alex Pott e4146aa44f
Issue #2809543 by Lendude, Tessa Bakker: Convert AJAX part of \Drupal\user\Tests\UserPasswordResetTest to WebDriverTestBase 2018-07-30 11:48:54 +01:00
Gábor Hojtsy 0f336ae86d Issue #2975666 by maxocub, benjifisher, masipila, jcnventura, jigarius, phenaproxima, catch, quietone: Migrate Drupal 7 node entity translations data to Drupal 8 2018-07-27 21:41:20 +02:00
Alex Pott 8c5075ad69
Issue #2985147 by eliclaggett, msankhala, neclimdul: Correct copy pasted plugin constructor documentations 2018-07-24 16:18:58 +01:00
Alex Pott 9fc5c5965a
Issue #2895271 by navneet0693, ApacheEx, Lendude, ziomizar, larowlan, dawehner, pasan.gamage, alexpott, Mixologic: Convert web tests to JTB and KTB tests for user module part-3 2018-07-22 12:23:12 +01:00
Nathaniel Catchpole 099f4146a5 Issue #2932462 by phenaproxima, japerry, tim.plunkett: Add EntityContextDefinition for the 80% use case 2018-07-13 13:26:50 +01:00
Nathaniel Catchpole 14a769b758 Issue #2631698 by Jo Fitzgerald, robpowell, phenaproxima, heddn, quietone: Fix sub-optimal DX in MigrateFieldInterface 2018-07-13 12:39:04 +01: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 646584b3f7
Issue #2946419 by vaplas, Lendude, Mile23: Entity: Convert system functional tests to phpunit 2018-06-25 13:51:30 +01:00
Nathaniel Catchpole e7f061d5d4 Issue #2773645 by AdamPS, Xilis, yogeshmpawar, Wim Leers, Berdir: Allow hook_entity_field_access() to grant field-level access to User fields: 'forbidden' -> 'neutral' 2018-06-15 12:50:06 +01:00
Alex Pott a3bb9d878f
Issue #2855054 by alexpott, LoMo, wesleydv, Artusamak, gawaksh, xjm: User cancel link doesn't redirect to the homepage 2018-06-11 18:39:46 +01:00
Nathaniel Catchpole c00b97b2a5 Issue #2928710 by borisson_, dawehner, idebr: Eliminate usages of \Drupal::root() in tests 2018-06-07 21:55:18 +01:00
Alex Pott d8029d7ee0
Issue #1596472 by catch, amateescu, claudiu.cristea, Berdir, Mile23, Sam152, pounard, fago, alexpott, fubhy, hchonov: Replace hard coded static cache of entities with cache backends 2018-05-31 12:07:30 +02:00
Nathaniel Catchpole 4373d115a5 Issue #2797047 by quietone, Olarin, Jo Fitzgerald, mradcliffe, niccottrell, heddn, maxocub, mikeryan: Problems creating a d6 user profile field storage with an name longer than 32 characters 2018-05-17 13:12:27 +01:00
Nathaniel Catchpole 36fe1245a6 Issue #2971375 by cspitzlay: Fix "does not exists" in comments and test error messages 2018-05-17 11:41:17 +01:00
Lee Rowlands 585e6338b5
Issue #2938035 by Wim Leers, alexpott: When PATCHing a field is disallowed, no reason is given for *why* this happens 2018-05-16 11:30:32 +10:00
Alex Pott 729b6308bc
Issue #2939336 by dsdeiz, quietone: D6 User Profile Source Fields 2018-05-15 21:28:08 +01:00
Alex Pott 92be45b46f
Issue #2910883 by vaplas, ShawnB, Wim Leers: Move all entity type REST tests to the providing modules 2018-05-15 12:37:57 +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
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 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
Nathaniel Catchpole 154f282899 Issue #2849669 by alexpott, pwolanin, Munavijayalakshmi, dawehner: Fix \Drupal\Component\Utility\Unicode() because of the Symfony mbstring polyfill 2018-05-08 21:55:21 +01:00
Alex Pott 07df228247
Issue #2926090 by vaplas, alexpott: Remove dead code from UserCancelTest::testUserCancelUid1() 2018-05-07 10:55:50 +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 312b93c612
Issue #2894261 by alexpott, Berdir, deepakaryan1988, andypost: Deprecated service entity.manager needs to be replaced with entity_type.manager in ContentEntityForm 2018-05-03 09:30:57 +10:00
Nathaniel Catchpole 45bc05523f Issue #2958429 by alexpott: Properly deprecate SafeMarkup::format() 2018-05-01 16:14:09 +01: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
Nathaniel Catchpole d11bd5e7c4 Issue #2851736 by borisson_, fago, pritish.kumar, Yogesh Pawar, amateescu, alexpott: Language reference fields do not implement OptionsProviderInterface 2018-04-20 15:48:58 +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
Nathaniel Catchpole 77b3dbd2e2 Issue #2943646 by SylvainM: Translated user can not be deleted 2018-04-03 18:21:21 +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 d2a14db5ec Issue #2858455 by pacproduct: Number of line breaks consistency in user e-mails 2018-03-08 23:58:04 +00:00
Alex Pott 40d534a04f Issue #2941494 by jhedstrom, Lendude: Deprecate SystemConfigFormTestBase and create kernel test version 2018-03-08 23:21:59 +00:00
Alex Pott ef21b947c8 Issue #2933310 by masipila, heddn: Add documentation to EntityUser destination plugin 2018-03-08 22:08:26 +00:00
Francesco Placella 2d503f7cc2 Issue #2942986 by alexpott, Lendude, chr.fritsch, larowlan, dawehner, catch: Views should be dependent on providers of table data via hook_views_data 2018-03-06 12:20:55 +01:00
Nathaniel Catchpole ae262e1192 Issue #2899392 by idebr, neclimdul, rgpublic: user_hook_toolbar() makes all pages uncacheable 2018-02-19 12:21:13 +00:00
Alex Pott 7e0ddac162 Issue #2711099 by heddn, Jo Fitzgerald, edysmp, edgewl2, alexpott, Charlotte17, mikeryan, masipila, quietone, maxocub, phenaproxima: Categorize migrations according to their type 2018-02-15 06:27:23 +00:00
Lee Rowlands c3ebbc485b
Issue #2936642 by tim.plunkett: Getting runtime contexts will generate an E_WARNING for anonymous users 2018-02-05 07:11:18 +10:00
Alex Pott f0272d5fa6 Issue #2866818 by harsha012, BrightBold, brahmjeet789, joelpittet: Update stylelint rule number-leading-zero to be consistent with Drupal's CSS standards 2018-01-28 08:11:52 +00:00
Lee Rowlands 71550b1c61
Revert "Issue #2895271 by navneet0693, Lendude, dawehner, pasan.gamage, larowlan: Convert web tests to JTB and KTB tests for user module part-3"
This reverts commit 26aebd3d31.
2018-01-27 11:47:40 +10:00
Lee Rowlands 26aebd3d31
Issue #2895271 by navneet0693, Lendude, dawehner, pasan.gamage, larowlan: Convert web tests to JTB and KTB tests for user module part-3 2018-01-27 07:17:05 +10:00
webchick f724db3453 Issue #2936793 by tim.plunkett, tstoeckler, EclipseGc: EntityReferenceItem::generateSampleValue() should create a sample entity if a referenceable entity is not found 2018-01-15 15:32:50 -08:00