Commit Graph

150 Commits (c9378a5752388c252d73905760055620c85f1555)

Author SHA1 Message Date
Alex Pott 90d6fb15ed Issue #2389811 by znerol, mpdonadio, alexpott, hussainweb, neclimdul: Move all the logic out of index.php (again) 2015-06-03 18:06:46 +01:00
xjm 088f8b357a Issue #2491155 by mikeburrelljr, Mac_Weber, opdavies: Update drupal.org and kernel.org URLs in core modules (Follow-up to 2489912) 2015-05-24 15:08:46 -05:00
Nathaniel Catchpole a420c71cce Issue #567148: remove stray line added by previous commit to this issue. 2015-04-27 15:25:37 +01:00
Nathaniel Catchpole 669fe99146 Issue #567148 by jcnventura, Damien Tournoud, greenrover33: Use ONLY_FULL_GROUP_BY for MySQL 2015-04-27 12:59:48 +01:00
catch 95fe74d571 Issue #2406681 by tstoeckler, hussainweb, alexpott, ParisLiakos, almaudoh, tadityar: Add an autoload.php in the repo root to control the autoloader of front controllers 2015-03-11 08:31:22 +00:00
Alex Pott 98377d5725 Issue #2221699 by mpdonadio, mikey_p, alexpott, kim.pepper, arlinsandbulte: HTTP_HOST header cannot be trusted 2015-01-22 18:57:56 +00:00
Alex Pott a8cccfce62 Revert "Issue #2221699 by mpdonadio, mikey_p, kim.pepper, arlinsandbulte: HTTP_HOST header cannot be trusted"
This reverts commit 2c9eddf3ac.
2015-01-21 10:03:23 +00:00
Alex Pott 2c9eddf3ac Issue #2221699 by mpdonadio, mikey_p, kim.pepper, arlinsandbulte: HTTP_HOST header cannot be trusted 2015-01-21 09:46:25 +00:00
Alex Pott 62ee12bbff Issue #2304949 by mpdonadio, cilefen, znerol, klausi, gaurav.goyal, regilero: Port HTTP Host header DoS fix from SA-CORE-2014-003 2014-11-21 09:31:37 +00:00
Dries 5ef912e965 Issue #2303673 by dawehner, damiankloip, effulgentsia, Fabianx: Implement stackphp; cleanup handlePageCache() and preHandle() 2014-09-03 22:58:45 -04:00
Nathaniel Catchpole 5e58da00e6 Issue #2016629 by larowlan, neclimdul, sun, alexpott, jibran, ParisLiakos, donquixote, effulgentsia, msonnabaum: Refactor bootstrap to better utilize the kernel. 2014-06-26 11:47:01 +01:00
webchick 1251cc35a7 Issue #2284111 by alexpott, Berdir, damiankloip: Fixed Exceptions caught and printed from index.php should not return a 200 status code. 2014-06-18 00:07:06 -07:00
Alex Pott 6d2ce628bc Revert "Issue #2016629 by larowlan, neclimdul, sun, alexpott, jibran, ParisLiakos, donquixote, effulgentsia, msonnabaum: Refactor bootstrap to better utilize the kernel."
This reverts commit cda051c425.
2014-06-05 12:53:24 -05:00
Nathaniel Catchpole cda051c425 Issue #2016629 by larowlan, neclimdul, sun, alexpott, jibran, ParisLiakos, donquixote, effulgentsia, msonnabaum: Refactor bootstrap to better utilize the kernel. 2014-06-05 11:30:04 +01:00
Alex Pott 8a56782390 Issue #2208475 by sun, Xano, Jalandhar, andrei.dincu: Move Settings into Drupal\Core\Site\Settings. 2014-04-25 20:13:44 +01:00
webchick b9ef6be3c1 Issue #2219009 follow-up by pwolanin: Replace missed call to settings(). 2014-03-24 10:55:51 -07:00
Nathaniel Catchpole 52d3b49336 Issue #2097189 by damiankloip, sun, Albert Volkman, chx: Add a rebuild script. 2013-12-10 13:50:21 +00:00
webchick 8121d1203a Issue #2038135 by RobLoach, donquixote, Crell, ParisLiakos, catch: Use the Composer autoloader to make everything simpler. 2013-09-02 12:53:23 -07:00
Alex Pott 750b527318 Issue #1872522 by chx, effulgentsia, sun, aspilicious, desmondmorris, Berdir, jibran, YesCT: Fixed Compiled data in PHP storage is cleared too late in drupal_flush_all_caches(). 2013-05-19 12:32:09 -07:00
webchick 4cc0db2d26 Issue #1540136 by Rob Loach, Pete B: Simplify index.php by moving DRUPAL_ROOT to bootstrap.inc. 2013-03-16 23:36:36 -07:00
catch d2527ed4a7 Issue #1831998 by c4rl, effulgentsia: Reduce index.php for easier upgrading. 2013-01-02 12:14:56 +00:00
catch e96e573ce4 Revert "Revert the revert of Issue #1849004 by chx, xjm: One Service Container To Rule Them All. It was innocent after all."
This reverts commit a1638b87eb.
2012-11-29 20:55:21 +00:00
catch a1638b87eb Revert "Issue #1849004 by chx, xjm: One Service Container To Rule Them All."
This reverts commit 761ac67906.
2012-11-29 20:41:30 +00:00
catch 761ac67906 Issue #1849004 by chx, xjm: One Service Container To Rule Them All. 2012-11-29 20:26:37 +00:00
catch 553ed06a17 Issue #1784312 by chx, katbailey, msonnabaum, Fabianx: Stop doing so much pre-kernel bootstrapping. 2012-11-22 10:53:19 +00:00
catch 6f32687e54 Issue #1831350 by chx, sun: Break the circular dependency between bootstrap container and kernel. 2012-11-13 23:23:23 +00:00
catch afc4b89945 Issue #1706064 by chx, katbailey, effulgentsia, podarok et al: Compile the Injection Container to disk. 2012-10-22 10:14:49 +01:00
Katherine Bailey 768925132d Adding/modifying some todos 2012-08-06 21:52:13 -07:00
Katherine Bailey 73fee52af4 No need to boot the kernel explicitly as it can now get booted just when it's handling the request 2012-08-06 21:52:13 -07:00
Katherine Bailey faba05fccc Cleaning up _current_path() and request() related stuff 2012-08-06 21:52:11 -07:00
Niklas Fiekas 6b231d8f86 Database bootstrap level before booting kernel.
Switching to the test database connection only happens when
_drupal_bootstrap_database() runs before executing a first query.

