Commit Graph

1283 Commits (c2063e23b25c09fb35bc785fe069245ced89cea5)

Author SHA1 Message Date
Alex Pott 2301cd01ab
Issue #3440115 by mondrake: Change remaining File module test dataproviders to static
(cherry picked from commit 11fb273f93cb61e874ce0aa49949def90d9984da)
2024-04-11 22:26:52 +01:00
Alex Pott ac127f070c
Issue #3402294 by mstrelan, quietone, dww, smustgrave: Fix strict type errors: Convert FormattableMarkup to strings (complex replacement) in core Kernel tests
(cherry picked from commit 955418c2df)
2024-04-09 11:45:11 +01:00
Alex Pott 0ebaa77581
Issue #3437752 by lhridley: Fix FileUploadResource::$fileSystem documented type to match the constructor typehint
(cherry picked from commit 5540060beb)
2024-04-03 23:50:13 +01:00
catch 371762dec0 Issue #3437514 by kim.pepper, alexpott: Deprecate hook_file_validate() API docs
(cherry picked from commit 0c2af95fc2)
2024-04-02 11:33:22 +01:00
Alex Pott f35b1b1e79
Issue #3420802 by kim.pepper, bkline, larowlan: [regression] file_save_upload does not properly handle extensions
(cherry picked from commit 4caea1c8e7)
2024-03-02 13:30:19 +00:00
catch 24c236fdc7 Issue #3292350 by O'Briat, KlemenDEV, hswong3i, smustgrave, quietone: Update the file size in file_validate_image_resolution after resizing
(cherry picked from commit 1a3d72bc67)
(cherry picked from commit 2340e939ed)
2024-02-26 11:54:53 +00:00
quietone 796cc26845
Issue #3385845 by shalini_jha, smustgrave: PrivateFileOnTranslatedEntityTest should use API to set up language
(cherry picked from commit 6bea4525a1)
2024-02-21 11:28:39 +13:00
Dave Long 56e9f8a83e
Issue #2366129 by andypost, stefan.r, smustgrave, vacho: RegisterStreamWrappersPass and other have broken compiler pass for multiple tags 2024-02-17 15:35:41 +00:00
quietone 02c2f2c188
Issue #3404508 by mstrelan, smustgrave, larowlan, quietone: Fix strict type errors in Functional tests: Add casts and fix types where needed 2024-02-14 16:50:40 +13:00
Lee Rowlands 64a66d9ad0
Issue #3419824 by catch: Mark some more tests with @group #slow
(cherry picked from commit bd2ee3cb3530e6e9e9c74c48e23c4217c8301c91)
2024-02-08 16:10:18 +00:00
quietone 362a5f61d9
Issue #3412464 by mstrelan, smustgrave, quietone: Fix strict type errors: Convert FormattableMarkup to strings (complex replacement) in core Functional tests 2024-02-02 20:10:31 +13:00
catch 1d3255c781 Issue #3417935 by mstrelan, acbramley: Remove calls to clearstatcache in \Drupal\Tests\file\Functional\FileFieldRevisionTest::testRevisions
(cherry picked from commit 9d0eacebe1)
2024-01-30 10:01:49 +00:00
Lauri Eskola 379968c4ac
Issue #3414263 by quietone, andypost: Change help headings for WCAG 2.0
(cherry picked from commit 1e8ae69e1d)
2024-01-15 14:56:41 +02:00
catch 4729960556 Issue #3384936 by marvil07, vbouchet, smustgrave, xjm, joachim: Use the API to set up languages in tests that are not specifically testing the language form
(cherry picked from commit ed1c690070)
2024-01-09 10:55:02 +00:00
catch 387f6c1f70 Issue #3328456 by xjm, dimitriskr, murilohp, smustgrave: Replace substr($a, 0, $i) with str_starts_with()
(cherry picked from commit 4ca4dbaabe)
2024-01-08 10:50:35 +00:00
quietone 828b4be30c
Issue #3404273 by mstrelan, smustgrave: Fix strict type errors: Convert FormattableMarkup to strings (simple replacement) in core Functional tests 2024-01-08 15:45:27 +13:00
Lee Rowlands ee348449d0
Issue #3402295 by mstrelan, dww, smustgrave: Fix strict type errors in kernel tests: Add casts and fix types where needed
(cherry picked from commit 5b8514adec)
2024-01-08 08:01:07 +10:00
Dave Long b612db8a77
Issue #3399373 by mstrelan, xjm, longwave, larowlan, quietone: Add declare(strict_types=1) to all Unit tests 2024-01-05 09:08:23 +00:00
Lee Rowlands bb42fa92ac
Issue #3410126 by kim.pepper, catch, larowlan, DamienMcKenna, alexpott: File validation logic from #3221793 broke backwards compatibility
(cherry picked from commit bd37e393c3)
2024-01-02 06:51:20 +10:00
Dave Long dca79fb044
Issue #3337295 by Akhil Babu, zniki.ru, rksyravi, quietone, harshitthakore, Indrapatil, smustgrave, longwave, poker10: Remove remaining uses of t() in assertEquals() calls
(cherry picked from commit d9f34709f9)
2023-12-20 22:52:49 +00:00
Lee Rowlands ddc25ea172
Issue #3400018 by mstrelan, xjm: Add declare(strict_types=1) to all Functional JavaScript tests
(cherry picked from commit 5247e64236)
2023-12-13 08:47:18 +10:00
Dave Long 1df6d0e108
Issue #3402296 by mstrelan, smustgrave: Fix strict type errors in kernel tests: Do not quote integers
(cherry picked from commit 1b1af634d5)
2023-11-22 22:32:51 +00:00
xjm d15c431465
Issue #3391786 by quietone, xjm, smustgrave: Fix spelling of words only misspelled in tests, variable names, part 5
(cherry picked from commit 6dc9ce0b01)
2023-11-17 15:54:07 -06:00
xjm d76ca17c9f
Issue #3399754 by mstrelan, smustgrave, xjm: Fix strict type errors in functional JavaScript tests
(cherry picked from commit 35cfa70992)
2023-11-15 13:22:48 -06:00
xjm f7a7eba440
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"
(cherry picked from commit df6c4b704b)
2023-11-12 09:59:48 -06:00
Dave Long 394b8fb2c5
Issue #3395891 by quietone: Fix spelling for words in test modules
(cherry picked from commit 7e75964e69)
2023-11-11 11:22:09 +00:00
xjm f0d1376a9a
Issue #3355603 by roshni27, joachim, Ranjit1032002, quietone: Docs for ImageFieldCreationTrait and FileFieldCreationTrait are misleading
(cherry picked from commit 4494b0a457)
2023-11-10 16:56:24 -06:00
xjm 4f214398eb
Issue #2272637 by mohit_aghera, ashley_herodev, ankithashetty, Gauravvvv, malc0mn, pooja saraah, catch, Abhijith S, smustgrave, xjm, bnjmnm, larowlan, dcam, ameymudras: Default file visibility setting not respected
(cherry picked from commit 41668b6b30)
2023-11-09 17:02:56 -06:00
Lee Rowlands 067a9ed94a
Issue #3394406 by kim.pepper, larowlan, bnjmnm, smustgrave: FileUploadHandler::handleExtensionValidation does not have fallback for sites still using file_validate_extensions 2023-10-26 07:31:42 +10:00
Lauri Eskola b6a81b7380
Issue #3393338 by Berdir, smustgrave: Provide backwards-compatibility for storage settings in FieldUiTestTrait::fieldUIAddNewField
(cherry picked from commit 2771a3127d)
2023-10-18 11:56:33 +03:00
Alex Pott 4976f3a460
Issue #2810355 by joseph.olstad, Leksat, ravi.shankar, Berdir, jungle, suranga.gamage, adityasingh, benjifisher, Jelle_S, alexpott, Wim Leers, xjm, smustgrave, catch, hchonov, star-szr, webchick, wluisi, dawehner, daffie, cilefen: $entity->isDefaultTranslation() behaves incorrectly when changing default translation, causing file/image field usage to be set to zero, causing files to be deleted
(cherry picked from commit aa3ecb2c2d)
2023-10-17 18:22:19 +02:00
Alex Pott ea3f7b53d4
Issue #3347291 by lauriii, srishtiiee, tim.plunkett, hooroomoo, narendraR, tedbow, bnjmnm, alexpott, Berdir: Combine field storage and field instance forms 2023-10-07 16:12:33 +01:00
Lauri Eskola 43169249b6
Issue #3389839 by catch: Mark some more tests #slow 2023-09-28 22:52:16 +03: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
catch a9f3f72e03 Issue #2157945 by mondrake, andypost, kim.pepper, Bhanu951, alexpott, martin107, plach, ankithashetty, dawehner, karishmaamin, voleger, jhedstrom, jofitz, kostyashupenko, shashikant_chauhan, longwave, zeeshan_khan, claudiu.cristea, mstrelan, Berdir: Deprecate format_size() and use Drupal\Core\StringTranslation\ByteSizeMarkup instead 2023-09-15 08:19:10 +01:00
effulgentsia d2cdfb1940 Issue #3358049 by narendraR, lauriii, srishtiiee, Utkarsh_33, Wim Leers, tim.plunkett, tedbow, bnjmnm, smustgrave, Berdir, amateescu, larowlan: Save FieldStorageConfig at the same time as FieldConfig 2023-08-31 14:52:48 -07:00
catch 56e1b484f3 Issue #2492171 by dww, alexpott, sokru, jungle, hgoto, Pancho, collinhaines, kirkkala, chr.fritsch, borisson_, seanB, pingwin4eg, SKAUGHT, andypost, Berdir: Provide options to sanitize filenames (transliterate, lowercase, replace whitespace, etc) 2023-08-30 07:44:47 +01:00
Lauri Eskola 37117ca492
Issue #3372316 by hooroomoo, kostyashupenko, ckrina, Utkarsh_33, srishtiiee: Adjust design implementation for the field types 2023-08-29 20:01:40 +03:00
Lauri Eskola d418da3968
Issue #3372092 by srishtiiee, lauriii, larowlan, tim.plunkett, kunal.sachdev, Wim Leers: Allow field_type_categories.yml entries to define asset libraries 2023-08-24 14:21:50 +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 6e8cab8109
Issue #3364621 by lauriii, penyaskito, daffie, catch, phenaproxima, mondrake: Drupal\Tests\file\Kernel\Views\RelationshipNodeFileDataTest fails on HEAD with PostgreSQL 2023-08-16 21:38:19 +01: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 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
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
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
Dave Long 5f3e8885b8
Issue #3261229 by mfb, danflanagan8, smustgrave, daffie, catch, alexpott: Passing null to parameter #1 ($num) of type int|float to abs() is deprecated 2023-07-22 14:50:00 +02:00
Dave Long f1a52222a7
Issue #3372097 by srishtiiee, lauriii, larowlan, longwave, tedbow: Consider replacing hook_field_type_category_info with YML based plugin discovery 2023-07-21 10:54:16 +02:00
hooroomoo 9d522de054 Issue #3356894 by hooroomoo, lauriii, srishtiiee, Rajeshreeputra, Utkarsh_33, bnjmnm, narendraR, tim.plunkett, smustgrave, ckrina, yoroy, amateescu, Wim Leers: Make field selection less overwhelming by introducing groups 2023-06-30 19:27:14 +00:00