Commit Graph

24991 Commits

Author SHA1 Message Date
Fabien Potencier
b6852c3b6e [Finder] added a data range filter 2010-05-14 09:29:04 +02:00
Fabien Potencier
c757616fb7 [Finder] fixed phpdoc 2010-05-14 09:18:42 +02:00
Fabien Potencier
569508adea [WebBundle] added options to the render method of the actions helper 2010-05-13 20:23:23 +02:00
Fabien Potencier
2c165693e7 changed the main parameter of the kernel handle() method to type with 3 different values 2010-05-13 17:17:33 +02:00
Fabien Potencier
bb77e9a3d6 [WebBundle] re-organized the sub-request management a bit (WIP) 2010-05-13 08:29:04 +02:00
Fabien Potencier
72947d8588 re-organized the sub-request management a bit (WIP) 2010-05-13 08:15:37 +02:00
Fabien Potencier
fd331bac18 changed the routing to accept a single _controller argument instead of _bundle, _controller, and _action (the _controller is the : separated representation of a controller - this is more coherent with other part of the framework) 2010-05-12 20:49:45 +02:00
Fabien Potencier
9005efaa17 added a comment in PHPDoc about what should be a helper instance 2010-05-12 20:48:23 +02:00
Fabien Potencier
10424155bf fixed some coding standards problems 2010-05-11 10:36:31 +02:00
Fabien Potencier
d8752c7fab [HttpKernel] moved getDate() from ParameterBag to HeaderBag 2010-05-10 19:40:18 +02:00
Fabien Potencier
653620406b [HttpKernel] added Request::getQueryString() 2010-05-10 13:20:03 +02:00
Fabien Potencier
287f787927 [HttpKernel] added Request::getUri() 2010-05-10 13:08:19 +02:00
Jordi Boggiano
33a7d9a0a4 fixed curlies folding, part three, handled remaining special cases manually 2010-05-09 09:15:38 +02:00
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