Commit Graph

2279 Commits (920fd45a839de6937682aa6d894aa62fda3ad64e)

Author SHA1 Message Date
Dries 64b5b03e86 Issue #1439462 by nod_, Jelle_S: Drop our custom $.support.positionFixed and use jQuery's $.support.fixedPosition. 2012-10-05 11:43:54 -04:00
Jennifer Hodgdon 258d30e2fb Issue #1326618 by Albert Volkman, ykhadilkar, oriol_e9g, daniel_j, xenophyle: API docs cleanup for locale module 2012-10-05 08:42:46 -07:00
webchick b3678c7470 Issue #1705702 follow-up by andypost: Oops. Another missing file. :P 2012-10-05 08:13:29 -07:00
Dries 84c6fea4be Issue #476304 by Liam Morland: fixed mismatch of schema definition of uid, nid. 2012-10-04 16:27:03 -04:00
Jennifer Hodgdon f0da6c528d Issue #1313980 by Lars Toomre: Fix up some docs in node module 2012-10-04 09:41:38 -07:00
Jennifer Hodgdon 011510243e Issue #1398404 by batigolix: Fix up API docs for a few remaining functions in overlay module 2012-10-04 09:30:03 -07:00
Jennifer Hodgdon 1df8d28040 Issue #1134088 by Cottser, catch: Fix up documentation for update helper functions 2012-10-04 09:12:04 -07:00
Jennifer Hodgdon 2944c1cee2 Issue #1326664 by Lars Toomre, Albert Volkman, sven.lauer, tim.plunkett: API docs cleanup for parts of system module and other files 2012-10-04 08:28:39 -07:00
webchick 3afc4cc98e Issue #1802844 by antojose: Fixed 'have to' repeated twice as 'have to have to' in the comment for the function hook_module_implements_alter() in system.api.php. 2012-10-03 23:56:40 -07:00
webchick d876e5a752 Issue #246029 follow-up by junedkazi: Remove use of standard profile in test for faster results. 2012-10-03 23:54:58 -07:00
webchick 08c3dc159d Issue #1705702 follow-up by tim.plunkett: Instantiate definitions variable to avoid notices. 2012-10-03 23:49:36 -07:00
webchick 83a8f3fe4d Oh hai. How about ALL THE FILES? 2012-10-03 22:42:38 -07:00
webchick df56f3fea4 Issue #1705702 by dawehner, damiankloip: Added Provide a way to allow modules alter plugin definitions. 2012-10-03 22:02:44 -07:00
webchick fc303a4357 Issue #1608878 by jessebeach, tim.plunkett, dead_arm, nod_, sun, effulgentsia, Everett Zufelt, geerlingguy: Added CTools dropbutton to core. 2012-10-03 19:03:22 -07:00
webchick 7518561a00 Issue #1801032 by pbz1912: Fixed Update php version to 5.3.5 in INSTALL.txt. 2012-10-03 18:21:14 -07:00
catch d7fc7b6a0a Issue #1393392 by c960657, fubhy: Convert prefix cache clears to cache tags, then remove support for them. 2012-10-03 22:06:11 +01:00
Jennifer Hodgdon 40245a6b91 Issue #1797220 by Lars Toomre: Remove t() from test assertions in Entity sub-system 2012-10-03 10:00:24 -07:00
Jennifer Hodgdon dd5d0f619a Issue #1797200 by pillarsdotnet, boombatower, solotandem, ZenDoodles, sun, xjm, yched, Damien Tournoud: (crediting those who worked on previous versions of this patch as well) Remove t() from test assertions in node module 2012-10-03 09:53:46 -07:00
Jennifer Hodgdon ad7b2772a7 Issue #1742602 by Lars Toomre: Remove a few more t() from test assertions in comment module 2012-10-03 09:43:31 -07:00
Jennifer Hodgdon c4a4964b1a Issue #1355712 by izus, kid_icarus, batigolix, gapa, chertzog: API docs cleanup for Poll module 2012-10-02 16:58:25 -07:00
Jennifer Hodgdon 6821b3c37d Issue #1382222 by Albert Volkman: Small docs cleanup regarding PHP chmod 2012-10-02 09:43:24 -07:00
Jennifer Hodgdon 0fef1e1c13 Issue #1398404 by batigolix, NROTC_Webmaster, aLearner: API docs cleanup for overlay module 2012-10-02 09:29:50 -07:00
catch 92b6edf429 Issue #1534674 by plach: Follow-up for Comment field language is completely broken. 2012-10-02 15:54:27 +01:00
catch e8898ed3e5 Issue #1534674 by plach, slowflyer: Fixed Comment field language is completely broken. 2012-10-02 13:29:17 +01:00
webchick 90b9f678d9 Issue #1800304 by dawehner: Fixed The css for responsive tables on bartik contains old class names. 2012-10-01 19:05:19 -07:00
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 854a48bf6b Remove workarounds for Symfony limitations that have been fixed. 2012-10-01 17:01:21 -07:00
Larry Garfield e2f99d4ec8 Properly escape SQL table. 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 001c75b25e Various and sundry documentation formatting fixes. 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 126bb1903f Remove no-longer-needed RouterListener subclass. We can use the Symfony one directly now. 2012-10-01 17:01:20 -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
effulgentsia 6779c0794e Fix redirect user_page to include current language. 2012-10-01 17:01:19 -07:00
Lin Clark fdcd2d2a73 Fixed old style subrequests by running through drupal_render_page. 2012-10-01 17:01:19 -07:00
Lin Clark ea8d2911b7 Fixed RouterTest fail that results from /user redirect. 2012-10-01 17:01:19 -07:00
Larry Garfield acd7dd9c16 Switch to RedirectResponse for the /user page. 2012-10-01 16:57:25 -07:00
Lin Clark 26b46f8d72 Switch user_page to redirect to prevent router test failures. 2012-10-01 16:57:24 -07:00
Larry Garfield e2c30c933b Adjust ViewSubscriber's subrequest handling again for render API. 2012-10-01 16:57:24 -07:00
Larry Garfield 67fdbebdaf Don't render subrequest as a full page, just pass them through normal drupal_render(). 2012-10-01 16:57:24 -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 fa58bbefad Documentation fixes. 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 fac9b6ed0e Make use of the compiled regex when filtering routes by path, to account for default values and regex filters on placeholders. 2012-10-01 16:57:23 -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 a3deb0349d Properly render legacy subrequests. 2012-10-01 16:57:23 -07:00
Larry Garfield 80bc8856f5 Remove long-dead code. 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 867e7707f5 Pass the _content callback as a proper controller through HttpKernel::forward(). 2012-10-01 16:57:23 -07:00
Larry Garfield f6bf963097 Move router rebuilding into an object so we can break it up more easily. 2012-10-01 16:57:22 -07:00
Larry Garfield 404e74e187 Make the new HtmlPageController Container-aware. 2012-10-01 16:57:22 -07:00
Larry Garfield b9d5689987 Introduce a default controller for pages with a _content request attribute. 2012-10-01 16:57:22 -07:00
Larry Garfield 0bd8eed2cc Minor fixups in router_rebuild(). 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
Katherine Bailey c17d7dce9d Updating some docblocks 2012-10-01 16:57:22 -07:00
Katherine Bailey f368409fcc The database service has been added to the DIC in core so ended up being duplicated here 2012-10-01 16:57:22 -07:00
Larry Garfield dca406aa64 Only try to rebuild the router table if the dumper is actually available. 2012-10-01 16:57:21 -07:00
Larry Garfield 684f00dcc1 Add a functional test for the new router. 2012-10-01 16:57:21 -07:00
Larry Garfield 7139f0253c Add a new-router rebuild step to the global flush operation. 2012-10-01 16:57:21 -07:00
Larry Garfield c2e1a308de Flush the dumper after each use, so that we don't end up re-saving old routes. 2012-10-01 16:57:21 -07:00
Larry Garfield b1fd850de2 Register the MatcherDumper with the DIC. 2012-10-01 16:57:21 -07:00
Larry Garfield d4641c4a5b Don't count the leading / as a part when counting the elements in the path. 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 a6d59f6d18 Run LegacyUrlMatcher through ChainMatcher. That necessitates making ChainMatcher temporarily context-aware. 2012-10-01 16:57:20 -07:00
Larry Garfield 1bf98066ba Convert LegacyUrlMatcher to use RequestMatcherInterface rather than UrlMatcherInterface. 2012-10-01 16:57:20 -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 8ae0b323f2 Don't serialize the compiled route object along with the route. 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 0e4b90e09b Add a base class for partial matchers. 2012-10-01 16:57:19 -07:00
Larry Garfield 329fde3f41 Document that PartialMatcherInterface::setCollection() is chainable. 2012-10-01 16:57:18 -07:00
Larry Garfield a3e002dbe4 Fix documentation to clarify that a FinalMatcher returns attributes, not a Route or RouteCollection. 2012-10-01 16:57:18 -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 40e5531952 Enforce the Drupal RouteCompiler for all routes dumped with our dumper. 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 81c3bf6dff Make CompiledRoute its own class rather than extending Symfony's CompiledRoute. 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 2c79c025d2 Copy in old dumping logic. Still being refactored. 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 6e78c49b5a Issue #1797940 by Lars Toomre: Properly document helper function in language tests 2012-10-01 15:10:40 -07:00
Jennifer Hodgdon 1518a9434e Issue #1797360 by xjm: Remove t() from test assertions in language module 2012-10-01 15:08:28 -07:00
Jennifer Hodgdon d57f04d3f8 Issue #1741386 by andypost, Lars Toomre: Remove remaining t() in test assertions in book module 2012-10-01 14:55:01 -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 162314d723 Issue #1798954 by Lars Toomre: Remove t() from test asserts in Action module 2012-10-01 14:40:55 -07:00
Jennifer Hodgdon 59a51ae15d Issue #1797366 by xjm: Remove t() from test assertions in menu module 2012-10-01 14:36:17 -07:00
Jennifer Hodgdon 4a0b83bff3 Issue #1797372 by xjm: Remove t() from assert messages in path module tests 2012-10-01 14:33:41 -07:00
Jennifer Hodgdon c259b8ec52 Issue #1797520 by Lars Toomre: Remove t() from test assertions in statistics module 2012-10-01 13:24:55 -07:00
Jennifer Hodgdon 31f0b95cbf Issue #1797510 by Lars Toomre: Remove t() from assertions in shortcut module 2012-10-01 13:20:51 -07:00
Jennifer Hodgdon 34929bf74d Issue #1797516 by Lars Toomre: Remove t() from test assertion messages in syslog module 2012-10-01 13:15:33 -07:00
Jennifer Hodgdon eaee4510c4 Issue #1798390 by Lars Toomre: Remove t() from test assertions in xmlrpc module 2012-10-01 13:13:00 -07:00
Jennifer Hodgdon 207f6d7b29 Issue #1798960 by Lars Toomre: Remove t() from test assert in Ban module 2012-10-01 13:04:37 -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
Jennifer Hodgdon e7ac42950d Issue #1791090 by Ivan Zugec: Remove references to specific admin paths from aggregator function docs 2012-10-01 12:24:47 -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 c37ef76d66 Issue #1751100 by chx, jerdavis: Bump minimum version of php required to 5.3.5. 2012-10-01 11:41:45 +01:00
catch 17db0ac2bb Issue #1799594 by nod_: Update jQuery version. 2012-10-01 10:50:08 +01:00
webchick 93ce8cb0f1 Issue #1796604 by andypost: Fixed Make constructor parameters consistent. 2012-09-30 20:55:09 -04: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 4ecc679823 Issue #1781372 by tim.plunkett, xjm, sun, damiankloip, andypost, Jelle_S, Gábor Hojtsy: Change notice: Add an API for listing (configuration) entities. 2012-09-30 16:48:46 -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 92a9506e63 Issue #1798420 by tim.plunkett: Document and consider renaming AbstractStorage. 2012-09-30 13:07:23 -04:00
webchick 7e798b85b8 Issue #1538462 by c960657, Niklas Fiekas, nod_: Fixed Cannot log in with OpenID due to 'required' attribute. 2012-09-30 12:53:26 -04:00
webchick e112c456a7 Issue #1798382 by Berdir: Fixed Random Test failures in Entity translation tests. 2012-09-30 12:35:34 -04:00
catch 43942f8ad0 Issue #1040790 by yched, swentel, geerlingguy, beejeebus, Berdir: Fixed _field_info_collate_fields() memory usage. 2012-09-28 23:11:59 +01:00
Jennifer Hodgdon 3319def6a7 Issue #1347914 by batigolix: Clean up some API docs in filter module tests 2012-09-28 14:38:56 -07:00
Jennifer Hodgdon 55aebf4e01 Issue #1797376 by xjm: Remove t() from test assertions in poll module 2012-09-28 12:57:18 -07:00
Jennifer Hodgdon 22f707632c Issue #1797374 by xjm: Remove t() from test assertions in PHP module 2012-09-28 12:52:32 -07:00
Jennifer Hodgdon 74d0529337 Issue #1797170 by xjm: Remove t() from test assertions in field_ui.module 2012-09-28 12:44:57 -07: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
Jennifer Hodgdon 45b4961064 Issue #1742602 by xjm, lazysoundsystem: Remove t() from test assertions in comment module 2012-09-28 12:34:04 -07:00
Jennifer Hodgdon b5acb7bcdd Issue #1797242 by xjm: Remove t from dblog test assert messages 2012-09-28 12:27:18 -07:00
Jennifer Hodgdon fe147abd4b Merge branch '8.x' of git.drupal.org:project/drupal into 8.x 2012-09-28 10:04:12 -07:00
Jennifer Hodgdon e91b1b5037 Issue #1797228 by xjm: remove t from test assertions in config module 2012-09-28 10:01: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
Dries 5c39787962 Issue #1797370 by xjm: Remove t() from assertion messages in tests for the openid module. 2012-09-28 10:20:55 -04:00
Dries 88209f1e0e Issue #1797106 by xjm: Remove t() from asserts messages in tests for the field module. 2012-09-28 10:20:01 -04:00
Dries fd5ab15290 Issue #1797330 by xjm: Remove t() from assertion messages in tests for the help module. 2012-09-28 10:16:50 -04:00
Dries 0bca40b363 Issue #1797328 by xjm: remove t() from assertion messages in tests for the image module. 2012-09-28 10:15:38 -04:00
catch 7643bb2faf Issue #1797206 by Rob Loach: Fixed Actions module has variable name conflict which breaks tests. 2012-09-28 10:06:11 +01: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
Jennifer Hodgdon 0790cd975b Issue #1326634 by xjm, NROTC_Webmaster, dellintosh, xenophyle: Fix up API docs in field module 2012-09-27 08:44:17 -07:00
Jennifer Hodgdon 2a68684092 Issue #1793990 by -enzo-, socketwench: Partial cleanup for Config class documentation 2012-09-27 08:38:57 -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
catch f9afde4181 Issue #1796278 by chx: Remove leftover debug. 2012-09-27 11:42:29 +01:00
webchick 1881251335 Issue #1312200 by zuuperman, lemark, chx: Fixed field_create_instance() must fill in the id field but does not. 2012-09-26 23:47:21 -04:00
webchick 3c66dae84e Issue #606598 by andypost, stBorchert, sun, aspilicious, joachim: Added Human readable image-style names. 2012-09-26 23:28:47 -04:00
webchick 35a3762014 Issue #945524 by Jelle_S, tim.plunkett, Dave Reid, pfrenssen, xjm, swentel: Added Field formatter settings hooks in core. 2012-09-26 23:23:22 -04: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 f846c6c190 Issue #501434 by sun, Dave Reid: Added Link field type into core. 2012-09-26 22:43:06 -04:00