Fabien Potencier
e3655f3a5c
changed priorities for kernel.request listeners
...
The Firewall is now executed after the Router. This was needed to have access
to the locale and other request attributes that are set by the Router. This
change implies that all Firewall specific URLs have proper (empty) routes like
`/login_check` and `/logout`.
2011-11-17 14:22:53 +01:00
Christophe Coevoet
d2195cc3d1
Fixed phpdoc and updated the changelog
2011-11-17 08:59:41 +01:00
Fabien Potencier
be193cceec
updated CHANGELOG for 2.1
2011-11-17 07:47:06 +01:00
Fabien Potencier
56f7626632
updated CHANGELOG for 2.1
2011-11-09 22:02:31 +01:00
Fabien Potencier
ad6ffea225
updated CHANGELOG for 2.1
2011-11-09 21:55:11 +01:00
Miquel Rodríguez Telep
0e7540b080
Fix typo in changelog
2011-11-08 18:00:05 +00:00
Fabien Potencier
679bf5320a
updated CHANGELOG for 2.1
2011-11-08 09:06:23 +01:00
Fabien Potencier
a594840c47
updated CHANGELOG for 2.1
2011-11-07 23:28:28 +01:00
Fabien Potencier
47b888a957
added the real template name when an error occurs in a Twig template
2011-11-07 20:48:18 +01:00
Fabien Potencier
6d324a6ba0
[Yaml] Yaml::parse() does not evaluate loaded files as PHP files by default anymore
...
This has been done to avoid security issues.
To get back the old behavior, call Yaml::enablePhpParsing() first.
2011-11-07 16:43:15 +01:00
Fabien Potencier
04a1deace0
updated CHANGELOG for 2.1
2011-11-01 15:30:43 +01:00
Fabien Potencier
448b0de9d9
updated CHANGELOG for 2.1
2011-11-01 15:25:47 +01:00
Fabien Potencier
95ec41b075
[Console] made the defaults in Application more easily customizable
2011-10-25 17:12:17 +02:00
Fabien Potencier
9077f6a971
[SwiftmailerBundle] replaced MessageLogger class with the one from Swiftmailer 4.1.3
2011-10-24 17:13:15 +02:00
Fabien Potencier
08b5d73c37
updated CHANGELOG for 2.1
2011-10-24 09:11:18 +02:00
Fabien Potencier
b876412d3b
updated CHANGELOG for 2.1
2011-10-23 12:00:47 +02:00
Fabien Potencier
2e1344eb7e
[Routing] added the possibility to define default values and requirements for placeholders in prefix
2011-10-23 11:57:55 +02:00
Fabien Potencier
347053c363
Moved most of the logic from ResponseListener to the Response::prepare() method
...
That allows projects that only use HttpFoundation and not HttpKernel to be able to
enforce the HTTP specification "rules".
$request = Request::createFromGlobals();
$response = new Response();
// do whatever you want with the Respons
// enforce HTTP spec
$response->prepare($request);
$response->send();
Within Symfony2, the prepare method is automatically called by the ResponseListener.
2011-10-18 09:04:20 +02:00
Fabien Potencier
79877ab3dd
updated CHANGELOG for 2.1
2011-10-15 03:39:16 +02:00
Fabien Potencier
278e187974
updated CHANGELOG for 2.1
2011-10-15 03:38:40 +02:00
Fabien Potencier
d407be068d
updated CHANGELOG for 2.1
2011-10-10 19:47:28 +02:00
Fabien Potencier
74bc699b27
moved management of the locale from the Session class to the Request class
...
The locale management does not require sessions anymore.
In the Symfony2 spirit, the locale should be part of your URLs. If this is the case
(via the special _locale request attribute), Symfony will store it in the request
(getLocale()).
This feature is now also configurable/replaceable at will as everything is now managed
by the new LocaleListener event listener.
How to upgrade:
The default locale configuration has been moved from session to the main configuration:
Before:
framework:
session:
default_locale: en
After:
framework:
default_locale: en
Whenever you want to get the current locale, call getLocale() on the request (was on the
session before).
2011-10-08 18:34:49 +02:00
Fabien Potencier
3d64d8e70f
fixed typo
2011-10-07 16:14:09 +02:00
Fabien Potencier
f6e4c2a428
updated CHANGELOG for 2.1
2011-10-07 14:12:01 +02:00
Fabien Potencier
1467bdb868
added RouterInterface::getRouteCollection()
2011-09-30 07:48:34 +02:00
Fabien Potencier
1c23ce992d
updated CHANGELOG for 2.1
2011-09-30 06:58:54 +02:00
Fabien Potencier
d6c4bfb001
added a Size validator
2011-09-29 15:56:37 +02:00
Fabien Potencier
b9ba117208
[Validator] added a SizeLength validator
2011-09-29 15:45:52 +02:00
Fabien Potencier
5306ca88fb
updated CHANGELOG for 2.1
2011-09-29 14:52:52 +02:00
Fabien Potencier
ac31286ab9
updated CHANGELOG for 2.1
2011-09-28 17:40:20 +02:00
Fabien Potencier
a57a4aff55
[DomCrawler] added a way to get parsing errors for Crawler::addHtmlContent() and Crawler::addXmlContent() via libxml functions
2011-09-28 10:00:18 +02:00
Fabien Potencier
382a421d5d
updated CHANGELOG for 2.1
2011-09-28 09:17:08 +02:00
Fabien Potencier
eaf8ea3225
updated CHANGELOG for 2.1
2011-09-28 08:18:50 +02:00
Fabien Potencier
9b37637184
[Form] added tests for previous merge
2011-09-27 10:12:54 +02:00
Fabien Potencier
e4c743f5c2
updated CHANGELOG for 2.1
2011-09-24 15:29:19 +02:00
Fabien Potencier
645bd8215e
[DomCrawler] added unit tests for previous merge
2011-09-23 08:10:01 +02:00
Fabien Potencier
f611b3ee18
updated CHANGELOG for 2.1
2011-09-22 09:44:58 +02:00
Fabien Potencier
8b511c0682
updated CHANGELOG for 2.1
2011-09-22 08:28:07 +02:00
Fabien Potencier
e503bc4e1b
updated CHANGELOG for 2.1
2011-09-22 08:04:24 +02:00
Fabien Potencier
1ec6c8ddde
updated CHANGELOG for 2.1
2011-09-19 18:03:40 +02:00
Fabien Potencier
bc8ed44945
updated CHANGELOG for 2.1
2011-09-16 18:49:11 +02:00
Fabien Potencier
5526072dba
[Translation] added support for more than one fallback locale
2011-09-15 08:19:52 +02:00
Fabien Potencier
c5e0c80a76
[HttpFoundation] made FileBinaryMimeTypeGuesser command configurable
2011-09-14 09:45:15 +02:00
Fabien Potencier
f9ecdfeb05
[FrameworkBundle] added sc parameters replacement in route requirements
2011-09-14 09:19:55 +02:00
Fabien Potencier
b5783dffe1
updated CHANGELOG for 2.1
2011-09-14 09:06:29 +02:00
Fabien Potencier
b016b04967
updated CHANGELOG for 2.1
2011-09-13 08:49:25 +02:00
Fabien Potencier
26a65d61b1
updated CHANGELOG for 2.1
2011-09-13 08:48:32 +02:00
Fabien Potencier
47b7860450
updated CHANGELOG for 2.1
2011-09-13 08:46:58 +02:00
Fabien Potencier
100c644a05
[FrameworkBundle] fixed typo
2011-09-06 08:59:53 +02:00
Fabien Potencier
769b71f02a
updated CHANGELOG for 2.1
2011-09-06 08:19:05 +02:00
Fabien Potencier
d84aecfea4
updated CHANGELOG for 2.1
2011-09-06 08:02:25 +02:00
Fabien Potencier
1d74073b6a
updated CHANGELOG for 2.1
2011-09-06 07:54:13 +02:00
Fabien Potencier
748cb842cc
updated CHANGELOG for 2.1
2011-09-06 07:47:18 +02:00
Fabien Potencier
dccd2d560f
[HttpFoundation] implemented RFC6266 (Content-Disposition header)
...
references:
* http://trac.tools.ietf.org/wg/httpbis/trac/wiki/ContentDispositionProducerAdvice
* https://github.com/mnot/sweet/blob/master/lib/index.js
* http://www.mnot.net/blog/2011/09/02/rfc6266_and_content-disposition
2011-09-04 09:35:13 +02:00
Fabien Potencier
bf1281aebd
updated CHANGELOG for 2.1
2011-09-02 09:25:13 +02:00
Fabien Potencier
5bbc67bb53
updated CHANGELOG for 2.1
2011-08-29 15:38:12 +02:00
Fabien Potencier
7b4bf37088
changed format of the 2.1 CHANGELOG for better rendering on Github
2011-08-29 15:31:57 +02:00
Fabien Potencier
4e70b1aed4
fixed tab problem
2011-08-29 15:04:45 +02:00
Fabien Potencier
230be6815c
updated CHANGELOG for 2.1
2011-08-29 14:45:37 +02:00
Fabien Potencier
07a56edc5e
updated CHANGELOG
2011-08-27 08:03:17 +02:00
Fabien Potencier
8d6c7d830e
udpated CHANGELOG
2011-08-26 17:50:21 +02:00
Fabien Potencier
fc793e668b
added a CHANGELOG for 2.1
2011-08-26 17:45:40 +02:00