Fabien Potencier
5526757e13
Merge remote branch 'asm89/default_charset'
...
* asm89/default_charset:
[HttpKernel] Added tests for non UTF-8 content types.
2011-06-13 11:24:02 +02:00
Pascal Borreli
f5eaa404c7
[Tests] Fixed typos
2011-06-12 20:52:53 +00:00
Alexander
07d823caa8
[HttpKernel] Added tests for non UTF-8 content types.
...
Tests to check that #1281 is fixed and to prevent regression in the
future.
2011-06-11 13:57:43 +02:00
Fabien Potencier
17cd08dc6c
fixed CS
2011-06-08 19:56:59 +02:00
Fabien Potencier
7780c4deda
[HttpKernel] removed Response content when Request method is HEAD as per RFC2616
2011-06-04 11:56:12 +02:00
Fabien Potencier
839c332438
moved all listener classes under a common EventListener sub-namespace
2011-05-31 10:43:20 +02:00
Fabien Potencier
02605f3481
merged origin/master
2011-05-31 08:34:05 +02:00
Fabien Potencier
d1ca577e3f
removed Logger::getDebugLogger() as the method is not part of any interface
2011-05-31 08:02:14 +02:00
Fabien Potencier
988355993a
refactored Profiler class
2011-05-30 22:25:25 +02:00
Fabien Potencier
90ca8e0404
fixed more unit tests
2011-05-30 09:19:01 +02:00
Fabien Potencier
c171142c01
renamed constants to upper cased
2011-05-30 09:04:37 +02:00
Jordi Boggiano
af0bd8a136
Update Core and Security events to latest model
...
The main benefit is that in XML/YML files we have common syntax (i.e. core.controller, form.pre_bind) that properly namespaces event names (before: onCoreController was ok, preBind was not).
On the other hand in PHP land we also have namespaced events, CoreEvents::controller, FormEvents::preBind, before it was Events::onCoreController, Events::onPreBind, we now have more context.
2011-05-26 11:55:07 +02:00
Fabien Potencier
3f69333acb
[HttpKernel] refactored the ErrorHandler class
2011-05-05 08:53:16 +02:00
Fabien Potencier
28fec7e4d8
[HttpKernel] fixed previous commit
2011-05-03 14:57:02 +02:00
Jordi Boggiano
b3ef74d309
[HttpKernel] Fix console output for reals
2011-05-03 09:25:56 +02:00
Fabien Potencier
0139a800f9
[HttpKernel] prevented output on the console when running the test
2011-05-03 09:00:56 +02:00
Jordi Boggiano
d05c59227d
[HttpKernel] Prevent errors leaking out in the console on windows
2011-05-02 18:28:05 +02:00
Fabien Potencier
40d256e058
Merge remote branch 'kriswallsmith/kernel/bundle-extension'
...
* kriswallsmith/kernel/bundle-extension:
[HttpKernel] added check of default extension alias convention
[AsseticBundle] coding standard and comment tweaks
[HttpKernel] added BundleInterface::getContainerExtension() which is implicitly loaded
2011-04-28 08:48:57 +02:00
Eriksen Costa
4db0752894
replaced 'bool' with 'Boolean'
2011-04-27 02:35:03 -03:00
Kris Wallsmith
e726cdd917
changed some skipped tests to incomplete
2011-04-26 07:22:22 -07:00
Kris Wallsmith
7a7b448680
[HttpKernel] added BundleInterface::getContainerExtension() which is implicitly loaded
2011-04-25 21:12:35 -07:00
Lukas Kahwe Smith
fd97c0caca
renamed getPreviouses() to getAllPrevious
2011-04-24 01:08:15 +02:00
Fabien Potencier
417839345f
Merge remote branch 'lsmith77/request_format_tweaks'
...
* lsmith77/request_format_tweaks:
added text/html to default format mapping
return "q" from splitHttpAcceptHeader() to enable more complex accept header negotiations
added support for setting a custom default format in Request::getRequestFormat()
2011-04-22 15:33:01 +02:00
Fabien Potencier
e09a0f9f80
Merge remote branch 'brikou/coding_standards'
...
* brikou/coding_standards:
removed empty lines/trailing spaces
2011-04-19 14:06:30 +02:00
Lukas Kahwe Smith
c2ac8304b0
added text/html to default format mapping
2011-04-17 14:39:07 +02:00
Fabien Potencier
c6818d8bf7
[HttpKernel] added support for controllers as arrays and object with an __invoke method
...
Controllers can now be any valid PHP callable
2011-04-16 16:26:15 +02:00
Brikou CARRE
e898445b94
removed empty lines/trailing spaces
2011-04-15 21:12:02 +02:00
Fabien Potencier
6957dae4f9
[HttpKernel] added support for cookies in Client
2011-04-13 20:25:35 +02:00
George Giannoulopoulos
81e1d4f11d
Refactoring, replace is_null() wuth null ===
2011-04-13 13:56:15 +02:00
Victor Berchet
ceb2c976de
[HttpKernel] Fix the case where no resource is found
2011-04-08 08:52:03 +02:00
Pascal Borreli
3dfbc08d73
[HttpKernel][Windows] Removed useless DIRECTORY_SEPARATOR conversion
2011-04-06 17:30:32 +00:00
Victor Berchet
7707c0f251
[Kernel] Fix bundle inheritance
2011-04-06 07:46:08 +02:00
Victor Berchet
5317c96fef
Update for Bundle names long again (= include the 'Bundle' suffix)
2011-04-04 11:39:41 +02:00
Victor Berchet
7ed18bf829
[Kernel] Make locateResource() throws an exception when a resource from a Bundle hides a custom resource
2011-04-04 11:24:51 +02:00
Victor Berchet
3cd3dd39ba
[Kernel] Make resources overriding consistent across bundle directories and resource directories
2011-04-04 11:24:51 +02:00
Victor Berchet
d0b6ed2bb6
[Kernel] Improve test semantic
2011-04-04 11:24:51 +02:00
Victor Berchet
3e64106aae
[Kernel] Update tests with shorter bundle names
2011-04-04 11:24:51 +02:00
Victor Berchet
dcd727c092
[Kernel] Restore the tests for the locateResource method
2011-04-04 11:24:51 +02:00
Fabien Potencier
f232b3cdda
reverted Merge remote branch 'kriswallsmith/kernel/shorter-bundle-names'
2011-04-04 11:10:56 +02:00
Fabien Potencier
6a5356290a
Revert "[HttpKernel] updated tests for shorter bundle names"
...
This reverts commit fb7e87da7d
.
2011-04-04 11:08:37 +02:00
Fabien Potencier
1a486492b8
[HttpKernel] fixed test
2011-04-01 18:07:22 +02:00
Kris Wallsmith
fb7e87da7d
[HttpKernel] updated tests for shorter bundle names
2011-03-28 11:37:19 -07:00
Kris Wallsmith
ade83e2e80
updated codebase to use shorter bundle names
...
Controllers:
"BlogBundle:Post:show" is now "Blog:Post:show"
Templates:
"BlogBundle:Post:show.html.twig" is now "Blog:Post:show.html.twig"
Resources:
"@BlogBundle/Resources/config/blog.xml" is now "@Blog/Resources/config/blog.xml"
Doctrine:
"$em->find('BlogBundle:Post', $id)" is now "$em->find('Blog:Post', $id)"
2011-03-27 06:25:43 -07:00
Kris Wallsmith
dd9ad97a0c
[HttpKernel] updated Bundle::getName() to validate bundle class name and rtrim "Bundle"
2011-03-27 05:31:57 -07:00
Fabien Potencier
4594cd223b
[HttpKernel] fixed a test that randomly fails
2011-03-26 12:07:57 +01:00
Fabien Potencier
6c8e71c8e7
renamed filterCore* to onCore*
...
The onCore* events are fired at some pre-defined points during the
handling of a request. At this is more important than the fact
that you can change things from the event.
2011-03-17 17:01:59 +01:00
Fabien Potencier
1219b98ec5
renamed some methods in the event dispatcher
2011-03-17 15:27:42 +01:00
Bernhard Schussek
5f14d8d6aa
Merge remote branch 'symfony/master' into event-manager
...
Conflicts:
src/Symfony/Bundle/AsseticBundle/CacheWarmer/AssetWriterCacheWarmer.php
src/Symfony/Bundle/AsseticBundle/Tests/CacheWarmer/AssetWriterCacheWarmerTest.php
src/Symfony/Bundle/FrameworkBundle/Profiler/ProfilerListener.php
src/Symfony/Bundle/FrameworkBundle/Resources/config/profiling.xml
src/Symfony/Component/HttpKernel/HttpKernel.php
src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php
src/Symfony/Component/Security/Http/Firewall/AbstractPreAuthenticatedListener.php
2011-03-17 12:34:12 +01:00
Fabien Potencier
7edb1a5f13
fixed previous commit
2011-03-16 21:39:30 +01:00
Fabien Potencier
8cc37eaa23
[HttpKernel] fixed CS
2011-03-16 15:16:21 +01:00