Commit Graph

34 Commits (cfc84e3afe4ba87d861897bbac4707e311d2a09b)

Author SHA1 Message Date
catch 5e65498a34 Issue #1517138 by sun: Follow-up for SimpleTest does not create configuration folder causing test failures. 2012-04-21 10:38:11 +09:00
Nathaniel 86eb32d3e3 Issue #1517138 by marcingy: Fixed Simpletest does not create configuration folder causing test failures. 2012-04-09 12:01:47 +09:00
xjm 24aa914398 Fix some trailing whitespace. 2012-02-23 07:01:41 -06:00
Greg Dunlap 260ae131db Merge branch '8.x-file-config' of git.drupal.org:sandbox/heyrocker/1145636 into 8.x-file-config 2012-02-22 21:28:51 -08:00
Greg Dunlap a9cabde4e3 Cleaning up some todos 2012-02-22 21:28:37 -08:00
Greg Dunlap a3a48d8986 Removed unnecessary todo 2012-02-22 21:17:06 -08:00
Greg Dunlap ca422ecba2 Fixed up some comments 2012-02-22 21:16:54 -08:00
Greg Dunlap 3de10c2a2c Added some additional comments around config_decode() 2012-02-22 21:09:24 -08:00
Greg Dunlap 0242e3e8b5 Removed config_get_names_with_prefix() which made no sense 2012-02-22 21:00:03 -08:00
Greg Dunlap 86b6fe2f20 Fixed incorrect comment in config_get_signed_file_storage_names_with_prefix() 2012-02-22 13:48:47 -08:00
sun 4f0f3c876f Fixed missing type casting for configuration values. 2012-02-14 12:25:52 -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 f71138695f Fixed configuration file directory not setup for tests. 2012-02-13 18:53:07 +01:00
Greg Dunlap 79c10d633d Converting config system to PSR-0 2012-02-12 11:17:29 -05:00
Greg Dunlap 1de1df5717 Added ability to get the complete data array by passing no key to config->get() 2012-02-11 15:49:25 -05:00
sun b3f717812c Renamed global variables to $config_directory_name and $config_signature_key. 2012-01-25 21:27:19 +01:00
xjm 32219d0328 Correct some doxygen to standards and add stubs for missing documentation. 2012-01-08 06:26:20 -06:00
sun 7fb101598b Fixed some more code style issues. 2012-01-08 03:54:32 +01:00
sun d179538aba More minor clean-ups. 2012-01-08 02:49:32 +01:00
sun e312880573 Fixed coding style, comments, and some trivial issues. 2012-01-08 02:29:22 +01:00
Greg Dunlap 3b50edd6bb Removed the overrides stuff since it was half-baked and is just going to confuse the issue 2012-01-07 23:29:31 +01:00
Greg Dunlap fbc7a6a361 Added deleting the .sig file as well 2012-01-07 21:55:34 +01:00
Greg Dunlap 08e0a2b561 Fleshed in the config->delete() functionality 2012-01-07 21:48:19 +01:00
Greg Dunlap 3e49865c23 Fleshed in the config->delete() functionality 2012-01-07 21:46:12 +01:00
Greg Dunlap dbd6ffc8f0 Changed delete() to clear() for more clarity 2012-01-07 20:33:55 +01:00
Greg Dunlap ce8c168365 Added config->delete() 2012-01-07 16:36:25 +01:00
Greg Dunlap 28f6cf13bf Made check for when db is missing a little tighter 2011-12-08 11:30:37 +01:00
Greg Dunlap 41ad832048 Workaround for when the db isn't there 2011-12-08 10:29:07 +01:00
Greg Dunlap 82b84d3d6b Workaround for when the db isn't there 2011-12-08 10:17:35 +01:00
Greg Dunlap f2a7dec711 Further work on xml parser 2011-12-07 21:36:10 +01:00
Greg Dunlap 5ad0cbfd78 Improved XML parsing functions 2011-12-07 11:45:54 +01:00
Greg Dunlap c1c2ceab25 Fixing problems related to corepocalypse merge 2011-11-30 13:17:28 +01:00
Greg Dunlap 614292a16a Removed execute perms 2011-11-29 09:45:17 +01:00
Greg Dunlap 9d5e4705c2 Moving config.inc into core includes folder 2011-11-28 10:33:08 +01:00