Bernhard Schussek
1593d6f75d
[Form] Added method FieldInterface::isEmpty()
2011-02-16 23:05:21 +01:00
Bernhard Schussek
f589304fe3
[Form] Added clearer error message for CSRF errors
2011-02-16 23:05:21 +01:00
Jonathan H. Wage
34859999b2
Revert "[DoctrineMongoDBBundle] updated tests to reflect extension changes"
...
This reverts commit 8c3923e5f59fda3221776c6fc747ca9bd603f9af.
2011-02-16 23:01:37 +01:00
Jonathan H. Wage
20cf9f8a1a
Revert "[DoctrineMongoDBBundle] updated DocumentManager definition to reflect latest ODM changes"
...
This reverts commit 6555013ac4c39e4a39b8d595c834eadc21e4a684.
2011-02-16 23:01:36 +01:00
Johannes M. Schmitt
1a0742003f
[Security] use 'database_connection' as default connection for ACL
2011-02-16 23:00:27 +01:00
Johannes M. Schmitt
22947da18d
[Security] added some classes to the compilation map
2011-02-16 23:00:27 +01:00
Johannes M. Schmitt
53f3ff8258
[Security] adds a chain user provider
2011-02-16 23:00:27 +01:00
Johannes Schmitt
82c6844147
[Security] moved Security classes out of DoctrineBundle, cleaned-up SecurityExtension accordingly
...
Note that this commit removes the built-in support for MongoDB user providers.
This code can be moved back in once there is a stable release for MongoDB, but
for now you have to set-up that user provider just like you would set-up any
custom user provider:
security:
providers:
document_provider:
id: my.mongo.provider
2011-02-16 23:00:27 +01:00
Johannes Schmitt
dfd921822a
[Security/Http] Adds CSRF protection to the form-login
2011-02-16 23:00:27 +01:00
Johannes M. Schmitt
d22743cf3a
[Security] removed defaults from boolean columns
2011-02-16 23:00:27 +01:00
Kris Wallsmith
e62031a54e
[AsseticBundle] fixed closure .jar configuration
2011-02-16 22:55:52 +01:00
Kris Wallsmith
cd5b60359d
[AsseticBundle] added local caching to the controller
2011-02-16 22:55:10 +01:00
Kris Wallsmith
42a68d9ca4
[AsseticBundle] renamed controller class
2011-02-16 22:55:10 +01:00
Kris Wallsmith
181165f592
[AsseticBundle] added injection of node path to coffee filter
2011-02-16 22:54:18 +01:00
Kris Wallsmith
1230bc6441
[AsseticBundle] updated config for new LESS filter
2011-02-16 22:54:18 +01:00
Victor Berchet
1d7f8120e0
Update code with latest Finder changes
2011-02-16 22:53:11 +01:00
Victor Berchet
bad3a97ad6
[Finder] tweak code
2011-02-16 22:51:06 +01:00
Christophe Coevoet
a5bac4b5a3
Fixed xmlloader
2011-02-15 22:41:29 +01:00
Fabien Potencier
a29a413c48
made DIC extensions members of the Container instead of static members
2011-02-15 22:22:32 +01:00
Fabien Potencier
62e3053769
refactored previous commit, fixed tests
...
How to upgrade?
For XML configuration files:
* All extensions should now use the config tag (this is just a convention as
the YAML configurations files do not use it anymore):
* The previous change means that the doctrine and security bundles now are
wrapped under a main "config" tag:
<doctrine:config>
<doctrine:orm />
<doctrine:dbal />
</doctrine:config>
<security:config>
<security:acl />
...
</security:config>
For YAML configuration files:
* The main keys have been renamed as follows:
* assetic:config -> assetic
* app:config -> framework
* webprofiler:config -> web_profiler
* doctrine_odm.mongodb -> doctrine_mongo_db
* doctrine:orm -> doctrine: { orm: ... }
* doctrine:dbal -> doctrine: { dbal: ... }
* security:config -> security
* security:acl -> security: { acl: ... }
* twig.config -> twig
* zend.config -> zend
2011-02-15 22:22:28 +01:00
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
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
fa66bf4a85
rename file
2011-02-15 21:57:09 +01:00
Pablo Godel
bf09fc1065
rename file
2011-02-15 21:57:08 +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
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
Kris Wallsmith
ba239905d7
[HttpFoundation] removed unknown constructor arg from tests
2011-02-15 21:51:21 +01:00
Jeremy Mikola
b8d574087f
[Security] Allow authentication tokens to hold attributes
2011-02-15 21:50:02 +01:00
Kris Wallsmith
922cb0a832
updated vendors script to allow checkout of a specific commit
2011-02-15 21:48:20 +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