Commit Graph

2329 Commits (51d40866c93a5728945c2ad1976c4efa71140856)

Author SHA1 Message Date
Alex Pott dc9a4c537e
Issue #3422915 by magaki, karanpagare, joachim, alexpott, Keshav Patel, smustgrave, Aguillet: Deprecate Drupal\locale\Locale and its one method 2024-04-29 08:35:43 +01:00
quietone 895e8ef4fd
Revert "Issue #3439914 by pradhumanjain2311, sukr_s, vensires: Fix User tests that rely on UID1's super user behavior"
This reverts commit baeb263c0b.
2024-04-26 13:09:21 +12:00
quietone baeb263c0b
Issue #3439914 by pradhumanjain2311, sukr_s, vensires: Fix User tests that rely on UID1's super user behavior
(cherry picked from commit 8054dd3be820d141e978b2141011ef37be9b63e1)
2024-04-26 13:03:48 +12:00
Alex Pott dfc7212191
Issue #3439914 by pradhumanjain2311, sukr_s, vensires, smustgrave: Fix User tests that rely on UID1's super user behavior
(cherry picked from commit eb219dc41a)
2024-04-26 01:51:53 +01:00
catch 9898e1ed40 Issue #3369099 by longwave, mondrake, smustgrave: [PHPUnit 10] Provide a static alternative to @dataproviders using PHPUnit mocks in ProtectedUserFieldConstraintValidatorTest
(cherry picked from commit bceee8096b)
2024-04-24 19:03:47 +01:00
Alex Pott 82bc1eedf5
Issue #3432868 by smustgrave, obsidian_, longwave, quietone, mstrelan, catch: Update deprecations in user module 2024-04-23 14:56:24 +01:00
catch 62c4d2d2fa Issue #144538 by acbramley, tuutti, Damien Tournoud, alexpott, solideogloria, Xano, TwoD, damiankloip, smustgrave, pameeela, deviantintegral, L_VanDamme, daften, karishmaamin, g.oechsler, larowlan, klausi, sun, Fabianx, andypost, dawehner, kwinters, greggles, Wim Leers, grendzy, pwolanin, alexanderpas, drumm, Chi: User logout is vulnerable to CSRF
(cherry picked from commit 7f4b5f187a)
2024-04-23 14:35:53 +01:00
quietone e5ce10b4b3
Issue #3324560 by alexpott, mstrelan, dimitriskr, xjm, longwave, catch: Replace strpos/substr with str_starts_with() / str_contains() / str_ends_with() 2024-04-15 17:40:55 +12:00
Alex Pott f7ddabe7bb
Issue #3427171 by samit.310@gmail.com, mondrake, longwave, smustgrave, Spokje, catch, quietone: Replace calls to ::expectWarning*() in Drupal\Tests\user\Kernel\Views\HandlerFilterRolesTest
(cherry picked from commit d708691285a898b049d1b197054842e0c2f0392f)
2024-04-14 10:33:17 +01:00
Alex Pott 2c3cb5e89f
Issue #3427564 by phenaproxima, Wim Leers, alexpott, omkar.podey, Berdir, smustgrave, larowlan: Require `langcode: …` only for simple config that contains translatable values
(cherry picked from commit 83a53ba4a9)
2024-04-14 07:17:32 +01:00
Alex Pott 442b47177d
Issue #3399388 by mstrelan: Add declare(strict_types=1) to all Kernel tests 2024-04-10 15:17:46 +01:00
Alex Pott 8331ba7ee1
Issue #3402713 by mstrelan, smustgrave, dww: Fix strict type errors: miscellaneous fixes in core Kernel tests
(cherry picked from commit f60bcea7d7)
2024-04-09 23:19:23 +01:00
Alex Pott 97c8bdc7ec
Issue #540008 by kristiaanvandeneynde, Spokje, daffie, clayfreeman, alexpott, eelkeblok, michaelfavia, ianthomas_uk, zaporylie, johnwebdev, abhisekmazumdar, anmolgoyal74, greggles, quietone, shaal, catch, rivimey, AaronMcHale, Berdir, ndf, xjm, finne, Wim Leers, esolitos, heddn, webchick, Bojhan, andypost, efpapado, benjifisher, lauriii, Gábor Hojtsy, moshe weitzman, harings_rob: Add a container parameter that can remove the special behavior of UID#1
(cherry picked from commit 9baa43976c)
2024-04-09 11:49:18 +01:00
Alex Pott ee650b2e7f
Issue #3421016 by quietone, godotislate: Convert MigrateProcessPlugin plugin discovery to attributes
(cherry picked from commit 8c0975a467)
2024-04-06 11:05:10 +01:00
Alex Pott 3f64e2bf2c
Issue #3421015 by godotislate: Convert MigrateDestination plugin discovery to attributes
(cherry picked from commit 38e722aa6f)
2024-04-06 11:02:56 +01:00
catch e4cb224d5b Issue #3437589 by andypost: Move permission, jsonapi and rest tests out of the action module
(cherry picked from commit c120949724)
2024-04-06 09:05:38 +01:00
Alex Pott 3194f768b3
Issue #3431203 by kim.pepper, alexpott, smustgrave, longwave: Deprecate user_validate_name() and replace with service
(cherry picked from commit 8e7d3e0f52)
2024-04-05 10:15:22 +01:00
Alex Pott 5786e6e83b
Issue #3421000 by sorlov, quietone, smustgrave, larowlan, alexpott: Convert ViewsWizard plugin discovery to attributes
(cherry picked from commit 181221a429)
2024-04-04 22:50:18 +01:00
Alex Pott 969cdfb18c
Issue #3421003 by sorlov, quietone, pradhumanjain2311, smustgrave, larowlan, alexpott: Convert ViewsArgumentDefault plugin discovery to attributes
(cherry picked from commit 699475890fd90d048a9a46204ece93191446aeca)
2024-03-29 09:51:58 +00:00
Alex Pott 2076c3d9fe
Issue #3410582 by catch, Prashant.c, heddn, alexpott, smustgrave, claudiu.cristea, longwave, quietone: Optimize user logins by avoiding duplicate entity queries
(cherry picked from commit 1916b7863e)
2024-03-28 11:14:21 +00:00
Alex Pott 2404bcd91a
Issue #2651418 by vasike, DieterHolvoet, smustgrave, Xano, rpayanm, quietone, alexpott, larowlan, catch, lauriii: Non-array values for #ajax
(cherry picked from commit fe3aa496f7)
2024-03-27 15:44:18 +00:00
Alex Pott dd091490e5
Issue #3433088 by mondrake, Spokje: Method getMockForAbstractClass() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10 - Step 1 interfaces
(cherry picked from commit 35a8fc6dec)
2024-03-27 13:27:19 +00:00
Alex Pott 006b817484
Revert "Issue #3410582 by catch, Prashant.c, heddn, alexpott, smustgrave, claudiu.cristea, longwave, quietone: Optimize user logins by avoiding duplicate entity queries"
This reverts commit 16082d0849.
2024-03-26 00:01:48 +00:00
Alex Pott 16082d0849
Issue #3410582 by catch, Prashant.c, heddn, alexpott, smustgrave, claudiu.cristea, longwave, quietone: Optimize user logins by avoiding duplicate entity queries
(cherry picked from commit 31edb2aa23)
2024-03-25 23:55:28 +00:00
Alex Pott 57ce2e3704
Issue #3413153 by znerol, alexpott: Remove calls to Request::hasSession() 2024-03-21 08:45:38 +00:00
Alex Pott 498ce9e1a1
Issue #3420999 by sorlov, larowlan, smustgrave, mstrelan: Convert ViewsRow plugin discovery to attributes
(cherry picked from commit 7184e9458c)
2024-03-20 08:21:49 +00:00
Alex Pott 173217df7e
Issue #3109970 by znerol, andypost, Prashant.c, daffie, Wim Leers, dww, catch: Convert uses of $_SESSION in forms and batch
(cherry picked from commit 9334d6f100)
2024-03-18 09:45:09 +00:00
Alex Pott 2ed3680d12
Issue #3426957 by sorlov, smustgrave, mstrelan: Convert ViewsFilter plugin discovery to attributes
(cherry picked from commit 8aa3632c61)
2024-03-16 17:21:28 +00:00
Alex Pott fc15d5ee53
Issue #3426955 by mstrelan, sorlov, alexpott, smustgrave, godotislate: Convert ViewsField plugin discovery to attributes
(cherry picked from commit e0f270ff66281b06c2b33d5bd6a71b7f6576905f)
2024-03-16 17:17:22 +00:00
Alex Pott d3a13779f9
Issue #3425359 by sorlov, quietone, naveenvalecha, smustgrave, alexpott: Convert ViewsArgumentHandlers plugin discovery to attributes
(cherry picked from commit d675ece27f)
2024-03-14 17:34:44 +00:00
catch b6a4ce3eb7 Issue #3057399 by quietone, Akhil Babu, kristiaanvandeneynde, alexpott, pradhumanjain2311, smustgrave, catch, poker10, longwave, jimafisk, Newb_Druper, robpowell, dpi, tomdewild: Add user_requirements to check for missing anonymous user
(cherry picked from commit 9a6e38c000)
2024-03-12 10:52:07 +00:00
catch d0b0d33b09 Revert: Issue #3410582 by catch, Prashant.c, heddn, alexpott, smustgrave, claudiu.cristea, longwave, quietone: Optimize user logins by avoiding duplicate entity queries
(cherry picked from commit 05c2f7839b)
2024-03-11 12:15:42 +00:00
catch 5ae001e7aa Revert "Issue #3410707 by alexpott, catch: Optimize UserAuthenticationController by remove duplicate entity queries"
This reverts commit a3b755e724.

