Johannes Schmitt
9c0db88851
updated to latest changes in Doctrine
2011-05-24 13:29:44 +02:00
Fabien Potencier
0d68470638
[FrameworkBundle] made a small cleanup
2011-05-22 08:47:38 +02:00
Johannes Schmitt
6c0b0449a6
Merge remote branch 'origin/master' into annotations
...
Conflicts:
UPDATE.md
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
2011-05-19 22:49:59 +02:00
Johannes Schmitt
42fb34b647
fixed tests
2011-05-19 22:46:34 +02:00
Bernhard Schussek
dcc61a9a98
Merge remote branch 'shieldo/search_field' into shieldo_merge
2011-05-19 01:41:59 +02:00
Fabien Potencier
a15e846568
added a way to disable forms, and force validation to be enabled when forms are enabled ( closes #840 )
2011-05-18 15:45:34 +02:00
Fabien Potencier
0687aadad2
fixed form configuration when no session is available ( closes #841 )
2011-05-18 12:54:16 +02:00
Kris Wallsmith
1a49296b59
[FrameworkBundle] updated extension to use replaceArgument() rather than a parameter
2011-05-17 09:53:42 -07:00
Johannes Schmitt
796d9af0c4
some updates
2011-05-16 22:26:24 +02:00
Arnaud Le Blanc
421a05f6b4
defined parameters to avoid unmet dependency
...
These parameters are set by the extension; but
validator.mapping.loader.annotation_loader.namespaces is not set when
annotations are disabled
2011-05-15 21:32:41 +02:00
Douglas Greenshields
bf2f9d2a02
[Form] Added a search form field type
2011-05-15 18:31:36 +01:00
Arnaud Le Blanc
e57e5537b6
Fixed validators config causing no validation to happen
...
The parameter in <argument type="collection">%parameter...%</argument>
was ignored due to type="collection".
2011-05-15 16:50:49 +02:00
Johannes Schmitt
2d8afd8dd6
Merge remote branch 'origin/master' into annotations
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
src/Symfony/Bundle/FrameworkBundle/Resources/config/validator.xml
src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php
2011-05-14 12:51:05 +02:00
Fabien Potencier
f7aea2a830
[FrameworkBundle] re-introduced parameters in the DIC for better overridability
2011-05-13 14:34:17 +02:00
Johannes Schmitt
f7e03f2d87
Merge remote branch 'origin/master' into annotations
...
Conflicts:
UPDATE.md
src/Symfony/Bundle/DoctrineBundle/Resources/config/orm.xml
src/Symfony/Bundle/DoctrineBundle/Tests/DependencyInjection/AbstractDoctrineExtensionTest.php
2011-05-08 07:28:23 +02:00
Christophe Coevoet
87391119be
[FrameworkBundle] Changed the priority of the ProfilerListener
...
Running it before other onCoreResponse listeners avoids seeing them
as called listeners in the event panel. The priority is set to -100
because it has to be called before the WebProfilerListener (-128) so
that the token is set.
2011-05-07 20:40:30 +02:00
Fabien Potencier
ca3c5e652e
moved ErrorHandler management to the distributions
2011-05-05 08:53:13 +02:00
Johannes Schmitt
672c4ef122
Merge remote branch 'origin/master' into annotations
...
Conflicts:
UPDATE.md
2011-05-03 14:38:51 +02:00
Johannes Schmitt
d29c7811aa
[FrameworkBundle] updated configuration
2011-05-03 14:36:42 +02:00
Matt Drollette
0029cbc397
made esi service public
2011-05-01 14:35:26 -05:00
Fabien Potencier
11cdff93f3
[FrameworkBundle] refactored container:debug command
...
* Use a dumper to serialize the container into the cache (XML)
* Only keep the "real" services (abstract ones are not displayed anymore)
2011-05-01 17:21:20 +02:00
Johannes Schmitt
0d0c737630
Merge remote branch 'origin/master' into annotations
...
Conflicts:
UPDATE.md
2011-04-30 10:55:43 +02:00
Fabien Potencier
2eb06bee1e
[FrameworkBundle] updated XSD
2011-04-29 16:35:33 +02:00
Johannes Schmitt
7e26575bbd
[FrameworkBundle] added framework-wide annotation reader, updated validator tests
2011-04-29 15:54:44 +02:00
Johannes Schmitt
8ef0fc4976
fixed unit tests
2011-04-28 23:26:27 +02:00
Johannes Schmitt
d151d2d4b8
added Annotations library
2011-04-28 23:09:08 +02:00
Fabien Potencier
3fe385e4fb
removed the autoloader map feature
...
This feature added complexity to the framework but wasn't used in the core anyway.
You can still use the Map class loader in your application though. But most of the time, using the APC
autoloader is just better.
2011-04-28 13:38:22 +02:00
Fabien Potencier
05f1481c6a
[Form] added the possibility to configure the CSRF field name and the disabling of the CSRF feature altogether
2011-04-28 11:28:44 +02:00
Fabien Potencier
e72f1a9873
added a global secret setting to configure CSRF, the temporary storage, and possibly more
2011-04-28 10:49:59 +02:00
Fabien Potencier
e45d5fa857
merged vicb:template-factorization
2011-04-26 14:38:47 +02:00
Tobias Naumann
bc9817c85e
[Form] Added FieldTypeValidatorExtension and fixed FQCN of DelegatingValidator
2011-04-24 01:05:12 +02:00
Fabien Potencier
f05801cace
[FrameworkBundle] removed the router.options.resource_type and routing.resource arguments
2011-04-23 15:31:13 +02:00
Fabien Potencier
8db6c28432
removed obsolete config parameter
2011-04-23 15:19:33 +02:00
Fabien Potencier
8cc5caf1f3
changed the default directory for the upload temp dir, made the dir mandatory
2011-04-23 15:09:55 +02:00
Fabien Potencier
02c66e658c
removed the nestingLevel configuration for file temporary storages
2011-04-23 15:06:07 +02:00
Fabien Potencier
800effcccd
Merge remote branch 'lsmith77/remove_interface_injection'
...
* lsmith77/remove_interface_injection:
removed support for interface injection as well as all relevant tests
2011-04-23 12:08:49 +02:00
Fabien Potencier
9bffd8c2db
[FrameworkBundle] moved some default values to the Configuration class
2011-04-23 12:07:14 +02:00
Lukas Kahwe Smith
d9491a743e
removed support for interface injection as well as all relevant tests
2011-04-23 11:42:31 +02:00
Fabien Potencier
3ed0ff7b03
[FrameworkBundle] removed two parameters
2011-04-23 11:34:17 +02:00
Victor Berchet
33dd89fd02
[Template cache warmers] Factorize common code
2011-04-23 11:24:28 +02:00
Fabien Potencier
9a4da005a2
Merge remote branch 'bschussek/form-extensions'
...
* bschussek/form-extensions:
[Form] Refactored code from CoreExtension to new ValidatorExtension
[Form] Added FormTypeExtensionInterface
[Form] Reorganized code into "form extensions"
2011-04-23 09:11:25 +02:00
Bernhard Schussek
6f1bc356a8
[Form] Refactored code from CoreExtension to new ValidatorExtension
...
CoreExtension is now independent of the Symfony2 validator.
2011-04-22 19:38:21 +02:00
Bernhard Schussek
1ce2db87e2
[Form] Added FormTypeExtensionInterface
...
With implementations of this interface, existing types can be amended.
The Csrf extension, for example, now contains a class FormTypeCsrfExtension
that adds CSRF capabilities to the "form" type.
To register new type extensions in the DIC, tag them with "form.type_extension"
and the name of the extended type as alias.
2011-04-22 19:24:38 +02:00
Bernhard Schussek
54e66c518f
[Form] Reorganized code into "form extensions"
...
The extension classes are now the only constructor argument of the FormFactory class. They replace the existing "type loader" classes.
new FormFactory(array(
new CoreExtension($validator, $storage),
new CsrfExtension($csrfProvider),
new DoctrineOrmExtension($em),
));
Together with a few upcoming commits this mechanism will make
* extension of the form framework in bundles and
* usage of the forms outside of Symfony2
much easier.
2011-04-22 17:41:21 +02:00
Fabien Potencier
7644e86683
refactored session configuration
...
* made the options array only for "global" options that are valid for all session storages
* changed the PDO session storage constructor signature to accept an array of options for DB configuration
* changed the storage_id to be the full service id, instead of just part of it
* removed the class parameter for session as it can be changed via the .class parameter (it was the only example in the framework)
* removed the configuration for the PDO session storage for now
2011-04-22 13:34:57 +02:00
Eriksen Costa
589b0ab4ed
Merge branch 'master' into form-frameworkbundle-form-guessers-fix
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/AddFormGuessersPass.php
src/Symfony/Component/Form/MoneyField.php
2011-04-21 23:03:40 -03:00
Fabien Potencier
07aae98495
[Routing] added support for _scheme requirement
...
The _scheme requirement can be used to force routes to always match one given scheme
and to always be generated with the given scheme.
So, if _scheme is set to https, URL generation will force an absolute URL if the
current scheme is http. And if you request the URL with http, you will be redirected
to the https URL.
2011-04-20 10:49:32 +02:00
Miha Vrhovnik
50011fa344
Added html5 email input to the forms
2011-04-18 11:17:41 +02:00
Fabien Potencier
067bd0009e
Merge remote branch 'kriswallsmith/scalar-nodes'
...
* kriswallsmith/scalar-nodes:
removed a lot of special normalization logic in the configuration by using xml values instead of attributes
2011-04-15 07:44:22 +02:00
Bernhard Schussek
44af72bbf4
Merge remote branch 'symfony/master' into experimental
2011-04-14 15:04:59 +02:00