Commit Graph

564 Commits (885f59b2254a2d88b300348613f81eabfb65af6c)

Author SHA1 Message Date
Larry Garfield ff6804ed82 Chasing update hook numbers. 2012-10-01 17:01:21 -07:00
Larry Garfield bf586d4f33 Add priority support to partial matchers in a nested matcher. 2012-10-01 17:01:21 -07:00
Larry Garfield 07a81f6dd5 Document hook_route_info(). 2012-10-01 17:01:21 -07:00
Larry Garfield 0ea8230787 Split handling of old and new style subrequests to avoid empty or inceptioned pages. 2012-10-01 17:01:21 -07:00
Larry Garfield 5ae1aca2df Remove unnecessary files. 2012-10-01 17:01:20 -07:00
larowlan 0703718bcd Various documentation and whitespace fixes. 2012-10-01 17:01:20 -07:00
effulgentsia 7019a0c1ca Ensure router.builder and other services are available during upgrade.
This is mostly temporary measures to work around bootstrap circular
dependencies until those are fixed.
2012-10-01 17:01:20 -07:00
Lin Clark ea8d2911b7 Fixed RouterTest fail that results from /user redirect. 2012-10-01 17:01:19 -07:00
Larry Garfield 8504d42979 Allow a trailing / to still match as if it weren't there. 2012-10-01 16:57:24 -07:00
Larry Garfield ce54838752 Fix handling of default values for placeholders.
In order to make default placeholders work, we had to modify the fit and path outline
routines to ignore them.  That also necessitated switching back to the original
outline/ancestors logic from Drupal 7, which with a very slight tweak to the masks
and '/'-prefix on paths still works just as it should.
2012-10-01 16:57:24 -07:00
Larry Garfield 8306c5a32a Non-working tests to demonstrate that default values don't work yet. 2012-10-01 16:57:23 -07:00
Larry Garfield 1d8036319a Add unit tests for FirstEntryFinalMatcher. 2012-10-01 16:57:23 -07:00
Larry Garfield 02fd4b2334 Port the regex path matching from Symfony to our CompiledRoute class so that we can match placeholder-using paths. 2012-10-01 16:57:23 -07:00
Larry Garfield 820a633cce Documentation fixes. 2012-10-01 16:57:23 -07:00
Larry Garfield b9d5689987 Introduce a default controller for pages with a _content request attribute. 2012-10-01 16:57:22 -07:00
Katherine Bailey 89e4c42bbd Fixing the update number in system.install 2012-10-01 16:57:22 -07:00
Larry Garfield 684f00dcc1 Add a functional test for the new router. 2012-10-01 16:57:21 -07:00
Larry Garfield 2bf5b4d17e Wire the new PartialMatcher and PathMatcher into the routing configuration. 2012-10-01 16:57:21 -07:00
Larry Garfield ac10076ccf Wire the new PartialMatcher and PathMatcher into the routing configuration. 2012-10-01 16:57:21 -07:00
Larry Garfield 41586439a4 Remove extraneous t() calls from assertion messages. 2012-10-01 16:57:20 -07:00
Larry Garfield 66a2409303 Add a basic ChainMatcher, modeled on Symfony CMF's ChainRouter. 2012-10-01 16:57:20 -07:00
Larry Garfield 5c6979bb1d Add start of a router_test module for hooking in the new routing system. 2012-10-01 16:57:20 -07:00
Larry Garfield e31cf8274d Add tests for the path matcher, both outline-based paths and not-found paths. 2012-10-01 16:57:20 -07:00
Larry Garfield 5701e622f6 Split PartialMatcher tests out into their own test class. 2012-10-01 16:57:20 -07:00
Larry Garfield f0c3b571e7 Make the mock FinalMatcher a real matcher, since it's useful on its own. 2012-10-01 16:57:19 -07:00
Larry Garfield 7a8d3df9a6 Make the HttpMatcher throw a MethodNotAllowedException if it filters out all possible routes. 2012-10-01 16:57:19 -07:00
Larry Garfield d372d6de99 Complete exact-path matching. 2012-10-01 16:57:18 -07:00
Larry Garfield f55ab1aff6 Move more fixture logic to the fixture class. 2012-10-01 16:57:18 -07:00
Larry Garfield e9a95aa1fb Add a skeleton for a Path matcher.
The PathMatcher matches against the database table structure generated by the
MatcherDumper.  As of this commit the lookup is not yet implemented. It's still
in testing.
2012-10-01 16:57:18 -07:00
Larry Garfield db11de09c8 Rename UrlMatcherDumper to MatcherDumper, since we use more than just the Url for matching. 2012-10-01 16:57:18 -07:00
Larry Garfield 806ff4acc8 Add a mechanism for a NestedRouter.
A Nested router is a series of partial routers, each of which whittle down a RouteCollection
until it is left with a single matching route.  That single route is the final route that
matches the request.
2012-10-01 16:57:18 -07:00
Larry Garfield b0f90a1046 Add a basic framework for stackable partial matching. 2012-10-01 16:57:17 -07:00
Larry Garfield 52fd27522b Convert tests to namespaced format. 2012-10-01 16:57:17 -07:00
Larry Garfield 3019c6f74d Convert WebTests to UnitTests. 2012-10-01 16:57:17 -07:00
Larry Garfield f14521489a Add ablity to dump a route collection to the database. 2012-10-01 16:57:17 -07:00
Larry Garfield 2ed208b1e0 Add pattern outline generation to the route compilation. 2012-10-01 16:57:17 -07:00
Larry Garfield a524a35d1d Add basic route compilation mechanism. 2012-10-01 16:57:17 -07:00
Larry Garfield eba77ad5c6 Add a basic dumper object.
This is not yet complete, but it can have routes added to it and retrieved from it.
2012-10-01 16:57:17 -07:00
Jennifer Hodgdon f1c7eec635 Issue #1797120 by Lars Toomre: Remove a couple more t() uses from system tests A-C 2012-10-01 14:46:22 -07:00
Jennifer Hodgdon 8e2d696c95 Issue #1797452 by Lars Toomre: Remove t() from system tests starting with M 2012-10-01 13:01:17 -07:00
catch 2d264b5cbb Issue #1145080 by David_Rothstein, Noe_, drewish, hosef, bigjim: Fixed SelectQuery::countQuery() incompatible with UNION queries. 2012-10-01 14:14:04 +01:00
catch 17db0ac2bb Issue #1799594 by nod_: Update jQuery version. 2012-10-01 10:50:08 +01:00
webchick 195f1f802f Issue #1798302 by alippai: Fixed Remove unnecessary join. 2012-09-30 20:50:34 -04:00
webchick d52fc9b4f6 Revert "git commit -m Issue"
I fail at committing from airports. :P

