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
sun
e312880573
Fixed coding style, comments, and some trivial issues.
2012-01-08 02:29:22 +01:00
Greg Dunlap
6f6703996a
Fixing another merge issue, missing the change from define->const in image.module
2012-01-07 23:02:07 +01:00
Greg Dunlap
cdc4bc1c64
Merging from core
2012-01-07 22:12:13 +01:00
Greg Dunlap
9875cf1a26
Added deleting of styles
2012-01-07 21:55:51 +01:00
Greg Dunlap
dbd6ffc8f0
Changed delete() to clear() for more clarity
2012-01-07 20:33:55 +01:00
Greg Dunlap
333b09e7ba
Added ability to delete image effects from a style
2012-01-07 16:36:41 +01:00
Greg Dunlap
b566a13233
Removed some more override/default functions
2012-01-07 15:16:19 +01:00
Greg Dunlap
2293ba6716
Removed some more override/default functions
2012-01-07 15:15:49 +01:00
Greg Dunlap
cd58ba59d7
Refactored image_effect_save() to always take a the name of its image style
2012-01-07 15:15:26 +01:00
Greg Dunlap
cc50837569
Work in progress
2012-01-07 10:43:37 +01:00
Greg Dunlap
5ed90e0fcd
Referring to wrong key in image_effect_save() was causing errors
2012-01-06 18:06:51 +01:00
Greg Dunlap
f4f99fb8c9
First shot at new effect saving
2012-01-06 18:05:49 +01:00
Greg Dunlap
9d9a4a39bb
Placeholder
2012-01-02 16:50:04 +01:00
Greg Dunlap
71e37598e3
Removed default storage from image_styles() since its not used anymore
2012-01-02 15:29:02 +01:00
Greg Dunlap
f58babd65d
Removed style name paramater from image_effect_definition_load(). Its only purpose was to check if a style was module-provided or not.
2012-01-02 14:43:20 +01:00
Greg Dunlap
87eeab7381
Removed revert callback since it no longer applies
2012-01-02 14:22:48 +01:00
Greg Dunlap
3e0afc9db6
Fixed a couple problems caused by uninitialized vars
2012-01-02 13:54:55 +01:00
Greg Dunlap
42be9566b9
Made image_style_save() use new config system
2012-01-02 12:13:15 +01:00
catch
a3ebad0633
Issue #1346032 by xjm, aspilicious: Fixed Ordering of hook_entity_delete() is inconsistent.
2011-12-17 21:43:37 +09:00
Dries
9c29ac79af
- Patch #1059884 by bfroehle, sun, casey: Drop function_exists() for 'callback' functions.
2011-12-15 12:33:38 -05:00
Greg Dunlap
93f5bba083
Got image effect editing working
2011-12-12 16:14:01 +01:00
Greg Dunlap
1c7f323769
Fixed improperly keyed effect array
2011-12-12 15:26:23 +01:00
Greg Dunlap
0ebaba20fa
Fixing image_styles() to match new xml format
2011-12-12 15:15:16 +01:00
Greg Dunlap
4272029053
updated image_effect_load()
2011-12-03 16:12:44 +01:00
Greg Dunlap
b035fb4f46
Massively simplified image_style_load() since and no longer apply
2011-12-02 16:18:24 +01:00
Greg Dunlap
aea01c1c9d
Removed image_image_default_styles() which will no longer be used
2011-12-02 15:19:07 +01:00
Greg Dunlap
f480afe9f4
Starting to convert image styles to CMI. Ported image_styles() function
2011-12-02 14:45:45 +01:00
catch
efe0a73b29
Issue #334024 by klausi, catch, beejeebus, sun: Use const keyword to define constants instead of define().
2011-11-29 18:56:53 +09:00
Nathaniel
1b4dfed494
Issue #1025796 by jthorson, Rob Loach, tim.plunkett, alex_ustinov: Fixed Rename path to uri in image functions.
2011-11-25 12:09:40 +09:00
Nathan Haug
f434037c0e
Issue #22336 by quicksketch, scor, boombatower, and rfay. Move all core Drupal files under a core subdirectory.
2011-11-01 12:48:40 +09:00
Nathan Haug
06fb770bd3
Issue #22336 by quicksketch, scor, boombatower, and rfay. Move all core Drupal files under a core subdirectory.
2011-11-01 12:48:40 +09:00
Nathaniel
906a6db347
Revert "Issue #22336 by quicksketch, rfay, scor, Rob Loach, boombatower, tstoeckler, kbahey: Move all core Drupal files under a /core folder to improve usability and upgrades."
...
This reverts commit f0a16bf2a4
.
2011-11-01 12:32:15 +09:00
Nathaniel
f0a16bf2a4
Issue #22336 by quicksketch, rfay, scor, Rob Loach, boombatower, tstoeckler, kbahey: Move all core Drupal files under a /core folder to improve usability and upgrades.
2011-11-01 12:25:12 +09:00