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
Jan Schumann
d1ebc8da9f
- Added abstract PDO profiler storage, updated sqlite storage and added a mysql storage.
...
- Updated profiler config in framework bundle
2011-03-15 14:08:43 +01:00
Fabien Potencier
e5fad94482
[HttpKernel] fixed a unit test
2011-03-15 13:43:45 +01:00
Bernhard Schussek
06c682b4fb
Switched from Doctrine's EventManager implementation to the EventManager clone in Symfony2 (now called EventDispatcher again)
2011-03-13 19:49:10 +01:00
Bernhard Schussek
25931caeab
Merge remote branch 'symfony/master' into event-manager
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventManager.php
src/Symfony/Bundle/WebProfilerBundle/WebDebugToolbarListener.php
src/Symfony/Component/Security/Http/Firewall.php
src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php
src/Symfony/Component/Security/Http/Firewall/AbstractPreAuthenticatedListener.php
src/Symfony/Component/Security/Http/Firewall/AccessListener.php
src/Symfony/Component/Security/Http/Firewall/AnonymousAuthenticationListener.php
src/Symfony/Component/Security/Http/Firewall/BasicAuthenticationListener.php
src/Symfony/Component/Security/Http/Firewall/ChannelListener.php
src/Symfony/Component/Security/Http/Firewall/ContextListener.php
src/Symfony/Component/Security/Http/Firewall/DigestAuthenticationListener.php
src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php
src/Symfony/Component/Security/Http/Firewall/ListenerInterface.php
src/Symfony/Component/Security/Http/Firewall/LogoutListener.php
src/Symfony/Component/Security/Http/Firewall/RememberMeListener.php
src/Symfony/Component/Security/Http/Firewall/SwitchUserListener.php
tests/Symfony/Tests/Component/Security/Http/Firewall/RememberMeListenerTest.php
2011-03-13 19:15:25 +01:00
Fabien Potencier
0a1c3c7285
Merge remote branch 'digitalkaoz/httpkernel-bundle'
...
* digitalkaoz/httpkernel-bundle:
[HttpKernel] added tests for Bundle
2011-03-09 21:48:37 +01:00
Bulat Shakirzyanov
e95bb73335
[HttpKernel] added test for uri change
2011-03-09 13:48:41 -05:00
Bernhard Schussek
2cf3779a2c
Renamed EventArgs classes and adapted remaining code to EventManager
...
The only missing part is ContainerAwareEventManager::addEventSubscriberService(),
because I'm not sure how to find out the class name of a service in the DIC.
Also, inline documentation of this code needs to be finished once it is accepted.
2011-03-07 19:16:05 +01:00
Robert Schönthal
8caa5dfdb9
[HttpKernel] added tests for Bundle
2011-03-06 15:15:36 +01:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Fabien Potencier
c02ebbf2d8
Merge remote branch 'digitalkaoz/httpkernel-datacollector'
...
* digitalkaoz/httpkernel-datacollector:
[HttpKernel] added Tests for DataCollectors
[HttpFoundation] more sophisticated checks for valid expiration
2011-03-06 10:38:55 +01:00
Fabien Potencier
89f309a1a3
Merge remote branch 'digitalkaoz/httpkernel-exception'
...
* digitalkaoz/httpkernel-exception:
[HttpKernel] added Tests for FlattenException
2011-03-06 10:37:35 +01:00
Fabien Potencier
54e19b5376
Merge remote branch 'digitalkaoz/httpkernel-debug'
...
* digitalkaoz/httpkernel-debug:
[HttpKernel] added tests for debug stuff
[HttpKernel] reset handling if subject::handle throws an exception, otherwise it wouldnt be able to handle furthermore
2011-03-06 10:37:14 +01:00
Robert Schönthal
44b0bbc0d1
[HttpKernel] added Tests for DataCollectors
2011-03-06 00:15:01 +01:00
Robert Schönthal
935315bd79
[HttpKernel] added Tests for FlattenException
2011-03-05 21:21:19 +01:00
Robert Schönthal
3e7ccae2ba
[HttpKernel] added tests for debug stuff
2011-03-05 20:23:35 +01:00
Kris Wallsmith
33d47be32e
[HttpKernel] added an subclass merge extension configuration compiler pass to ensure each bundle's "main" extension is loaded
2011-03-03 13:54:32 +01:00
Pascal Borreli
3a47fa6eed
[Tests] Fixed Typo
2011-03-01 18:58:08 +01:00
Kris Wallsmith
fb005396dc
[HttpKernel] fixed another test where an explicit cache-control header is necessary
2011-02-21 21:53:04 -08:00
Kris Wallsmith
3e131f5b70
[HttpKernel] fixed invalid test
...
According to ResponseHeaderBag::computeCacheControlValue(), a response with an ETag but no explicit Cache-Control header should have a sensible Cache-Control of "private, must-revalidate" set. According to Response::isCacheable(), a response that includes a private Cache-Controls is not considered cacheable. Therefore, in order for this test response to be cacheable and stored, it requires an explicit Cache-Control of public.
2011-02-21 20:09:50 -08:00
Fabien Potencier
fc372bc217
[HttpKernel] changed core.view event to use notifyUntil() instead of filter() -- as soon as a listener returns a Response, we are done
2011-02-21 18:24:55 +01:00
Fabien Potencier
bf20238178
fixed a bug in Response content-type auto-detection
...
Without this patch, if you call __toString() on a Response,
the content-type auto-detection would never be trigerred
as __toString() changes the default content-type.
2011-02-21 16:57:25 +01:00
Matthew Lewinski
c56bcd9ff4
Fix unit test breakage from ProfilerStorageInterface change.
2011-02-20 20:06:36 -06:00
Pablo Godel
02492d2ab3
renamed SQLiteProfilerStorage to SqliteProfilerStorage
2011-02-15 21:57:09 +01:00
Pablo Godel
f6a1c2d195
renamed SQLiteProfilerStorage to SqliteProfilerStorage
2011-02-15 21:57:09 +01:00
Pablo Godel
c3649882f6
renamed file
2011-02-15 21:57:08 +01:00
Pablo Godel
05f651ae87
renamed file
2011-02-15 21:57:08 +01:00
Fabien Potencier
5c905beb13
moved common configuration classes to a new Config component
2011-02-13 22:31:50 +01:00
Fabien Potencier
b91f082be5
Revert "moved Resource to the Config component"
...
This reverts commit f53080860a
.
Revert "[Router] config fixes"
This reverts commit 51beecc6f2
.
Revert "moved duplicated files to a new Config component"
This reverts commit a8ec9b27f0
.
2011-02-10 16:14:12 +01:00
Fabien Potencier
a8ec9b27f0
moved duplicated files to a new Config component
2011-02-10 03:43:36 +01:00
Marc Weistroff
bebdcb242d
[HttpKernel] Added response cache-control modification if page is composed of ESIs.
...
Rules are :
- If one of the ESI has validation cache strategy, the whole page will be
forced to validate.
- In none of the ESI has validation, the response will feature a Cache-Control
directive with s-maxage value equals to the smallest TTL of ESIs.
2011-02-07 01:34:14 +01:00
ornicar
c5fb96b86b
[HttpKernel] Add more unit tests for Kernel
2011-02-06 20:05:49 +01:00
ornicar
9ba2943aff
[HttpKernel] Add unit tests for Kernel. Also slightly modify Kernel to make it more testable.
2011-02-06 16:17:35 +01:00
ornicar
bd97471954
[HttpKernel] Add test coverage for cache warming
2011-02-05 23:54:09 +01:00
Fabien Potencier
e5403490e7
removed the need to define getNamespace() and getPath() in bundles
2011-02-05 22:40:30 +01:00
Victor Berchet
3ed47114d6
[Bundle] Make getPath() less error prone by allowing both backward and forward slashes
2011-02-04 12:12:19 +01:00
Fabien Potencier
2c4355460e
[HttpKernel] added a StoreInterface
2011-01-31 14:15:12 +01:00
Victor Berchet
5e5b6f0cf8
[HttpKernel] made sure that parent bundles are registered before their descendants
2011-01-29 16:38:06 +01:00