Fabien Potencier
35c85a1547
added missing change from previous commit (sorry :()
2011-06-07 11:57:30 +02:00
Fabien Potencier
96fc666454
simplified cache warmers
...
Here are the new simplified rules:
* Required cache warmers are *always* executed when the Kernel boots for the first time;
* Optional cache warmers are *only* executed from the CLI via cache:warmup
These new rules means that all the configuration settings for the cache
warmers have been removed. So, if you want the best performance, remember to
warmup the cache when going to production.
This also fixed quite a few bugs.
2011-06-07 11:42:27 +02:00
Fabien Potencier
5af7c7fffd
moved TemplateFinder to CacheWarmer as it is only useful in this context
2011-06-07 09:39:41 +02:00
Fabien Potencier
cb1f2c7e69
Merge remote branch 'kriswallsmith/templating/packages-rework'
...
* kriswallsmith/templating/packages-rework:
[FrameworkBundle] updated for templating changes, added http/ssl logic
[Templating] reworked asset helper and packages
2011-06-04 18:25:52 +02:00
Fabien Potencier
c62b2309cf
[FrameworkBundle] fixed WDT for redirects emitted by the Security component
2011-06-04 10:25:44 +02:00
Kris Wallsmith
d9f5c99fab
[FrameworkBundle] updated for templating changes, added http/ssl logic
2011-05-31 06:46:30 -07:00
Fabien Potencier
839c332438
moved all listener classes under a common EventListener sub-namespace
2011-05-31 10:43:20 +02:00
Fabien Potencier
02605f3481
merged origin/master
2011-05-31 08:34:05 +02:00
Fabien Potencier
988355993a
refactored Profiler class
2011-05-30 22:25:25 +02:00
Fabien Potencier
c8f9904ac8
merged origin/master
2011-05-30 15:00:41 +02:00
Fabien Potencier
6731065626
tweaked priorities
2011-05-30 14:59:32 +02:00
Fabien Potencier
9181e5dd0c
merged origin/master
2011-05-30 14:28:54 +02:00
Fabien Potencier
9698669baa
renamed RequestAttributeInitializingListener to RouterListener and
...
SessionInitializingListener to SessionListener
2011-05-30 14:22:13 +02:00
Johannes Schmitt
786823151e
changed injection type
2011-05-28 18:06:25 +02:00
Johannes Schmitt
f37386e336
Merge branch 'master' of git://github.com/symfony/symfony into security
2011-05-28 17:07:16 +02:00
Jordi Boggiano
af0bd8a136
Update Core and Security events to latest model
...
The main benefit is that in XML/YML files we have common syntax (i.e. core.controller, form.pre_bind) that properly namespaces event names (before: onCoreController was ok, preBind was not).
On the other hand in PHP land we also have namespaced events, CoreEvents::controller, FormEvents::preBind, before it was Events::onCoreController, Events::onPreBind, we now have more context.
2011-05-26 11:55:07 +02:00
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
Johannes Schmitt
0eb7564f7d
Merge remote branch 'origin/master' into security
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/Listener/RequestAttributeInitializingListener.php
2011-05-18 12:54:47 +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
a97e8b82d0
[FrameworkBundle][SecurityBundle] fixes a regression in the listener order
2011-05-14 13:25:02 +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