Commit Graph

67 Commits (6e7a13a7b7587ca3c40296e16dedf9d4416ab8f1)

Author SHA1 Message Date
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