Commit Graph

1000 Commits

Author SHA1 Message Date
Fabien Potencier a432417ab9 [DependencyInjection] added a way to ignore errors when importing a non-existent file (useful when you want to include an optional service file) 2010-08-24 16:37:41 +02:00
Fabien Potencier b1e79963b1 [DependencyInjection] moved extension loading in the freezing process (opens more possibilities in the loading order of configs) 2010-08-24 16:25:08 +02:00
Fabien Potencier 3c42e0b6ce [FrameworkBundle] changed the default value of ignore_errors according to the current debug value 2010-08-24 14:35:23 +02:00
Fabien Potencier ec8500bd64 [FrameworkBundle] added support for previous exceptions in the exception pages 2010-08-24 14:01:57 +02:00
ornicar 789a02d56d renamed SessionHelper::getAttribute to SessionHelper::get, and made it call Session::get 2010-08-24 10:17:33 +02:00
Fabien Potencier 9c07e46d91 [FrameworkBundle] added ControllerInterface
A Controller must now implements ControllerInterface.

The BaseController can be used as the base class for Controllers.
The Controller class adds some proxy methods and an array access to the Container.
2010-08-24 08:47:41 +02:00
Fabien Potencier fe78d5f0f0 added a way to disable the profiler 2010-08-22 22:35:44 +02:00
Fabien Potencier 1687831cb7 [TwigBundle] made a small optimization 2010-08-22 15:36:09 +02:00
Fabien Potencier 0319838cdc [TwigBundle] added a flash tag 2010-08-22 15:32:15 +02:00
Fabien Potencier 1277568997 [HttpFoundation] fixed Session 2010-08-22 15:31:51 +02:00
Fabien Potencier 74de6e79ea [Framework] removed obsolete parameter 2010-08-21 16:45:20 +02:00
Fabien Potencier 7ffac6efc8 updated bootstrap 2010-08-20 23:28:50 +02:00
Fabien Potencier 2746bcc84c [HttpFoundation] added automatic session start() when changing something in the session, renamed accessor methods, added remove()/has() methods 2010-08-20 23:21:39 +02:00
Fabien Potencier bf82cf42dd renamed Symfony\Components to Symfony\Component 2010-08-20 23:09:55 +02:00
Fabien Potencier a40a7b8f36 [Routing] fixed PhpFileLoader 2010-08-20 22:56:38 +02:00
Fabien Potencier a506f2ade8 [FrameworkBundle] modified the default layout for the error page to something more neutral 2010-08-20 18:47:08 +02:00
Fabien Potencier 2c1fb7b3ec [Framework] fix ClassCollectionLoader not taking interfaces into account 2010-08-20 13:12:06 +02:00
Fabien Potencier f92accb9b7 [FrameworkBundle] fixed exception templates 2010-08-20 13:11:49 +02:00
Fabien Potencier d5a61e3bc5 added a way to provide asset base URLs in configuration 2010-08-19 16:17:20 +02:00
Fabien Potencier 7514177b51 [Templating] changed helpers from Engine properties to Engine array items
For instance, instead of $view->slots->output(...), you must now write $view['slots']->output(...)

This has been changed for two main reasons:

* To be consistent with the way we access services from the container ($container['mailer'])
* To allow better organization of helpers (names can now safely contain dots for instance -- $view['project.slots']->output(...),
  whereas before, you would have written $view->get('projects.slot') or $view->{'projects.slot'})
2010-08-19 15:52:47 +02:00
Fabien Potencier 9881a401f2 [FrameworkBundle] moved internal_routing.xml 2010-08-19 12:47:22 +02:00
Fabien Potencier 54c36030e8 [Framework] added Kernel::getBundleForClass() 2010-08-19 12:47:21 +02:00
Fabien Potencier 66a81b362c [FrameworkBundle] made a small refactoring 2010-08-19 12:47:21 +02:00
Fabien Potencier 443c7180dc [FrameworkBundle] fixed YAML skeleton 2010-08-19 12:47:21 +02:00
Fabien Potencier e03642dfa6 made ClassCollectionLoader smarter 2010-08-19 12:47:17 +02:00
Fabien Potencier 68af528813 [FrameworkBundle] fixed typo 2010-08-18 13:57:15 +02:00
Fabien Potencier 42cad4e57e [FrameworkBundle] made logger optional in ExceptionManager 2010-08-18 13:43:10 +02:00
Fabien Potencier 47a26a0a42 [HttpKernel] fixed typo 2010-08-18 13:42:37 +02:00
Fabien Potencier cbdde58ddd [FrameworkBundle] added error logging with error_log() when logger is disabled 2010-08-18 13:42:01 +02:00
Fabien Potencier d5069fc594 [FrameworkBundle] refactored Exception management 2010-08-17 20:09:38 +02:00
Fabien Potencier 955fd40dd8 moved Logger interfaces to a HttpKernel Log sub-namespace 2010-08-17 19:43:29 +02:00
Fabien Potencier 5ea4b348c0 [ZendBundle] added DebugLoggerInterface 2010-08-17 19:34:48 +02:00
Fabien Potencier 3f2aa37f12 [HttpFoundation] added Request::setRequestFormat() 2010-08-17 19:17:33 +02:00
Fabien Potencier f48aeb1021 [FrameworkBundle] added the possibility to render a template for a different format than the one from the current Request 2010-08-17 19:16:36 +02:00
ornicar 51680a2d95 [Routing] made Router->generate optional, default to empty array 2010-08-17 18:01:45 +02:00
Fabien Potencier 42dd155ad8 [FrameworkBundle] fixed CS 2010-08-15 08:08:04 +02:00
ornicar 4ed65d026e fixed Controller::redirect must return the response 2010-08-14 23:00:37 +02:00
Fabien Potencier 42c2affbb1 [FrameworkBundle] removed Container dependency for RequestListener 2010-08-14 22:44:00 +02:00
Fabien Potencier 509bfb8940 [FrameworkBundle] removed Container dependency for ExceptionFormatter 2010-08-14 22:39:58 +02:00
Fabien Potencier 917da00763 [FrameworkBundle] changed error_log() calls to logger calls 2010-08-14 22:37:33 +02:00
Fabien Potencier 0da7295a9c [FrameworkBundle] clean up Request before forwarding 2010-08-14 22:24:55 +02:00
ornicar c9ff42955b fixed usage of getRequest() in ControllerResolver 2010-08-14 22:21:36 +02:00
Fabien Potencier e510778e18 [FrameworkBundle] removed old file 2010-08-14 22:19:33 +02:00
Fabien Potencier 714fa6f652 [FrameworkBundle] fixed built-in controllers 2010-08-14 22:19:15 +02:00
Fabien Potencier 96e9a682b3 removed old code 2010-08-14 20:59:36 +02:00
Fabien Potencier 880f37c4ee changed Controller to implements ArrayAccess, removed getRequest() method 2010-08-14 20:57:14 +02:00
Fabien Potencier 38edd2aafa added ControllerResolver::forward() (will probably move it elsewhere later on) 2010-08-14 20:56:49 +02:00
Fabien Potencier 75ea0b8395 added Engine::renderResponse() 2010-08-14 20:55:27 +02:00
Fabien Potencier f61bb19548 added Response::setRedirect() 2010-08-14 20:55:27 +02:00
Fabien Potencier ef0347c1b9 simplified HttpKernel types of request 2010-08-14 20:55:27 +02:00