(cherry picked from commit 78e242fd88)
2024-03-11 10:13:41 +00:00
Lee Rowlands 2061b8fb28
Issue #3420982 by sorlov, alexpott: Convert EntityReferenceSelection plugin discovery to attributes
(cherry picked from commit b4a9a825ea)
2024-03-10 18:03:28 +10:00
Alex Pott 364518db9e
Issue #3421001 by sorlov, mohit_aghera, larowlan, alexpott, smustgrave: Convert ViewsAccess plugin discovery to attributes
(cherry picked from commit 287239234a)
2024-03-08 14:40:26 +00:00
Alex Pott ee98c76bf5
Issue #3421013 by mohit_aghera, sorlov, smustgrave, mstrelan, larowlan, catch: Convert Search plugin discovery to attributes
(cherry picked from commit 1e1dc945bb)
2024-03-08 09:31:17 +00:00
Alex Pott 152b81691b
Issue #3421010 by sorlov, larowlan, smustgrave: Convert ViewsArgumentValidator plugin discovery to attributes
(cherry picked from commit cb857b7884)
2024-03-08 09:26:13 +00:00
catch 3bc425c200 Issue #3426309 by Wim Leers, smustgrave: Add config validation for weights (blocks, filters, etc. all use weights)
(cherry picked from commit 9c1e103520)
2024-03-07 20:31:06 +00:00
catch db03458000 Issue #3410707 by alexpott, catch: Optimize UserAuthenticationController by remove duplicate entity queries
(cherry picked from commit a3b755e724)
2024-03-07 14:52:20 +00:00
catch 024d1d871b Issue #3320569 by Spokje, mondrake, smustgrave, longwave, quietone, Lendude, alexpott: Add an interface for operators() on views
(cherry picked from commit 5c82c988fb)
2024-03-05 12:03:43 +00:00
catch 02bfae8ba1 Issue #2926070 by smustgrave, dimitriskr, andypost, gnuget, zahord, yogeshmpawar, MerryHamster, kim.pepper, alexpott, Mile23, daffie, larowlan: Deprecate ModuleHandlerInterface::getName()
(cherry picked from commit 2ab774d6b8)
2024-03-04 18:16:25 +00:00
catch 6d1355700e Issue #3123209 by Hardik_Patel_12, nitesh624, _utsavsharma, Suresh Prabhu Parkala, andypost, jungle, smustgrave, msuthars: Replace non-test usages of \Drupal::formBuilder() with IoC injection
(cherry picked from commit 9357f733bd)
2024-03-04 12:17:15 +00:00
catch cb0f209bd7 Issue #2511308 by dimitriskr, ankithashetty, smustgrave, quietone, Wim Leers: Rename RendererInterface::renderPlain() to ::renderInIsolation()
(cherry picked from commit 75d943a0af)
2024-03-04 11:05:22 +00:00
Alex Pott 95cc37fbfa
Issue #3410582 by catch, heddn, Prashant.c, smustgrave, claudiu.cristea, quietone, longwave: Optimize user logins by avoiding duplicate entity queries
(cherry picked from commit 589b8fe870)
2024-03-04 08:47:36 +00:00
Alex Pott b2971f464b
Issue #3420990 by godotislate, smustgrave, alexpott, kim.pepper, longwave: Convert Constraint plugin discovery to attributes
(cherry picked from commit 045dfe1b96)
2024-03-03 10:35:39 +00:00
Alex Pott cd8d76a2df
Issue #3420980 by mstrelan, smustgrave: Convert FieldFormatter plugin discovery to attributes
(cherry picked from commit dcecab3d42)
2024-03-02 11:14:25 +00:00
Alex Pott 41437f5b94
Issue #3421017 by mohit_aghera, smustgrave: Convert LanguageNegotiation plugin discovery to attributes
(cherry picked from commit 2001751fd9)
2024-03-02 10:51:42 +00:00
Alex Pott 67c22284ec
Issue #3420994 by kim.pepper: Convert RestResource plugin discovery to attributes
(cherry picked from commit d17c830288)
2024-03-02 10:41:58 +00:00
catch 20ca5ccee4 Issue #3420986 by kim.pepper, sorlov, larowlan, mstrelan: Convert Condition plugin discovery to attributes
(cherry picked from commit eb61f11b36)
2024-03-01 14:42:07 +00:00
Alex Pott 1122c8d387
Issue #3410098 by andypost, shalini_jha, Akhil Babu, Liam Morland, kristiaanvandeneynde, smustgrave, alexpott: Deprecate passing non-strings to UserSession::hasPermission() and User::hasPermission()
(cherry picked from commit a9f3b75195)
2024-03-01 13:02:44 +00:00