To avoid complicating the boostrap with more fine grained level booting, just
boot the DrupalKernel after DRUPAL_BOOTSTRAP_CODE. Getting rid of those levels
is for a seperate issue.

Additionally mirror the changes in the testing files
core/modules/system/tests/http.php and https.php.
2012-08-06 21:52:09 -07:00
Katherine Bailey d7dd619021 Adding the config services to the container and removing the bootstrap_variables call from before the kernel boot, plus other minor adjustments 2012-08-06 21:52:08 -07:00
Katherine Bailey 47c9feb9e7 Issue #1599108: first pass at adding bundles
Conflicts:

	core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php
2012-08-06 21:52:08 -07:00
webchick c1817f9691 Issue #1595146 by Niklas Fiekas, cosmicdreams, Rob Loach, effulgentsia: Added Load the HttpKernel from the DI Container. 2012-07-05 09:08:42 -07:00
effulgentsia 35ef2c97ea refs #1536844 Clean up bootstrap shivs. 2012-05-23 23:52:03 -05:00
Larry Garfield a64f61b7e5 Minor code simplification. 2012-05-13 12:40:25 -05:00
Niklas Fiekas 171fdb4410 Detailed cleanup of documentation blocks for spacing, language, placement, etc. 2012-05-11 20:54:55 -05:00
effulgentsia 6275cc5949 #1536844: Moved language, path, theme, and module initialization from bootstrap to request listeners. 2012-05-09 01:21:37 -05:00
Larry Garfield 200cad7263 Allow the response object to clean itself up as designed. 2012-04-15 18:35:34 -05:00
Larry Garfield fd18c1697a Execute termination listeners, including the subscriber formerly known as drupal_page_footer() and now represented by this class. 2012-04-15 18:23:15 -05:00
Larry Garfield 151c391baa Add the request object to a collector function for the time being. This requires doing a partial bootstrap to get the class loader working, since BOOTSTRAP_FULL requires the request to already be in place. 2012-03-31 19:05:35 -05:00
Larry Garfield 0876971e2c Refactor DrupalKernel to extend HttpKernel. 2012-03-23 12:49:37 -05:00
Larry Garfield a4e0f0ec17 Rename DrupalApp back to DrupalKernel, since it implements HttpKernelInterface. 2012-03-05 21:27:20 -06:00
Larry Garfield 2d52eeeee2 Move DrupalApp back to being a kernel implementation, since, really, that's what it is. 2012-02-28 20:43:33 -06:00
Larry Garfield 2924b656d1 Remove old code. 2012-02-26 15:23:56 -06:00
Larry Garfield 2bc27d0fb0 Move namespace imports to the same place. 2012-02-23 23:01:18 -06:00
Larry Garfield fdbc8a2404 Convert DrupalKernel into simply a DrupalApp class, since all of the kernel-y stuff is happening in HttpKernel anyway. 2012-02-23 00:33:14 -06:00
Larry Garfield f9fe640f78 Move the new routing logic into a DrupalKernel object. 2012-02-22 22:53:15 -06:00
James Gilliland 86554c8ec6 More clear documentation and routing function name 2012-02-13 10:08:24 -05:00
James Gilliland e7e6eb55f2 WIP 2012-02-13 09:57:30 -05:00