Commit Graph

2335 Commits (8a26f33828ebf8b20a696879df2551367dbc098a)

Author SHA1 Message Date
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
Dave Long a23b6d6768
Issue #3399746 by mstrelan, acbramley: Add declare(strict_types=1) to all Functional tests
(cherry picked from commit e3fab52019)
2024-02-28 10:38:53 +00:00
catch add92f3ab0 Issue #3091841 by quietone, Grevil, Anybody, mikelutz, smustgrave, danflanagan8, jklmnop, ShaunDychko, fengtan, MariaIoann, ranjith_kumar_k_u: Remove hardcoded plugin IDs from migration process plugins
(cherry picked from commit a126d04217)
2024-02-26 16:28:51 +00:00
catch e5e61dc566 Issue #3309104 by Bhanu951, acbramley, mondrake, ravi.shankar, smustgrave, daffie, alexpott, quietone, mstrelan: Replace REQUEST_TIME in Functional and FunctionalJavascript tests 2024-02-19 11:08:41 +00:00
Dave Long 63cfce4009
Issue #1959304 by dawehner, dimitriskr, smustgrave: Cleanup get_value_options by returning the value options 2024-02-18 13:25:01 +00:00
Dave Long 9b73314eed
Issue #3401730 by kim.pepper, smustgrave, longwave: Add default autoconfigure to all *.services.yml and remove event_subscriber tags 2024-02-17 16:35:53 +00:00
catch d5a1284139 Issue #3112284 by Spokje, Bhanu951, acbramley, mpdonadio, mondrake, quietone, adityasingh, andypost, JeroenT, vladbo, pifagor, daffie, voleger: Replace REQUEST_TIME in Kernel tests 2024-02-15 12:27:11 +00:00
Dave Long 654b1f2074
Issue #3353210 by mondrake, PrabuEla, Spokje: [PHPUnit 10] @dataProvider methods must be declared static and public 2024-02-14 13:38:28 +00:00
catch fd75fa2134 Issue #3113971 by Spokje, mondrake, acbramley, phenaproxima, andypost, murilohp, mpdonadio, ravi.shankar, pavnish, pifagor, vladbo, JeroenT, voleger, Taran2L: Replace REQUEST_TIME in services 2024-02-13 10:15:33 +00:00
Dave Long eb8cd5d6b8
Issue #3417365 by kristiaanvandeneynde, smustgrave: Properly set current_user service in tests 2024-02-03 17:18:41 +00:00
Dave Long 451be835c0
Issue #3417675 by quietone, arunkumark: Correct mymodule, mydriver and anothermodule 2024-02-02 12:04:21 +00:00
Lee Rowlands af369c3cce
Issue #3404508 by mstrelan, smustgrave, quietone: Fix strict type errors in Functional tests: Add casts and fix types where needed 2024-02-02 07:57:36 +10:00
Lee Rowlands 442f147b38
Issue #3412459 by viren18febS, mstrelan, smustgrave, longwave, larowlan: Incorrect typehint of LOGGED_IN and LOGGED_OUT consts in UserAuthenticationController 2024-02-02 07:42:11 +10:00
Dave Long e5fc18c5ea
Issue #3412556 by catch, smustgrave, andypost, longwave: Allow needs_destruction services to run on page cache hits 2024-01-30 22:06:07 +00:00
Dave Long b501becfe3
Issue #3409362 by quietone, smustgrave: Fix spelling of some words with 'un' prefix 2024-01-26 15:00:15 +00:00
Dave Long 526d8ef95e
Issue #3415811 by catch: Add @group #slow to more functional tests 2024-01-24 22:18:29 +00:00
Lauri Eskola 8088712c16
Issue #3414707 by quietone, arunkumark: Fix change record URL in deprecation message for #3112298 2024-01-23 13:43:35 +02:00
Lauri Eskola 1e8ae69e1d
Issue #3414263 by quietone, andypost: Change help headings for WCAG 2.0 2024-01-15 14:55:37 +02:00
catch f0d3a7bf58 Issue #2254189 by smustgrave, quietone, anya_m, andregp, sun, joachim: Fix test performance of Drupal\node\Tests\NodeTranslationUITest 2024-01-10 21:12:27 +00:00
catch 0d27339305 Issue #3277003 by mcdruid, catch, poker10, smustgrave, BramDriesen, guedressel, DamienMcKenna, xjm, Heine, greggles, fjgarlin, pwolanin, moshe weitzman: Harden user_pass_rehash() against attack 2024-01-09 10:27:15 +00:00
catch 15ac0b4e9c Issue #3363424 by _shY, vbouchet, kim.pepper, smustgrave: Use CallableResolver for \Drupal\user\PermissionHandler::buildPermissionsYaml() instead of the controller resolver 2024-01-08 18:29:09 +00:00
catch 4ca4dbaabe Issue #3328456 by xjm, dimitriskr, murilohp, smustgrave: Replace substr($a, 0, $i) with str_starts_with() 2024-01-08 10:48:04 +00:00
Lee Rowlands 5b8514adec
Issue #3402295 by mstrelan, dww, smustgrave: Fix strict type errors in kernel tests: Add casts and fix types where needed 2024-01-08 07:55:19 +10:00
Lee Rowlands 79b5436806
Issue #3333401 by nicxvan, tsquared212, xjm, larowlan, smustgrave, andrewmacpherson, bnjmnm, lauriii, itmaybejj, xurizaemon: Pager h4 causes accessibility flag on many pages 2024-01-08 07:38:51 +10:00
Lee Rowlands 2f96c565af
Issue #3409525 by Wim Leers, Lee56, larowlan, cilefen, catch: Regression from #3341682: #states + #required do not automatically work together, resulting in an unsubmittable AccountSettingsForm 2024-01-04 07:48:27 +10:00
Lee Rowlands 9add7f71ff
Issue #3399373 by mstrelan, xjm, longwave, quietone: Add declare(strict_types=1) to all Unit tests 2024-01-03 15:25:34 +10:00
Dave Long 8e5acc674b
Issue #3410419 by catch: Only clear flood attempts when necessary during user login 2023-12-22 18:40:16 +00:00
Lee Rowlands 6ee5f78c66
Issue #2852898 by smustgrave, _utsavsharma, mherchel, larowlan, bnjmnm, borisson_, kershme, DuaelFr: 508 Compliance Issue -Edit links on content page are not unique 2023-12-22 12:52:18 +10:00
Alex Pott d4abe119f8
Issue #3063856 by quietone, alexpott, rpayanm, benjifisher, fredysan, Wim Leers, Ratan Priya, bsnodgrass, heddn: Add ability to view migrate_message table data 2023-12-21 08:26:58 +00:00
Dave Long d9f34709f9
Issue #3337295 by Akhil Babu, zniki.ru, rksyravi, quietone, harshitthakore, Indrapatil, smustgrave, longwave, poker10: Remove remaining uses of t() in assertEquals() calls 2023-12-20 22:52:21 +00:00
Alex Pott a9b4000840
Issue #3112298 by Spokje, mpdonadio, ravi.shankar, quietone, alexpott, smustgrave, immaculatexavier, ranjith_kumar_k_u, ankithashetty, mondrake, daffie, andypost, vladbo, JeroenT, pifagor, longwave, voleger: Replace REQUEST_TIME in classes with direct container access 2023-12-20 12:49:14 +00:00
Lee Rowlands 5247e64236
Issue #3400018 by mstrelan, xjm: Add declare(strict_types=1) to all Functional JavaScript tests 2023-12-13 08:27:06 +10:00
Alex Pott 79a07a4e31
Issue #2901412 by claudiu.cristea, pfrenssen, grathbone, ravi.shankar, saidatom, Lendude, quietone: Add current route parameters to the confirmation form route 2023-12-10 23:38:20 +00:00
xjm b70dfff449
Issue #3401994 by mstrelan, dww, xjm, smustgrave, nicxvan: Add declare(strict_types=1) to all test traits 2023-12-09 08:40:55 -06:00
Dave Long 1b1af634d5
Issue #3402296 by mstrelan, smustgrave: Fix strict type errors in kernel tests: Do not quote integers 2023-11-22 22:32:35 +00:00
xjm c304b09272
Issue #3399992 by mstrelan, smustgrave, xjm: Fix strict type errors in test traits 2023-11-15 14:58:42 -06:00
xjm 73b4628445
Issue #3401236 by pradhumanjain2311, xjm, joachim, smustgrave: Rename EntityReferenceTestTrait to help discoverability 2023-11-15 14:44:07 -06:00
xjm 8a739dc5a2
Issue #3379495 by quietone, xjm, smustgrave: Convert enable/disable to install/uninstall in hook_help() 2023-11-12 11:53:44 -06:00
xjm df6c4b704b
Issue #1215784 by Saphyel, jenlampton, penyaskito, jlscott, simohell, sanjusci, StephaneQ, jeffschuler, scresante, droplet, Shivam Agarwal, xjm, jbrown, alexpott, quicksketch, Gábor Hojtsy, smustgrave, ianthomas_uk, TR, bleen, nlisgo, catch: Terminology update: don't say "Resolution" when we mean "Dimensions" 2023-11-12 09:59:04 -06:00
xjm 066dc5c8c4
Issue #3399370 by mstrelan: Remove @file annotation from test classes 2023-11-10 15:35:50 -06:00
Alex Pott e1c95b2f99
Issue #3382510 by phenaproxima, Wim Leers, alexpott, longwave, claudiu.cristea, borisson_, lauriii, effulgentsia, bircher: Introduce a new #config_target Form API property to make it super simple to use validation constraints on simple config forms, and adopt it in several core config forms 2023-11-02 14:17:04 +00:00
catch fe4204239b Issue #3252386 by alexpott, longwave, duadua, mondrake, mstrelan, andypost, Spokje, VladimirAus, catch, effulgentsia, Berdir, xjm, bircher, joachim, larowlan: Use PHP attributes instead of doctrine annotations 2023-10-27 21:14:27 +01:00
Dave Long c7e751a532
Issue #3379121 by quietone, longwave: Skip spellcheck for 20 nonsense words that are parts of hashes 2023-10-24 12:27:12 +01:00
Dave Long 41b777c6be
Issue #3395871 by quietone: Correct spelling of words in test modules and dramallama 2023-10-24 12:12:43 +01:00
nod_ 981921d823
Issue #3181647 by ultimike, guiu.rocafort.ferrer, tobiasb, ilgnerfagundes, prudloff, jurgenhaas, guzmanb, maxime.rffd, hexaki, samuel_orhan, rauch, guiu.rocafort.ferrer, mullzk, binnythomas: Add autocomplete attributes on login form and password reset form 2023-10-20 15:54:39 +02:00
Sally Young cb123cf554
Issue #3392425 by quietone, smustgrave: Fix variable name spelling in non-tests, part1 2023-10-20 13:59:03 +01:00
Dave Long 36ab456505
Issue #3389283 by quietone: Fix spelling of words only misspelled in tests, part 1 2023-10-18 11:00:47 +02:00
Dave Long 4cfa1b5ffb
Issue #3392396 by andypost, longwave: Improve AutowireTest to ignore TrustedCallbackInterface 2023-10-17 11:39:26 +02:00
xjm 987548947c
Issue #3389286 by quietone: Fix spelling of words only misspelled in tests, part 2 2023-09-29 19:22:57 -05:00
Lee Rowlands 6d93485084
Issue #3386458 by catch, quietone, alexpott, larowlan: Add GenericModuleTestBase and use it to test general module things 2023-09-26 09:14:17 +10:00
effulgentsia 9a3156daf8 Issue #3380480 by phenaproxima, quietone, Wim Leers, lauriii, dww, tim.plunkett, borisson_: Views should require a label, rather than falling back to an unhelpful ID 2023-09-22 12:14:48 -07:00
catch c050f6e90a Issue #2706241 by mglaman, Spokje, Chi, DamienMcKenna, JeroenT, ankithashetty, lslinnet, george.karaivanov, Rade, rteijeiro, nplowman, Wim Leers: AccessAwareRouter does not respect HTTP method 2023-09-18 10:51:07 +01:00
Dave Long 60f2a21d48
Issue #3380624 by danflanagan8, lauriii, ioannis.cherouvim: Toolbar username lazy builder only XSS filters but doesn't escape user display name - stored remote request 2023-09-12 21:45:49 +01:00
effulgentsia 1fad1e0093 Issue #3364506 by Wim Leers, effulgentsia, catch, lauriii, borisson_, smustgrave, tim.plunkett, Dave Reid: Add optional validation constraint support to ConfigFormBase 2023-09-01 09:46:12 -07:00
catch cb6824ae7d Issue #3344789 by acbramley, Berdir, fenstrat, benjifisher, borisson_: Return early in EntityPermissionsForm::access if the user does not have "administer permissions" 2023-08-31 17:11:26 +01:00
catch 27aba04e2c Issue #3327294 by poker10, alexpott: Username enumeration via one time login route when logged in as another user 2023-08-25 16:19:45 +01:00
Lauri Eskola b1eddcbb57
Issue #229193 by dmitrig01, narendraR, katbailey, k4v, Gurpartap Singh, anavarre, kkaefer, chx, Gábor Hojtsy, jrockowitz, Bojhan, catch, Kiphaas7, corey.aufang, webchick, Dries, Senpai, smustgrave, anders.fajerson, larowlan: Incremental filter for permissions page 2023-08-20 23:24:29 +03:00
Lauri Eskola 67360f2abd
Issue #3341682 by Wim Leers, phenaproxima, borisson_, catch, alexpott: New config schema data type: required_label 2023-08-17 12:29:30 +03:00
Dave Long dbd0e756d8
Issue #3185807 by andregp, quietone, lucienchalom, elber, yogeshmpawar, jungle, Tauany Bueno, tmaiochi, xjm, smustgrave: Fix or ignore some words starting with "w" 2023-08-16 21:06:31 +01:00
Dave Long f890b7ff46
Issue #981870 by Spokje, Lendude, longwave, xjm, smustgrave: Skip default argument for view URL does not work and never has so it can be removed 2023-08-16 10:10:49 +01:00
Lauri Eskola b175481f32
Issue #3376281 by Indrapatil, nlisgo, longwave, smustgrave: Random machine names no longer need to be wrapped in strtolower() 2023-08-01 21:32:45 +03:00
Lauri Eskola a9199caf7c
Issue #3362456 by NickDickinsonWilde, Wim Leers, borisson_: Fix all ExtensionExistsConstraint constraint violations in tests 2023-08-01 20:08:47 +03:00
Lauri Eskola 418ce00036
Issue #3209249 by quietone, smustgrave, bharath-kondeti, ankithashetty, KapilV, longwave, Spokje: Fix spelling for 29 migrate translation related words 2023-07-30 19:51:17 +03:00
Lauri Eskola 85700fc52f
Issue #3376314 by Spokje, urvashi_vora, catch, lauriii, ckrina, bostonjillian: Remove the username and password descriptions from the login form 2023-07-27 11:44:25 +03:00
Lee Rowlands 98618df781
Issue #3261663 by s.messaris, DieterHolvoet, ShaunDychko, smustgrave, schillerm, dww: Password reset json endpoint reveals whether an email or username is in use 2023-07-27 07:55:57 +10:00
catch 57a9309a09 Issue #2881572 by Bhanu951, paulocs, catch, Spokje, munish.kumar, vijaycs85, ranjith_kumar_k_u, vikashsoni, smustgrave, heddn, larowlan, lauriii: User login flood lock doesn't clear when reset password as admin 2023-07-25 10:51:49 +01:00
Dave Long 758cc0ecfa
Issue #3051548 by Rkumar, quietone, Balu Ertl, nitesh624, lauriii, pandaski, alexpott: Fix spelling of "email" 2023-07-24 16:58:20 +01:00
Lee Rowlands 5823307501
Issue #3025577 by andypost, Abhisheksingh27, jhodgdon, alexpott, quietone, smustgrave: Move help topics to core or the correct modules 2023-07-24 20:03:11 +10:00
Dave Long 224c67343b
Issue #2921133 by quietone, VladimirAus, xjm, ankithashetty, longwave, Prem Suthar, smustgrave, benjifisher, AaronMcHale: Remove "Please" from the codebase 2023-07-23 17:33:54 +01:00
Kostia Bohach c44d89e37d Issue #3364659 by Utkarsh_33, lauriii, sakthi_dev, bnjmnm, tim.plunkett, fadilraj, Chris Matthews, longwave, smustgrave, ckrina: Give display modes a description 2023-07-21 14:48:24 +00:00
catch 60b67381b6 Issue #3038971 by claudiu.cristea, kim.pepper, andypost, Berdir, daffie: Move system_get_module_admin_tasks() into a service and deprecate it 2023-07-21 14:03:42 +01:00
Lee Rowlands 4b0e870890
Issue #2414187 by BramDriesen, cussack: User email disclosure in /user/password 2023-07-20 17:43:53 +10:00
Dave Long 69333763c3
Issue #3224941 by andypost, Akram Khan, ravi.shankar, SandeepSingh199, Spokje, catch, xjm, alexpott: Remove usage of setAccessible() when core requires PHP 8.1 2023-07-18 16:45:43 +01:00
Lee Rowlands 0a7c3372a2
Issue #2920678 by phenaproxima, Wim Leers, dawehner, Gogowitsch, Sam152, dww, longwave, yogeshmpawar, alexpott, borisson_, tstoeckler, jibran, amateescu, larowlan, tedbow: Add config validation for the allowed characters of machine names 2023-07-03 16:51:23 +10:00
Lee Rowlands 6a43b511df
Issue #3238308 by mstrelan, bnjmnm, nod_, smustgrave, larowlan, rikki_iki: Refactor (if feasible) uses of the jQuery css function to use Vanilla/native 2023-06-27 06:26:47 +10:00
Lauri Eskola 80aa96f173
Issue #3355403 by mglaman: Add "Edit permisisons" as local task on role edit form 2023-06-16 10:39:06 +03:00
Dave Long a87a72fa06
Issue #3275557 by andypost, catch, heddn: Add webp image conversion to core's install profile's image style 2023-06-15 17:14:49 +01:00
catch b83467eabc Issue #3325557 by longwave, mondrake, kim.pepper: Enable more service autowiring by adding interface aliases to core modules 2023-06-14 13:59:48 +01:00
catch 085ae2c2fb Issue #3347873 by kristiaanvandeneynde, BramDriesen, smustgrave, Kingdutch, quietone, borisson_: Centralize permission checks in a service 2023-06-14 12:05:26 +01:00
catch 26e376b1df Issue #3348093 by andypost, murilohp, elber, Ranjit1032002, ameymudras, smustgrave, alexpott, catch: Deprecate user_roles() and user_role_names() 2023-06-14 10:16:28 +01:00
catch 6204ba9c59 Issue #2665216 by andypost, gidarai, daffie, mondrake, _utsavsharma, dawehner, catch, longwave, alexpott, Charlie ChX Negyesi: Deprecate Drupal\Core\Database\Connection::nextId() and the {sequences} table and schema 2023-06-08 12:59:56 +01:00
catch 339643bebb Issue #2551419 by kristiaanvandeneynde, catch, dawehner, Wim Leers, borisson_, bradjones1, tstoeckler, andypost: Abstract RenderCache into a separate service that is capable of cache redirects in a non-render array-specific way 2023-06-07 16:56:20 +01:00
catch 6ef863a2a3 Issue #3354382 by mondrake: [PHPUnit 10] Provide a static viable alternative to $this->prophesize() in data providers 2023-06-07 09:37:15 +01:00
catch a6c9dbbe28 Issue #3338328 by Spokje, andypost, longwave, effulgentsia, jungle, catch, smustgrave, Wim Leers: Update to Symfony 6.3 2023-05-14 15:45:05 +01:00
catch 9bb7558750 Issue #3117230 by martijn.cuppens, abhijeet.kumar2107, Gauravvvv, Kristen Pol, alexpott, andrewmacpherson, Chi, idebr: Remove redundant role="article" from <article> html tags 2023-05-02 12:29:55 +01:00
Dave Long db5c7a1dc5
Issue #3268833 by quietone, xjm, jungle, ravi.shankar, smustgrave, daffie, Spokje, DanielVeza: Fix method comments in tests for Drupal.Commenting.DocComment.ShortSingleLine 2023-04-30 18:58:07 +01:00
nod_ 34b0bcda1f
Issue #2998451 by bnjmnm, HOG, lauriii, ndf, gaurav-mathur, Ambient.Impact, Chi, nod_, andy-blum, droplet: Toolbar tray rendering can result "flickering" resizing of content area to accommodate open trays 2023-04-27 22:01:16 +02:00
Lee Rowlands 6af88f6d6e
Issue #3007424 by acbramley, Spokje, mbovan, narendra.rajwar27, AaronBauman, ravi.shankar, aleevas, geek-merlin, jibran, YurkinPark, daffie, larowlan, Berdir, alexpott, marcelovani, catch, Lendude, mstrelan, tar_inet, Honza Pobořil, seanB, andrewbelcher, danflanagan8, susgo, sylus, sjpeters79, yogeshmpawar, raman.b: Multiple usages of FieldPluginBase::getEntity do not check for NULL, leading to WSOD 2023-04-27 07:58:01 +10:00
bnjmnm bf91219364 Issue #3343212 by markconroy, andy-blum, bnjmnm, longwave, alexpott, lauriii, codexmas, harsha012, rpayanm, occupant, Mukeysh, leahtard, joelpittet: Update Core CSS to use double-colon for pseudo elements 2023-04-17 13:22:55 -04:00
Dave Long 596b3d38f1
Issue #3351236 by Spokje, mondrake, smustgrave: Fix PHPStan L1 errors "Missing call to parent::setUp()/tearDown() method." 2023-04-16 22:50:09 +01:00
Dave Long 6629a1634d
Issue #3268838 by quietone, TR, smustgrave, xjm: Fix functions and test modules for Drupal.Commenting.DocComment.ShortSingleLine 2023-04-12 16:30:41 +01:00
Dave Long 7710bd6098
Issue #3268809 by quietone, Spokje, Rishabh Vishwakarma, ravi.shankar, mrinalini9, Medha Kumari, JatinGupta40, smustgrave, xjm, longwave, catch: Fix class comment doc blocks in tests for 'Drupal.Commenting.DocComment.ShortSingleLine' 2023-04-12 15:50:34 +01:00
catch c0cc344fb6 Issue #3336780 by diegors, schlaukopf, xjm, fabiansierra5191: Correctly capitalize "url" in documentation only, part 2 2023-04-12 15:28:50 +01:00
Dave Long 85aee30af3
Issue #3351089 by Spokje: Fix PHPStan L1 errors "@dataProvider Foo related method not found." 2023-04-11 18:46:51 +01:00
catch c704db9480 Issue #3311563 by stefanos.petrakis, rpayanm, smustgrave, longwave, Wim Leers: Safeguarding against UnblockUser::execute()'s method unblocking the anonymous user 2023-04-11 13:07:01 +01:00