Commit Graph

382 Commits (d19fa67a927cd32dcb5e66f5b2e92d4498f00bac)

Author SHA1 Message Date
Alex Pott 1d277cec17
Issue #3283235 by TR: Fix a comment typo in FileFieldWidgetTest
(cherry picked from commit ba7508a542)
2022-06-19 18:16:16 +01:00
Alex Pott b74c35f541
Issue #3272336 by danflanagan8: File tests should not rely on Classy
(cherry picked from commit 0a03e7b151)
2022-05-15 21:45:07 +01:00
Alex Pott 99b6843db1
Issue #3268932 by danflanagan8, mondrake, dww, xjm, longwave, alexpott, larowlan: Add methods to assert status messages to WebAssert
(cherry picked from commit e5e74fb998)
2022-03-23 15:12:33 +00:00
catch 493149eeaf Issue #3263654 by Spokje, bbrala, daffie, Kristen Pol, longwave: Move all HAL tests to the module in preparation of removal in D10 2022-02-20 15:21:08 +00:00
catch 6db6dcae77 Issue #3254727 by Leon Kessler, ranjith_kumar_k_u, cmlara, andileco: File links with query parameters no longer work
(cherry picked from commit d60ba4d876)
2022-02-07 16:13:33 +00:00
Alex Pott 7105aa278a
Issue #3254553 by Leon Kessler, Berdir, Bladedu, cmlara: FileUrlGenerator::generate() does not work with externally hosted files using stream wrappers
(cherry picked from commit a60632076b)
2022-01-13 01:03:58 +00:00
Alex Pott 61a44d1b1e
Issue #3131348 by Spokje, jungle, mondrake, vsujeetkumar, sja112, kishor_kolekar, Hardik_Patel_12, mrinalini9, yogeshmpawar, daffie: Replace assertions involving calls to empty() with assertEmpty()/assertNotEmpty()/assertArrayNotHasKey()
(cherry picked from commit 09795b6e93)
2021-12-30 13:40:51 +00:00
catch 92836c436b Issue #3138078 by mondrake, larowlan, longwave, xjm: [D9.3 beta - w/c Nov 8, 2021] Add a 'void' return typehint to custom assert* methods 2021-11-22 15:25:32 +00:00
Lee Rowlands a83a7a7836
Issue #3231781 by longwave, mondrake, Feuerwagen, larowlan, TR, nlisgo, xxAlHixx, DuaelFr, GoZ, benjy, no_angel, Mac_Weber: [D9.3 beta - w/c Nov 8, 2021] Remove remaining uses of t() in tests 2021-11-15 12:46:09 +10:00
Lee Rowlands 6d39cdeeb4
Issue #3222769 by bbrala, alexpott, longwave, Matroskeen: [November 8, 2021] Replace all list (array destructuring) assignment to the array syntax 2021-11-15 12:35:55 +10:00
Lee Rowlands 330473e759
Issue #3222251 by bbrala, longwave: [November 8, 2021] Replace all isset constructs with the null coalescing operator 2021-11-15 12:19:43 +10:00
Lee Rowlands 64074071d1
Issue #3223209 by kim.pepper, dww, yogeshmpawar, daffie, larowlan, Berdir, andypost, phenaproxima, brianV, alexpott, AjitS, ravi.shankar, catch, quietone, trobey, Dave Reid, JacobSingh, imclean, tim.plunkett, Kars-T, amateescu, JeremyFrench, aaron: deprecate file_save_data, file_copy and file_move and replace with a service 2021-10-25 11:01:32 +10:00
Lee Rowlands 384d615aaa
Issue #3245244 by kim.pepper, dww: Make FileUploadHandler re-usuable for non-form file uploads 2021-10-25 06:19:20 +10:00
Alex Pott 57d91dbea0
Issue #3209934 by quietone, alexpott, longwave: Fix spelling for 46 migrate related words 2021-10-18 09:13:24 +01:00
Alex Pott bfe527484c
Issue #3232248 by kim.pepper, dww, andypost, paulocs, alexpott, mstrelan, Berdir: Move _file_save_upload_single to a service and deprecate 2021-10-15 09:01:34 +01:00
catch 406dfbc6c6 Issue #3227501 by longwave, mondrake: Remove remaining uses of t() in test assertions 2021-09-07 14:35:25 +01:00
catch 4122e26f5c Revert "Issue #3022910 by quietone, juampynr, chandrashekhar_srijan, alisonjo315, heddn, benjifisher: Prevent migrated files from having an incorrect value at file_managed.filename"
This reverts commit 286129f86e.
2021-08-19 09:52:26 +01:00
catch 694650fa66 Issue #2032893 by Thomas Brekelmans, srilakshmier, longwave, Mile23, dawehner, daffie, damiankloip, xjm, tstoeckler, slashrsm: Deprecate the function _views_file_status() 2021-08-13 14:56:10 +01:00
catch 286129f86e Issue #3022910 by quietone, juampynr, chandrashekhar_srijan, alisonjo315, heddn, benjifisher: Prevent migrated files from having an incorrect value at file_managed.filename 2021-08-10 08:11:34 +01:00
catch 7af1ea2e69 Issue #3139409 by mondrake, nitesh624, ridhimaabrol24, shobhit_juyal, mohrerao, Hardik_Patel_12, paulocs, ravi.shankar, munish.kumar, mrinalini9, alexpott: Replace usages of AssertLegacyTrait::assertRaw, that is deprecated 2021-08-09 21:40:23 +01:00
catch 604fee30da Revert "Issue #3139409 by mondrake, nitesh624, ridhimaabrol24, shobhit_juyal, mohrerao, Hardik_Patel_12, ravi.shankar, munish.kumar, mrinalini9, alexpott: Replace usages of AssertLegacyTrait::assertRaw, that is deprecated"
This reverts commit 71e8db1949.
2021-08-09 14:50:34 +01:00
catch 71e8db1949 Issue #3139409 by mondrake, nitesh624, ridhimaabrol24, shobhit_juyal, mohrerao, Hardik_Patel_12, ravi.shankar, munish.kumar, mrinalini9, alexpott: Replace usages of AssertLegacyTrait::assertRaw, that is deprecated 2021-08-09 11:21:51 +01:00
catch 0aed1298a1 Issue #3226008 by longwave, mondrake: Remove simple uses of t() in assertEquals() calls 2021-08-09 10:29:45 +01:00
catch e33e4c71c4 Issue #3227060 by mondrake, daffie: Replace usages of AssertLegacyTrait::assertNoRaw, that is deprecated 2021-08-06 11:12:32 +01:00
catch a227db1833 Issue #3021833 by pavnish, andypost, munish.kumar, kim.pepper, googletorp, swatichouhan012, daffie, Berdir, alexpott, xjm: Move FILE_STATUS_PERMANENT to \Drupal\file\FileInterface 2021-08-06 08:54:08 +01:00
catch 89da8c8d52 Issue #3170396 by mondrake, longwave: Remove uses of t() in assert(No)Raw() calls 2021-08-06 08:21:30 +01:00
catch 068f00c4c9 Issue #3191935 by mondrake, tedbow, xjm, alexpott, longwave: Replace usages of AssertLegacyTrait::assertNoText, which is deprecated 2021-07-28 14:41:19 +01:00
catch 686951d3c9 Issue #3153469 by longwave, hmendes, Hardik_Patel_12: Remove uses of t() in clickLink() calls 2021-07-28 08:48:45 +01:00
Alex Pott 3e4b17a7c9
Issue #2669074 by kim.pepper, Berdir, gaydabura, andypost, ravi.shankar, KapilV, Wim Leers, bradjones1, nickolaj, alexpott, mondrake, 20th, yogeshmpawar, gaurav.kapoor, voleger, Pavan B S, Neslee Canil Pinto, aerozeppelin, Cameron Tod, daffie, dhruveshdtripathi, abramm, Nono95230, s.messaris, Mile23, claudiu.cristea, larowlan, catch, jibran, SpadXIII: Convert file_create_url() & file_url_transform_relative() to service, deprecate it 2021-07-09 14:18:01 +01:00
Lee Rowlands b27e6a8c59
Issue #2834958 by huzooka, Chris Burge, alfaguru, Wim Leers, Lendude: file_validate_extensions() incorrectly assumes $file->filename contains the file's extension 2021-07-09 15:20:56 +10:00
catch 67bfb63d9a Issue #3220183 by mondrake, longwave: Convert assertions involving use of xpath on labels to WebAssert 2021-06-28 11:57:18 +01:00
catch 1d5e219f85 Issue #3156396 by TR, pavnish, mondrake, longwave, catch, jungle: Use assertSameSize() to check same size of two countable variables 2021-06-21 12:31:24 +01:00
catch ff8ead85c3 Issue #2359675 by Grimreaper, jhedstrom, paulocs, anrikun, Lendude, larowlan, nicoloye, dww, alexpott: File field's Maximum upload size always passes validation 2021-06-14 10:54:43 +01:00
catch 116ebd1e2c Issue #3217706 by Spokje, longwave, guilhermevp, mondrake: Replace usages of assertFileNotExists(), that is deprecated 2021-06-14 09:26:39 +01:00
catch 3066423e43 Issue #3186661 by Spokje, longwave, mondrake, paulocs, daffie: [May 24, 2021] Remove usage of drupalPostForm 2021-05-24 14:27:52 +01:00
catch f3ad0680a3 Issue #3133162 by jungle, ravi.shankar, Deepak Goyal, Neslee Canil Pinto, anmolgoyal74, xjm, Kristen Pol: Replace the start verb Test with Tests in method comments of tests 2021-05-24 14:26:11 +01:00
Alex Pott 3872f1a8ed
Issue #3139404 by mondrake, munish.kumar, pavnish, longwave: [May 25, 2021] Replace usages of AssertLegacyTrait::assertText, that is deprecated 2021-05-20 22:10:07 +01:00
Alex Pott 4a72cc3169
Issue #3207734 by Spokje, quietone: Fix Drupal.Commenting.InlineVariableComment 2021-05-20 21:47:18 +01:00
Alex Pott 3f75f72de2
Issue #3131281 by mondrake, rahulrasgon, longwave, ridhimaabrol24, naresh_bavaskar, jungle, daffie: [May 17th 2021] Replace assertEqual() with assertEquals() 2021-05-20 00:39:14 +01:00
catch c5e16af101 Issue #3048423 by claudiu.cristea, longwave, klausi: Convert RelationshipUserFileDataTest into a Kernel test 2021-05-04 13:44:37 +01:00
catch 65873adedc Issue #3204163 by jonathanshaw: EntityQuery accessCheck: tests should not check access unless relevant 2021-04-01 18:46:09 +01:00
catch 39e442948d Issue #3198400 by mondrake, daffie, alexpott, longwave: Convert assertions involving use of xpath on input tags to WebAssert 2021-03-08 12:15:37 +00:00
catch 69a0a83546 Issue #3032390 by alexpott, dww, Pancho, 3CWebDev, kim.pepper, larowlan, Berdir, catch, andypost, chr.fritsch, Wim Leers: Add an event to sanitize filenames during upload 2021-02-24 16:02:18 +00:00
Alex Pott 663c57bff4
Issue #3166044 by anmolgoyal74, spuky, idebr, quietone, sarvjeetsingh, janmejaig, paulocs, ranjith_kumar_k_u, jungle, benjifisher, alexpott: Allow file extensions containing underscores 2021-02-01 10:56:38 +00:00
catch afd86e7d3c Issue #3193955 by mondrake, daffie, catch: Swap assertEqual arguments in preparation to replace with assertEquals 2021-01-28 09:57:41 +00:00
Lee Rowlands fd1d6759f2
Issue #2863652 by alexpott, anmolgoyal74, javi.pl, dww, zaporylie, moinak_dutta, iampuma, a.dmitriiev, benjifisher, Pancho, larowlan, yoroy: Do not allow files with "php|pl|py|cgi|asp|js" extensions to be renamed to *.txt and be uploaded if *.txt is not allowed by the field widget 2021-01-23 09:16:07 +10:00
catch 6c64763741 Issue #2867959 by mondrake, danielnv18, xjm, ZeiP, daffie: Replace usages of deprecated AssertLegacyTrait::assertIdentical 2021-01-21 10:01:43 +00:00
catch d722e9d760 Issue #3192221 by mondrake, daffie, longwave: Swap assertIdentical arguments in preparation to replace with assertSame 2021-01-18 17:35:30 +00:00
catch 39bacf4426 Issue #3192427 by mondrake, daffie: Replace usages of deprecated AssertLegacyTrait::assertNotEqual 2021-01-18 16:16:33 +00:00
catch 9ac7689b1a Issue #3159788 by mondrake, ravi.shankar, narendra.rajwar27, longwave, Hardik_Patel_12, ankithashetty, sarvjeetsingh, kishor_kolekar: AssertLegacyTrait::assert(No)Text() in functional tests still have a message passed in 2021-01-11 10:24:10 +00:00