Commit Graph

528 Commits

Author SHA1 Message Date
Jordi Boggiano 9ed3d0468e folded all curly brackets of control structures to conform to PEAR/ZF CS, part two 2010-05-09 09:15:22 +02:00
Fabien Potencier 16055d229b moved the requirement of the bootstrap.php later in the process 2010-05-07 19:35:08 +02:00
Fabien Potencier 75f0d47b54 [HttpKernel] added support for query strings in Request::create() method 2010-05-07 18:31:45 +02:00
Jordi Boggiano 2684de0d8e Folded all curly brackets of control structures to conform to PEAR/ZF CS 2010-05-07 18:24:05 +02:00
Fabien Potencier e79976817d fixed typo in previous commit 2010-05-06 14:32:54 +02:00
Fabien Potencier 9c2c992870 added a raw argument to the HttpKernel::handle() method 2010-05-06 14:26:48 +02:00
Fabien Potencier 83c6d337e2 changed coding standards: indendation is now 4 spaces 2010-05-06 13:25:53 +02:00
Fabien Potencier 6328d514a3 renamed RequestHandler component to HttpKernel 2010-05-06 12:04:50 +02:00
Fabien Potencier d41e33782a [WebBundle] added more tests to Mustache 2010-05-06 08:58:39 +02:00
ornicar 3bce03a7e1 [WebBundle] fixed Finder namespace in Filesystem 2010-05-06 08:46:47 +02:00
Fabien Potencier 04da781529 [RequestHandler] changed server object in Request to be a simple ParameterBag 2010-05-05 10:24:34 +02:00
tirnanog06 5d77229aca [WebBundle] second argument in array_merge must be an array 2010-05-04 21:54:13 +02:00
Fabien Potencier 02858c4c3d [Finder] simplified LimitDepthFilterIterator 2010-05-04 13:05:18 +02:00
Fabien Potencier aaeb48f744 [Finder] made the in() method fluent as others as Finder now implements the IteratorAggregate interface 2010-05-04 11:34:29 +02:00
Fabien Potencier 376ca78346 [Finder] replaced ChainIterator with PHP built-in AppendIterator 2010-05-04 11:07:25 +02:00
Fabien Potencier 4be3a508f1 [RequestHandler] fixed HeaderBag usage 2010-05-03 18:10:24 +02:00
Fabien Potencier bdbb02d7b9 [Foundation] added a way to call RequestHandler::handleRaw() from the Kernel 2010-05-03 16:13:29 +02:00
Fabien Potencier 5d26bb89a0 [WebBundle] added a query parameter to the controller loader for more flexibility 2010-05-03 15:37:23 +02:00
Fabien Potencier 284113e9b2 [RequestHandler] fixed typo 2010-05-03 12:19:08 +02:00
Fabien Potencier 606e44e491 [RequestHandler] added a bunch of HTTP cache related methods to the Response class 2010-05-03 11:47:01 +02:00
Fabien Potencier c34da5d6c4 renamed RequestBag to ParameterBag, added HeaderBag, changed the Response to use the new HeaderBag, added a class to manage the Cache-Control header 2010-05-03 11:40:23 +02:00
Fabien Potencier b3a6c6f346 [RequestHandler] removed fluent interface for Response, fixed some PHPDoc 2010-05-03 11:23:53 +02:00
Fabien Potencier ca26672ede [RequestHandler] converted response status texts keys to integer 2010-05-03 11:22:33 +02:00
Fabien Potencier 8fe25d343b [WebBundle] made the request instance explicit in the controller base class (useful if you inject the request for testing purpose) 2010-05-03 11:17:02 +02:00
Fabien Potencier a9d8f39382 [Foundation] moved some Kernel initializations in the boot() method to speed up creation of Kernel instances 2010-05-03 09:54:17 +02:00
Fabien Potencier 0858289397 [WebBundle] added a routing file for the 'default' route 2010-05-03 09:14:35 +02:00
Fabien Potencier afa1cea103 [DotrineBundle] dixed case on MySQL driver 2010-05-02 18:05:49 +02:00
Fabien Potencier a06d4a80dd [RequestHandler] fixed incorrect splitting of Accept-* headers 2010-04-28 08:34:57 +02:00
pborreli d9e4801a56 fixed framework name in tests 2010-04-26 14:09:21 +02:00
pborreli cdc9c94628 fixed phpdoc 2010-04-26 14:08:30 +02:00
pborreli 7065957a30 replaced assertType by the new assertInstanceOf in unit tests 2010-04-26 14:07:38 +02:00
Fabien Potencier 9eb3607edf [WebBundle] made a small optimization 2010-04-25 22:18:17 +02:00
Fabien Potencier 018c8d548c fixed link generation when doing sub-requests 2010-04-25 16:17:54 +02:00
Fabien Potencier e983029ddc Revert "fixed link generation when doing sub-requests"
This reverts commit f8ba68332f.
2010-04-25 16:16:05 +02:00
Fabien Potencier f8ba68332f fixed link generation when doing sub-requests 2010-04-25 16:15:20 +02:00
Fabien Potencier ee799f6f6f [RequestHandler] changed Request to use the headers bag when appropriate 2010-04-25 13:34:34 +02:00
Fabien Potencier 038f7d7bb4 [RequestHandler] added getPort() and setMethod() to Request 2010-04-25 13:34:02 +02:00
Fabien Potencier 1bce64678f [RequestHandler] fixed cloning of Request instances 2010-04-25 13:32:45 +02:00
Fabien Potencier 3074f12727 [RequestHandler] added a way to delete a parameter from a RequestBag instance 2010-04-25 13:20:55 +02:00
Fabien Potencier 711b3d371a fixed request management
* The "main" request is stored in the RequestHandler
 * The request is passed to the core.response event
2010-04-25 13:18:42 +02:00
Fabien Potencier ed36859094 [WebBundle] remove unneeded code 2010-04-25 13:18:07 +02:00
Fabien Potencier 9052418f6e [WebBundle] added a trace of uncaught exception with error_log() in prod environment 2010-04-25 13:15:26 +02:00
Fabien Potencier 52acc423d0 [RequestHandler] added the RequestHandlerInterface 2010-04-24 15:48:49 +02:00
Fabien Potencier 0255508c15 [WebBundle] fixed typos 2010-04-24 10:50:07 +02:00
Fabien Potencier d498de88f0 [RequestHandler] removed RequestInterface and ResponseInterface, added RequestHandlerInterface (removed the run() method) 2010-04-24 09:39:13 +02:00
Fabien Potencier 9cf78e637b [WebBundle] added a Response parameter to the send() method 2010-04-24 09:38:10 +02:00
Pascal Borreli b5089133d2 fixed typos and phpdoc 2010-04-24 09:25:44 +02:00
Jonathan H. Wage bc6bc391a1 Initial entry of new commands for migrations integration 2010-04-23 19:13:47 +02:00
Jonathan H. Wage ae82308eff Changing --em option description consistant across all commands 2010-04-23 19:13:31 +02:00
Jonathan H. Wage 2c41e93248 More work to DoctrineBundle Console Commands and updated README 2010-04-23 19:13:19 +02:00