Commit Graph

434 Commits (b38996475dd09e5c3709397cd28fb6f69cb0b51c)

Author SHA1 Message Date
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
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 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 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 66a2409303 Add a basic ChainMatcher, modeled on Symfony CMF's ChainRouter. 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 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 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 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
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
webchick 93ce8cb0f1 Issue #1796604 by andypost: Fixed Make constructor parameters consistent. 2012-09-30 20:55:09 -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 92a9506e63 Issue #1798420 by tim.plunkett: Document and consider renaming AbstractStorage. 2012-09-30 13:07:23 -04:00
webchick e112c456a7 Issue #1798382 by Berdir: Fixed Random Test failures in Entity translation tests. 2012-09-30 12:35:34 -04: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 2a68684092 Issue #1793990 by -enzo-, socketwench: Partial cleanup for Config class documentation 2012-09-27 08:38:57 -07:00
catch f9afde4181 Issue #1796278 by chx: Remove leftover debug. 2012-09-27 11:42:29 +01:00
catch 1f86ba60da Issue #1785974 by tim.plunkett, alexpott, sun: Move ConfigEntity into a Core component. 2012-09-26 17:44:46 +01: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 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 768dfcd9cf Issue #1774134 by larowlan, amateescu: Remove BC layer for lock API. 2012-09-17 10:49:18 +01:00
webchick 09b998f131 Issue #1777430 by Crell, sun, tim.plunkett: Fixed Allow for ContainerAware controllers. 2012-09-12 23:16:39 -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
catch 31909ee8ae Issue #1777430 by Crell, sun: Fixed Allow for ContainerAware controllers. 2012-09-11 15:10:24 +01:00
webchick 64d0af8c50 Issue #1658842 by penyaskito, attiks, webflo: Added Introduce a translations:// stream wrapper to access the .po file directory. 2012-09-06 23:26:10 -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
webchick f1cde31fa5 Issue #1702080 follow-up by sun: PHPDoc fix. 2012-09-04 13:17:40 -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
catch 7e54f17b79 Issue #1713564 by alexpott, sun: Make Config\FileStorage instantiate Yaml\Dumper and Yaml\Parser only once. 2012-09-03 11:56:01 +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 af7a3a8d3e Issue #1724252 by sun: Replace /sites/all/* with top-level directories. 2012-08-31 18:01:32 -07:00
catch 2d4afa9c50 Issue #1730774 by beejeebus, sun: Untangle Cache\DatabaseBackend from procedural database.inc functions to make it available in early bootstrap. 2012-08-31 13:07:10 +01: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
catch ca37934863 Issue #1750980 by nlisgo: Fixed use Exception; missing in core/lib/Drupal/Core/Utility/UpdateException.php. 2012-08-28 17:01:14 +01:00
webchick a642d32c7c Issue #1759152 by katbailey: Add a database service to the DIC. 2012-08-28 00:48:40 -07:00
catch ea1b955192 Issue #1748880 by mikeytown2: Only clear the stat cache for the files we care about. 2012-08-27 22:40:39 +01:00
webchick 4a677afc98 Issue #1754142 by Damien Tournoud: Move CACHE_PERMANENT out of bootstrap.inc. 2012-08-26 14:27:30 -07:00
webchick b7a7795447 Issue #1750228 by Boobaa, corvus_ch: Fixed Adding a new language with empty .po file and locale.module enabled throws a fatal error. 2012-08-26 10:37:19 -07:00
webchick 79b9a36cb0 Issue #1739994 by pp, das-peter, Gábor Hojtsy: Use the Language class universally instead of stdObj instances. 2012-08-26 10:01:29 -07:00
webchick 42d5f0053b Issue #1668820 by sun, xjm, tim.plunkett, fgm: Concept, base class, and interface for configurable objects. 2012-08-25 01:17:32 +02:00
Dries de5718848b - Patch #1279680 by cam8001: watchdog() does not type its array arguments. 2012-08-24 14:48:55 +02:00
webchick 5c8cdca2c4 Issue #1669902 by alexpott, aspilicious, sun: Adjust system.performance configuration for new guidelines. 2012-08-24 06:53:11 +02:00
webchick 4aaeaf521d Issue #1646580 follow-up by beejeebus: Capitalization fixes. 2012-08-24 05:04:40 +02:00
catch 3d94f559c8 Issue #1637478 by alexpott, pounard, catch: Add a PHP array cache backend. 2012-08-23 15:26:14 +02:00
catch 6e8a671f83 Issue #1675260 by chx, effulgentsia, pwolanin, neclimdul: Implement PHP reading/writing secured against 'leaky' script. 2012-08-23 13:52:46 +02:00
catch 4da938a7c5 Issue #1739900 by alexpott: Added a rename operation to config storage controllers. 2012-08-23 13:16:50 +02:00
catch 2c0893e845 Issue #1739900 by alexpott: Added a rename operation to config storage controllers. 2012-08-22 15:01:32 +02:00
catch 3fe579b233 Issue #1542186 by pp, redcell, rickmanelius: Fixed Illegal string offset warning during install on sqlite. 2012-08-22 09:59:24 +02:00
webchick 7b757ff47e Issue #1646580 by chx, Jose Reyero, beejeebus: Implement Config Events and Listeners, and storage realms for localized configuration. 2012-08-22 01:22:22 +02:00
webchick 1a3136c1fd Issue #780304 by Crell, naxoc, zyxware: Fixed HTML encoding of em wrappers for database table names while showing schema errors. 2012-08-19 14:16:25 +02:00
webchick 7e79095a49 Issue #1637348 by vasi1186, attiks, clemens.tolboom, penyaskito: Import Gettext .po files in progressive batches to avoid time limits. 2012-08-19 12:46:48 +02:00
webchick f85f7eb483 Issue #1726794 by dawehner: Improve the plugin factory exception message. 2012-08-18 14:20:39 +02:00
webchick 3f92626087 Issue #1733746 by penyaskito, sxnc, jsbalsera, Gábor Hojtsy: Fixed D8 installer is broken if selecting a non-English language on installation. 2012-08-18 12:42:31 +02:00
catch 8fcd8e6057 Issue #1722882 by aspilicious: Fixed Plugin CacheDecorator caches globally. 2012-08-15 15:38:34 +01:00
catch 544e17693f Issue #1671198 by chx, Jose Reyero, sun, xjm, aspilicious: Added Merge $conf overrides only once per instantiated Config object, and move initial setName() into Config constructor. 2012-08-15 15:35:59 +01:00
Dries 0033bac993 - Patch #1683644 by chx, EclipseGc, tim.plunkett, aspilicious, xjm, dawehner, effulgentsia: use Annotations for plugin discovery. 2012-08-11 12:49:44 -04:00
Dries 9f18d6d2b4 - Patch #1722694 by sun: Fixed Kernel::init() overrides Drupal's error handling configuration. 2012-08-11 12:28:03 -04:00
Dries 4b2dfc3a76 - Patch #1719250 by catch: Fixed DatabaseBackend still calling garbageCollection() every request due to minimum cache lifetime. 2012-08-09 16:19:23 -04:00
Dries 9a0367face - Patch #1719488 by effulgentsia: Rename language_manager() to language() and related cleanup. 2012-08-09 16:17:01 -04:00
Dries 5a43052d93 - Patch #1671080 by sun, no_commit_credit, Gábor Hojtsy, Jose Reyero: remove StorageDispatcher to simplify configuration system. 2012-08-09 16:12:36 -04:00
Dries 4c2e6b41ec - Patch #1637370 by danielnolde, sun, djdevin, Berdir: Added UUID support to core entity types. 2012-08-07 14:33:39 -04:00
Dries 1f31a38fde Merge remote-tracking branch 'sandbox/bundles' into 8.x 2012-08-07 14:19:31 -04:00
webchick f77cdf16d3 Issue #1698108 by chx, effulgentsia, Rob Loach: Update Drupal's dependencies. 2012-08-07 10:05:42 -07:00
Katherine Bailey 790b2e4afc Pulling in the entire HttpKernel from symfony's FrameworkBundle instead of just part of it 2012-08-06 21:52:14 -07:00
effulgentsia bc1da650eb Remove DIC compilation until it can be dumped to disk 2012-08-06 21:52:14 -07:00
Katherine Bailey 842d1217d3 Various coding standards fixes, cleanup and documentation fixes 2012-08-06 21:52:13 -07:00
Katherine Bailey b979e8aa93 Passing the request object explicitly to the language negotiation methods instead of a vague args parameter 2012-08-06 21:52:13 -07:00
effulgentsia 93e3f5bff2 Issue #1711492: Improved override of Symfony's ContainerBuilder 2012-08-06 21:52:13 -07:00
Katherine Bailey 768925132d Adding/modifying some todos 2012-08-06 21:52:13 -07:00
Katherine Bailey aef0436ebf Making the language_manager instance variable protected instead of private in FinishResponseSubscriber 2012-08-06 21:52:13 -07:00