Hugo Hamon
2cbdd2c18b
[HttpKernel] renamed Cookie::isHttponly() to Cookie::isHttpOnly()
2011-03-03 14:52:26 +01:00
Hugo Hamon
8182913f1f
[BrowserKit] renamed Cookie::isHttponly() to Cookie::isHttpOnly()
2011-03-03 14:52:03 +01:00
Hugo Hamon
ad56bd8e47
[HttpFoundation] fix cookie path default value to / and added some new unit tests to cover the class
2011-03-03 14:50:14 +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
Kris Wallsmith
bf0553c23a
[DependencyInjection] extensions should only load if called during configuration
2011-03-03 13:53:29 +01:00
Christophe Coevoet
db168cc40d
Fixed assets_base_urls configuration
2011-03-02 20:04:12 +01:00
aurelijus
218a9ae51e
Add cache warmed routers support to RouteHelper
2011-03-02 18:58:43 +02:00
Kris Wallsmith
f7b7288892
[AsseticBundle] added compiler pass for factory workers
2011-03-02 08:11:11 -05:00
ornicar
6790e45911
[DependencyInjection] Fix variable name in ExtensionInterface
2011-03-01 16:20:26 -08:00
Kris Wallsmith
b6cac77930
[AsseticBundle] updated for assetic changes
2011-03-01 15:51:39 -05:00
Michel Weimerskirch
dfc302722e
Documentation corrected in EnsureProductionSettingsDoctrineCommand.php
2011-03-01 20:41:34 +01:00
Fabien Potencier
501bf2fcb6
Merge remote branch 'kriswallsmith/zend/compiled-classes'
...
* kriswallsmith/zend/compiled-classes:
[ZendBundle] added classes to compile
2011-03-01 20:39:23 +01:00
Fabien Potencier
fd53035c8d
Merge remote branch 'schmittjoh/inlinePassFix'
...
* schmittjoh/inlinePassFix:
[DependencyInjection/Compiler] fixes a bug which silently changed the scope of services
2011-03-01 20:38:48 +01:00
Fabien Potencier
d7fa78d790
Merge remote branch 'pborreli/daily-typos'
...
* pborreli/daily-typos:
[Tests] Fixed Typo
[Validator] Fixed Typo
[Security] Fixed Typo
[HttpKernel] Fixed Typo
[Form] Fixed Typo
[DependencyInjection] Fixed Typo
[CssSelector] Fixed Typo
[Doctrine*Bundle] Fixed Typo
[TwigBundle] Fixed Typo
[HttpFoundation] Removed remove recurring test
2011-03-01 20:37:54 +01:00
Fabien Potencier
e01c8eecd9
Merge remote branch 'kriswallsmith/assetic/test-coverage'
...
* kriswallsmith/assetic/test-coverage:
[AsseticBundle] progress migrating functional tests to unit tests
[AsseticBundle] changed type to use interface
[AsseticBundle] added a functional test group
2011-03-01 20:36:56 +01:00
Kris Wallsmith
9283877828
[AsseticBundle] progress migrating functional tests to unit tests
2011-03-01 13:59:50 -05:00
Pascal Borreli
65560b30e1
[Validator] Fixed Typo
2011-03-01 18:58:08 +01:00
Pascal Borreli
843d5a8399
[Security] Fixed Typo
2011-03-01 18:58:08 +01:00
Pascal Borreli
c70824d22c
[HttpKernel] Fixed Typo
2011-03-01 18:58:08 +01:00
Pascal Borreli
f3a0b3fd83
[Form] Fixed Typo
2011-03-01 18:58:08 +01:00
Pascal Borreli
b84999ac33
[DependencyInjection] Fixed Typo
2011-03-01 18:58:08 +01:00
Pascal Borreli
d060a3c6ff
[CssSelector] Fixed Typo
2011-03-01 18:58:07 +01:00
Pascal Borreli
64b50e1c46
[Doctrine*Bundle] Fixed Typo
2011-03-01 18:58:07 +01:00
Pascal Borreli
19f931a231
[TwigBundle] Fixed Typo
2011-03-01 18:58:07 +01:00
Pascal Borreli
ff44b0ff28
[HttpFoundation] Removed remove recurring test
2011-03-01 18:58:07 +01:00
Kris Wallsmith
d24c52ad38
[AsseticBundle] changed type to use interface
2011-03-01 11:00:19 -05:00
Kris Wallsmith
66c921f093
[AsseticBundle] added a functional test group
2011-03-01 10:49:14 -05:00
Jordi Boggiano
75dbc3a5b8
[Config] Improved exception message a bit
2011-03-01 14:44:24 +01:00
Johannes M. Schmitt
67c886f3df
[DependencyInjection/Compiler] fixes a bug which silently changed the scope of services
2011-03-01 13:47:34 +01:00
Kris Wallsmith
26e7470eb3
[ZendBundle] added classes to compile
2011-02-28 19:07:58 -05:00
Michel Weimerskirch
1aa6257f00
Documentation corrected in EnsureProductionSettingsDoctrineCommand.php
2011-02-28 15:41:09 -08:00
Kris Wallsmith
35376592c4
[AsseticBundle] fixed fluent formatting
2011-02-28 14:03:42 -05:00
Kris Wallsmith
d57c6657bd
[AsseticBundle] added config option to limit which bundles formulae are loaded from
2011-02-28 11:48:25 -05:00
Fabien Potencier
57d0d3fe2f
Merge remote branch 'kriswallsmith/assetic/new-resource-interface'
...
* kriswallsmith/assetic/new-resource-interface:
[AsseticBundle] updated resource for new interface
2011-02-28 17:18:19 +01:00
Degory Valentine
057e86161e
added test to verify ArgvInput->parse() failure with array input definition
2011-02-28 17:16:58 +01:00
Degory Valentine
0306c9aa66
Fixed array argument parsing in ArgvInput.
2011-02-28 17:16:58 +01:00
Kris Wallsmith
8ebec86cab
[AsseticBundle] updated resource for new interface
2011-02-28 10:36:51 -05:00
Kris Wallsmith
d6c08f6685
[AsseticBundle] missing argument
2011-02-28 08:14:39 -05:00
Kris Wallsmith
5683c6e6e1
[AsseticBundle] separated read and write paths to facilitate writing assets to a CDN via a custom stream wrapper
2011-02-28 08:14:28 -05:00
Victor Berchet
d281409ed5
[Config] Define a common interface for NodeBuilder and TreeBuilder
2011-02-28 12:39:43 +01:00
Victor Berchet
6d37218db1
[Config] Tweak type hints & phpDoc for the builders
2011-02-28 12:39:43 +01:00
Victor Berchet
b5fadcd22c
[Config][TreeBuilder] Tweak the code
2011-02-28 12:39:22 +01:00
Victor Berchet
6c9e48fd8f
[Config][VariableNode] Tweak the code
2011-02-28 12:39:21 +01:00
Victor Berchet
687c4dfeb1
[Config][BooleanNode] Tweak the code
2011-02-28 12:39:21 +01:00
Victor Berchet
e47f808376
[Config] Tweak phpDoc
2011-02-28 12:39:13 +01:00
Fabien Potencier
2bb2388c3f
fixed typo
2011-02-28 12:12:49 +01:00
Victor Berchet
4d83b36170
[Config][ArrayNode] Tweak normalizeValue() code & phpDoc
2011-02-28 10:13:27 +01:00
Victor Berchet
60043a3c96
[Config][ArrayNode] Tweak some phpDoc
2011-02-28 10:12:44 +01:00
Martin Hason
c75622cb4b
[DependencyInjection] removed unused class Extension, fix tests
2011-02-28 09:57:18 +01:00
Martin Hason
1d04ebfda5
[HttpKernel] changed extends Extension to implements ExtensionInterface
2011-02-28 09:55:53 +01:00
Martin Hason
d231a8a8d5
[Config] [DependencyInjection] removed DependencyInjection dependency in Config, fix tests
2011-02-28 09:19:13 +01:00
Matthew Lewinski
cde5f528c2
Fix the Acl schema generator script.
...
Change 3e818846 in doctrine/dbal introduced a number of new classes in
the Doctrine\DBAL\Platforms\Keywords namespace, so we need to be more
careful here when generating Acl schema, so as to only load Platform
classes and not any others in the same directory.
2011-02-27 16:56:47 -06:00
Jordi Boggiano
9a35851c6b
Rename .symfony to .gitkeep which is more standard git practice
2011-02-27 23:29:14 +01:00
Christophe Coevoet
a960355c46
Fixed type-hinting and renamed the method to be more semantic
2011-02-27 22:44:44 +01:00
Christophe Coevoet
0f2380af3f
Removed duplicated code
2011-02-27 22:43:07 +01:00
Fabien Potencier
3948c2d8a2
[Routing] fixed annotation dir loader auto-reload when a controller class changes
2011-02-27 22:39:54 +01:00
Fabien Potencier
37178fed01
Merge remote branch 'lewinski/radio-infinite-recursion-fix'
...
* lewinski/radio-infinite-recursion-fix:
[Form] Fix infinite recursion in RadioField->getName()
2011-02-27 22:35:57 +01:00
Fabien Potencier
d4663505f7
Merge remote branch 'vicb/config'
...
* vicb/config:
[Config] Simplify ScalarNode by inheriting from VariableNode
2011-02-27 22:32:11 +01:00
Fabien Potencier
642f8ff71f
Merge remote branch 'kriswallsmith/assetic/watch'
...
* kriswallsmith/assetic/watch:
[AsseticBundle] added error handling to --watch
[AsseticBundle] added a simple cache to --watch so it picks up where it left off last time
[AsseticBundle] added a --watch option to the assetic:dump command
2011-02-27 22:25:45 +01:00
Fabien Potencier
c99a44b1e8
Merge remote branch 'schmittjoh/security'
...
* schmittjoh/security:
[Security] added method to retrieve the configured remember-me parameter
[Security] Copy token attributes when auth providers create a new token from another
2011-02-27 22:20:44 +01:00
Fabien Potencier
c58b6afc38
Merge remote branch 'cristiangsp/Translation_FallbackLocale'
...
* cristiangsp/Translation_FallbackLocale:
[Translation] Modified Translation unit test "testTransWithFallbackLocale"
[Translation] Fixed the addition of the fallbackLocale catalogue to the current locale catalogue.
[Translation] Added search to FallbackLocale Catalogue.
2011-02-27 21:48:34 +01:00
Fabien Potencier
cdf6851eb3
fixed merge
2011-02-27 21:16:13 +01:00
Fabien Potencier
49f84f1997
Merge remote branch 'lsmith77/code_analyzer_2011_02_27'
...
* lsmith77/code_analyzer_2011_02_27:
corrected NonceExpiredException namespace
issues found by static code analysis
2011-02-27 21:12:31 +01:00
Christophe Coevoet
92bfbf575c
Fixed CS
2011-02-27 20:56:29 +01:00
Lukas Kahwe Smith
2bf30f8bb7
corrected NonceExpiredException namespace
2011-02-27 19:46:40 +01:00
Lukas Kahwe Smith
4b3c49550f
issues found by static code analysis
2011-02-27 19:34:02 +01:00
Pascal Borreli
5b819261c2
[Yaml] Removed useless else
2011-02-27 18:36:38 +01:00
Pascal Borreli
87452f7515
[Translation] Removed useless else
2011-02-27 18:36:38 +01:00
Pascal Borreli
5a922dae22
[Templating] Removed useless else
2011-02-27 18:36:38 +01:00
Pascal Borreli
787812d968
[Security] Removed useless else
2011-02-27 18:36:38 +01:00
Pascal Borreli
1fcb99b936
[HttpKernel] Removed useless else
2011-02-27 18:36:38 +01:00
Pascal Borreli
fc42cc5066
[HttpFoundation] Removed useless else
2011-02-27 18:36:38 +01:00
Pascal Borreli
03f91ff1e0
[Form] Removed useless else
2011-02-27 18:36:37 +01:00
Pascal Borreli
66f4d8bf6d
[DependencyInjection] Removed useless else
2011-02-27 18:36:37 +01:00
Pascal Borreli
2cbaddfd87
[CssSelector] Removed useless else
2011-02-27 18:36:37 +01:00
Pascal Borreli
f7ab114d36
[HttpFoundation] Fixed missing curly brackets
2011-02-27 18:36:37 +01:00
Pascal Borreli
46d28ce1b1
[Console] Removed useless else
2011-02-27 18:36:37 +01:00
Pascal Borreli
96981670ea
[BrowserKit] Removed useless else
2011-02-27 18:36:36 +01:00
Pascal Borreli
2a6c5018ae
[FrameworkBundle] Removed useless else
2011-02-27 18:36:36 +01:00
Pascal Borreli
1e7a2e13cd
[Doctrine*Bundle] Removed old use namespace (Doctrine\Common\Cli)
2011-02-27 18:36:36 +01:00
Pascal Borreli
f7716645a5
[FrameworkBundle] Removed useless else
2011-02-27 18:36:36 +01:00
Pascal Borreli
664c00b62e
[DoctrineBundle] Removed useless sprintf
2011-02-27 18:36:36 +01:00
cgonzalez
381d1e2da1
[Translation] Fixed the addition of the fallbackLocale catalogue to the current locale catalogue.
...
When loading a catalogue the function "optimizeCatalogue" add the fallback catalogue to the current locale catalogue. This should be done by first adding the language catalogue and finally adding the fallbacklocale catalogue specified in the configuration. This subsequent additions are done by the "loadCatalogue" function.
The problem is that in the "loadCatalogue" function exists an if statement that checks if the resource of a given locale exists before loading it. If not, the function simply returns. This return implies that the subsequent addition of the fallbacklocale wouldn't be done.
This has been fixed by simply replacing the current if statement and adding a new one that, if the resource exists, then executes the process of resource loading. Finally, the function continue calling the "optimizeCatalogue" function.
2011-02-27 12:32:46 +01:00
cgonzalez
b6049beca2
[Translation] Added search to FallbackLocale Catalogue.
...
When the current locale catalogue doesn't contain the id searched, the code doesn't search in the fallbacklocale catalogue (as is explained in the documentation).
Added the search to the fallbacklocale catalogue to the translation function.
2011-02-27 12:32:46 +01:00
Fabien Potencier
a287a619ad
Revert "[ZendBundle] added classes to compile"
...
This reverts commit add21ec4c0
.
2011-02-27 08:09:25 +01:00
Lukas Kahwe Smith
141b798127
make it possible to define the file extension
2011-02-26 23:12:46 +01:00
Johannes Schmitt
97ee92e7b0
Merge branch 'CopyTokenAttributesInProviders' of https://github.com/opensky/symfony into opensky-CopyTokenAttributesInProviders
2011-02-26 21:47:57 +01:00
Johannes Schmitt
621a79f1f2
[Security] added method to retrieve the configured remember-me parameter
2011-02-26 21:44:40 +01:00
Fabien Potencier
de33e14699
Merge remote branch 'kriswallsmith/zend/compiled-classes'
...
* kriswallsmith/zend/compiled-classes:
[ZendBundle] added classes to compile
2011-02-26 20:46:27 +01:00
Pascal Borreli
2fbb8e07f8
[Security] Fixed typo
2011-02-26 20:02:06 +01:00
Pascal Borreli
b9a6f9210b
[HttpKernel] Fixed typo
2011-02-26 20:02:06 +01:00
Pascal Borreli
f3b9364eae
[HttpFoundation] Fixed typo
2011-02-26 20:02:06 +01:00
Pascal Borreli
ddd6d93f9f
[Form] Fixed typo
2011-02-26 20:02:06 +01:00
Pascal Borreli
4f2f1c08a9
[EventDispatcher] Fixed typo
2011-02-26 20:02:06 +01:00
Pascal Borreli
1a8ce933e1
[DependencyInjection] Fixed typo
2011-02-26 20:02:05 +01:00
Pascal Borreli
b940046ac4
[CssSelector] Fixed typo
2011-02-26 20:02:05 +01:00
Pascal Borreli
e1ec66cbb8
[Config] Fixed typo
2011-02-26 20:02:05 +01:00
Pascal Borreli
0c9951f676
[TwigBundle] Fixed typo
2011-02-26 20:02:05 +01:00
Pascal Borreli
added08c92
[SecurityBundle] Fixed typo
2011-02-26 20:02:05 +01:00
Pascal Borreli
1dca1ea002
[FrameworkBundle] Fixed typo
2011-02-26 20:02:05 +01:00
Pascal Borreli
ecd3845b80
[DoctrineMongoDBBundle] Fixed typo
2011-02-26 20:02:05 +01:00
Pascal Borreli
68140021fc
[DoctrineBundle] Fixed typo
2011-02-26 20:02:05 +01:00
Pascal Borreli
b9c2579f2b
[DoctrineAbstractBundle] Fixed typo
2011-02-26 20:02:05 +01:00
Fabien Potencier
e16c666266
[Routing] made an empty path info to redirect to / (as for any other route that ends with a /)
2011-02-26 08:56:44 +01:00
Kris Wallsmith
3ce1d82589
[AsseticBundle] added error handling to --watch
2011-02-25 10:27:51 -08:00
Kris Wallsmith
4816b9e711
[AsseticBundle] added a simple cache to --watch so it picks up where it left off last time
2011-02-25 10:01:01 -08:00
Kris Wallsmith
80256655e2
[AsseticBundle] added a --watch option to the assetic:dump command
2011-02-25 09:52:37 -08:00
Fabien Potencier
f46c6f7e45
[Routing] fixed the %2f problem in URLs
2011-02-25 18:01:32 +01:00
Fabien Potencier
1ee6ad4dad
Revert "A command to generate a migration from the sql queries executed when you load some data fixtures."
...
This reverts commit 0f353c1411
.
2011-02-25 17:11:58 +01:00
Fabien Potencier
a0d4250cde
Revert "initial steps to handling objects"
...
This reverts commit 988b8f3736
.
2011-02-25 17:11:56 +01:00
Fabien Potencier
11d8ce3976
Revert "cosmetic tweak"
...
This reverts commit e356c2a902
.
2011-02-25 17:11:51 +01:00
Kris Wallsmith
8fedd8d067
[AsseticBundle] renamed some test files to respect the exclude of Resources in phpunit.xml.dist
2011-02-25 06:50:57 -08:00
Fabien Potencier
ad80b09a4f
Merge remote branch 'kriswallsmith/assetic/etags'
...
* kriswallsmith/assetic/etags:
[AsseticBundle] added etags to controller so changes to filters etc trigger invalidation
2011-02-25 07:19:45 +01:00
Fabien Potencier
ee4db2a5d8
Merge remote branch 'kriswallsmith/assetic/filter-visibility'
...
* kriswallsmith/assetic/filter-visibility:
[AsseticBundle] fixed visibility of YUI filters
2011-02-25 07:19:38 +01:00
Kris Wallsmith
968c870c94
[AsseticBundle] added etags to controller so changes to filters etc trigger invalidation
2011-02-24 21:48:51 -08:00
Kris Wallsmith
d4db5319c8
[AsseticBundle] added resources to the routing loader
...
now the router will be aware of any changes assetic is aware of
2011-02-24 21:05:07 -08:00
Kris Wallsmith
05055d443c
[AsseticBundle] fixed formula caching system
2011-02-24 21:05:06 -08:00
Kris Wallsmith
45976aa9a0
[AsseticBundle] fixed visibility of YUI filters
2011-02-24 21:03:09 -08:00
Kris Wallsmith
add21ec4c0
[ZendBundle] added classes to compile
2011-02-24 11:27:16 -08:00
Fabien Potencier
5b92dcf9dd
Merge remote branch 'stof/zend_config'
...
* stof/zend_config:
Changed default priority to INFO
[ZendBundle] Added a Configuration class
2011-02-24 17:55:15 +01:00
Fabien Potencier
396fcf15a8
Merge remote branch 'kriswallsmith/assetic/rm-phpcs'
...
* kriswallsmith/assetic/rm-phpcs:
[AsseticBundle] removed PHP_CodeSniffer dependency
2011-02-24 17:51:30 +01:00
Christophe Coevoet
0488ebc2e8
Changed default priority to INFO
2011-02-24 17:48:41 +01:00
Christophe Coevoet
192583a225
[ZendBundle] Added a Configuration class
2011-02-24 17:38:40 +01:00
Victor Berchet
3bfb599074
[Config] Simplify ScalarNode by inheriting from VariableNode
2011-02-24 16:31:00 +01:00
Fabien Potencier
691c9f5950
Merge remote branch 'marphi/fix_assetic'
...
* marphi/fix_assetic:
[AsseticBundle] fix fatal error - missing argument assetic.asset_manager in definition assetic.asset_manager_cache_warmer serivce
2011-02-24 15:52:13 +01:00
Fabien Potencier
2ad21ed41f
Merge remote branch 'lsmith77/fixture_2_migration'
...
* lsmith77/fixture_2_migration:
cosmetic tweak
initial steps to handling objects
A command to generate a migration from the sql queries executed when you load some data fixtures.
2011-02-24 15:50:59 +01:00
Fabien Potencier
71a06f0174
Merge remote branch 'kriswallsmith/assetic/stylus-filter'
...
* kriswallsmith/assetic/stylus-filter:
[AsseticBundle] added stylus filter
2011-02-24 15:49:23 +01:00
Michel Weimerskirch
6998e593e0
Added line number to TransChoiceTokenParser exception message (TwigBundle).
2011-02-24 06:47:45 -08:00
Kris Wallsmith
2b2a7f0a1d
added nowrap style to WDT toolbar so image and text stays together when the toolbar wraps
2011-02-24 06:14:08 -08:00
Kris Wallsmith
9f2d59c489
[AsseticBundle] added stylus filter
2011-02-24 05:48:15 -08:00
Michel Weimerskirch
5f0d83662c
Simplified EmailValidator using native PHP validation function.
2011-02-24 04:30:23 -08:00
Victor Berchet
788f63d460
[FrameworkBundle] Simplify the over-complicated template cache warmer
2011-02-24 13:02:35 +01:00
Lukas Kahwe Smith
e356c2a902
cosmetic tweak
2011-02-24 11:57:32 +01:00
Lukas Kahwe Smith
988b8f3736
initial steps to handling objects
2011-02-24 10:44:47 +01:00
Fabien Potencier
79bc233344
[TwigBundle] fixed typo
2011-02-24 09:46:59 +01:00
Jeremy Mikola
5113886f34
[Security] Copy token attributes when auth providers create a new token from another
...
PreAuthenticatedAuthenticationProvider and UserAuthenticationProvider tend to copy a token instead of modifying it during their authenticate() methods, which is probably a good idea if the token might be immutable. Ensure that the token's attributes get copied along with everything else.
2011-02-23 16:03:01 -05:00
Marcin Sikon
491ee20392
[AsseticBundle] fix fatal error - missing argument assetic.asset_manager in definition assetic.asset_manager_cache_warmer serivce
2011-02-23 11:46:32 +01:00
Kris Wallsmith
3fb935de35
[AsseticBundle] removed PHP_CodeSniffer dependency
2011-02-23 00:21:17 -08:00
Fabien Potencier
d2840aaad3
[AsseticBundle] fixed unit tests
2011-02-23 07:19:00 +01:00
Kris Wallsmith
b622e6a9e6
[AsseticBundle] added skip if PHP_CodeSniffer is not installed ( closes #14 )
2011-02-22 21:16:48 -08:00
Jonathan H. Wage
0f353c1411
A command to generate a migration from the sql queries executed when you load some data fixtures.
2011-02-22 20:54:40 -06:00
Matthew Lewinski
4f54aacfc7
[Form] Fix infinite recursion in RadioField->getName()
2011-02-22 20:38:29 -06:00
Kris Wallsmith
d7ea92a0f6
[AsseticBundle] updated for latest assetic development
2011-02-22 16:58:10 -08:00
Fabien Potencier
f54cedfe5e
added LICENSE files for the subtree repositories
2011-02-22 18:58:15 +01:00
Kris Wallsmith
7c794b349d
[HttpKernel] fixed typo
2011-02-22 07:38:03 -08:00
Marcin Sikon
efb561767b
[AsseticBundle] fix AsseticController - removed response service dependency
2011-02-22 16:12:12 +01:00
Fabien Potencier
c63e1ace81
Merge remote branch 'kriswallsmith/assetic-renames'
...
* kriswallsmith/assetic-renames:
[AsseticBundle] renamed some classes
2011-02-22 14:14:09 +01:00
Fabien Potencier
cef86a3771
[HttpKernel] added a way to change the ESI cache strategy
2011-02-22 13:50:26 +01:00
Kris Wallsmith
bd32e3eea8
[AsseticBundle] renamed some classes
2011-02-21 22:18:50 -08:00
Kris Wallsmith
a0bae94f88
[HttpFoundation] updated ResponseHeaderBag to compute Cache-Control whenever any of the headers it considers changes
2011-02-21 19:57:05 -08:00
Fabien Potencier
e8144e473e
[Templating] added getPath() to TemplateReferenceInterface as it's used in the child class in FrameworkBundle
2011-02-21 19:24:27 +01:00
Fabien Potencier
72cdb480ab
[FrameworkBundle] made CachedTemplateLocator fallback to the regular TemplateLocator if the template is not in the cache (to be able to use an absolute template)
2011-02-21 19:23:57 +01: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
353177d1d6
replaced Response::createRedirect by a new RedirectResponse class
2011-02-21 18:10:53 +01:00
Fabien Potencier
d94acd85f9
remove response as a service
...
The Response is not available in the DIC anymore.
When you need to create a response, create an instance of
Symfony\Component\HttpFoundation\Response instead.
As a side effect, the Controller::createResponse() and Controller::redirect()
methods have been removed and can easily be replaced as follows:
return $this->createResponse('content', 200, array('foo' => 'bar'));
return new Response('content', 200, array('foo' => 'bar'));
return $this->redirect($url);
return Response::createRedirect($url);
2011-02-21 17:36:04 +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
Johannes M. Schmitt
f21578e819
[Security] adds abstract user provider definition
2011-02-21 12:15:29 +01:00
Fabien Potencier
7c9528be7b
[FrameworkBundle] tweaked init:bundle skeleton
2011-02-21 11:52:48 +01:00
Fabien Potencier
7a614cb1ea
[Swiftmailer] fixed the determination of the default port
2011-02-21 11:35:47 +01:00
Fabien Potencier
0dfd5960f1
Merge remote branch 'stof/swiftmailer'
...
* stof/swiftmailer:
Splitted swiftmailer configuration to avoid issues when not using smtp
2011-02-21 11:28:40 +01:00
Fabien Potencier
d4fc3c98b1
[FrameworkBundle] updated the init:bundle skeleton files
2011-02-21 11:26:58 +01:00
Fabien Potencier
b9168bb652
Merge remote branch 'fabriceb/initbundleformat'
...
* fabriceb/initbundleformat:
[FrameworkBundle] added --format=xml,php,yml optional parameter to the init:bundle command
2011-02-21 11:20:04 +01:00
Wojciech Sznapka
6e1202961d
translated validator resources into Polish
2011-02-21 11:12:13 +01:00
Christophe Coevoet
e729589b10
Splitted swiftmailer configuration to avoid issues when not using smtp
2011-02-21 10:41:15 +01:00
Fabien Potencier
9619c7dade
[Routing] removing the routing hack where we add a / at the beginning if it does not exist
2011-02-21 10:25:22 +01:00
Fabien Potencier
8a8c733369
[HttpKernel] added the possibility to define a parent token for a token in the profiler
...
Note that this is not used yet. I make this change now because the interface needs to be changed.
2011-02-20 21:29:04 +01:00
Lukas Kahwe Smith
c518074306
added a DI extension for DoctrineMigrations, removed --bundle option in favor of application level settings
2011-02-20 18:38:02 +01:00
Fabien Potencier
eb5877c16a
fixed case problem
2011-02-20 10:11:55 +01:00
Fabien Potencier
23e9386a0e
changed all extensions to use the default Extension::getAlias() impl
2011-02-20 08:58:37 +01:00
Ray
8e2d7edb8c
Attempt to create a reasonable default based on the rules enforced in
...
src/Symfony/Component/HttpKernel/bootstrap.php
from commit: 14aa95ba21
2011-02-20 08:53:53 +01:00
Jeremy Mikola
f4c0af76e7
[TwigBundle] Allow arbitrary variables to be accepted as values for globals
...
This fixes a regression introduced when TwigExtension was refactored to utilize the Config component.
2011-02-20 00:59:18 -05:00
Jeremy Mikola
608e443c97
[Config] Create VariableNode, which mimics ScalarNode but omits type-checking
...
This allows for configuration options that must accept arbitrary variables. Even if the node's value is an array, VariableNode will not perform any special processing/merging as is done for ArrayNode. It functionally behaves like a ScalarNode.
2011-02-20 00:59:18 -05:00
Fabien Potencier
28bf834c0c
[WebProfilerBundle] made the WDT less intruisive by moving it to its own Ajax request
2011-02-19 23:05:22 +01:00
Fabien Potencier
eda74755ba
[ZendBundle] only load the logger if there is a config
2011-02-19 19:21:09 +01:00
Fabien Potencier
9a25878109
[FrameworkBundle] removed the Welcome page and moved it to the sandbox/standard distrib
2011-02-19 18:55:33 +01:00
Fabien Potencier
678e2f65ad
Merge remote branch 'stof/default_template'
...
* stof/default_template:
Use well-formed HTML in the default page
2011-02-19 18:51:49 +01:00
Fabien Potencier
d6c277f5c4
Merge remote branch 'stof/escaping'
...
* stof/escaping:
Fixed escaping for arguments
2011-02-19 18:50:32 +01:00
Christophe Coevoet
e9c7188fc1
Use well-formed HTML in the default page
2011-02-19 18:21:12 +01:00
Fabien Potencier
67ec6e5d94
Merge remote branch 'hidenorigoto/fix-profiler-header'
...
* hidenorigoto/fix-profiler-header:
[WebProfilerBundle]link to the original url to go back to the application easily
2011-02-19 17:32:19 +01:00
Fabien Potencier
b44d044b0a
[HttpKernel] removed the bootstrap files as they do not belong to the component
...
As these files are just about optimizing the performance,
they are now part of the sandbox and the upcoming standard
Symfony distribution.
It should also make your IDE happier!
2011-02-19 17:17:38 +01:00
hidenorigoto
bbdbd81877
[WebProfilerBundle]link to the original url to go back to the application easily
2011-02-20 01:05:31 +09:00
Christophe Coevoet
857a9f3b8b
[WebProfilerBundle] Fixed template to work with the new behavior of {% set %}
2011-02-19 16:54:34 +01:00
Fabien Potencier
418655e571
Merge remote branch 'stof/config_path'
...
* stof/config_path:
Fixed path for finalization errors when using a prototype
2011-02-19 16:15:13 +01:00
Fabien Potencier
a3207e939f
removed CompatAssetsBundle, use AsseticBundle instead
2011-02-19 16:13:53 +01:00
Christophe Coevoet
fc9ff68052
Fixed path for finalization errors when using a prototype
2011-02-19 16:04:53 +01:00
Fabien Potencier
3cbbd66d33
Merge remote branch 'dator/send_email_command'
...
* dator/send_email_command:
Fix description
Add an example using the options in the help message
Fix CS
[SwiftMailer] Add the SendEmail Command (for the spool)
2011-02-19 15:40:45 +01:00
Fabien Potencier
f6e624b1e2
[TwigBundle] changed all Boolean to string in XSD as you might want to use a parameter %...%
2011-02-19 15:36:41 +01:00
Fabien Potencier
4833acf301
Merge remote branch 'opensky/TwigExtension-configuration'
...
* opensky/TwigExtension-configuration:
[TwigBundle] Refactored TwigExtension class and implemented configuration tree
2011-02-19 15:35:09 +01:00
Fabien Potencier
f849353118
Merge remote branch 'weaverryan/config_definition_changes'
...
* weaverryan/config_definition_changes:
[SecurityBundle] Allowing the main Configuration tree to allow "factories" without a validation exception.
[SecurityBundle] Removing an old configuration key in a test - caught by the Configuration validation.
[SecurityBundle] Adding the ignoreExtraFields option to the factories tree so that there aren't validation errors on all the other unknown fields.
[Config] Adding an ignoreExtraKeys options, which allows you to let options simply be ignore without throwing a validation exception.
[Config] Reverting some meaningless changes that are no longer needed to minimize the true diff of the changes. Increasing the test precision.
[Config] Reverting the preventExtraKeys option. This is a revert of functionality that would have allowed "unnamed" children to be added to an array node.
[Config] Moving the removal of the key attribute on ArrayNode onto the setKeyAttribute() method per Johannes.
[Config] Renaming the key attribute removal property for consistency per Johannes' recommendation. Also fixing a PHPDoc typo per Stof.
[SwiftmailerBundle] Removing unnecessary "enabled" key in a test.
[FrameworkBundle] Removing the "namespace" key when it's defined in its own weird location in XML. This prevents that key, which we move in this same location, from looking like an invalid option during validation.
[Config] Renaming NodeBuilder::nodeBuilder() to NodeBuilder::builder() due to the fact that PHP can get confused when you have a __construct() method *and* a method that has the same name as the class (looks like two constructors to PHP).
[Config] Making the option to remove a key attribute optional.
[Config] Renaming the NodeBuilder::addNodeBuilder() to simply NodeBuilder::nodeBuilder() to be consistent with the other names: node(), arrayNode().
[Config] Making changes per the recent movement of the Config builder into the Config component.
[DependencyInjection] Renaming allowUnnamedChildren to preventExtraKeys. Also moved the place where validation of extra configs occurs.
[DependencyInjection] Being sure to remove XML-remapped singular options and key attribute options after processing.
[DependencyInjection] Adding a NodeBuilder::addNodeBuilder() method that helps achieve a fluid interface when a pre-built NodeBuilder needs to be added.
[DependencyInjection] Initial implementation of an allowUnnamedChildren method on NodeBuilder. Also added an "extra field" exception.
2011-02-19 15:32:41 +01:00
Fabien Potencier
0834bf47dc
[WebProfilerBundle] removed the WDT on malformed HTML content
2011-02-19 14:41:22 +01:00
Fabien Potencier
2c45611f4e
fixed WDT link to the profiler
2011-02-19 14:11:18 +01:00
Fabien Potencier
946d3d9302
fixed previous commit
2011-02-19 13:02:23 +01:00
benjamindulau
f1dd3f22e3
[TwigBundle] adding two global variables : environment & debug + some doc blocks
...
Use case :
{% if app.environment == 'prod' %}
{# e.g google analytics scripts #}
{% endif %}
2011-02-19 13:00:51 +01:00
Lukas Kahwe Smith
36132ccdf6
small fix for recent refactoring in Doctrine Migrations
2011-02-19 12:34:42 +01:00
Jeremy Mikola
9b15b6950c
[AsseticBundle] Sort Twig assets by name before loading for filesystem-independent results
...
Previously, the unit test was breaking in Ubuntu with an ext4 filesystem, while passing in OSX.
2011-02-19 12:33:20 +01:00
Kris Wallsmith
4ba0e0d5cf
[AsseticBundle] fixed bundle notation of inputs
2011-02-19 12:32:56 +01:00
Kris Wallsmith
c01be42933
[AsseticBundle] made the filter manager lazy
2011-02-19 12:31:51 +01:00
Kris Wallsmith
a9fb0f3a4b
[AsseticBundle] moved test
2011-02-19 12:31:51 +01:00
Christophe Coevoet
d2684f3f73
[AsseticBundle] Converted to use a Configuration class
2011-02-19 12:30:52 +01:00
Fabien Potencier
dff3585162
fixed profiler when using ESI in dev env
2011-02-19 12:18:49 +01:00
Ryan Weaver
c9406b62b2
[SecurityBundle] Allowing the main Configuration tree to allow "factories" without a validation exception.
...
The main tree doesn't actually process the factories (that's done in an earlier step), so it doesn't actually need their real value. It does, however, need to *not* throw an exception when they're present. An alternative to this approach would be to call ignoreExtraKeys() on the root node of the main tree, but this would allow extra keys to be passed in at the root level, which I thought was a less-desirable solution.
2011-02-18 16:12:12 -06:00
Ryan Weaver
b20ee0fb71
[SecurityBundle] Removing an old configuration key in a test - caught by the Configuration validation.
2011-02-18 13:36:10 -06:00
Ryan Weaver
a334a576cf
[SecurityBundle] Adding the ignoreExtraFields option to the factories tree so that there aren't validation errors on all the other unknown fields.
2011-02-18 13:35:19 -06:00
Ryan Weaver
026ab6c6ce
[Config] Adding an ignoreExtraKeys options, which allows you to let options simply be ignore without throwing a validation exception.
...
I had thought that this was unnecessary - when would you ever want to just let "extra" options fail silently?
But, the SecurityExtension takes advantage of this by creating two separate config trees. The first tree looks for just one particular value on the configuration array and ignores the rest. So, there *is* a use-case for allowing all extra fields to simply be ignored, though this should not be the norm.
2011-02-18 13:31:14 -06:00
Ryan Weaver
d2971e0f5f
[Config] Reverting some meaningless changes that are no longer needed to minimize the true diff of the changes. Increasing the test precision.
2011-02-18 13:08:53 -06:00
Ryan Weaver
6f17b6d58e
[Config] Reverting the preventExtraKeys option. This is a revert of functionality that would have allowed "unnamed" children to be added to an array node.
...
We decided that this is not necessary and that it's leaving too many things wide open. Instead, in these cases where we have an array with unknown items, a prototype should be used.
Further functionality will need to be added later to allow you to specify a few nodes that you *do* know about under an array and then also specify a prototype to catch everything else.
2011-02-18 12:59:27 -06:00
Jeremy Mikola
f0d2ce7f32
[TwigBundle] Refactored TwigExtension class and implemented configuration tree
...
Added config fixtures in each format to demonstrate the possible styles of all of the extension options. These should all be covered by the updated tests. Made XSD slightly more restrictive, with regards to the "type" attribute on globals. This is coupled with validation in the configuration class.
2011-02-18 12:58:04 -05:00
Ryan Weaver
6d24d37b16
[Config] Moving the removal of the key attribute on ArrayNode onto the setKeyAttribute() method per Johannes.
...
This is more consistent with how this was handled elsewhere, and it really is an "option" on the keyAttribute idea.
2011-02-18 08:41:30 -06:00
Ryan Weaver
48459e9082
[Config] Renaming the key attribute removal property for consistency per Johannes' recommendation. Also fixing a PHPDoc typo per Stof.
2011-02-18 08:38:09 -06:00
Ryan Weaver
663dcbcb32
[SwiftmailerBundle] Removing unnecessary "enabled" key in a test.
...
I double-checked with Stof - this is obviously unnecessary and there was no meaning behind including it. This caused the test to fail with the new validation.
2011-02-18 07:55:39 -06:00
Ryan Weaver
2d94f2d8d0
[FrameworkBundle] Removing the "namespace" key when it's defined in its own weird location in XML. This prevents that key, which we move in this same location, from looking like an invalid option during validation.
2011-02-18 07:43:36 -06:00
Ryan Weaver
d6617f6fba
[Config] Renaming NodeBuilder::nodeBuilder() to NodeBuilder::builder() due to the fact that PHP can get confused when you have a __construct() method *and* a method that has the same name as the class (looks like two constructors to PHP).
2011-02-18 07:31:00 -06:00
Ryan Weaver
ea768fe6fc
[Config] Making the option to remove a key attribute optional.
...
This is *usually* what you want (and is defaulted this way). If you have an entry in an array *just* so it can become the key to that entry later, then you shouldn't normally still need it in the resulting array.
The importance of this comes in with validation. Since we're throwing an exception if you have any unrecognized options, the presence of the "key" field in the resulting array will cause issues when it's not needed.
2011-02-18 07:15:59 -06:00
Ryan Weaver
554628cf5b
[Config] Renaming the NodeBuilder::addNodeBuilder() to simply NodeBuilder::nodeBuilder() to be consistent with the other names: node(), arrayNode().
2011-02-18 07:00:03 -06:00
Ryan Weaver
e7c098e8a2
[DependencyInjection] Renaming allowUnnamedChildren to preventExtraKeys. Also moved the place where validation of extra configs occurs.
2011-02-18 06:52:44 -06:00
Ryan Weaver
fd5cdfc18f
[DependencyInjection] Being sure to remove XML-remapped singular options and key attribute options after processing.
...
This prevents these keys from being validated as extra fields.
2011-02-18 06:52:44 -06:00
Ryan Weaver
bd15ddda96
[DependencyInjection] Adding a NodeBuilder::addNodeBuilder() method that helps achieve a fluid interface when a pre-built NodeBuilder needs to be added.
2011-02-18 06:51:56 -06:00
Ryan Weaver
f5b1cb18e1
[DependencyInjection] Initial implementation of an allowUnnamedChildren method on NodeBuilder. Also added an "extra field" exception.
...
This allows for an array node, which has any number of child values not represented by nodes.
2011-02-18 06:51:56 -06:00
Miha Vrhovnik
9b602626eb
Added missing use statement
2011-02-18 13:48:22 +01:00
hhamon
f985da5a9c
[HttpFoundation] fix Cache-Control header when forcing the Response to have an Expires header field. The RFC2616 Bis indicates that if the Response has both max-age (or s-maxage) and Expires header field, the Cache-Control maxage wins over Expires. The previous code in ResponseHeaderBag always returned "private, max-age=0, must-revalidate" even if the Expires header field was forced.
...
This commit breaks functional tests in Symfony\Component\HttpKernel\HttpCache\HttpCacheTest.php. I tried to fix functional tests but I didn\'t manage to. For your information, the "try { } catch" block in the HttpKernel\HttpCache::lookup() method seems strange because I suspect line 274 to never leverage any exception...
2011-02-18 12:34:33 +01:00
Juan Ases García
2ba9ebfee9
Fixed typo in json error template
2011-02-18 12:10:07 +01:00
Jordi Boggiano
3fbe366df2
[Yaml] Fix warning
2011-02-18 12:08:05 +01:00
Fabien Potencier
75238c6817
added the LICENSE file for the YAML component
2011-02-18 11:52:11 +01:00
Clément Jobeili
e8d39d6d32
Fix description
2011-02-18 10:43:34 +01:00
Clément Jobeili
aef85dde27
Add an example using the options in the help message
2011-02-18 10:41:34 +01:00
Clément Jobeili
438ccbdf8a
Fix CS
2011-02-18 10:34:44 +01:00
Clément Jobeili
9b16f1a614
[SwiftMailer] Add the SendEmail Command (for the spool)
2011-02-18 10:22:14 +01:00
Christophe Coevoet
76262b2ccc
Fixed spool handling
2011-02-18 08:32:43 +01:00
Christophe Coevoet
b3460653bc
Revert "fix spooler handling"
...
This reverts commit 3607f1d334
.
2011-02-18 08:32:43 +01:00
Justin Hileman
b8c531e1fc
Add a namespace separator for console commands in Command
sub-directories.
...
Fixes a bug in `Bundle::registerCommands` with console commands in sub-directories of `Command`. `MyBundle\Command\FooCommand` worked great, but with `MyBundle\Command\Bar\BazCommand` Bundle would try to register `MyBundle\CommandBar\BazCommand` instead.
2011-02-17 19:39:21 +01:00
hhamon
b61e288e0b
[BrowserKit] fix phpdoc for Client::followRedirect()
2011-02-17 19:38:06 +01:00
hhamon
b687e52835
[DomCrawler] fix Form::getUri() when the form action attribute contains only a sharp (#) character.
2011-02-17 19:37:25 +01:00
Fabien Potencier
6b12c21261
moved DependencyInjection\Configuration to Config\Definition
2011-02-17 16:03:48 +01:00
Jordi Boggiano
38813c122e
[TwigBundle] Resolve some TODOs in form templates
2011-02-17 16:00:28 +01:00
Ryan Weaver
c5e4dfb5a6
[DependencyInjection] Adding to InvalidArgumentException messages to clarify when a service is given an invalid "tags" value.
2011-02-17 15:59:39 +01:00
Ryan Weaver
a0fc4240f9
[HttpKernel] Adding a line break to the end of the Kernel die() statements so that the output is more natural when receiving this message from the terminal.
2011-02-17 15:58:45 +01:00
Fabien Potencier
d64277d101
fixed typo
2011-02-17 13:33:15 +01:00
Victor Berchet
0a33cbb403
[Finder] Add support for relative path
2011-02-17 07:23:55 +01:00
Jeremy Mikola
92f50bbe4d
[SwiftmailerBundle] Fix expected default value in SwiftmailerExtension unit test
2011-02-17 06:49:28 +01:00
Lukas Kahwe Smith
3607f1d334
fix spooler handling
2011-02-17 06:49:05 +01:00
Christophe Coevoet
9d2a9dd65d
Updated the root node to match the new syntax
2011-02-16 23:07:12 +01:00
Christophe Coevoet
990910d601
Converted SwiftmailerBundle to use a Configuration class
2011-02-16 23:07:11 +01:00
Christophe Coevoet
ee8ad0c4e9
Fixed previous commit to handle the case of arrays
2011-02-16 23:07:11 +01:00
Christophe Coevoet
27e2ec139d
Added the possibility to add the value in the exception message
2011-02-16 23:07:11 +01:00
Christophe Coevoet
6b4538a1c4
Added the test ifNotInArray
2011-02-16 23:07:11 +01:00
Christophe Coevoet
ef045a9433
Added missing license header in the DependenciInjection\Configuration classes
2011-02-16 23:07:11 +01:00
Christophe Coevoet
077d1921b3
Added the support of the validation in the Builder
2011-02-16 23:07:10 +01:00
Bernhard Schussek
89dbb04c63
[Validator] Made method name shorter
2011-02-16 23:05:22 +01:00
Bernhard Schussek
9569262635
[Form] Fixed date handling classes to use server timezone by default
2011-02-16 23:05:22 +01:00
Bernhard Schussek
0a260b96fb
[Form] Fixed error handling in DateTimeToArrayTransformer
2011-02-16 23:05:22 +01:00
Bernhard Schussek
df011ed1ef
[Form] Fixed isXXXWithinRange() methods in TimeField and DateField to ignore empty dropdowns
2011-02-16 23:05:22 +01:00
Bernhard Schussek
14c3518c6e
[Form] Fixed: If a DateField or TimeField is displayed with select boxes, either all or no select box must have a value selected
2011-02-16 23:05:22 +01:00
Bernhard Schussek
40acc6ac79
[Form] Fixed ChoiceField::isChoiceSelected() to differentiate between zero and empty
2011-02-16 23:05:21 +01:00
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
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
Fabrice Bernhard
13469a2d82
[FrameworkBundle] added --format=xml,php,yml optional parameter to the init:bundle command
...
* Added the --format parameter to the InitBundleCommand.php file
* Moved all the non-format-dependent files from Resources/skeleton/bundle to Resources/skeleton/bundle/generic
* Created Resources/skeleton/bundle/[php,yml,xml] subfolders containing the files config/routing.[xml,yml,php]
2011-02-14 19:31:21 +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
ornicar
b043bfde0b
Do not catch subrequest exceptions, because it makes debugging hard.
2011-02-12 22:48:54 +01:00
Jordi Boggiano
9bcd1b3e5f
[Security] Fixed indenting
2011-02-12 22:14:16 +01:00
Christophe Coevoet
556305b4ac
Fixed the default value of the access denied url
...
The custom error page is now disabled by default as this would throw an
exception if the /access_denied url does not match a route.
This commit also remove the old parameter for this url which is not used
anymore in the code.
Moved the default value to the Configuration class
2011-02-12 22:11:11 +01:00
Johannes Schmitt
a5cfc2207c
[Security/DependencyInjection] updated SecurityBundle's configuration, some bug fixes in DIC config classes
2011-02-12 22:05:54 +01:00
Jeremy Mikola
fc3f56d17c
[FrameworkBundle] Small fixes to FrameworkExtension and its configuration
...
* Remove redundant null/true equivalent array() values for array nodes
* Profiler matcher should not be deep merged; subsequent configs can simply overwrite its array
* Per lsmith's suggestion, change "isset(x) && x" to "!empty(x)"
* Templating engines node should be required, which is necessary to ensure requiresAtLeastOneElement() applies to its prototype children
2011-02-12 21:59:25 +01:00
Jordi Boggiano
98e035b963
[DepdenencyInjection] Prevent self-referencing aliases
2011-02-12 21:58:00 +01:00
Jeremy Mikola
b3cb02adf2
[FrameworkBundle/Routing] Add "type" option for main Router resource (and expose this in FrameworkExtension config)
...
In routing files, import statements allow an optional "type" option to hint the resources' type (e.g. for ambiguous file extensions). This adds the same type option to the FrameworkExtension config, which defines the main routing resource.
2011-02-12 21:57:27 +01:00
Christophe Coevoet
ccd630981f
Moved the exception to setDefaultValue
2011-02-12 21:56:21 +01:00
Christophe Coevoet
142212e2ba
Added a way to define the default value of a prototype for array nodes
2011-02-12 21:56:21 +01:00
Fabian Vogler
9caa17823a
Fix for SimpleXML in XmlEncoder
...
Check first for special objects like SimpleXMLElement and Traversable and the check for is_object.
2011-02-12 21:54:27 +01:00
Johannes Schmitt
9749da6e52
[Security] performance improvements of PermissionGrantingStrategy
2011-02-12 21:53:04 +01:00
Johannes Schmitt
19bbafc441
[Security] Refactored security context, moved getUser() implementation to templating
2011-02-12 21:53:04 +01:00
Johannes Schmitt
66fbbd6b17
[Security] removed __toString() from AccountInterface
2011-02-12 21:53:04 +01:00
hhamon
bd79e85928
[BrowserKit] fix phpdoc
2011-02-12 21:52:34 +01:00
hhamon
beaaa6d457
[BrowserKit] fix Response::__toString() method to take care of multiple headers, for example when setting more than one cookie.
2011-02-12 21:52:33 +01:00
Jeremy Mikola
8525ff83cd
[Routing] XmlFileLoader should treat a missing "type" attribute as null when calling FileLoader::import()
2011-02-12 21:52:16 +01:00
Kris Wallsmith
36ff9abe67
[Console] fixed new ArgvInput method
2011-02-12 21:51:34 +01:00
hhamon
c2e4ec44a8
[HttpFoundation] fixed phpdoc
2011-02-12 21:51:10 +01:00
Fabien Potencier
5ee8eca0ee
[Routing] fixed previous commit
2011-02-11 01:54:25 +01:00
Fabien Potencier
b588caf467
[DependencyInjection] made a small change to mimic a similar change in Routing
2011-02-11 00:13:02 +01:00
Jeremy Mikola
d85a839997
[Routing] Avoid locating imported resources as files unless they resolve to a FileLoader
...
XML/YAML loaders assume imported resources are files before attempting to resolve their loader. This is problematic for loaders such as Assetic, which does not use a file as its resource. Furthermore, the previous consecutive calls to both locate() and getAbsolutePath() were redundant. File location can safely be delayed until FileLoader::import(), and we can let that throw an exception if the file is not found.
2011-02-11 00:08:43 +01:00
Igor Wiedler
e929bc5d1b
[HttpKernel] Allow any 2xx response code in a subrequest
2011-02-11 00:06:41 +01:00
Igor Wiedler
8cb3a237cc
[FrameworkBundle] Allow any 2xx response code in a subrequest
2011-02-11 00:06:41 +01:00
Jordi Boggiano
5bf593353f
[Routing] Added optional trailing slash support to ApacheMatcherDumper
2011-02-10 23:46:23 +01:00
Jordi Boggiano
fe694de746
[Routing] Make trailing slashes in urls optional
2011-02-10 23:46:23 +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
f53080860a
moved Resource to the Config component
2011-02-10 16:07:42 +01:00
Kris Wallsmith
51beecc6f2
[Router] config fixes
2011-02-10 15:54:00 +01:00
Christophe Coevoet
1305728502
Fixed ExprBuilder to really use the parameter when replacing a key with an attribute
2011-02-10 15:33:14 +01:00
Christophe Coevoet
fa32adb9a3
Added phpdoc for the configuration builder
2011-02-10 15:33:14 +01:00
Christophe Coevoet
74b87294c2
Fixed access denied handling
2011-02-10 15:32:59 +01:00
hidenorigoto
82a8a3fb42
[WebProfilerBundle][FrameworkBundle]Fixed events panel to handle closures correctly
2011-02-10 15:32:04 +01:00
Fabien Potencier
a8ec9b27f0
moved duplicated files to a new Config component
2011-02-10 03:43:36 +01:00
Jeremy Mikola
a72145bf5f
[HttpFoundation] Add array type-hint to Session::setAttributes() param
2011-02-10 00:50:07 +01:00
Fabien Potencier
e58a84eb09
added a FileLocator to DIC so that we can load resources like @BundleName/Resources/...
2011-02-10 00:44:02 +01:00
Victor Berchet
24b1b6e898
[FrameworkBundle] Tweak the template cache warmer
2011-02-09 18:44:07 +01:00
Victor Berchet
717efd14fd
[Kernel] some tweaks
2011-02-09 18:43:01 +01:00
Jordi Boggiano
6a7d6843ae
[Form] Removed unnecessary code
2011-02-09 15:49:05 +01:00
hhamon
d076ee4f3a
[DoctrineMongoDBBundle] use namespace in MongoDB data fixtures command
2011-02-09 07:09:34 +01:00
hhamon
56dc1281d0
[DoctrineBundle] use namespace and fix double variable declaration
2011-02-09 07:09:34 +01:00
Sven Paulus
5d87d83a10
optimize duplication of Request objects
2011-02-09 06:59:36 +01:00
Tim Nagel
06e2c01e76
[CssSelector] PHPDoc additions
2011-02-09 06:55:44 +01:00
Tim Nagel
76e9b6ec97
[Console] PHPDoc fixes
2011-02-09 06:55:12 +01:00
Jeremy Mikola
9f77cabd2f
[TwigBundle] Cast non-array resources argument to array in form_field() twig function
...
Methods within FormExtension later type-hint this parameter as an array, but it's convenient to allow a single string to be passed from Twig if we ensure it's wrapped in an array.
2011-02-09 06:53:10 +01:00
Fabien Potencier
fae8a557f9
[Console] fixed typo
2011-02-08 22:37:21 +01:00
Fabien Potencier
7e0ed2759b
[HttpKernel] fixed phpdoc
2011-02-08 22:36:58 +01:00
Fabien Potencier
f35f1e1f3c
[FrameworkBundle] fixed init:bundle command
2011-02-08 22:36:36 +01:00
Marc Weistroff
9f52333bf6
[HttpKernel] Fixed DataCollector Request attributes when attributes have objects
2011-02-08 19:18:38 +01:00
Bernhard Schussek
f51dafca3f
[Form] Fixed: "data_constructor" option is used even if "data_class" option is not set
2011-02-08 04:14:56 +01:00
Bernhard Schussek
5b95805340
[Form] Added option "data_constructor" to Form. When a Form is initialized with NULL, an object is automatically created using this constructor. If no constructor is given but the option "data_class" is set, an object of that class is created with the default constructor instead.
2011-02-08 04:14:56 +01:00
Bernhard Schussek
09a50c3c55
[Form] Fixed: "by_reference" option is ignored if reading from/writing to an array
2011-02-08 04:14:55 +01:00
Bernhard Schussek
59bf50bf41
[Form] Disabled by reference handling for arrays
2011-02-08 04:14:55 +01:00
Bulat Shakirzyanov
97679e5bda
[DoctrineAbstractBundle] added test for new Loader
2011-02-08 04:11:47 +01:00
Bulat Shakirzyanov
d447d22809
[DoctrineBundle, DoctrineAbstractBundle, DoctrineMongoDBBundle] added container aware fixture loader
...
Updated load data fixtures command in DoctrineMongoDBBundle to be identical to the one in DoctrineBundle
Created custom loader, that passes $container to all ContainerAware DataFixtures
2011-02-08 04:11:47 +01:00
Bulat Shakirzyanov
734be8107c
[DoctrineMongoDBBundle] fixed UniqueValidatorTest to mark skipped if Doctrine\ODM classes not found
2011-02-08 04:11:47 +01:00
Xavier Perez
2f9b9f5521
[Templating] Added some missing PHPDoc
2011-02-07 16:25:20 +01:00
Xavier Perez
4c65161953
[Yaml] Added PHPDoc on getTimestampRegex()
2011-02-07 16:25:19 +01:00
Fabien Potencier
9f30e42c16
added --debug/-d and --env/-d to console
2011-02-07 03:03:02 +01:00
Tim Nagel
f3b6e1a30c
PHPDoc for Console
2011-02-07 01:54:10 +01:00
ornicar
4252680ccf
[HttpKernel] Catch exception when SQLite profiler storage fails to cleanup
2011-02-07 01:52:10 +01:00
Marc Weistroff
ea4ab77b6d
[HttpKernel] HttpCache now sends maxage=0 cache-control directive in case of Esi presence.
2011-02-07 01:43:19 +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
2201382fa1
[HttpKernel] Fix issue in SQLite profiler storage when PDO fails to prepare a statement
2011-02-07 01:25:34 +01:00
Tim Nagel
93fd935b70
PHPDoc style fix
2011-02-07 01:02:56 +01:00
ornicar
803cc91b8b
[FrameworkBundle] Fix TemplateNameParser template name exception message
2011-02-07 00:45:46 +01:00
Tim Nagel
0d6a6b79f0
PHPDoc fixes
2011-02-07 00:44:48 +01:00
Tim Nagel
108efc6ec9
Classloader PHPDoc
2011-02-07 00:44:48 +01:00
Tim Nagel
69672bad59
Added phpdoc to BrowserKit
2011-02-07 00:44:48 +01:00
Marcin Sikon
b9ed739d75
fixed RedirectController - removed parmanent attribute before generate new url, added tests
2011-02-07 00:15:22 +01:00
pborreli
7ad4f99153
[HttpFoundation] File/UploadedFile, MimeTest, Exception full coverage
2011-02-06 21:53:36 +01:00
Fabien Potencier
33c8d12b9a
[FrameworkBundle] fixed XSD for the new exception-controller option
2011-02-06 21:44:04 +01:00
Lukas Kahwe Smith
44e6a5d45f
added exception_controller config option
2011-02-06 21:42:51 +01:00
ornicar
afad113297
[HttpKernel] Fix notice in Kernel
2011-02-06 21:42:17 +01:00
Fabien Potencier
86631a9fee
[FrameworkBundle] fixed template loaders in configuration
2011-02-06 21:39:30 +01:00
Fabien Potencier
7cb42d2a68
Revert "[TwigBundle] fixed error messages when an error occurs during template compilation"
...
This reverts commit c68b326665
.
2011-02-06 21:05:37 +01:00
Jeremy Mikola
099b9dee1f
[FrameworkBundle] Integrate Configuration\Builder class for config merging and normalization
...
This fixes some BC problems introduced in f9138d313b
. Some top-level can now be simply enabled by providing true/null in PHP/YAML. Additionally, the Configuration\Builder allows options to be unset by providing "false" (helpful for overriding activation in a previous config file). All options supporting these behaviors can be found in the Configuration.php file (look for canBeUnset() and treatNull/TrueLike()).
Major changes:
* Removed "enabled" option for profiler config. Profiler is now enabled if its config is true, null or a map.
* Restore original config structure for validation namespaces. In PHP/YAML, namespaces are defined under annotations as an alternative to false (disabled) and true/null (enabled). For XML, annotation remains a boolean attribute for validation and a one or more optional namespace tags may appear within <app:validation />. During config normalization, namespace tags under validation will be moved to annotations to conform to the PHP/YAML structure (this occurs transparently to the user).
* Restore behavior for router/templating config sections being optional (as shown in changes to session/validation test fixtures). If either top-level section is unset in the configuration, neither feature will be enabled and the user will no longer receive exceptions due to missing a resource option (router) or engines (templating). Resource/engines will still be properly required if the respective feature is enabled.
* Remove unused router type option from XML config XSD. Type is only relevant for import statements, so this option is likely useless.
Additional small changes:
* Added isset()'s, since config options may be unset
* Wrap registerXxxConfiguration() calls in isset() checks
* Load translation.xml in configLoad(), since it's always required
* Default cache_warmer value (!kernel.debug) is determined via Configuration class
Things to be fixed:
* Configuration\Builder doesn't seem to respect isRequired() and requiresAtLeastOneElement() (or I haven't set it properly); this should replace the need for FrameworkExtension to throw exceptions for bad router/templating configs
* The config nodes for session options don't have the "pdo." prefix, as dots are not allowed in node names. To preserve BC for now, the "pdo." prefix is still allowed (and mandated by XSD) in configuration files. In the future, we may just want to do away with the "pdo." prefix.
* Translator has an "enabled" option. If there's no use case for setting "fallback" independently (when "enabled" is false), perhaps "enabled" should be removed entirely and translator should function like profiler currently does.
* Profiler matcher merging might need to be adjusted so multiple configs simply overwrite matcher instead of merging its array keys.
2011-02-06 20:50:12 +01:00