Lukas Kahwe Smith
7f182bd877
implicitly load all registered bundles, all loading is now handled by load(), disable loading of an extension explcitly via setting the extension config to false (for now only Yaml is implemented)
2011-02-15 22:11:08 +01:00
Fabien Potencier
14aa95ba21
added the concept of a main DIC extension for bundles
...
This allows for better conventions and better error messages if you
use the wrong configuration alias in a config file.
This is also the first step for a bigger refactoring of how the configuration
works (see next commits).
* Bundle::registerExtensions() method has been renamed to Bundle::build()
* The "main" DIC extension must be renamed to the new convention to be
automatically registered:
SensioBlogBundle -> DependencyInjection\SensioBlogExtension
* The main DIC extension alias must follow the convention:
sensio_blog for SensioBlogBundle
* If you have more than one extension for a bundle (which should really
never be the case), they must be registered manually by overriding the
build() method
* If you use YAML or PHP for your configuration, renamed the following
configuration entry points in your configs:
app -> framework
webprofiler -> web_profiler
doctrine_odm -> doctrine_mongo_db
2011-02-15 22:11:07 +01:00
Fabien Potencier
391e00c1de
[DependencyInjection] fixed a bug when xpath() returns false
2011-02-15 22:06:52 +01:00
Pablo Godel
f6a1c2d195
renamed SQLiteProfilerStorage to SqliteProfilerStorage
2011-02-15 21:57:09 +01:00
Pablo Godel
fa66bf4a85
rename file
2011-02-15 21:57:09 +01:00
Pablo Godel
bf09fc1065
rename file
2011-02-15 21:57:08 +01:00
Jeremy Mikola
cc4eb6b40f
[Security] Add providerKey to PreAuthenticatedToken tokens constructed by PreAuthenticatedAuthenticationProvider
2011-02-15 21:55:24 +01:00
Kris Wallsmith
c67a9a9643
[HttpFoundation] cleaned up some constructors
2011-02-15 21:51:44 +01:00
Jeremy Mikola
b8d574087f
[Security] Allow authentication tokens to hold attributes
2011-02-15 21:50:02 +01:00
Bertrand Zuchuat
462976d0d9
[DoctrineBundle] Typo
2011-02-15 21:46:56 +01:00
Bernhard Schussek
7dbc09ed8b
[Form] Fixed reference handling in forms. Sometimes data wasn't written into the domain object, resulting in failed validation.
2011-02-15 21:39:32 +01:00
Fabien Potencier
81765f8b6a
[DependencyInjection] fixed XML loader
2011-02-15 10:09:58 +01:00
Fabien Potencier
7c8e6669f4
updated bootstrap files
2011-02-15 04:27:46 +01:00
Fabien Potencier
4972bf6350
[DependencyInjection] made getXsdValidationBasePath() and getNamespace() methods from DIC Extension class optional
...
This has been changed so that people that do not use XML for their own extensions do
not need to bother implementing these two methods.
2011-02-15 04:14:48 +01:00
Victor Berchet
5eee0db18e
[FrameworkBundle] tweak Templating
2011-02-15 04:02:31 +01:00
Fabien Potencier
7a2522b6ed
[HttpFoundation] fixed unit tests
2011-02-15 03:42:24 +01:00
ornicar
189b82da0e
[FrameworkBundle] Ensure test session listener is called late
2011-02-15 03:35:25 +01:00
ornicar
69393b0762
Simplify and fix the session listener
2011-02-15 03:35:25 +01:00
John Wards
73cd26e2ca
[Serializer] added the ability to add attributes to nodes using an array key begining with @
...
Example:
array(
'foo-bar' => array(
'@id' => 1,
'@name' => 'Bar'
),
Foo' => array(
'Bar' => "Test",
'@Type' => 'test'
)
)
Parse XML now creates @ attribites for the array.
$rss = array(
"channel" => array(
"title" => "Test RSS",
"description" => "Test description",
"item" => array(
0 => array(
"title" => "Test Title 1",
"link" => "http://foo.com "
),
1 => array(
"title" => "Test Title 2",
"link" => "http://bar.com "
)
)
)
);
<channel>
<title>Test RSS</title>
<description>Test description</description>
<item>
<title>Test Title 1</title>
<link>http://foo.com </link>
</item>
<item>
<title>Test Title 2</title>
<link>http://bar.com </title>
</item>
</channel>
2011-02-14 22:20:03 +01:00
Victor Berchet
8588d55c11
[Config] Improve the component
2011-02-14 22:05:56 +01:00
Johannes Schmitt
32b0b64d2d
[Security] fixed AbstractFactory test
2011-02-14 21:58:59 +01:00
Victor Berchet
af81bcabf0
[Templating] Refactor the component
2011-02-14 21:11:44 +01:00
Fabien Potencier
12f99dd066
fixed typo
2011-02-14 20:56:03 +01:00
Johannes M. Schmitt
bc05bef2b9
[Security] fixes a bug in DigestAuthenticationListener
2011-02-14 20:55:07 +01:00
Johannes M. Schmitt
44b89e5ac3
[Security] fixes a bug when clearing cookies on logout
2011-02-14 20:55:07 +01:00
Johannes Schmitt
b685b3ab4d
[Security] adds logout success handler
2011-02-14 20:55:07 +01:00
Johannes Schmitt
bc283f1a66
[Security] removed 'security.authentication_provider' tag
2011-02-14 20:55:06 +01:00
Johannes Schmitt
9e6fc0a11e
[Security] fixes a bug where authentication errors might have leaked confidential information
2011-02-14 20:55:06 +01:00
Johannes Schmitt
5c7fe8f866
[Security] simplified encoder factory implementation
2011-02-14 20:55:06 +01:00
Johannes M. Schmitt
0643dc44fd
[Security] adds a priority attribute to security voters
2011-02-14 20:55:06 +01:00
Johannes M. Schmitt
b9f4eab5c2
[Security/Acl] added pre-generated schemas
2011-02-14 20:55:06 +01:00
Fabrice Bernhard
20e31cd3f2
[HttpKernel] Added some details for two commonly encountered errors in Kernel.php and HttpKernel.php
...
I used https://github.com/fabpot/symfony/blob/master/src/Symfony/Component/Form/PropertyPath.php#L324 as a model for the wording
2011-02-14 20:51:55 +01:00
hhamon
9a89b4628f
[CssSelector] fix phpdoc to match coding standards (int -> integer, bool -> Boolean).
2011-02-14 20:50:52 +01:00
Bulat Shakirzyanov
31b923ff55
[DoctrineMongoDBBundle] updated tests to reflect extension changes
2011-02-14 20:44:54 +01:00
Bulat Shakirzyanov
3623753c27
[DoctrineMongoDBBundle] updated DocumentManager definition to reflect latest ODM changes
2011-02-14 20:44:54 +01:00
Tim Nagel
7173764dc1
[Dependency Injection] PHPDoc
2011-02-14 11:16:04 +01:00
Jordi Boggiano
6311960511
[HttpFoundation] Minor clearCookie optimization
2011-02-14 11:15:22 +01:00
Bertrand Zuchuat
f659396b7c
Changed getTaggedServiceIds with findTaggedServiceIds
2011-02-14 11:14:47 +01:00
Fabien Potencier
2a1005efa7
[Translation] fixed typo
2011-02-14 11:14:04 +01:00
Fabien Potencier
5c905beb13
moved common configuration classes to a new Config component
2011-02-13 22:31:50 +01:00
Deni
657f90a931
[Security] Fixed missed argument in call custom handler when authentication is successful.
2011-02-13 22:27:28 +01:00
Kris Wallsmith
1292925702
[AsseticBundle] initial entry of assetic integration
2011-02-13 22:21:30 +01:00
Hugo Hamon
b5972f3447
[Yaml] fix some php documentation
2011-02-13 17:48:48 +01:00
Jordi Boggiano
f5f41696ec
[Serializer] Allow for more flexible element names
2011-02-13 17:47:22 +01:00
Jordi Boggiano
8216a6ef3d
[Serializer] Added XmlEncoder::setRootNodeName
2011-02-13 17:47:22 +01:00
Fabien Potencier
cf5cfb0b51
updated bootstrap files
2011-02-13 11:24:47 +01:00
Jonathan H. Wage
b716b707ba
General work on DoctrineMongoDBBundle to bring it more up to speed with DoctrineBundle. Added missing console commands, proxy cache warmer and hydrator cache warmer.
2011-02-13 10:43:21 +01:00
Johannes M. Schmitt
d4d2d60f7b
[DependencyInjection] minor interface change
2011-02-13 10:38:10 +01:00
dordille
205621dee8
Changed namepace use of SecurityContext to SecurityContextInterface so that constant SecurityContextInterface::LAST_USERNAME would resolve properly
...
Also changed method signature of __construct to take and instance of SecurityContextInterface instead of SecurityContext
2011-02-13 10:36:15 +01:00
Johannes M. Schmitt
3dfc09cd8d
[Security] fixes some regressions
2011-02-13 00:15:57 +01:00