Commit Graph

183 Commits (e1c240183c271f386c098998ecd21cd9c5139aa7)

Author SHA1 Message Date
Alex Pott 156bdc4349 Issue #2066219 by claudiu.cristea, fietserwin: Decouple image type from image extension. 2013-09-28 18:43:17 +02:00
Alex Pott 24e3c5d154 Issue #2083615 by Gábor Hojtsy, YesCT: Use links annotation for config entity URI like for content entities. 2013-09-18 14:10:04 +01:00
Alex Pott 1f9a488b92 Issue #1834002 by Gábor Hojtsy: Fixed Delete operations are all over the place. Remove tabs, provide title in routing. 2013-09-17 15:49:45 +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
Alex Pott 5460c03e89 Issue #1856766 by chx, Berdir, heyrocker, kim.pepper: Convert file_public_path() to the new settings system (make it not configurable via UI or YAML). 2013-08-22 02:11:07 +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
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 d4fba77fdb Issue #2010126 follow-up by Eric_A: Replace theme() with drupal_render() in image module for theme_image_formatter(). 2013-08-04 15:39:37 +02: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
Alex Pott 5f317ad606 Issue #1788542 by claudiu.cristea, andypost, tim-e, fubhy, speely, heyrocker: Use EntityFormController and EntityListController for image styles. 2013-07-29 14:55:32 +02:00
Alex Pott a48f0d889c Issue #1821854 by tim.plunkett, effulgentsia, larowlan: Convert image effects into plugins. 2013-07-23 18:14:41 +02: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
Alex Pott 27f8cd4cd6 Issue #2027423 by claudiu.cristea, tim.plunkett, andypost: Make image style system flexible. 2013-07-08 23:37:04 +01: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 e5b7fb4b67 Issue #2010134 by alweb, pplantinga: Replace theme() with drupal_render() in image module for theme_image_style(). 2013-06-30 01:02:26 +01:00
Alex Pott 4c357934c2 Issue #1754246 by webflo, swentel, penyaskito, andypost, alexpott, YesCT, dagmar: Languages should be configuration entities. 2013-06-29 11:56:53 +01:00
Alex Pott 5ff3e98c4b Issue #2013939 by swentel, amateescu, pcambra: Remove hook_field_CRUD_() in favor of hook_entity_TYPE_CRUD() calls. 2013-06-25 23:02:08 +01:00
Dries 0ed76f0dab Issue #1999384 by bojanz, naveenvalecha: Use Symfony Request for image module. 2013-06-20 14:31:37 -04:00
Alex Pott 30f6062a18 Issue #2018731 by swentel: Move field_has_data() to Field::hasData(). 2013-06-17 02:22:30 +02:00
Alex Pott 6d54ed7ac1 Issue #1818568 by Berdir, das-peter: Convert files to the new Entity Field API. 2013-06-15 10:46:11 +02:00
catch 34ba7cc55f Issue #1623114 by ParisLiakos, chrisdolby, marvil07: Remove drupal_exit(). 2013-06-11 22:12:01 +01:00
Alex Pott b21943922d Issue #1888424 by katbailey, steveoliver, twistor, beejeebus, effulgentsia: Change notice: Make Drupal's URL generation logic available to HttpKernel, and minimize code repetition/divergence. 2013-06-06 09:14:16 +01:00
Nathaniel Catchpole 579aa78880 Issue #1947720 by damiankloip: Use Drupal::state() to replace state(). 2013-06-05 15:58:21 +01:00
Alex Pott 2e63868616 Issue #625958 followup by slashrsm, chx, andypost, yched: [Follow up] Support Uploading Multiple Files for HTML5 Browsers via #multiple attribute. 2013-06-03 20:37:59 +01:00
Dries 3041676f3f Issue #1934498 by attiks, Jelle_S, David_Rothstein: Allow the image style 'itok' token to be suppressed in image derivative URLs. 2013-05-29 15:09:59 -04:00
Alex Pott 4a1a7f09ba Issue #1057656 by mondrake, chx: Fixed Image styles don't flush for images stored non-default schemes. 2013-05-27 11:22:53 -07:00
Alex Pott f2d710c607 Issue #1620010 by dawehner, ParisLiakos, plach, jibran: Move LANGUAGE constants to the Language class. 2013-05-25 13:12:45 -07:00
Alex Pott f816c8919c Issue follow-up #927138 by manarth, handrus, David_Rothstein: Fail image generation with 404 instead of 500, when source file is missing. 2013-05-16 02:02:06 +01:00
Nathaniel Catchpole ca665f7be3 Issue #1827448 by RobLoach, sun, jbrown, tstoeckler: Use __DIR__ instead of DRUPAL_ROOT where possible/sensible. 2013-05-09 10:25:10 +01:00
webchick 6de362318d Issue #1929288 by ParisLiakos, Dave Reid: Move cryptographic functions to Crypt component. 2013-05-01 21:46:53 -07:00
webchick 8fd2b4779e Issue #625958 by slashrsm, quicksketch, eojthebrave, droplet, danlinn, czigor: Support Uploading Multiple Files for HTML5 Browsers via #multiple attribute. 2013-04-19 20:34:14 -07:00
Alex Pott 1ebed3a04c Issue #1946416 by kim.pepper: Convert all of confirm_form() in image.admin.inc to the new form interface. 2013-04-19 09:13:09 +01:00
Alex Pott a820153fa5 Issue #1735118 by swentel, yched, xjm, larowlan, alexpott, tim.plunkett: Convert Field API to CMI. 2013-04-13 18:06:40 +01:00
catch 31256993e6 Issue #1821848 by andypost, rbayliss, alexpott: Fixed Move image style load/update/delete operations into a new ImageStyleStorageController. 2013-04-08 15:27:35 +01:00
webchick d35d390ffd Issue #1561362 by Niklas Fiekas, chrisdolby, mtift: Change file_transfer() to use BinaryFileResponse. 2013-03-29 10:27:03 -07:00
webchick 1a9949d5c6 Issue #1922814 by Berdir, Damien Tournoud, pwolanin, David_Rothstein, Heine, Bèr Kessels: Fixed Denial-of-service vulnerabiility in Image module. 2013-02-27 16:39:14 -05:00
Dries a96697c7d5 Issue #1864066 by sun, andypost, tim.plunkett: Simplify hook_menu_local_tasks() and MENU_DEFAULT_LOCAL_TASK usage. 2013-02-18 12:03:05 -05:00
webchick afeed9ed44 Issue #1890754 by Heine, pwolanin, tim.plunkett, Berdir: Fixed Private Images visible by url. 2013-01-29 22:10:03 -08:00
webchick a06421e8c2 Issue #1317884 by reglogge, kathyh, izus, YesCT, smiletrl: Fixed Remove all instances of <none>, <Hidden> and <br/> from translatable strings because they lead to import errors. 2013-01-29 20:02:37 -08:00
Dries 2fa3ffe132 Issue #1822458 by tim.plunkett, effulgentsia: Move dynamic parts (view modes, bundles) out of entity_info(). 2013-01-23 12:46:47 -05:00
Jennifer Hodgdon 698de321d1 Issue #1397346 by Albert Volkman: Fix up some image/node function documentation 2013-01-21 16:16:59 -08:00
webchick 91479f4278 Issue #1885644 by andypost, tim.plunkett: Fixed ImageStyle::uri() is broken and has no coverage. 2013-01-16 20:35:08 -08:00
webchick 8445043c36 Issue #1782244 follow-up by sun, znerol: Fixed Convert image styles array into ImageStyle (extends ConfigEntity). 2013-01-09 18:26:20 -08:00
webchick 31d4f1b018 Issue #1806178 by tim.plunkett, beejeebus: Remove code duplication for hook_config_import_()*() implementations of config entities. 2013-01-02 17:17:20 -08:00
catch 2288314826 Issue #1852966 by yched, Stalski, zuuperman, swentel: Rework entity display settings around EntityDisplay config entity. 2012-12-28 23:03:17 +00:00
catch 53de739800 Revert "Issue #1852966 by yched, swentel: Rework entity display settings around EntityDisplay config entity."
This reverts commit 8ad67af2e0.
2012-12-28 23:02:37 +00:00
catch 8ad67af2e0 Issue #1852966 by yched, swentel: Rework entity display settings around EntityDisplay config entity. 2012-12-28 19:05:41 +00:00
catch b09642317a Issue #1774332 by c960657: Better handling of invalid/expired cache entries. 2012-11-28 21:36:29 +00:00
webchick 76a157fe32 Issue #1763974 by tim.plunkett, EclipseGC, berdir, xjm, neclimdul, FabianX: Convert entity type info into plugins. 2012-10-30 13:37:18 -07:00
webchick 0d073ceb80 Issue #1821534 by andypost, xjm: Fixed Can't delete image effects from an image style. 2012-10-25 16:42:36 -07:00
catch 4365f5079d Issue #1782244 by heyrocker, andypost, tstoeckler: Convert image styles array into ImageStyle (extends ConfigEntity). 2012-10-23 14:46:22 +01:00
webchick fc5a0dbe75 Issue #1797478 by marcingy, chx: Make file usage storage pluggable. 2012-10-14 01:19:55 -07:00
webchick 3c66dae84e Issue #606598 by andypost, stBorchert, sun, aspilicious, joachim: Added Human readable image-style names. 2012-09-26 23:28:47 -04:00
catch 8337955d48 Issue #1175054 by msonnabaum, chx, sun, tim.plunkett, arlinsandbulte, beejeebus: Add a storage (API) for persistent non-configuration state. 2012-09-20 10:25:24 +01:00
catch 768dfcd9cf Issue #1774134 by larowlan, amateescu: Remove BC layer for lock API. 2012-09-17 10:49:18 +01:00
webchick e75f8906af Issue #1175764 by tim.plunkett, Rob Loach, eojthebrave: Added Have theme('image_style()') inject the style name as a class. 2012-09-13 02:27:57 -07:00
Jennifer Hodgdon 5f4440fa7d Issue #1397346 by Albert Volkman, tim-e, shiff2kl, FatGuyLaughing: Expand docs for two functions 2012-09-06 11:32:20 -07:00
Dries a59d92e007 Issue #1761086 by cam8001, Berdir: Fixed Caching in image_effects_definitions() broken. 2012-09-04 17:04:40 -04:00
webchick de473408a6 Issue #1742958 by DamienMcKenna, jhodgdon: Fixed All spellings of URI should be uppercase. 2012-09-01 21:50:06 -07:00
webchick 316c1f4a7a Issue #1468328 by Berdir: Move file entity info, managed file, and file usage functionality into File module. 2012-08-30 18:27:21 -07:00
webchick abc0e9ac1e Issue #1508872 by attiks, disasm, Alan Evans, Jelle_S, marcingy, sun: Fixed Image effects duplicate on edit. 2012-08-30 10:47:56 -07:00
Dries 74f0354fff - Patch #927138 by rasmusluckow, douggreen, marcingy, h4rrydog, swing4cat: Fail image generation with 404 instead of 500, when source file is missing. 2012-08-24 15:47:33 +02:00
webchick 3bf6761ff7 Issue #1507988 by Berdir, chx, netiva jak, frega, greggles, Xenza, and Damien Tournoud: Fixed SA-CORE-2012-002 - Access bypass - private images. 2012-08-22 10:25:02 +02:00
catch 64625f9048 Issue #1184272 by Berdir, corvus_ch, sun: Remove deprecated $conditions support from entity controller. 2012-08-21 17:38:04 +02:00
webchick b2bc3522bd Issue #1485966 by vegantriathlete: Correct function header to comply with coding standards. 2012-08-19 14:36:19 +02:00
Dries 9a0367face - Patch #1719488 by effulgentsia: Rename language_manager() to language() and related cleanup. 2012-08-09 16:17:01 -04:00
Katherine Bailey 1cd28eb4e5 Using the language_manager wrapper function to return a language whether or not we're in the requet scope 2012-08-06 21:52:11 -07:00
Dries 12bd5c7f2d - Patch #1696416 by tim.plunkett: theme_image_style() is broken. 2012-07-24 14:25:12 -04:00
webchick 83a9b89aa9 Issue #1609760 by chx, sun: Fixed hook_image_style_()*() is not invoked for image styles upon Image module installation. 2012-07-03 14:03:18 -07:00
webchick d74c1441ed Issue #1666632 by sun, chx: Add Config::isNew() to allow code to determine whether a config object already exists. 2012-07-03 11:04:06 -07:00
Dries 57ab8a5465 - Patch #1510686 by cosmicdreams, vasi1186, webflo, disasm: replace remaining references to global () with drupal_container(). 2012-06-12 22:31:11 -04:00
Dries 002769ef32 - Patch #1591604 by underq, chrisdolby, Albert Volkman, pfrenssen: replace drupal_access_denied() with throw AccessDeniedHttpException. 2012-06-04 08:06:09 -04:00
Dries 9b29a0dad0 - Patch #1361226 by Berdir, aspilicious, cosmicdreams, fago: make the file entity a classed object. 2012-06-03 07:25:35 -04:00
Dave Reid 6340061ba8 Re-added and simplified file_transfer() by reusing the logic of StreamedResponse. 2012-05-26 13:18:48 -05:00
Larry Garfield 327b2bcd1b Remove file_transfer and convert all uses of it to StreamedResponse. 2012-05-26 13:04:51 -05:00
catch bb691f62d7 Issue #1567812 by sun: Remove 'Verified' from configuration class names. 2012-05-10 23:54:04 +09:00
Dries 02750689dd - Patch #1183208 by effulgentsia, Niklas Fiekas, katbailey, no_commit_credit, catch: remove variable_get()('clean_url()') and switch to index.php/path pattern for dirty URL support. 2012-04-29 11:16:27 -04:00
catch 6fbbde25a2 Issue #751168 by elliotttf, caktux, andyceo, setvik, xjm, sun: Fixed Regression: Missing 'Default image' per field instance. 2012-04-24 11:03:13 +09:00
catch 3c7a609bb6 Issue #1262592 by jmarkel, pingers, marcingy: Fixed numeric names fail image creation. 2012-04-24 10:55:26 +09:00
Dries c16a978c2a - Patch #1497088 by acrollet: Fixed Empty configuration values should return an empty string instead of an empty array. 2012-03-23 16:21:49 -06:00
catch b402d4b384 Issue #1479652 by Psikik, jhedstrom: Convert image style config filenames/keys from plural to singular. 2012-03-21 19:18:36 +09:00
catch efc984dfda Issue #1483662 by Psikik: Fixed URLs for drupal.org module help pages need updates. 2012-03-21 14:51:30 +09:00
Jennifer Hodgdon ca921c5781 Revert of #1479652 commit b287d6ee1a - there were files missing from the commit 2012-03-15 11:48:21 -07:00
Dries b287d6ee1a - Patch #1479652 by Psikik: convert image style config filenames/keys from plural to singular. 2012-03-15 12:45:22 -04:00
Jennifer Hodgdon 6464289abc Issue #1444650 by damiankloip: Make documentation of theme_image_style clearer 2012-03-06 10:03:47 -08:00
Greg Dunlap bdd013ea2a Merge remote-tracking branches 'origin/8.x' and 'origin/8.x-file-config' into 8.x-file-config 2012-02-22 14:29:38 -08:00
Dries a58940f111 - Patch #1222194 by Gábor Hojtsy, plach: rename global to (). 2012-02-22 08:37:04 -05:00
Greg Dunlap eb6ea697b8 Renamed unset back to clear because unset is a reserved word which is the whole reason I didn't name it unset in the first place 2012-02-17 14:15:16 -08:00
Greg Dunlap c256f64104 Renamed clear() to unset() 2012-02-17 14:09:59 -08:00
Greg Dunlap dafa899ab5 More whitespace cleanup 2012-02-16 13:12:02 -08:00
Greg Dunlap 3f9c931860 Cleaning up whitespace 2012-02-16 13:08:44 -08:00
sun 7f7d3555ac Removed wonky code in image_effect_save() that seemingly and bogusly tries to retain previously existing properties of an image effect. 2012-02-14 12:26:01 -08:00
sun 40cc21c89d Fixed Image module tests. Added many critical todos:
- Config values are not casted to strings (despite promised).
- Config keys are not casted to strings (although promised, too).
- XML can be invalid and not parse-able for many reasons.
- Config keys are not validated/sanitized.
- config()->clear() should really be ->unset().
- Configuration must not be additionally cached by a module in any way (static cache / database cache).
- Some modules invoke drupal_alter() on configuration (e.g., image styles).
- Need a way to list config object names/suffixes _after_ a specified prefix.
- Need a way to determine whether a config object exists.
- Some modules might have a valid use-case for retrieving/listing config objects using a wildcard within the name (instead of only searching by prefix).
- The key of a retrieved value is unknown; since you only get the value.  Configuration values (or sub-values) may be passed forward to another function/callback, and thus, that function no longer knows about the key of the value. (unless the key is contained in the value, which is a very very wonky duplication)
- Config keys must not contain periods (within a specific key).
2012-02-14 12:25:39 -08:00
Greg Dunlap fbd6af0b1a Adding in changes to theme_image_style() that had somehow not gotten merged in from core previously 2012-02-13 16:45:19 -08:00
Greg Dunlap 6f1946a393 Cleaning up some notices and incorrect function signatures for tests 2012-02-13 19:18:14 -05:00
Greg Dunlap a8313cf422 Merge remote-tracking branch 'core/8.x' into 8.x-file-config 2012-02-12 11:24:16 -05:00
Dries 26bf1f5b64 - Patch #1159258 by Deciphered: fixed image_file_move() flushes new URI not source URI. 2012-02-05 08:59:33 -05:00
Greg Dunlap a5b4c2500a Merge from core for PSR-0 2012-01-25 21:01:35 +01:00
catch 1878eb1534 Issue #1357918 by Gábor Hojtsy: Change language schema to refer to langcode. 2012-01-11 00:29:08 +09:00