This reverts commit 26e0acb8d0.
2012-09-30 20:49:53 -04:00
webchick 26e0acb8d0 git commit -m Issue 2012-09-30 20:46:27 -04:00
webchick 294f1790e2 Issue #1798756 by andreiashu, alexpott: Fixed Finish conversion of error_level() to CMI. 2012-09-30 14:51:30 -04:00
webchick e112c456a7 Issue #1798382 by Berdir: Fixed Random Test failures in Entity translation tests. 2012-09-30 12:35:34 -04:00
Jennifer Hodgdon 1451a548d8 Issue #1797296 by Lars Toomre: Remove t() in test assertions in file sub-system 2012-09-28 12:41:40 -07:00
Dries 6824ba0ed7 Issue #1696640 by fago, effulgentsia, tim.plunkett, dixon_, plach: Add a uniform Entity Property API. 2012-09-28 13:00:24 -04:00
Jennifer Hodgdon b9af7fe849 Issue #1797120 by Lars Toomre: Remove t from test assertion messages in system tests A-C 2012-09-28 09:57:15 -07:00
Jennifer Hodgdon f988a548f8 Issue #1794012 by Lars Toomre: Remove use of t function from test assertion messages 2012-09-27 09:04:48 -07:00
catch b2bcf284df Issue #1251188 by Sagar Ramgade, cam8001, MauHG, sag_13684, fenstrat, ruloweb, xjm: Fixed Set unique titles for user/register, user/password, and user/login menu items. 2012-09-27 12:04:02 +01:00
webchick 2edfc475e5 Issue #1008166 by sun, catch, rootatwc, Rob Loach, Jody Lynn: Actions should be a module. 2012-09-26 22:57:50 -04:00
webchick 6e8a223b15 Issue #1276908 by jessebeach, nod_, moshe weitzman, lewisnyman, webchick: Fixed Administrative tables are too wide for smaller screens. 2012-09-26 14:26:15 -04:00
catch 1377aaef98 Issue #1215104 by sun, lucascaro, effulgentsia: Use the non-interactive installer in WebTestBase::setUp(). 2012-09-24 22:08:10 +01:00
Dries e81a2d353d Merge branch '8.x' of git.drupal.org:project/drupal into 8.x 2012-09-24 17:01:12 -04:00
Dries 6ef8765849 Issue #1790882 by beejeebus, sun: allow to store value FALSE in the key value store. 2012-09-24 17:00:37 -04:00
catch bd07cedb74 Issue #1760548 by nod_: Remove dependency on jQuery drupal.js? for JS settings. 2012-09-24 14:12:09 +01:00
catch f5955bfead Issue #1785436 by Boobaa: Fixed Submission of #required elements without #title and empty value does not display any error. 2012-09-24 10:15:37 +01:00
Dries 6da30cc2e5 Issue #1788608 by bfr: system_modules_confirm_form(), line 1079, if () is always true. 2012-09-23 22:20:05 -04:00
Dries 4e4ea71e66 Patch #1161486 by rootatwc, sun, andypost, catch, marcingy, aspilicious, cam8001: Move IP blocking into its own module. 2012-09-23 22:17:45 -04:00
webchick 7b8712b1b2 Issue #1789606 by sun, alexpott: Fixed Upgrade path tests for all system module variables converted to CMI so far. 2012-09-20 17:45:16 -07:00
catch b10ff4324b Issue #1362974 by droplet, dcam, Jacine, tkrajcar: Remove type='text/javascript' from <script> tags. 2012-09-20 11:06:41 +01:00
catch 8be3d3e2de Issue #1691952 by plach, Berdir: Make EntityFieldQuery work with multilingual properties. 2012-09-20 10:25:58 +01:00
catch 8337955d48 Issue #1175054 by msonnabaum, chx, sun, tim.plunkett, arlinsandbulte, beejeebus: Add a storage (API) for persistent non-configuration state. 2012-09-20 10:25:24 +01:00
webchick 91c41b3f37 Issue #1738368 by Schnitzel, YesCT, Gábor Hojtsy, c31ck, sun, plach: Fixed Not possible to use the entity getter to retrieve non-translatable field values. 2012-09-19 23:15:55 -07:00
catch 277c7f7bf6 Issue #1564832 by sun, dcam: Remove _node_extract_type() and node_type_get_name(). 2012-09-19 10:54:05 +01:00
Dries 584e709d8b Issue #1712352 by sun, effulgentsia: configuration system does not support themes. 2012-09-18 16:04:16 +02:00
catch 3da6b98435 Issue #1460764 by klausi: Missing test coverage for a D7 install with non-required modules installed but disabled. 2012-09-17 12:30:00 +01:00
catch 768dfcd9cf Issue #1774134 by larowlan, amateescu: Remove BC layer for lock API. 2012-09-17 10:49:18 +01:00
webchick 4efc71cf20 Issue #1754208 by PrabhuG, webflo, savithac, Gábor Hojtsy: Convert hook_mail() and hook_mail_alter() to langcode. 2012-09-13 01:48:24 -07:00
webchick 5254501a02 Issue #1778986 by yched: Fixed drupal-7.filled.standard_all() test db dump has invalid widget info. 2012-09-13 01:41:11 -07:00
webchick 857ded8c79 Issue #1627006 follow-up by YesCT, webflo, Gábor Hojtsy: CMI conversion and minor followups to 'Collect project information for translation update'. 2012-09-13 00:25:54 -07:00
webchick 83a91f4265 Issue #1757566 by alexpott, aspilicious: Convert user account e-mail templates to configuration system. 2012-09-12 23:41:38 -07:00
webchick 09b998f131 Issue #1777430 by Crell, sun, tim.plunkett: Fixed Allow for ContainerAware controllers. 2012-09-12 23:16:39 -07:00
webchick 3d2aad9e0a Issue #1757232 by peximo, plach: Improve test coverage for the entity form controller. 2012-09-12 23:14:51 -07:00
catch f556c0b023 Issue #1760786 by sun: Move entity system 'back' into a Drupal\Core component. 2012-09-12 10:18:04 +01:00
webchick 9ad5b16eb5 Issue #1164760 by tim.plunkett, LoMo, Mile23, David_Rothstein, webchick, Bojhan, yoroy, naught101: [meta] Rename 'Modules' in toolbar to 'Extend'. 2012-09-10 22:10:55 -07:00
Jennifer Hodgdon 082cae5c25 Issue #262690 by Albert Volkman: Call Form API by its proper name not Forms API 2012-09-10 12:05:33 -07:00
webchick 295d4e45cf Issue #1057912 by bfroehle, mgifford, bowersox, tarekdj, geerlingguy, irunflower, hgurol: Fixed Weird Border on Vertical Tabs with Google Chrome and Safari caused by .element-invisible. 2012-09-05 23:37:54 -07:00
webchick b72e28127e Issue #1067120 by BTMash, DamienMcKenna, corvus_ch, valthebald, mrfelton, fgm, Dave Reid: Added Missing hook_taxonomy_term_view() or hook_entity_view() when viewing a term. 2012-09-05 23:25:20 -07:00
webchick 9c20b2fe4b Issue #1776030 by sun: Fixed Machine name JavaScript behavior is broken, since jquery.once isn't loaded. 2012-09-05 21:00:02 -07:00
webchick 7e97629745 Issue #1768484 by dagmar, sun: Fixed Indentation in YAML files violates Drupal coding standards. 2012-09-04 13:58:37 -07:00
catch 8f785ff8de Issue #1637478 by alexpott, pounard, catch, fubhy: Fixed Add a PHP array cache backend. 2012-09-04 15:00:37 +01:00
catch 4b5fad5475 Issue #1702080 by sun, chx: Added Introduce canonical FileStorage + (regular) cache. 2012-09-04 14:51:51 +01:00
catch 4f37cf0255 Issue #1700382 by Albert Volkman, cam8001: Replace remaining references to drupal_attributes() with new Attributes(). 2012-09-04 14:32:47 +01:00
webchick de473408a6 Issue #1742958 by DamienMcKenna, jhodgdon: Fixed All spellings of URI should be uppercase. 2012-09-01 21:50:06 -07:00
webchick 4a32c5d36e Issue #1764634 by tim.plunkett, nod_: Fixed Drupal.settings is only populated if a custom setting is added. 2012-09-01 19:23:09 -07:00
Dries 6ee939ee97 Issue #253157 by Maxtorete, j.somers, FiNeX, 5ven, fastangel, jibran, penyaskito: added 'Translate own content' permission, rename 'Translate content' to 'Translate all content'. 2012-09-01 08:15:08 -04:00
catch b65fd7feb6 Issue #1541674 by Berdir, Tor Arne Thune, sun, plach, dixon_, tim.plunkett: Remove the registry. 2012-08-31 11:03:05 +01:00
webchick a2215bf8b5 Issue #1739808 by Berdir, salvis: Fixed Notice: Undefined index: file in Drupal\Core\Database\Log->findCaller(). 2012-08-30 18:53:47 -07:00
webchick 316c1f4a7a Issue #1468328 by Berdir: Move file entity info, managed file, and file usage functionality into File module. 2012-08-30 18:27:21 -07:00
webchick b75c3af144 Issue #1754712 by TravisCarden, Bußmeyer, pingers: Fixed @return unknown_type() should be @return mixed. 2012-08-30 18:08:16 -07:00
webchick c69d5cf92c Issue #1422614 by droplet, rob.black, nod_: Drop Firefox 3.6 support in Drupal core. 2012-08-30 15:34:27 -07:00
webchick 1ca01c77d8 Issue #1691438 by Dave Reid, CrashTest_, quicksketch, jbrown: Fixed Regression: {file_managed()}.filename should NOT be binary (and case-sensitive by default). 2012-08-30 13:27:48 -07:00
webchick 07ad6e733c Issue #1737148 by nod_, SebCorbin, larowlan, tim.plunkett, Albert Volkman, nick_schuch, sun: Explicitly declare all JS dependencies, don't use drupal_add_js(). 2012-08-30 12:24:38 -07:00
webchick 7c7b91ef66 Issue #1741804 by beejeebus, sun, chx, alexpott, matason: Implement a config import/staging directory. 2012-08-30 10:30:12 -07:00
Jennifer Hodgdon 2d4c3c65a1 Issue #794192 by kim.pepper: add note to hook_update_N docs about calling functions from modules 2012-08-29 11:04:59 -07:00
Jennifer Hodgdon 65d37afbea Issue #716496 by killtheliterate, rootwork: Make sure all core template files are in themeable group 2012-08-28 11:31:58 -07:00
catch 7d4962b50d Issue #1414510 by Spleshka, andypost, tim.plunkett: Fixed Remove drupal_reset_static() for drupal_html_id() when form validation fails. 2012-08-28 16:57:02 +01:00