Commit Graph

228 Commits (2da5fecccb98ab61fe9fcae55dc2b1174aaa5102)

Author SHA1 Message Date
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 00ed1ed469
Issue #2888853 by vaplas, Wim Leers: FileAccessControlHandler cacheability metadata inaccurate 2018-05-15 09:03:43 +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
Lee Rowlands 98093bef2e
Issue #2864035 by alexpott, nlisgo, mpdonadio, vaplas, GoZ, naveenvalecha, dawehner, Lendude: Convert web tests to browser tests for rdf module 2018-05-03 07:11:53 +10: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
Alex Pott bb2ef5d7c6
Issue #2960611 by msankhala, dmitryl, benjifisher: Change lookupSourceID and lookupDestinationID to lookupSourceId and lookupDestinationId in the Migrate module 2018-04-14 18:55:34 +01:00
Alex Pott 37b9e45ac0
Issue #2956814 by tim.plunkett: FileValidationConstraintValidator assumes that the file exists 2018-04-11 22:05:27 +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
Alex Pott a766172671
Issue #1927648 by damiankloip, Wim Leers, marthinal, tedbow, alexpott, Arla, juampynr, garphy, bc, ibustos, eiriksm, larowlan, dawehner, gcardinal, kylebrowning, vivekvpandya, Sam152, neclimdul, pnagornyak, drnikki, queenvictoria, gaurav.goyal, kim.pepper, Berdir, clemens.tolboom, blainelang, moshe weitzman, webchick, linclark, dabito, skyredwang, Dave Reid, gabesullice, dagmar, klausi, andypost, aheimlich, slashrsm, pwolanin, xjm, catch, amateescu: Allow creation of file entities from binary data via REST requests 2018-04-03 16:28:50 +02:00
xjm a33fe9c59a Revert "Issue #1927648 by damiankloip, Wim Leers, marthinal, tedbow, Arla, alexpott, juampynr, garphy, bc, ibustos, eiriksm, larowlan, dawehner, gcardinal, vivekvpandya, kylebrowning, Sam152, neclimdul, pnagornyak, drnikki, gaurav.goyal, queenvictoria, kim.pepper, Berdir, clemens.tolboom, blainelang, moshe weitzman, linclark, webchick, Dave Reid, dabito, skyredwang, klausi, dagmar, gabesullice, pwolanin, amateescu, slashrsm, andypost, catch, aheimlich: Allow creation of file entities from binary data via REST requests"
This reverts commit fd8233c78f.
2018-04-03 07:44:42 -05:00
Alex Pott fd8233c78f
Issue #1927648 by damiankloip, Wim Leers, marthinal, tedbow, Arla, alexpott, juampynr, garphy, bc, ibustos, eiriksm, larowlan, dawehner, gcardinal, vivekvpandya, kylebrowning, Sam152, neclimdul, pnagornyak, drnikki, gaurav.goyal, queenvictoria, kim.pepper, Berdir, clemens.tolboom, blainelang, moshe weitzman, linclark, webchick, Dave Reid, dabito, skyredwang, klausi, dagmar, gabesullice, pwolanin, amateescu, slashrsm, andypost, catch, aheimlich: Allow creation of file entities from binary data via REST requests 2018-04-03 12:28:57 +02:00
Alex Pott 544740df31 Issue #2934145 by quietone, heddn, Jo Fitzgerald, David Hernández, alexpott, joelpittet, phenaproxima, Gábor Hojtsy: Image field migration plugin in wrong module 2018-03-01 12:02:54 +00:00
Alex Pott c10cc9ec84 Issue #2942068 by kim.pepper, jibran: FileTestSaveUploadFromForm incorrectly counts messages 2018-02-10 20:44:58 +00:00
Nathaniel Catchpole c470f14247 Issue #2768823 by Jo Fitzgerald, Berdir, quietone: Store uploads in correct translation 2018-02-01 12:20:18 +00:00
Nathaniel Catchpole 03fd77c842 Issue #2927806 by alexpott, mondrake, jibran, Mile23: Use PHPUnit 6 for testing when PHP version >= 7.2 2017-12-22 12:47:46 +00:00
effulgentsia be64202643 Issue #2825487 by damiankloip, Wim Leers, garphy, cburschka, tedbow, dpovshed, tstoeckler, Munavijayalakshmi, Berdir, dawehner, e0ipso: Fix normalization of File entities: file entities should expose the file URL as a computed property on the 'uri' base field 2017-12-20 14:14:36 -08:00
Nathaniel Catchpole a44a23e64f Issue #1489692 by Liam Morland, pfrenssen, YesCT, geekinpink, sudishth, josmera01, David_Rothstein: Incorrect handling of file upload limit exceeded - file widget disappears 2017-12-18 20:20:52 +00:00
Gabor Hojtsy d98f9b8e17 Issue #2927844 by Jo Fitzgerald, quietone, heddn: Correct references to 'iterator' plugin to be 'sub_process' 2017-12-11 16:12:43 +01:00
xjm 707740e09c Issue #2919872 by vaplas, dawehner: Move part of DownloadTest::testFileCreateUrl() to a new Kernel test 2017-12-02 05:35:13 -06:00
webchick e8b84d93ff Issue #2843139 by vaplas, Wim Leers, harings_rob, catch, Berdir, alexpott: EntityResource: Provide comprehensive test coverage for File entity, and tighten access control handler 2017-12-01 11:35:08 -08:00
webchick 8f300f534f Issue #1174892 by chr.fritsch, travist, Dave Reid, keithm, webchick, phenaproxima, Everett Zufelt, slashrsm, Wim Leers, RobW, seanB, xjm, Gábor Hojtsy, larowlan, ericduran, webflo, Berdir, pschuelke: File field formatters for rich media display with <video> and <audio> HTML5 elements 2017-11-17 15:07:32 -05:00
Nathaniel Catchpole 700a72fa37 Issue #1472946 by gnuget, andypost, mmrares, sidharthap, kiamlaluno, Himanshu5050, dineshkumares, amit.drupal: Remove usages of deprecated function drupal_realpath() throughout core functions 2017-11-14 15:53:29 +00:00
Lee Rowlands daf25aa9f6
Issue #2677990 by DuaelFr, agomezmoron, heykarthikwithu, gvso, alexpott, Wim Leers, larowlan: Add a setting on "Table of files" and "Generic files" formatters to use files descriptions (or not) 2017-10-17 19:23:39 +10:00
Nathaniel Catchpole ee0f806896 Issue #2873696 by nvexler, wengerk, gido, Jo Fitzgerald, xjm: Add @internal to core classes, methods, properties to Form Classes 2017-10-12 16:15:53 +01:00
Nathaniel Catchpole c36743b99e Issue #2482783 by dmsmidt, alexpott, mgifford, 20th, Sutharsan, Jo Fitzgerald, tim.plunkett, dandaman, xjm: File upload errors not set or shown correctly 2017-10-12 15:56:30 +01:00
Nathaniel Catchpole 64fa6ad712 Issue #2901744 by mfernea: Fix 'PSR2.Namespaces' coding standard 2017-10-10 16:09:51 +01:00
Nathaniel Catchpole f659d6ca8e Issue #2901726 by mfernea, gmario, finn.lewis, robertoperuzzo, rachel_norfolk: Fix 'Squiz.Functions.MultiLineFunctionDeclaration' coding standard 2017-10-10 15:43:06 +01:00
Gabor Hojtsy 5c214594ce Issue #2902190 by chenderson: Docblock on FileUsageTemporaryDeletionConfigurationUpdateTest::testUpdateHookN() is incorrect 2017-10-10 09:54:30 +02:00
xjm 2257e63468 Issue #2859246 by Jo Fitzgerald, phenaproxima, alexpott, xjm: Allow MigrateExecutable to be constructed without a message object 2017-09-18 13:25:10 -05:00
Nathaniel Catchpole 6fc52f12a7 Issue #2705925 by heddn, Adita, jibran, Berdir, joelpittet, jazzdrive3: ImageItem presave() fails when pointing to a non-existing file entity 2017-09-18 12:25:20 +01:00
Nathaniel Catchpole 7b4861f08c Issue #2901998 by vaplas, damiankloip, kim.pepper: File size of 0 is not set when file entities are saved 2017-09-08 14:28:59 +01:00
Nathaniel Catchpole 9ef92a408b Issue #2905627 by Lendude, dawehner: Part-2: Convert UpdatePathTestBase to BrowserTestBase 2017-09-08 14:24:15 +01:00
Nathaniel Catchpole fa6e4b2f4a Issue #2833206 by quietone, heddn, maxocub, Jo Fitzgerald, joelpittet, phenaproxima, jibran: Convert Migrate's cckfield plugins to use the new field plugins 2017-08-21 13:29:05 +09:00
Nathaniel Catchpole e3ceb190af Issue #2801777 by Berdir, Wim Leers, Pol, alexpott, dawehner, Jo Fitzgerald, Munavijayalakshmi, poornima.n, ifrik, Bojhan, catch: Prevent drupal from deleting temporary files 2017-07-21 09:32:10 +01:00
Nathaniel Catchpole 73bfe9122a Issue #2505283 by quietone, maxocub, Jo Fitzgerald, mikeryan, Pavan B S, penyaskito, chriscalip, phenaproxima: Handle import of private files 2017-06-28 11:47:28 +01:00
Chris McCafferty c732355412 SA-CORE-2017-003 by Berdir, David_Rothstein, Wim Leers, alexpott, catch, cilefen, larowlan, mlhess, pwolanin, quicksketch, samuel.mortenson, smaz, stefan.r, xjm 2017-06-21 16:11:36 -04:00
Gabor Hojtsy 699606e603 Issue #2597680 by stimalsina, neclimdul, paryank, Derimagia, timodwhit, Dries, vinothg, heddn, benjy, effulgentsia: Some migrations have warnings when node types don't exist 2017-05-08 14:56:50 +02:00
Nathaniel Catchpole 5875eb523c Issue #2333985 by quietone, jarsenx, ultimike, heddn: Migrate menu_default_node_menu setting 2017-04-18 13:58:48 +01:00
Alex Pott 75f0c02a79 Issue #2850797 by maxocub, dawehner, alexpott: Prepare our phpunit tests to be BC compatible with phpunit 5.x/6.x 2017-04-04 15:29:18 +01:00
Nathaniel Catchpole d318148091 Issue #2826047 by heddn, Jo Fitzgerald, mikeryan, catch, alexpott: 6-8 user picture migration must create new fids, which can conflict with fids used by other migrations 2017-03-27 15:39:52 +01:00
Nathaniel Catchpole 01f8bd64ed Issue #2854529 by alexpott, xjm, klausi, Chi, Mixologic: Fix Drupal.Scope.MethodScope - all methods should have scopes 2017-03-06 11:25:01 +00:00
xjm 52e3eec616 Issue #2776975 by joelpittet, dawehner, tim.plunkett, xjm, pfrenssen: March 3, 2017: Convert core to array syntax coding standards for Drupal 8.3.x RC phase 2017-03-03 19:20:24 -06:00
Alex Pott 5916a08e87 Issue #2855260 by hchonov, tameeshb, klausi: Cannot make static method PHPUnit_Framework_Assert::assertFileExists() non static in class Drupal\Tests\file\Functional\FileFieldTestBase 2017-02-24 14:49:30 +00:00
Nathaniel Catchpole 4c64f7b840 Issue #2770921 by dawehner, klausi, Mile23, mpdonadio, xjm, claudiu.cristea: Feb 21st: Convert chunk of WTB to BTB by just moving classes, changing use statements adding traits 2017-02-21 12:07:44 +00:00
Nathaniel Catchpole 235bfca5ae Issue #2795045 by legovaer, kmoll: Make SchemaCheckTestTrait available outside of the config module 2016-11-21 13:15:27 +00:00
Alex Pott 6b9d34c97b Issue #2807889 by chipway, phenaproxima, svendecabooter, quietone: Convert File's Migrate source tests to new base class 2016-10-23 13:04:54 -07:00
Nathaniel Catchpole bd4f17921f Issue #2640842 by heddn, quietone, juancasantito, JoshOrndorff: Make related file migration ID configurable in d6_cck_file 2016-10-18 21:02:53 +01:00
Alex Pott d11cc0aa41 Issue #2808329 by quietone, phenaproxima: Add default values to Row constructor 2016-10-12 14:11:15 +01:00
Alex Pott 4f917488f1 Revert "Issue #2683435 by hussainweb, mikeryan, quietone, alexpott, michael_wojcik, phenaproxima, benjy: Consider renaming Migrate's cckfield plugins"
This reverts commit 24f816a11c.
2016-10-11 15:45:44 +01:00
Alex Pott 24f816a11c Issue #2683435 by hussainweb, mikeryan, quietone, alexpott, michael_wojcik, phenaproxima, benjy: Consider renaming Migrate's cckfield plugins 2016-10-11 12:43:56 +01:00
Alex Pott ffde245469 Issue #2500533 by quietone, phenaproxima: Upgrade path for System 7.x 2016-09-25 12:01:18 +01:00
Nathaniel Catchpole c64a3f7d7b Issue #2787187 by claudiu.cristea, grahl, azinck, Fabianx, dawehner: Data loss: Deleting a translation of an entity deletes all file_usage entries for files referenced by the entity 2016-09-06 11:02:26 +01:00
Nathaniel Catchpole fb18e30d93 Revert "Issue #2787187 by claudiu.cristea, grahl, azinck: Data loss: Deleting a translation of an entity deletes all file_usage entries for files referenced by the entity"
This reverts commit a1b670fb9a.
2016-09-05 12:18:24 +01:00
Nathaniel Catchpole a1b670fb9a Issue #2787187 by claudiu.cristea, grahl, azinck: Data loss: Deleting a translation of an entity deletes all file_usage entries for files referenced by the entity 2016-09-05 11:46:23 +01:00
Alex Pott 78714b90d6 Issue #2695297 by mikeryan, ohthehugemanatee, quietone, vasi, Sharique, chx, benjy, phenaproxima, heddn, benjifisher: Refactor EntityFile and use process plugins instead 2016-08-31 09:24:18 -05:00
Alex Pott 08b7a3fbc8 Issue #2783393 by Mile23: Fix 'Drupal.Commenting.FunctionComment.IncorrectParamVarName' coding standard 2016-08-18 10:38:31 +01:00
Alex Pott f18da3e585 Issue #2770761 by claudiu.cristea, mondrake: Derivatives should not be created on read-only stream wrappers 2016-08-01 13:15:55 +01:00
Nathaniel Catchpole 899cb5239b Issue #2723591 by marvin_B8: Remove entity_load* usage for entity_test, entity_test* entity types 2016-05-17 10:40:48 +01:00
Alex Pott b6861fef83 Issue #2310307 by marthinal, tedbow, clemens.tolboom, queenvictoria, vivekvpandya, juampynr, Berdir, dawehner, Damien Tournoud, stefan.r, Wim Leers: File needs CRUD permissions to make REST work on entity/file/{id} 2016-05-13 17:52:28 -05:00
Alex Pott 133c212ed9 Issue #2719695 by alexpott, Mile23: Fix 'Drupal.Classes.ClassDeclaration.CloseBraceAfterBody' coding standard 2016-05-08 10:05:38 -05:00
Alex Pott 70f58860c8 Issue #2716685 by Mile23: Part 2: Fix several errors in the 'Drupal.Commenting.DocComment' coding standard 2016-05-05 12:32:19 +01:00
Alex Pott c26745da88 Issue #2706753 by Mile23: Fix 'PSR2.Classes.PropertyDeclaration.ScopeMissing/VarUsed' coding standard 2016-05-05 12:21:09 +01:00
Alex Pott 6098437ef5 Issue #2572793 by attiks, andypost: Fix 'Drupal.WhiteSpace.OperatorSpacing' coding standard 2016-04-29 12:02:20 +01:00
Alex Pott bfde6d3423 Issue #2665992 by alexpott, klausi, heykarthikwithu, xjm, tstoeckler: @file is not required for classes, interfaces and traits 2016-04-09 15:48:39 +01:00
Alex Pott f3f3800fe4 Issue #2674408 by alexpott: Fix "Drupal.Classes.UnusedUseStatement" standard in core 2016-04-05 11:50:03 +01:00
Alex Pott 47febbf60a Issue #2694009 by heddn: MigrationInterface doesn't include get() 2016-03-30 13:03:34 +01:00
Alex Pott 0db5b13892 Issue #2686207 by Berdir: Convert simpletest kernel tests in modules A-I to phpunit 2016-03-28 19:36:47 +01:00
Alex Pott 4202cdd04b Issue #2684141 by benjy, dawehner: Convert migrate kernel tests to KernelTestBaseTNG 2016-03-21 09:31:08 +00:00
Alex Pott ee9f19cf98 Issue #2553655 by dawehner, Berdir, martin107: Convert ViewKernelTestBase to use KernelTestBaseTNG 2016-03-15 14:54:15 +00:00
Nathaniel Catchpole 1cc137f372 Issue #2676222 by alexpott, johnrosswvsu: Move MigrationInterface out of the migrate\Entity namspace now they are plugins 2016-03-15 08:52:48 +09:00
Alex Pott daa52e9f1a Issue #2684095 by dawehner, amateescu: Convert field kernel tests to KernelTestBaseTNG 2016-03-10 15:54:24 +00:00
Alex Pott fbe0991b98 Issue #2577963 by yched, amateescu, klausi: Let entity_ref Selection handlers be in charge of the field validation 2015-11-12 22:41:33 +00:00
Alex Pott e4b6c4d5e4 Issue #2594565 by klausi, marthinal, dawehner, Berdir, yched: File extension + max_filesize should be validated using a Constraint on file fields 2015-11-04 13:35:04 +00:00
webchick 5f5c6a488b Issue #2550755 by webflo, phenaproxima, zniki.ru: Migrate plugin for filefields should handle alt and title attributes 2015-10-13 12:16:05 -07:00
effulgentsia 190032b775 Issue #2072945 by Berdir, plach, effulgentsia, Schnitzel, andypost, Wim Leers: Remove the $langcode parameter in EntityAccessControllerInterface::access() and friends 2015-10-07 12:30:24 -07:00
webchick 89c69496c6 Issue #2504815 by neclimdul, phenaproxima, mikeryan: d6 to d8 migration throws integrity contraint warning with duplicate file paths 2015-10-05 15:06:15 -07:00
webchick 807e5682ce Issue #2547125 by phenaproxima, mikeryan: D7 file migration should allow selecting public/private/all files 2015-10-02 11:47:16 -07:00
webchick 9fc8bba35e Issue #2573559 by phenaproxima, mikeryan: Remove MigrateDrupalTestBase::testSourcePlugin() 2015-09-30 11:43:24 -07:00
xjm cead42ce15 Issue #2569289 by lauriii, dawehner, stefan.r: Replace remaining !placeholder for Non-URL HTML outputs only in #title in file widgets 2015-09-18 15:27:03 -04:00
webchick f72ef07766 Issue #2522012 by phenaproxima, mikeryan, chx, benjy: Remove broken idlist handling, replace with more robust exception handling 2015-08-28 14:00:47 -07:00
webchick 8bf9a8c556 Issue #2534012 by phenaproxima, hussainweb, mikeryan: Move module-specific migration support into the file module 2015-08-06 09:31:18 -07:00
webchick de94d5e20b Issue #2503861 by phenaproxima, benjy, alexpott, mikeryan: Migrate file_managed table to file entities 2015-08-05 15:40:00 -07:00
Alex Pott 73585ec182 Issue #2392559 by mondrake, mitrpaka, JeroenT, rpayanm, adci_contributor, ianthomas_uk: Remove all uses of file_stream_wrapper_get_* and file_get_stream_wrappers 2015-07-14 08:24:29 +01:00
Alex Pott ac7ba212c2 Issue #1811858 by Mile23, deepakaryan1988: Add missing type hinting to File module docblocks 2015-06-12 15:46:25 +01:00
Nathaniel Catchpole 68e606c354 Issue #2502255 by dawehner, larowlan: Enable tags cache plugin by default for Views 2015-06-09 22:58:45 +01:00
Alex Pott fd8c8cd919 Issue #2384675 by sidharrell, cilefen, Mile23, damiankloip, dawehner, Wim Leers, alexpott, neclimdul: Deprecate conf_path() 2015-06-09 13:15:19 +01:00
Alex Pott dd0712a49d Issue #2461845 by Fabianx, Berdir, larowlan, David_Rothstein, Gábor Hojtsy: Private files that are no longer attached to an entity should not suddenly become accessible to people who couldn't see them before 2015-05-16 12:56:34 -07:00
Alex Pott 7f90ee63ab Issue #2456709 by dawehner, rteijeiro: File views handlers need to be replaced with entity-aware formatters 2015-04-09 12:29:20 +01:00
Alex Pott eaffcfc511 Issue #2451885 by Gábor Hojtsy: Config entities need to ship with language or are assumed undefined 2015-03-17 08:28:57 +00:00
webchick ebcca481ee Issue #2429447 by dawehner, jhodgdon, xjm, jibran: Use data table as views base table, if available 2015-03-06 08:46:35 +11:00
Alex Pott ef0cb6e091 Issue #2405469 by yched, googletorp, amateescu, larowlan, Berdir: FileFormatterBase should extend EntityReferenceFormatterBase 2015-02-27 11:47:51 +00:00
Alex Pott 4210a02bea Issue #2417625 by geertvd, yannickoo: "Column not found" when adding file relationship 2015-02-09 10:42:38 +00:00
Alex Pott f100d942e3 Issue #2394883 by Gábor Hojtsy, plach, jhodgdon: Language setup for entity and field based rendering in views is independent, confusing UI, lacking test coverage 2015-02-05 10:33:13 +00:00
Nathaniel Catchpole 5bf651dabf Revert "Issue #2388749 by alexpott, adci_contributor, ParisLiakos: Register symfony's mime guessers if they are supported"
This reverts commit 4dae1d994e.
2015-01-28 10:55:26 +00:00
Nathaniel Catchpole 4dae1d994e Issue #2388749 by alexpott, adci_contributor, ParisLiakos: Register symfony's mime guessers if they are supported 2015-01-27 11:09:27 +00:00
Alex Pott 0c1276b68f Issue #2155245 by ChristianAdamski, scor, areke: Use proper methods instead of directly calling $file->filename and $file->uri 2015-01-22 15:11:19 +00:00
Alex Pott 22d1816823 Issue #2325269 by Gábor Hojtsy, Arla: Test and fix views in test_views directories against their configuration schema 2014-12-02 16:18:11 +00:00
Nathaniel Catchpole 6714300ac1 Issue #2316909 by Berdir, alexpott: Revisit all built-in test/default views configuration in core 2014-11-24 22:15:38 +00:00