Commit Graph

249 Commits (59e142d1b5ee9bf882bc47ac7555a9fb721ad4d1)

Author SHA1 Message Date
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 23ecfa9484 Fixed CommonJavaScriptTestCase. 2012-02-14 12:20:02 -08:00
Greg Dunlap 757ce5148e Removed sig from global htaccess, create a new one in the config directory at install time which simply does a DenyFromAll, just like private files 2012-02-13 18:11:17 -05:00
sun f71138695f Fixed configuration file directory not setup for tests. 2012-02-13 18:53:07 +01:00
justinrandell a3156a15e7 Convert a couple of calls that look for cache settings using the old variable_get system. 2012-02-11 23:01:58 -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
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
catch 49dbb6d4fb Issue #1411114 by sun: Fixed drupal_valid_test_ua() is not statically cached on non-positive match. 2012-02-11 14:24:47 +09:00
catch 25c7704131 Issue #41595 by pillarsdotnet, m3avrck, sun et al: Fixed All pager links have an 'active' CSS class. 2012-02-11 14:22:04 +09:00
catch 055900b338 Issue #1250800 by attiks, Jelle_S, dereine: Fixed Language domain should work regardless of ports or protocols. 2012-02-11 14:17:56 +09:00
Dries 03a8bdc361 - Patch #1431040 by Gábor Hojtsy: rename LOCALE_LANGUAGE_NEGOTIATION_* constants to LANGUAGE_NEGOTIATION_*. 2012-02-08 09:51:31 -05:00
catch b62f85ca97 Issue #998256 by justafish, Dave Reid: Please let modules know about the original URL alias in hook_path_update(). 2012-02-08 20:03:32 +09:00
Dries fdca0419a5 - Patch #1357918 by Gábor Hojtsy, swentel, sun, no_commit_credit: missing update for language_default() in language langcode update. 2012-02-07 14:34:52 -05:00
Dries cb043599e0 - Patch #1425280 by Niklas Fiekas, swentel: no contextual links in node lists after a node without contextual links. 2012-02-06 17:25:01 -05:00
Dries 91263e5851 - Patch #1426954 by Gábor Hojtsy: remove locale backward compatibility layer in installer. 2012-02-05 08:23:53 -05:00
catch a8edf85f0f Issue #911354 by adrian, boombatower, jhedstrom, sun, yhahn, dixon_, et al: Fixed Tests in profiles/[name]/modules cannot be run and cannot use a different profile for running tests. 2012-02-03 23:37:28 +09:00
catch 869b5e1a7e Issue #761608 by JohnAlbin: Fixed Missing theme settings values because list_themes() has inconsistent theme object data. 2012-02-03 23:16:11 +09:00
catch da5aa80e09 Issue #1331370 by beejeebus, plach: Fixed [Upgrade path broken] Stored include paths need to be updated to /core before running the upgrade path. 2012-02-03 22:52:24 +09:00
Larry Garfield 1bc5b98e6c Merge remote-tracking branch 'dries/8.x' into dbtngtng 2012-02-02 23:50:39 -06:00
Dries 9ec7d24763 - Patch #1423510 by oriol_e9g: undefined var in prepareInstallDirectory. 2012-02-02 11:20:14 -05:00
Dries 82cb7cf5e8 - Patch #1414314 by Gábor Hojtsy, tstoeckler: make node and path depend on language module only for language support, get rid of locale_language_name(). 2012-02-02 11:08:57 -05:00
Greg Dunlap a7c6328d17 Merge remote-tracking branch 'core/8.x' into 8.x-file-config 2012-02-01 14:02:58 +01:00
catch 037faa8fbf Issue #1400748 by Crell, jbrown, plach: Proposal for unified namespace organization. 2012-02-01 12:23:30 +09:00
catch e31452775e Issue #1229442 by bleen18, amateescu, chrispomeroy: Change notification for: Convert poll tpls and markup to HTML5. 2012-02-01 12:02:15 +09:00
webchick 00581a73af Issue #1326482 by ryanissamson: Clean up minor code style issues in archiver.inc. 2012-01-31 02:53:15 -08:00
webchick 148f5b6f28 Issue #1234830 by beejeebus, schildi: Fixed cache_menu(): huge table size. 2012-01-30 23:13:06 -08:00
Nathaniel 1146ec3b47 Issue #1183250 by jessebeach, linclark, aspilicious, sun, Everett Zufelt, scor: Add a theme_datetime() function to consistently theme dates and datetimes. 2012-01-31 14:17:24 +09:00
Dries 64e79ac197 - Patch #838800 by kotnik, Damien Tournoud: Improve random number generation. 2012-01-29 16:37:38 -05:00
Dries cdcb9ec42c - Patch #1013034 by ncl, kathyh: PostgreSQL constraints do not get renamed by db_rename_table(). 2012-01-27 10:34:40 -05:00
Larry Garfield b7665c6970 Remove old PostgreSQL files that are now empty. 2012-01-26 23:53:42 -06:00
Larry Garfield 1627fdf708 Revert "Remove empty files from old database structure."
This reverts commit d3cf89018b.
2012-01-26 23:52:29 -06:00
Larry Garfield b5e33f620e Merge branch '8.x' into dbtngtng 2012-01-26 23:47:34 -06:00
sun b3f717812c Renamed global variables to $config_directory_name and $config_signature_key. 2012-01-25 21:27:19 +01:00
Greg Dunlap 2e50e5ba18 fixed form.inc
Conflicts:

	core/includes/form.inc
