Commit Graph

209 Commits (c7af20e47fec7ef9840585e1ebfd913076468e5c)

Author SHA1 Message Date
webchick dbed0b48cd Issue #2335659 by tim.plunkett, dawehner, effulgentsia, sun: Remove FormState ArrayAccess usage from core. 2014-09-11 23:41:27 -07:00
webchick de5fe262f2 Issue #2318087 by tim.plunkett: Replace ['input'] with FormState::getUserInput(). 2014-08-23 12:18:55 -07:00
Alex Pott 7fff6e850a Issue #2297875 by herom, bfr: Replace calls to form_set_error() to $form_state->setErrorByName(). 2014-08-22 02:04:33 +01:00
Alex Pott 8196034a57 Issue #2316533 by tim.plunkett: Add getValue/setValue/hasValue and isValueEmpty to FormState. 2014-08-08 11:25:54 -05:00
Alex Pott 18ddb0044c Issue #2315807 by tim.plunkett: Remove support for path-based form redirects. 2014-08-07 21:43:27 +01:00
Dries fc5e111aca Issue #2225353 by tim.plunkett: Convert to an object and provide methods like setError(). 2014-07-30 20:50:42 -04:00
Alex Pott 0d99a0ca07 Issue #2304399 by er.pushpinderrana, undertext | samuel.mortenson: Fixed "class" attribute in drupal_render should be an array. 2014-07-28 22:30:41 +01:00
Alex Pott 2691c42b24 Issue #2299699 by lokeoke | jhodgdon: Some classes need @ingroup added to them. 2014-07-24 17:31:01 +01:00
Alex Pott 64387e5c5e Issue #2078473 by blueminds | Berdir: Added Use entity access API for checking access to private files. 2014-07-24 16:35:27 +01:00
Nathaniel Catchpole a57630c83d Issue #2287727 by yched, swentel, alexpott: Rename Field[instance]Config classes and entity types (again). 2014-07-18 19:56:27 +01:00
Nathaniel Catchpole 5dad0b8606 Issue #597236 by Berdir, catch, msonnabaum, Xano, Wim Leers, jhedstrom, amateescu, corvus_ch, swentel, moshe weitzman, Gábor Hojtsy, riccardoR, killes@www.drop.org, et al: Add entity caching to core. 2014-07-18 11:53:52 +01:00
Alex Pott 87e675f09b Issue #1825952 by Fabianx, joelpittet, bdragon, heddn, chx, xjm, pwolanin, mikey_p, ti2m, bfr, dags, cilefen, scor, mgifford: Turn on twig autoescape by default 2014-07-18 10:05:22 +01:00
webchick d14ea92b86 Issue #2163209 by andrewmacpherson, mgifford | Charles Belov: Add alternate text to file icon. 2014-07-13 13:21:15 -07:00
Alex Pott 36ed633ff1 Issue #2296237 by er.pushpinderrana: Replace check_plain() to Drupal\Component\Utility\String::checkPlain() in file module. 2014-07-13 10:25:06 +01:00
webchick 1eadf82a5e Issue #2299691 by er.pushpinderrana, jhodgdon: Some topics should be removed. 2014-07-11 22:50:50 -07:00
webchick c9b2ff5e13 Issue #2301493 by alexpott: Fixed Typehint Drupal\file\File is does not exist. 2014-07-11 22:42:35 -07:00
Alex Pott 5ffb1d3cfe Issue #2216535 by jhodgdon, Berdir: Replace Node overview topic and Node API topic with Entity Hooks topic. 2014-07-11 13:04:53 +01:00
Alex Pott a071810895 Issue #2294251 by j2r | marcingy: Remove file_usage from file module. 2014-07-08 11:47:39 +01:00
Alex Pott 3e34d843d0 Issue #2283717 by amitgoyal, joshi.rohit100, g3r4 | jackbravo: Remove user_access function calls on hook_permission functions. 2014-07-08 10:00:18 +01:00
webchick 94e0188a10 Issue #2294129 by xjm, tim.plunkett: Switch hook_help() to use RouteMatch instead of Request. 2014-06-29 20:33:08 -07:00
webchick 04bf43bb92 Issue #2272467 by ParisLiakos: Remove usages of watchdog() from procedural code. 2014-06-26 11:55:12 -07:00
webchick a4a887ac91 Issue #1898070 by benjifisher, jjcarrion, LinL, idflood, joelpittet, oshelach, tlattimore, Les Lim, sergey.semashko, jesse.d, bdgreen, jenlampton, Cottser, duellj, artofeclipse, vlad.dancer, steveoliver, EVIIILJ, c4rl, elv, OpenChimp: File.module - Convert theme_ functions to Twig. 2014-06-12 20:13:30 -07:00
webchick 3a42e91de1 Issue #2089331 by grom358 | thedavidmeister: [meta] Replace calls to check_plain() with Drupal\Component\Utility\String::checkPlain(). 2014-06-12 19:33:48 -07:00
Alex Pott ae8eb106ef Issue #2211227 by mondrake, xjm | fietserwin: Refactor image and imagetoolkit: isExisting, isSupported, supportedTypes, getMimeType. 2014-06-09 09:48:54 -05:00
Nathaniel Catchpole c972b3ee9d Issue #2190313 by pfrenssen, Berdir, amateescu, ianthomas_uk: Add $EntityType::load() and loadMultiple() to simplify loading entities. 2014-05-20 10:29:40 +01:00
Alex Pott da026cf53c Issue #2116363 by Berdir, jessebeach | fago: Unified repository of field definitions (cache + API). 2014-05-15 12:26:18 -05:00
webchick eef067b5a5 Issue #2183113 by jhodgdon, effulgentsia, tim.plunkett, herom, larowlan: Update hook_help signature to use route_name instead of path. 2014-05-06 19:04:53 -07:00
Alex Pott a62511ffbd Issue #2241655 by tim.plunkett: EntityStorageInterface::create() should always create a "new" entity. 2014-04-16 21:57:51 +01:00
Nathaniel Catchpole 5e642cfb27 Issue #2196067 by mondrake, fietserwin: Remove setWidth and setHeight from ImageInterface. 2014-04-16 09:54:36 +01:00
Nathaniel Catchpole 26d253c768 Issue #2239299 by tim.plunkett: Form errors should only be set during validation. 2014-04-15 20:12:58 +01:00
webchick 80f9e5819e Issue #1399846 by slashrsm, Gábor Hojtsy, Berdir, brantwynn, visabhishek, David_Rothstein, cweagans, martin107, SteffenR, Dave Reid: Make unused file 'cleanup' configurable. 2014-04-13 13:52:04 -04:00
webchick cda250396e Issue #2225739 by killua99, Berdir, andypost, pfrenssen: Remove usage of field_info_instances(), use EntityManager::getFieldDefinitions() instead. 2014-04-11 12:01:24 -04:00
webchick 40f818bbe6 Issue #2221755 by grom358, ianthomas_uk: Remove uses of deprecated Element functions. 2014-03-31 10:37:55 -07:00
catch 2f959b9693 Issue #2188613 by Berdir, Xen, andypost: Rename EntityStorageController to EntityStorage. 2014-03-27 12:54:40 +01:00
Alex Pott f437807590 Issue #2103621 by mondrake | fietserwin: Move GD logic from ImageInterface to toolkit, tie toolkit instance to Image instance, toolkits should no longer be instantiated separately. 2014-03-11 01:00:44 +00:00
Alex Pott 01a3e1902f Issue #2203407 by nod_, sun: Replace #attached library array values with provider-namespaced strings. 2014-03-09 19:59:45 +00:00
Alex Pott 78e5e9bfd9 Issue #2045927 by herom, martin107, ianthomas_uk, Xano, michaellander, Sutharsan: Replace all drupal_alter() deprecated function calls. 2014-02-24 10:10:52 +00:00
webchick f19fadd3a4 Issue #1996238 by sun, nod_, damiankloip, Wim Leers, longwave, alexpott, Xano, mdrummond, Mark Carver, Jeff Burnz, highrockmedia, joelpittet, et al: Replace hook_library_info() by *.libraries.yml file. 2014-02-22 20:56:51 -08:00
Alex Pott eb53ecc555 Issue #2187735 by ianthomas_uk, Sutharsan, andypost: Add removal information to docblock of all @deprecated functions. 2014-02-20 13:49:37 +00:00
Alex Pott f4a1b19aff Issue #2045921 by juanolalla, Xano, Sutharsan, InternetDevels, ianthomas_uk: Replace all module_invoke() deprecated function calls. 2014-02-15 10:06:58 +00:00
Alex Pott 12953f2eaf Revert "Issue #2045921 by juanolalla, Xano, Sutharsan, InternetDevels: Replace all module_invoke() deprecated function calls."
This reverts commit 98cdbfec7b.
2014-02-13 12:21:40 +00:00
Alex Pott 98cdbfec7b Issue #2045921 by juanolalla, Xano, Sutharsan, InternetDevels: Replace all module_invoke() deprecated function calls. 2014-02-13 10:53:00 +00:00
Alex Pott 6c2ed3f11e Issue #2165155 by Berdir, tim.plunkett: Change $entity_type to $entity_type_id and $entity_info to $entity_type/$entity_types. 2014-02-10 09:24:05 +00:00
webchick 6379070ef2 Issue #2179655 by javisr, nod_: JS file validation broken. 2014-02-06 21:39:09 -08:00
Nathaniel Catchpole 4b4ef377be Issue #2078387 by Xano, andypost, twistor, splatio, InternetDevels, amateescu, Berdir, larowlan, vladan.me: Add an EntityOwnerInterface. 2014-02-03 16:02:31 +00:00
Nathaniel Catchpole e948f79c4c Issue #2074475 by benjy, Gábor Hojtsy: Rename {file_managed}.timestamp to 'changed' and add a created timestamp. 2014-01-07 10:54:41 +00:00
Alex Pott c28e5144b6 Issue #1815504 by pwolanin, Kevin Hankens: File_save_upload() should not alter the file URI string before validation. 2014-01-04 00:43:57 +01:00
Alex Pott 814aed203d Issue #2005716 by tim.plunkett, msonnabaum, dawehner, alexpott, effulgentsia: Promote EntityType to a domain object. 2014-01-01 11:08:57 +01:00
Nathaniel Catchpole a6cdd740f8 Issue #1954892 by dawehner, David_Rothstein, tim.plunkett: Replace 'theme callback' and hook_custom_theme() with a clean theme negotiation system. 2013-12-17 11:03:15 +00:00
Alex Pott cdac25ee08 Issue #2143263 by plopesc | yched: Remove "Field" prefix from FieldDefinitionInterface methods. 2013-12-09 19:19:58 -04:00
webchick 3bb5f796f6 Issue #1998638 by damiankloip, dawehner, kim.pepper, cosmicdreams, alexpott, larowlan, Damien Tournoud: Replace almost all remaining superglobals (, , etc.) with Symfony Request object. 2013-12-05 10:02:36 -08:00
webchick dc7a5b27ef Revert of Issue #1998638, since it broke drush si and other command-line scripts. 2013-12-04 21:13:05 -08:00
Jennifer Hodgdon 3cd71ea043 Issue #2031177 by ifrik, slashrm, batigolix: Fix up hook_help for file module 2013-12-03 16:56:31 -08:00
webchick a38172dc20 Issue #1998638 by damiankloip, dawehner, kim.pepper, cosmicdreams, larowlan, Damien Tournoud: Replace all remaining superglobals (, , etc.) with Symfony Request object. 2013-12-03 10:57:18 -08:00
webchick 77587a1ab8 Issue #2104229 by claudiu.cristea: Deprecate file_usage(). 2013-11-28 00:52:13 -08:00
webchick df1a669b77 Issue #2131851 by tim.plunkett: Form errors must be specific to a form and not a global. 2013-11-23 12:57:04 -08:00
webchick 53804ea11d Revert "Issue #2104229 by claudiu.cristea: Deprecate file_usage()."
Temporary rollback since it conflicts with a critical issue.

