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
webchick
9f9744bff8
Revert "- Patch #1371484 by makara: private properties in abstract class DrupalCacheArray."
...
This reverts commit 7be846e75d
.
2012-01-01 20:43:23 -08:00
catch
2d420a69ab
Issue #1373582 by TR: Fixed Trailing whitespace.
2011-12-30 15:28:55 +09:00
catch
d2ed616079
Issue #1007830 by Damien Tournoud et al: Fixed Nested transactions throw exceptions when they got out of scope.
2011-12-30 15:13:16 +09:00
catch
a8addadfad
Issue #1272706 by catch, pillarsdotnet, Berdir, msonnabaum: Remove backwards compatibility layer for cache API.
2011-12-30 15:00:36 +09:00
Larry Garfield
294ca8b3a6
Explicitly use PDOException in namespaces.
2011-12-29 16:48:09 -06:00
Larry Garfield
bfd9882aaa
More use statements.
2011-12-29 00:52:27 -06:00
Larry Garfield
f36c472cb5
Update the logger stack climbing logic for the new file organization.
2011-12-28 23:38:34 -06:00
Larry Garfield
3093a67071
Add more use statements.
2011-12-28 23:38:34 -06:00
Larry Garfield
13e82d2e0e
Rename more type hints.
2011-12-28 14:19:52 -06:00
Larry Garfield
9f60871f77
The connection is not yet available early in the installer, so we cannot use it to find the driver installer.
2011-12-28 13:24:46 -06:00
Larry Garfield
5dc9a0b8b1
Fix type hint in tablesort class.
2011-12-28 13:08:43 -06:00
Larry Garfield
b5de187356
Let getDriverClass() handle defaults, so that extenders work. Also use it in more places, eliminating the old-school crappy approach.
2011-12-28 13:08:26 -06:00
Larry Garfield
8f07a990bc
Add more use statements.
2011-12-27 23:58:34 -06:00
Greg Dunlap
8a6c8b7429
Changed aggregator functions to work at install time when database is not present
2011-12-27 18:15:54 -08:00
Larry Garfield
7ef58b85b9
Move the install code into namespaced classes, too.
2011-12-27 19:07:29 -06:00
Larry Garfield
9062e1e4e7
Simplify the class name finding and loading routines, since PSR-0 now handles them for us.
2011-12-27 19:06:42 -06:00
Larry Garfield
67429ab19f
Initial move and rename of database classes to PSR-0 namespaces. So far only MySQL has been converted.
2011-12-27 15:17:19 -06:00
catch
0f3b394f11
Issue #1371256 by ayelet_Cr: Document that QueryConditionInterface::condition() should not be used to add NULL conditions.
2011-12-23 12:35:42 +09:00
catch
e6a95a8190
Issue #1373670 by sun: Change constant value of MENU_NOT_FOUND to 404 and MENU_ACCESS_DENIED to 403.
2011-12-23 12:13:43 +09:00
webchick
256a10dd19
Revert "Issue #1368872 by agentrickard: Clean up API docs for syslog."
...
This reverts commit 9db1fddb90
.
2011-12-22 14:33:38 -08:00
catch
9db1fddb90
Issue #1368872 by agentrickard: Clean up API docs for syslog.
2011-12-22 20:45:21 +09:00
catch
13830d022c
Issue #1301040 by Gábor Hojtsy: Move language listing functionality from locale.module to a new language.module.
2011-12-22 20:26:12 +09:00
Nathaniel
65a31d6858
Issue #1240256 by lyricnz, Akaoni: Fixed file_unmanaged_copy() Fails with Drupal 7.7+ and safe_mode() or open_basedir().
2011-12-20 14:50:23 +09:00
Nathaniel
f9be1f55a8
Issue #1347266 by Everett Zufelt, pcambra, JohnAlbin, tim.plunkett: Convert theme_breadcrumb() to HTML5.
2011-12-20 14:32:29 +09:00
Dries
7be846e75d
- Patch #1371484 by makara: private properties in abstract class DrupalCacheArray.
2011-12-19 09:37:02 -05:00
catch
5fb188f2d0
Issue #98696 by sun, floretan, rszrama, zeta ζ, marvil07: Fixed various bugs in theme_links().
2011-12-19 19:45:52 +09:00
catch
a3ebad0633
Issue #1346032 by xjm, aspilicious: Fixed Ordering of hook_entity_delete() is inconsistent.
2011-12-17 21:43:37 +09:00
catch
8d4f091616
Issue #1366740 by patrickd: Fixed theme_progress_bar() should have more information about when to use function.
2011-12-16 13:57:22 +09:00
Dries
9c29ac79af
- Patch #1059884 by bfroehle, sun, casey: Drop function_exists() for 'callback' functions.
2011-12-15 12:33:38 -05:00
catch
f2431f3d3b
Revert "- Patch #1174938 by ericduran, aspilicious, voxpelli: natively support the HTML5 #required FAPI property. Woot!"
...
This reverts commit 8945bee7fd
.
2011-12-15 17:05:44 +09:00
Dries
010e99986b
- Patch #1229868 by nicl, DjebbZ: hook_form_BASE_FORM_ID_alter(), hook_form_alter(), and hook_form_FORM_ID_alter() doc inconsistent.
2011-12-14 10:04:55 -05:00
Dries
8945bee7fd
- Patch #1174938 by ericduran, aspilicious, voxpelli: natively support the HTML5 #required FAPI property. Woot!
2011-12-14 07:56:07 -05:00
Nathaniel
3b3798f251
Issue #1025582 by sun: Added Custom db_select() 'conditions' parameter for menu_build_tree().
2011-12-14 12:17:05 +09:00
Dries
1374de6047
- Patch #1181776 by sun, Psikik, mallezie, scor: change theme_default() variable to Stark.
2011-12-12 22:29:45 -05:00
catch
8c47bfff7a
Issue #866292 by marcingy, ygerasimov, attiks, quicksketch: Fixed '0' not displayed as checkbox / radios options (nor as any element #title).
2011-12-13 01:21:23 +09:00
catch
4bd96ab7cf
Issue #1359326 by xjm: Fixed t() documentation does not clearly indicate that options are documented in format_string() docs.
2011-12-13 01:15:08 +09:00
Dries
b7bbf85187
- Patch #1365156 by droplet: update.php path.
2011-12-09 10:37:32 -05: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
5d3e3a1fc3
Reworked calls to remove nesting of values
2011-12-08 09:40:48 +01:00
Nathaniel
df47c12180
Issue #1347812 by nanotube: Fixed Remove/replace documentation references to upload_file_load() and upload_file_delete().
2011-12-08 13:29:32 +09:00
Nathaniel
eb8c4c09a2
Issue #381994 by xjm, good_man, elcuco, et al: Fixed Machine-name fields are always in Latin characters, and should therefore always be LTR.
2011-12-08 12:29:13 +09:00
Greg Dunlap
d92f9d511c
Missing $
2011-12-07 22:16:29 +01:00
Greg Dunlap
66efb79c91
Updating references to preprocess js
2011-12-07 22:15:18 +01:00
Greg Dunlap
ac51c0e526
Updating references to preprocess css
2011-12-07 22:14:38 +01:00
Greg Dunlap
769e0afdfc
Updating references to page compression
2011-12-07 22:13:47 +01:00
Greg Dunlap
ee4f6008d0
Updating references to page cache maximum age
2011-12-07 22:11:51 +01:00
Greg Dunlap
8c7ebc0922
Updating references to cache lifetime
2011-12-07 22:09:52 +01:00
Greg Dunlap
f9a2916266
Updating references to page cache variable
2011-12-07 22:02:20 +01:00