2012-01-25 21:20:05 +01:00
Greg Dunlap 0a62a892e6 Fixing up one merge conflict from move to PSR-0 2012-01-25 21:09:42 +01:00
Greg Dunlap a5b4c2500a Merge from core for PSR-0 2012-01-25 21:01:35 +01:00
Dries f5abeb9b11 - Patch #1416218 by scorchio: Improve variable naming in format_interval(). 2012-01-25 08:19:32 -05:00
Dries 2b08a88cba - Patch #736556 by daniels220, jeckman, Albert Volkman: fixed theme_links() doc needs expansion. 2012-01-24 21:11:37 -05:00
Dries b55fc01277 - Patch #1346166 by Dave Reid: Improve performance of token_replace() if there are no tokens to replace. 2012-01-24 20:18:24 -05:00
Dries 68fc0fad1a - Patch #1316866 by nicl: User_forms() is now redundant. 2012-01-24 17:53:40 -05:00
Larry Garfield d3cf89018b Remove empty files from old database structure. 2012-01-23 21:17:08 -06:00
Larry Garfield f4a58c3f3a Move Postgres code to PSR-0. 2012-01-23 21:16:26 -06:00
Larry Garfield 0ee2386bc0 Merge branch '1400748-namespaces' into dbtngtng 2012-01-23 19:32:58 -06:00
Larry Garfield 910535c9ab Merge branch '8.x' into 1400748-namespaces 2012-01-23 19:23:12 -06:00
Larry Garfield d0dd76140a Correct more comments. 2012-01-23 19:18:51 -06:00
Dries 4b92841794 - Patch #1387608 by Gábor Hojtsy, tstoeckler: Unify language_list() and locale_language_list(). 2012-01-23 10:46:29 -05:00
Larry Garfield 92286713d5 Move database files to the new lib directory and update code accordingly. 2012-01-22 23:56:07 -06:00
Larry Garfield 86c93f3b74 Merge branch '1400748-namespaces' into dbtngtng 2012-01-22 22:31:43 -06:00
Larry Garfield 8b8c2a9463 refs #1400748 by Crell: Update docblocks and the installer for the new namespaces. 2012-01-22 22:25:13 -06:00
Larry Garfield 3f0cb723a0 Merge branch '1400748-namespaces' into dbtngtng 2012-01-22 22:10:37 -06:00
Larry Garfield adbd7c9aad Merge branch '8.x' into dbtngtng 2012-01-22 21:34:59 -06:00
Larry Garfield 7048b2195f refs #1400748 by Crell: Move Cache subsystem to the Core namespace. 2012-01-22 21:05:01 -06:00
Larry Garfield 0cb703be45 refs #1400748 by Crell: Move Drupal and Symfony code to core/lib and core/vendor respectively. 2012-01-22 20:56:35 -06:00
Dries 1b6ba5243c - Patch #1357912 by Gábor Hojtsy, sun: convert path language code schema to langcode. 2012-01-22 21:14:12 -05:00
Dries 09e2fb03bf - Patch #1280538 by fastangel, Gábor Hojtsy, plach: Language negotiation UX: default the path prefix setting on installation so that it actually works right away. 2012-01-22 19:46:31 -05:00
Dries eeed9ed8a6 - Patch #764558 by Rob Loach, sun, xjm, chx, catch: Remove trigger module from core. 2012-01-22 13:53:27 -05:00
catch aa400e9e8a Issue #1174634 by ericduran, rupl, Dave Reid, jhedstrom, helior: Add new HTML5 FAPI element: telephone. 2012-01-19 21:55:48 +09:00
catch 86acb0421d Issue #1402962 by msonnabaum, marcing, xjm: Fixed Render cache shouldn't treat empty strings as a cache miss. 2012-01-19 21:47:15 +09:00
ayelet_Cr 6a68e8fc0f Deleted old sqlite files. 2012-01-17 22:35:33 -06: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 c95075ec68 Issue #996236 by fago, sun, pillarsdotnet: Fixed drupal_flush_all_caches() does not clear entity info cache. 2012-01-18 13:02:34 +09:00
catch 8e20a82ed5 Issue #1392174 by Gábor Hojtsy, Garrett Albright, tstoeckler: Fixed install_find_translation_files() breaks if is passed. 2012-01-18 13:01:07 +09:00
ayelet_Cr 0a324d3017 Fix issue with Select builder. 2012-01-17 20:34:19 -06:00
ayelet_Cr d54f90f935 Initial sqlite port 2012-01-17 19:47:53 -06:00
catch f969b391b4 Issue #1227942 by Rob Loach, cweagans, tstoeckler, xjm: Rename format_username() now that it's in user.module. 2012-01-16 11:18:26 +09:00
catch 86ce7f97d5 Issue #1290658 by sun, msonnabaum: Namespace strategy for module-provided classes. 2012-01-13 23:14:07 +09:00
catch 2451f7fc23 Issue #1323120 by pounard, aspilicious, beejeebus: Convert cache system to PSR-0. 2012-01-13 12:19:33 +09:00
catch 7cd1f96db9 Issue #1397246 by webchick, heyrocker, sun: Add drupal_array_unset_nested_value(). 2012-01-12 22:22:07 +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
catch a1b360ece1 Issue #1371484 by catch, makara, ArtistConk: Fixed Private properties in abstract class DrupalCacheArray. 2012-01-11 00:25:36 +09:00
Nathaniel 26f176823e Issue #847608 by mikl: Fixed Use ellipsis character (…) instead of three dots (...). 2012-01-10 15:38:49 +09:00
catch 8cc5ede8dc Issue #1287368 by TwoD, valthebald, xjm, sun: Fixed Drupal.settings.ajaxPageState.css gets overwritten. 2012-01-08 22:58:16 +09:00
xjm 32219d0328 Correct some doxygen to standards and add stubs for missing documentation. 2012-01-08 06:26:20 -06:00
Greg Dunlap 544a58f084 Merge remote-tracking branch 'origin/sun-config' into 8.x-file-config 2012-01-08 12:39:00 +01:00
Justin Randell 5e86ed702d Fix the Boot and exit hook invocation (HookBootExitTestCase) test fails, and make page caching actually work. 2012-01-08 21:58:45 +11:00
catch b3cf068140 Issue #375397 by sun, Xano, Rob Loach: Make Node module optional. 2012-01-08 16:14:15 +09: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 b31c2510e2 Added a todo about the install bug 2012-01-08 00:24:07 +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 1434bbf5f8 Added doc about file loading 2012-01-07 22:20:03 +01:00
Greg Dunlap cdc4bc1c64 Merging from core 2012-01-07 22:12:13 +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 d3eda175c1 Added drupal_array_unset_nested_value() 2012-01-07 16:36:07 +01:00
catch decd75769a Issue #1392348 by Gábor Hojtsy: Fixed The installer does not translate profile names and descriptions. 2012-01-07 17:33:21 +09:00
catch fc3f966000 Issue #1392192 by Garrett Albright: Fixed st() still requires profile to be selected before translating. 2012-01-07 17:30:35 +09:00
catch 6ea395e685 Issue #1260716 by David_Rothstein: Follow-up for improve language onboarding user experience. 2012-01-04 14:47:07 +09:00
catch 5d5cadea60 Issue #1387586 by Gábor Hojtsy: Rename drupal_multilingual() to language_multilingual(). 2012-01-03 14:17:30 +09:00
Larry Garfield 5098b449ae Fix some use statements. 2012-01-02 21:12:43 -06:00
Larry Garfield d5b018ce69 Rename condition class and fix some namespace statements. 2012-01-02 18:25:54 -06:00
Larry Garfield 05a4376ff4 Rename classes to remove the redundant Database prefix and move query exceptions into the query namespace. 2012-01-02 14:57:30 -06:00
Larry Garfield 0879ffd974 Merge branch '8.x' into dbtngtng
Manually merged the transaction order fixes, since that code has moved to new files.
2012-01-02 14:13:49 -06:00
Greg Dunlap 830856bd77 Typo 2012-01-02 11:36:46 +01:00