Commit Graph

123 Commits (e31cf8274dfb81a0da877d9cc8a940ecc9fc0263)

Author SHA1 Message Date
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
Nathan Haug f434037c0e Issue #22336 by quicksketch, scor, boombatower, and rfay. Move all core Drupal files under a core subdirectory. 2011-11-01 12:48:40 +09:00
The Great Git Migration 79bcdb8b7d Stripping CVS keywords 2011-02-25 02:06:03 +00:00
Dries Buytaert f42bca3bd4 - Patch #599804 by effulgentsia, catch: unify page, AJAX 'path', and AJAX 'callback' callbacks. Oh my, this is the beginning of something big. 2009-10-15 14:07:30 +00:00
Angie Byron d802c69a43 #363013 by mannkind: Use getwd() rather than realpath(__FILE__) to determine drupal root, so we don't break symlinks. 2009-02-08 20:27:51 +00:00
Dries Buytaert 2e8ca690ff - Patch #351235 by dmitrig01, webchick, frando, moshe weitzman, et al: hook_page_alter. Oh, behave. 2009-01-27 00:22:27 +00:00
Angie Byron a3bb66e4e8 #259623 by dopry and Damien Tournoud: Convert includes/requires to use absolute paths. 2008-09-20 20:22:25 +00:00
Dries Buytaert 69e6f411a9 - Patch #225450 by Crell, chx, bjaspan, catch, swentel, recidive et al: next generation database layer for Drupal 7. 2008-08-21 19:36:39 +00:00
Dries Buytaert 362cade1f2 - Patch #174226 by keith.smith, pwolanin et al al -- and greatly simplified by me: added a copyright notice. 2007-12-26 08:46:48 +00:00
Dries Buytaert 5bbbf10ba8 - Patch #130987 by merlinofchaos: added theme registry for easier themability. 2007-04-06 13:27:23 +00:00
Dries Buytaert a1e6728a46 - Patch #113603 by chx: first crack at re-implementing tabs. 2007-02-11 09:30:51 +00:00
Steven Wittens 9798d412bf #101486: Fix switch statement in index.php not to trigger on string numbers 2006-12-12 09:32:18 +00:00
Dries Buytaert 9b47a147f3 - Patch #44993 by markus, jaza, dopry et al: blank page when menu callbacks generate empty pages. 2006-01-27 18:51:51 +00:00
Dries Buytaert 709b9005f5 - Modified version of patch #32622 by kbahey: added 'site offline/maintenance' feature.
(Untested because the admin/settings page doesn't work yet.)
2005-10-08 12:38:20 +00:00
Dries Buytaert 21c2885b0e - Patch #29385 by chx: removed remaining "?>"s at the end of some files. 2005-08-28 18:26:20 +00:00
Dries Buytaert ba1660168f - Patch #27003 by Neil: use named constants instead of strings 2005-07-23 05:57:27 +00:00
Dries Buytaert 5c8843704c - Patch #18213 by chx: boostrap system. Modified to work with HEAD, tidied
up the documentation a little.

  chx: can you double-check whether the global $conf variable is secure?
       (That is, make sure it can't be send using the URL or something.)
2005-06-22 20:19:58 +00:00
Dries Buytaert a7bced320e - Patch #18663 by chx: fix empty form elements. 2005-05-21 18:33:59 +00:00
Dries Buytaert a76a1e1f3f - Patch 20910 by chx: centralize print theme page. 2005-04-24 16:34:36 +00:00
Dries Buytaert 94e30bf776 - Patch by JonBob: for consistency and readability, add brief descriptions of each source file inside the @file comment block at the head of the file. This helps with Doxygen indexing, and also allows neophytes to see what a file does immediately on opening the source, regardless of the organization of the hooks. 2004-08-21 06:42:38 +00:00
Dries Buytaert 0f088b79ca - Patch #9983 by Stefan: various code style improvements. 2004-08-12 18:00:11 +00:00
Dries Buytaert 54b77d6435 Tabs patch!
CHANGES
-------

 + Introduced tabs. First, we extended the menu system to support tabs. Next, a tab was added for every link that was (1) an administrative action other than the implicit 'view' (2) relevant to that particular page only. This is illustrated by the fact that all tabs are verbs and that clicking a page's tab leads you to a subpage of that page.

 + Flattened the administration menu. The tabs helped simplify the navigation menu as I could separate 'actions' from 'navigation'. In addition, I removed the 'administer > configuration'-menu, renamed 'blocks' to 'sidebars' which I hope is a bit more descriptive, and made a couple more changes. Earlier, we already renamed 'taxonomy' to 'categorization' and we move 'statistics' under 'logs'.

 + Grouped settings. All settings have been grouped under 'administer > settings'.

TODO
----

 + Update core themes: only Xtemplate default supports tabs and even those look ugly.  Need help.

 + Update contributed modules.  The menu() hook changed drastically.  Updating your code adhere the new menu() function should be 90% of the work.  Moreover, ensure that your modue's admin links are still valid and that URLs to node get updated to the new scheme ('node/view/x' -> 'node/x').
2004-06-18 15:04:37 +00:00
Dries Buytaert 7231c88a32 - Added support for 403 handling. Patch by JonBob. As a side benefit,
administrators will be able to define a custom 403 page, just as they
  can define 404 pages now.

  This needs to be documented in the "Changes since / migrating to ..."
  pages.
2004-04-21 13:56:38 +00:00
Dries Buytaert 10bdb51c37 - Patch by JonBob/Jonathan: reworked the menu system so that menus are
configurable!  Menu items can be disabled, repositioned, added and
  so on.

  Upgrading to requires you to run update.php.

  This functionality depricates some of the 'navigation modules' in the
  contributions repository.  Furthermore, modules can now 'suggest'
  menu items and site adminstrators can choose to enable them.  Modules
  in the contributions repository should try to take advantage of this.
2004-04-15 20:49:42 +00:00
Dries Buytaert 670a292277 - Reworked 404 (page not found) handling. Patch by walkah. You can specify a
custom 404 page in the administration page.  As a result, error.php could be
  removed.
2003-12-16 21:06:34 +00:00
Dries Buytaert c0494c0a2b - Committed phase 4 of JonBob's menu system changes. 2003-11-25 19:26:21 +00:00
Dries Buytaert 4bdac4333b - Patch by JonBob:
Phase 2 of the menu system integration project. This unifies the interface
  used by admin and non-admin pages, and deprecates the _page hook in favor of
  explicit callbacks from menu(). Breadcrumbs, titles, and help text go away
  as a result of this patch; they will return in the phase 3 patch, printed
  by the theme.
2003-11-20 21:51:23 +00:00
Dries Buytaert c7c2bf3dcf - Removed duplicate call to drupal_page_header(). Patch by Moshe. 2003-11-20 19:55:04 +00:00