This reverts commit ce08ea737c.
2013-11-23 12:42:58 -08:00
webchick ce08ea737c Issue #2104229 by claudiu.cristea: Deprecate file_usage(). 2013-11-23 11:37:46 -08:00
Nathaniel Catchpole 172cd2652a Revert "Issue #1954892 by dawehner, tim.plunkett, David_Rothstein, effulgentsia: Replace 'theme callback' and hook_custom_theme() with a clean theme negotiation system."
This reverts commit fc04601c35.
2013-11-22 13:56:50 +00:00
Nathaniel Catchpole fc04601c35 Issue #1954892 by dawehner, tim.plunkett, David_Rothstein, effulgentsia: Replace 'theme callback' and hook_custom_theme() with a clean theme negotiation system. 2013-11-19 12:24:14 +00:00
Jennifer Hodgdon 30e56c5d84 Issue #2084535 by sivaji: Fix constants in file_copy docs 2013-11-13 09:39:02 -08:00
Alex Pott 82eb2924cf Issue #2112807 by tim.plunkett: Move the form builder functions in form.inc to a form service. 2013-10-25 15:54:34 -07:00
Jennifer Hodgdon 31227acf31 Issue #2084535 by mErilainen, tankerjoe, DanielFbrg: Fix file_copy documentation around the case when source and destination are the same 2013-10-09 08:39:34 -07:00
Alex Pott bcc5763239 Issue #1953408 by swentel, aspilicious, andypost, yched: Remove ArrayAccess BC layer from field config entities. 2013-10-04 08:55:32 +01:00
Alex Pott 3cee107ce5 Issue #2100329 by cosmicdreams: Use \Drupal instead of Drupal to make IDEs and static code analyse tools happy. 2013-10-03 12:26:25 +01:00
Alex Pott 691a576259 Issue #1994140 by Berdir, yched, fgm, smiletrl: Unify entity field access and Field API access. 2013-09-30 15:14:06 +02:00
Alex Pott 156bdc4349 Issue #2066219 by claudiu.cristea, fietserwin: Decouple image type from image extension. 2013-09-28 18:43:17 +02:00
Nathaniel Catchpole 9e5def44b7 Issue #1778122 by scor, linclark, effulgentsia: Fixed Enable modules to inject attributes into field formatters, so that RDF attributes get output on the appropriate elements. 2013-09-20 10:59:23 +01:00
webchick 5bb0d5e667 Issue #2053489 by chx, tim.plunkett: Standardize on \Drupal throughout core. 2013-09-15 20:58:10 -07:00
webchick 99670f0847 Issue #1981368 by tim.plunkett, Crell, webchick: Convert all routes to 'module_name().foo_bar()' naming convention. 2013-09-15 12:59:49 -07:00
Nathaniel Catchpole 085a24e07f Issue #2067017 by damiankloip: Remove usage of DRUPAL_CORE_COMPATIBILITY/VERSION constants. 2013-09-05 10:48:11 +01:00
Nathaniel Catchpole fb38555e50 Issue #2079011 by Berdir, alexpott: Move field.module constants related to storage to EntityStorageControllerInterface. 2013-09-05 10:41:02 +01:00
Alex Pott 5fc858b205 Issue #297209 by nod_, dwees, bdone: Remove 'Attach' button. 2013-09-03 22:27:16 +01:00
webchick 7ecaaeb3db Issue #2078885 by Letharion: Fixed The file/progress hook menu item is not necessary. 2013-09-02 13:38:58 -07:00
Nathaniel Catchpole c7994001cc Issue #1497374 by yched, chx, amateescu, plach, Damien Tournoud, fago, swentel: Switch from Field-based storage to Entity-based storage. 2013-09-01 07:20:49 +01:00
webchick 7625696dba Issue #2072549 by legolasbo, phiit: Remove Unused local variable () from /core/modules/file/file.module. 2013-08-29 08:00:26 -07:00
Alex Pott aafee284b6 Issue #2061895 by sergeypavlenko: Remove calls to deprecated global $user in file module. 2013-08-29 03:12:12 +01:00
Alex Pott 0e47ce3293 Revert "Issue #2060405 by Wim Leers: Fixed Impossible to uninstall any module using the file usage service, because it is impossible to delete all file usages by a module."
This reverts commit 858674f0d1.
2013-08-22 11:19:04 +01:00
webchick 523fb85533 Issue #1847002 by tim.plunkett, effulgentsia, msonnabaum: Move entity type classes from Drupal$provider\Plugin\Core\Entity to Drupal$provider\Entity. 2013-08-18 14:16:19 -07:00
webchick 3cf100dfcd Issue #1957142 by damiankloip, fubhy, cosmicdreams: Replace config() with Drupal::config(). 2013-08-14 09:54:28 -07:00
Alex Pott 858674f0d1 Issue #2060405 by Wim Leers: Fixed Impossible to uninstall any module using the file usage service, because it is impossible to delete all file usages by a module. 2013-08-14 07:54:05 -05:00
Alex Pott 4ca797aa8c Revert "Issue #2054187 by juampy: Restrict authentication provider for REST resources."
This reverts commit a567be3ee0.
2013-08-13 16:12:07 -05:00
Dries a567be3ee0 Issue #2054187 by juampy: Restrict authentication provider for REST resources. 2013-08-13 14:57:21 -04:00
Alex Pott 8cfc089e26 Issue #2033669 by tim.plunkett, larowlan: Image file objects should be classed. 2013-08-11 00:57:37 +01:00
Alex Pott 8b7bc0c7b1 Issue #2009014 follow-up by StephaneQ: Replace one more theme() with drupal_render() in file module. 2013-08-04 21:30:57 +02:00
Alex Pott 9614f73399 Revert "Issue #2009014 follow-up by StephaneQ: Replace one more theme() with drupal_render() in file module."
This reverts commit f4aead7805.
2013-08-04 21:26:52 +02:00
webchick f4aead7805 Issue #2009014 follow-up by StephaneQ: Replace one more theme() with drupal_render() in file module. 2013-08-03 23:25:44 -07:00
Nathaniel Catchpole 63d299d9d2 Issue #2051721 by yched: Get rid of field_get_items(). 2013-08-01 13:46:59 +01:00
Alex Pott e33ddd1b74 Issue #2045923 by drupalrv, tim.plunkett: Replace all module_invoke_all() deprecated function calls in procedural code. 2013-08-01 10:10:33 +02:00
webchick 06e1dd8b0f Issue #1987602 by glennpratt, juampy, pwieck, vijaycs85, dawehner, tim.plunkett, effulgentsia: Convert ajax_form_callback() to a new style controller. 2013-07-31 22:21:45 -07:00
Nathaniel Catchpole d3c5919d17 Issue #2045919 by drupalrv: Replace all module_implements() deprecated function calls. 2013-07-27 15:30:10 +01:00
Alex Pott bc65847d68 Issue #2009014 by c4rl, hussainweb, Samvel, jenlampton, benjifisher: Replace theme() with drupal_render() in file module. 2013-07-26 07:44:30 +02:00
Nathaniel Catchpole 988abc27f8 Issue #2045189 by jlindsey15: Move file entity dependent code in includes/file.inc and system.module to file.module. 2013-07-24 13:00:06 +01:00
Alex Pott 8cf78305af Issue #2005166 by slashrsm, dawehner: Create simple file listing under admin/content/file. 2013-07-21 09:17:17 +01:00
Alex Pott 36d647e61b Issue #1987712 by dawehner, claudiu.cristea, damiankloip, andypost: Convert file_download() to a new style controller. 2013-07-20 13:25:28 +01:00
Dries c02ba60087 Issue #2039199 by Berdir: Convert ->uid to ->id(), isAnonymous() and isAuthenticated(). 2013-07-11 13:29:02 -04:00
Dries 58de5374c4 Issue #2024833 by claudiu.cristea: Adopt load() and loadMultiple() on entity storage controllers. 2013-06-30 20:09:38 -04:00
Alex Pott 9873c74069 Issue #2012818 by thedavidmeister: Remove #type 'markup'. 2013-06-24 10:46:21 +01:00
Dries 23faf5a2a2 Issue #1999370 by chertzog, kim.pepper: Use Symfony Request for file module. 2013-06-20 14:34:34 -04:00
webchick f5cc5ac72c Issue #2011084 by jiff | DmitryDrozdik: Replace drupal_container() with Drupal::service() in the file module. 2013-06-17 01:12:16 -05:00