Commit Graph

92 Commits (97674b9f05fa2b911bf0b985e49a1e0fd0420711)

Author SHA1 Message Date
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 92373806e4 Issue #1479652 by Psikik, jhedstrom: Convert image style config filenames/keys from plural to singular. 2012-03-21 19:19:45 +09: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 71296a8075 Issue #1479652 by Psikik, jhedstrom: Convert image style config filenames/keys from plural to singular. 2012-03-21 19:16:58 +09:00
catch a97f440f03 Revert "- Patch #1479652 by Psikik: convert image style config filenames/keys from plural to singular."
This reverts commit 854ad21158.
2012-03-21 19:15:16 +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
Dries 20f26110a1 Merge branch '8.x' of git.drupal.org:project/drupal into 8.x 2012-03-15 21:32:43 -04:00
Dries 854ad21158 - Patch #1479652 by Psikik: convert image style config filenames/keys from plural to singular. 2012-03-15 21:32:34 -04: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
catch aab8b66a29 Issue #1373142 by sun, beejeebus, aspilicious, amateescu: Use the Testing profile. Speed up testbot by 50%. 2012-03-13 12:16:40 +09:00
catch b9e9244171 Issue #965300 by Gábor Hojtsy, xjm: Change LANGUAGE_NONE to LANGUAGE_NOT_SPECIFIED; add LANGUAGE_NOT_APPLICABLE and LANGUAGE_MULTIPLE. 2012-03-09 00:10:59 +09: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 1bc549de8f Merge remote-tracking branch 'origin/8.x' into 8.x-file-config 2012-02-29 19:47:35 -08:00
Jennifer Hodgdon aedceb6950 Issue #1360790 by KrisBulman, beltofte, stBorchert: Update CSS to use lowercase hex colors not uppercase 2012-02-29 08:56:15 -08:00
webchick 157cdc5895 Revert "Issue #1446366 by xjm: Multiple web test classes mislabeled as unit tests."
This reverts commit 9bda29ee1b.
2012-02-29 00:22:10 -08:00
webchick 9bda29ee1b Issue #1446366 by xjm: Multiple web test classes mislabeled as unit tests. 2012-02-29 00:08:18 -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
effulgentsia e607acf4a2 Fixed ImageAdminStylesUnitTest. 2012-02-16 18:17:13 -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
Greg Dunlap 803af70955 Fixed problem with ieid getting erased on image style update 2012-02-16 12:36:07 -08:00
sun 2b316b6a51 Fixed ImageDimensionsUnitTest does not apply weights to image effects, so effects are not saved in expected order. 2012-02-14 12:26:29 -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
sun 588cfd8be5 Fixed ImageDimensionsUnitTest. 2012-02-14 12:18:56 -08:00
Greg Dunlap 251697b6a3 Fixed broken function signature in image_effect_delete() 2012-02-13 16:48:42 -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 85306e2ff1 Just removed the default style tests altogether. Default styles are no longer any different than custom styles 2012-02-13 19:31:39 -05:00
Greg Dunlap b92e4eac3d Removed tests that made sure we couldnt edit default styles without overriding (no longer applicable) 2012-02-13 19:29:51 -05:00
Greg Dunlap 495aef8fb1 Removed test that made sure we couldn't delete default image styles since that no longer applies 2012-02-13 19:28:29 -05: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 2f0d691cb1 Issue #278425 by andypost, OnkelTem, chx, c960657, droplet et al: Fixed Using basename() is not locale safe. 2012-01-18 13:10:02 +09:00
catch 8a87e13ad5 Issue #1398740 by TravisCarden: Fixed Typo in status message: 'The %style has been revert to its defaults.' 2012-01-12 22:31:36 +09: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 0a64591815 Fixed rename of image styles so the old style actually disappears 2012-01-08 00:20:55 +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 83c9c95815 Fixed copy paste stupidity in when adding an effect with no configuration 2012-01-07 15:24:24 +01:00
Greg Dunlap b566a13233 Removed some more override/default functions 2012-01-07 15:16:19 +01:00