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
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
Henrik Bjørnskov
52f2266bb7
[FrameworkBundle] Empty annotation namespaces parameter because it is referenced in validator.xml
2011-05-15 20:08:48 +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
Jordi Boggiano
43484c21a6
[FrameworkBundle] Do not override the session storage for test
2011-05-06 17:04:37 +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
Fabien Potencier
d31c403bae
Merge remote branch 'pborreli/tests-fix-typos'
...
* pborreli/tests-fix-typos:
Various typos
[WebProfilerBundle] Fixed typo
[WebProfilerBundle] Adding unit tests
2011-04-30 21:53:15 +02:00
Pascal Borreli
391744719a
Various typos
2011-04-30 19:40:15 +00:00
Johannes Schmitt
0d0c737630
Merge remote branch 'origin/master' into annotations
...
Conflicts:
UPDATE.md
2011-04-30 10:55:43 +02:00
noel guilbert
f644bbc027
[translations] Moved the application translations directory under Resources to be consistent with bundles
2011-04-29 17:48:38 +02:00
Johannes Schmitt
d151d2d4b8
added Annotations library
2011-04-28 23:09:08 +02:00
Fabien Potencier
9f11ab4177
Merge remote branch 'noelg/session-storage-bug'
...
* noelg/session-storage-bug:
Fixed a bug when the storage service is initialized later by another bundle. In this case, we can't add the storage class to the compiled class as the service does not exists.
2011-04-28 11:40:09 +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
noel guilbert
6f1df3338d
Fixed a bug when the storage service is initialized later by another bundle.
...
In this case, we can't add the storage class to the compiled class as the
service does not exists.
2011-04-28 11:27:56 +02:00
Fabien Potencier
2e9278993c
added Definition::getArgument() (very useful when unit testing a Container)
2011-04-28 11:26:10 +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
aa3ec504ae
removed File::getWebPath()
...
This has been removed for several reasons:
* the framework does not know where the document root is and should not care
* as the document root was static, it was impossible to have several document roots depending on some business rules (see next one)
* sometimes, the document root is not under the web root directory (so the logic of getWebPath() is not always correct)
* the feature was not used anywhere in the core
2011-04-27 06:49:05 +02:00
Pascal Borreli
8c0beea677
[Phpdoc] Cleaning/fixing
2011-04-23 15:18:47 +00: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
9bffd8c2db
[FrameworkBundle] moved some default values to the Configuration class
2011-04-23 12:07:14 +02:00
Fabien Potencier
e7892071bb
[FrameworkBundle] fixed wrong usage of obsolete session.class parameter
2011-04-23 11:43:35 +02:00
Fabien Potencier
3ed0ff7b03
[FrameworkBundle] removed two parameters
2011-04-23 11:34:17 +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
Victor Berchet
1191e3aa66
[AsseticBundle] Fix the cache warmers
2011-04-20 17:37:21 +02:00
Fabien Potencier
1df8b2ee37
[FrameworkBundle] fixed methods that have been renamed in the previous commit
2011-04-20 14:31:42 +02:00
Fabien Potencier
9d2ea4ec31
Merge remote branch 'kriswallsmith/dic/method-renames'
...
* kriswallsmith/dic/method-renames:
added method renames to UPDATE
[DependencyInjection] renamed ContainerBuilder::remove() as removeDefinition() to be more consistent with other definition-related methods
[DependencyInjection] renamed Definition::setArgument() as replaceArgument() to be more specific
2011-04-20 14:28:09 +02:00
Kris Wallsmith
cdf706d357
[DependencyInjection] renamed Definition::setArgument() as replaceArgument() to be more specific
2011-04-20 04:47:44 -07: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
Fabien Potencier
ea84bb025b
fixed session management in functional tests
2011-04-13 23:11:25 +02:00
Fabien Potencier
0c93b6bbe4
Merge remote branch 'vicb/locate_template2'
...
* vicb/locate_template2:
[FrameworkBundle] Enforce templates instances of TemplateReferenceInterface
[FrameworkBundle] Add unit tests for the CacheTemplateLocator class
[FrameworkBundle] Add unit tests for the TemplateLocator class
[TwigBundle] Fix the cache warmer
[TwigBundle] Tweak cache warmer configuration
[FrameworkBundle] Fix resource inheritance in the template cache warmer
2011-04-13 13:38:11 +02:00
Benjamin Eberlei
d27dc86c25
[FrameworkBundle][Validation] Fix bug where YAML Validation files are not detected.
2011-04-11 23:26:11 +02:00
Victor Berchet
7cc51d8596
[FrameworkBundle] Fix resource inheritance in the template cache warmer
2011-04-08 18:54:19 +02:00
Kris Wallsmith
d0f45fd3b6
[FrameworkBundle] added configuration for caching validator metadata
2011-04-06 04:07:38 -07:00
Kris Wallsmith
eca0243d3e
[FrameworkBundle] added condition so invalid session config isn't created
2011-04-05 15:42:43 -07:00
Victor Berchet
b640fcb0f0
[Config] Introduction of an ConfigurationInterface
2011-04-05 11:26:28 +02:00
Fabien Potencier
6daf09a61d
Merge remote branch 'subsven/master'
...
* subsven/master:
Add (Boolean) cast to constructor arguments
Add a configuration option to restrict profiler storage to the master request
2011-04-05 10:03:58 +02:00
Fabien Potencier
747c98f178
[FrameworkBundle] removed the debug.file_link_format parameter
2011-04-05 08:03:29 +02:00
Victor Berchet
5a1d5e5082
[FrameworkBundle] Make specifying a custom file_link_format easier
2011-04-05 01:15:21 +02:00
Victor Berchet
9998ab18e9
[FrameworkBundle] Fix for getting the file link format fallback to XDebug configuration
2011-04-04 23:39:37 +02:00
Fabien Potencier
1cb03b1448
[FrameworkBundle] removed templating.loader.cache.path parameter
2011-04-04 11:56:41 +02:00
Martin Hason
57b1b4992b
[FrameworkBundle] fixed bugs
...
- not existing service in DI container
- called invalid method
2011-04-01 10:34:13 +02:00
Fabien Potencier
eb21f5b76e
[FrameworkBundle] moved some validation related services to the XML services file
2011-04-01 08:26:19 +02:00