Fabien Potencier
d67e25c003
Merge remote branch 'richardmiller/fixed_container_debug_command_help'
...
* richardmiller/fixed_container_debug_command_help:
[FrameworkBundle] Added missing word to ContainerDebugCommand help message.
2011-06-10 19:50:58 +02:00
Christophe Coevoet
5458baf465
[MonologBundle] Changed the default bubbling behavior. Fixes #1268
2011-06-10 19:44:10 +02:00
Richard Miller
346cbf352a
[FrameworkBundle] Added missing word to ContainerDebugCommand help message.
2011-06-10 17:56:06 +01:00
Hugo Hamon
aa6645d955
[DoctrineBundle] fixed missing backslashe.
2011-06-10 14:55:47 +02:00
Hugo Hamon
1da8922eab
[DoctrineBundle] simplified getClassMetadataFactoryClass() method in both DisconnectedMetadataFactory and MetadataFactory classes.
2011-06-10 14:27:55 +02:00
Hugo Hamon
ce3839a3ea
[DoctrineBundle] added new DisconnectedMetadataFactory class that is now used in the doctrine:generate:entities command instead of the MetadataFactory class.
2011-06-10 14:24:31 +02:00
Fabien Potencier
25c3fee1f2
[FrameworkBundle] removed obsolete code
2011-06-09 22:15:58 +02:00
Fabien Potencier
852a4c9c6a
[Form] removed the file upload temporary storage feature
...
The current implementation is not ready for inclusion in 2.0. It has several
known problems (security, not possible to disable it, not "cloud-compatible",
...) and it's not a must have feature anyway.
Some references:
* Security issue in FileType: https://github.com/symfony/symfony/issues/1001
* Validation fails on file, still stored in TemporaryStorage: https://github.com/symfony/symfony/issues/908
* Add a size argument & ability to configure TemporaryStorage: https://github.com/symfony/symfony/pull/748
This feature should be reworked and discussed for inclusion in 2.1.
2011-06-09 12:44:36 +02:00
Hugo Hamon
6e96accf3a
[DoctrineBundle] fixed MetadataFactory::getMetadataForClass() to always return a ClassMetadataCollection object instead of NULL.
2011-06-09 11:13:42 +02:00
Kris Wallsmith
0df338fdb1
added script[type="text/html"] collection prototype to form themes
2011-06-08 09:41:12 -04:00
Fabien Potencier
d528b7481f
fixed typo
2011-06-08 15:20:37 +02:00
Fabien Potencier
566511e9e7
moved some FormView methods to FormUtil where they really belongs
2011-06-08 14:07:04 +02:00
Fabien Potencier
1aabc5da64
fixed CS
2011-06-08 12:16:48 +02:00
Fabien Potencier
62e4342a86
fixed CS
2011-06-08 12:12:55 +02:00
Fabien Potencier
12dd52b00b
[FrameworkBundle] removed the --without-debug option for cache:clear (it now inherits the debug flag from the parent Kernel)
2011-06-08 10:16:10 +02:00
Benjamin Eberlei
2a5449dcb0
[DoctrineBundle] added tests for registry
2011-06-08 08:48:49 +02:00
Fabien Potencier
879242cdf5
moved some Doctrine classes from the bundle to the bridge
2011-06-08 08:41:44 +02:00
Fabien Potencier
fbf36957e6
refactored Doctrine Bridge
...
* added a RegistryInterface
* changed all classes to depend on the Registry instead of a specific EntityManager
This is more consistent as the validator already took the registry and this allows
to use any entity manager in Forms.
2011-06-08 08:35:48 +02:00
Fabien Potencier
84b25b1626
Merge remote branch 'beberlei/AsseticDirectoryResource'
...
* beberlei/AsseticDirectoryResource:
[Assetic] Make AsseticExtension::createDirectoryResourceDefinition public, so that third party bundels can easilycreate definitions to search for assetic formulae in additional directories. LiipThemeBundle needs this to make the app/Resources/themes and Bundle/Resources/themes folder searchable. Without this change the whole method would need to be copy pasted. Since the method has no side-effects at all (only factory, not pushing into the container) this change is justifyable imho.
2011-06-07 23:04:57 +02:00
Benjamin Eberlei
d4e47a305b
[Assetic] Make AsseticExtension::createDirectoryResourceDefinition public, so that third party bundels can easilycreate definitions to search for assetic formulae in additional directories. LiipThemeBundle needs this to make the app/Resources/themes and Bundle/Resources/themes folder searchable. Without this change the whole method would need to be copy pasted. Since the method has no side-effects at all (only factory, not pushing into the container) this change is justifyable imho.
2011-06-07 22:38:09 +02:00
Fabien Potencier
adc7904c33
[FrameworkBundle] fixed phpdoc
2011-06-07 19:49:03 +02:00
Fabien Potencier
aaf1300a20
merged hhamon/controller_getrequest_method
2011-06-07 19:48:40 +02:00
Fabien Potencier
97a745e973
Merge remote branch 'vicb/form-rendering-fix'
...
* vicb/form-rendering-fix:
[Form] Fix accessibility for file inputs
[FrameworkBundle] Fix the FormHelper phpDoc
[FrameworkBundle][Form] Add some phpDoc for the FormHelper class
[FrameworkBundle][Form] Fix label rendering
[FrameworkBundle][Form] Fix rendering search inputs in PHP
[Form] FormType labels should never have a for attribute
[Form] Never render a view again
2011-06-07 19:46:20 +02:00
Fabien Potencier
74fbdc2fe2
Merge remote branch 'hhamon/typo_fix'
...
* hhamon/typo_fix:
[FrameworkBundle] some typo fixes in phpdoc.
2011-06-07 19:39:03 +02:00
Fabien Potencier
2286452cc8
[DoctrineBundle] added a few aliases
2011-06-07 18:26:28 +02:00
Fabien Potencier
89f544afb6
moved Twig form templates to the Twig bridge
2011-06-07 16:38:23 +02:00
Fabien Potencier
1363068686
[FrameworkBundle] fixed phpdoc
2011-06-07 16:13:08 +02:00
Hugo Hamon
1c96ee672a
[FrameworkBundle] some typo fixes in phpdoc.
2011-06-07 15:35:03 +02:00
Hugo Hamon
37b2df25bf
[FrameworkBundle] Introduced a new Controller::getRequest() method to get the Request service from a controller.
2011-06-07 15:33:20 +02:00
Fabien Potencier
6737bd36bd
[TwigBundle] made table_layout.html.twig useable as a trait
2011-06-07 13:52:58 +02:00
Fabien Potencier
41242dcc00
[DoctrineBundle] made XML/YAML mapping drivers more BC with their Doctrine counterparts
...
The ultimate goal is to move back these mapping dirvers to the Doctrine project.
2011-06-07 12:14:46 +02:00
Fabien Potencier
116e004f7d
[DoctrineBundle] removed doctrine:generate:proxies as this command is never needed in a Symfony2 context
2011-06-07 12:01:07 +02:00
Fabien Potencier
b51d839ab8
removed duplicated test
2011-06-07 11:57:48 +02:00
Fabien Potencier
35c85a1547
added missing change from previous commit (sorry :()
2011-06-07 11:57:30 +02:00
Fabien Potencier
a17478ff74
tweaked previous commit
2011-06-07 11:48:08 +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
5be0bafe7f
removed TemplateReferenceInterface::getSignature() (replaced by the existing getLogicalName() which already acts as a unique identifier)
2011-06-07 10:12:38 +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
125df3ab3b
[DoctrineBundle] removed unneeded use statement
2011-06-07 09:06:58 +02:00
Fabien Potencier
22428b8b14
[DoctrineBundle] refactored Doctrine proxy cache warmer
...
* removed the dependency on the Container
* the proxy cache is now get from each entity manager configuration
2011-06-07 09:03:40 +02:00
Fabien Potencier
1c3fa20685
[DoctrineBundle] added Registry::getEntityManagers()
2011-06-07 08:53:04 +02:00
Fabien Potencier
85a381d048
[DoctrineBundle] added Registry::getConnections()
2011-06-07 08:53:03 +02:00
Fabien Potencier
2a5d7687b7
fixed Router cache warmer
2011-06-07 08:53:01 +02:00
Fabien Potencier
8618a27bf7
[DoctrineBundle] tweaked phpdoc
2011-06-07 08:44:59 +02:00
Victor Berchet
8d2974ce90
[Form] Fix accessibility for file inputs
2011-06-06 21:00:07 +02:00
Victor Berchet
c0355038cf
[FrameworkBundle] Fix the FormHelper phpDoc
2011-06-06 21:00:07 +02:00
Victor Berchet
1196eb8e51
[FrameworkBundle][Form] Add some phpDoc for the FormHelper class
2011-06-06 20:12:37 +02:00
Victor Berchet
5044a7b56d
[FrameworkBundle][Form] Fix label rendering
...
The label should not include the view 'id' attribute as it is used by the view widget.
2011-06-06 20:12:03 +02:00
Victor Berchet
61721e3fd4
[FrameworkBundle][Form] Fix rendering search inputs in PHP
2011-06-06 18:17:22 +02:00
Fabien Potencier
cb3390e9ae
Merge remote branch 'gordonslondon/http-foundation/response'
...
* gordonslondon/http-foundation/response:
[HttpFoundation] merge Response::isRedirected() with Response::isRedirect() - Response::isRedirected() has been removed
2011-06-06 18:06:51 +02:00
Victor Berchet
60c463d184
[Form] FormType labels should never have a for attribute
2011-06-06 18:04:07 +02:00
Victor Berchet
b12b11c131
[Form] Never render a view again
...
If some of the nested views are rendered individually they should not be rendered again when calling form_rest.
A typical would be when some nested file views are rendered, form_rest should not render them again.
It is still possible to render a label once the widget has been rendered. This is for checkboxes and radios
where the widget is typically rendered before the label.
2011-06-06 18:01:03 +02:00
Fabien Potencier
c3bf2037df
Merge remote branch 'vicb/form-collection-rendering'
...
* vicb/form-collection-rendering:
[Form] Fix collection rendering
2011-06-06 14:56:16 +02:00
Fabien Potencier
48733b927d
[Swiftmailer] added the swiftmailer.plugin tag to automatically register Swiftmailer plugins
2011-06-06 14:48:42 +02:00
Fabien Potencier
a5daf4706a
[SwiftmailerBundle] updated XSD
2011-06-06 14:43:36 +02:00
Victor Berchet
ef8cb967f5
Merge branch 'master' into form-collection-rendering
2011-06-06 14:39:18 +02:00
Fabien Potencier
b83aa9d006
[SwiftmailerBundle] fixed previous merge
2011-06-06 14:25:17 +02:00
Victor Berchet
bca17fe6a3
[Form] Fix collection rendering
2011-06-06 14:21:49 +02:00
Fabien Potencier
ce4a49d648
merged arjenjb/swift-antiflood-plugin
2011-06-06 14:21:20 +02:00
Victor Berchet
6711a184fd
[TwigBundle][Form] Simplify templates
...
The Repeated and Collection types extend the Form type so there is no need to explicitely render the parent section.
2011-06-06 12:53:19 +02:00
Victor Berchet
181fb56925
[Form][Twig] Reorganized the form template
2011-06-06 12:32:08 +02:00
Fabien Potencier
a1d866e709
[DoctrineBundle] fixed typo
2011-06-06 09:11:02 +02:00
Fabien Potencier
433e403981
Merge branch 'doctrine-mapping-convert'
...
* doctrine-mapping-convert:
[DoctrineBundle] fixed extensions of generated files
2011-06-05 08:31:06 +02:00
Fabien Potencier
9d18b38fc0
[DoctrineBundle] fixed non-working safe-guards ( closes #1129 )
2011-06-05 08:30:00 +02:00
Fabien Potencier
8c0e5029a0
[DoctrineBundle] fixed extensions of generated files
2011-06-05 08:12:53 +02:00
Fabien Potencier
8457bfa365
[FrameworkBundle] fixed _locale management in core.request
2011-06-04 22:59:06 +02:00
Fabien Potencier
0298f323e3
fixed typo
2011-06-04 19:23:48 +02:00
Fabien Potencier
736c27e0c9
Merge remote branch 'arjenjb/swift-impersonate-plugin'
...
* arjenjb/swift-impersonate-plugin:
Removed plugin from SF
[SwiftmailerBundle] Added ImpersonateSenderPlugin
2011-06-04 18:34:18 +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
604b043d6e
Merge remote branch 'weaverryan/doctrine_controller_methods'
...
* weaverryan/doctrine_controller_methods:
[FrameworkBundle] Adding a check for the existence of the Doctrine service
[DoctrineBundle] Fixing error per @stloyd
[FrameworkBundle][DoctrineBundle] Adding a few shortcut methods
2011-06-04 13:55:25 +02:00
Fabien Potencier
0bf10c4ce1
Merge remote branch 'schmittjoh/events'
...
* schmittjoh/events:
[FrameworkBundle] add the old method naming convention
2011-06-04 13:52:59 +02:00
Fabien Potencier
33b47b22db
Merge remote branch 'schmittjoh/security'
...
* schmittjoh/security:
[SecurityBundle] exposed setting in the configuration
[Security/Http] removed irrelevant code
2011-06-04 13:52:18 +02:00
Fabien Potencier
9f3e996c43
[FrameworkBundle] fixed tests
2011-06-04 11:57:49 +02:00
Fabien Potencier
c62b2309cf
[FrameworkBundle] fixed WDT for redirects emitted by the Security component
2011-06-04 10:25:44 +02:00
Fabien Potencier
611a4a212c
[FrameworkBundle] allowed a service to register a kernel listener more than once for a given event
2011-06-04 10:23:42 +02:00
Johannes M. Schmitt
d03c6c72eb
[SecurityBundle] exposed setting in the configuration
2011-06-03 14:06:55 +02:00
Joseph Bielawski
a414e56881
Fix for failing tests #1199 when Twig vendor doesn't exists.
2011-06-03 01:42:19 -07:00
Ryan Weaver
172c956b73
[FrameworkBundle] Adding a check for the existence of the Doctrine service
2011-06-02 13:26:51 -05:00
Ryan Weaver
1ac4675e32
[DoctrineBundle] Fixing error per @stloyd
2011-06-02 13:26:17 -05:00
Ryan Weaver
28dcb3c581
[FrameworkBundle][DoctrineBundle] Adding a few shortcut methods
...
This adds to convience methods, for two separate reasons:
* Controller::getDoctrine() - this will allow method completion on the Registry class to work in IDEs, is slightly shorter, and should feel very "concrete" to beginners
* Registry::getRepository() - the repository is a very convenient thing to need - this allows it to be fetched much more succintly
Overall Before:
$product = $this->get('doctrine')
->getEntityManager()
->getRepository('AcmeDemoBundle:Product')
->find($id);
Overall After (with IDE method auto-completion for `getRepository`):
$product = $this->getDoctrine()
->getRepository('AcmeDemoBundle:Product')
->find($id);
2011-06-02 09:31:22 -05:00
Fabien Potencier
4b86b15105
Merge remote branch 'schmittjoh/security'
...
* schmittjoh/security:
[SecurityBundle] fixed a regression
[SecurityBundle] re-use local variable
[SecurityBundle] added validation for check paths
[SecurityBundle] added user_providers option for remember_me
[Security/Core] added missing method to interface
2011-06-01 16:03:02 +02:00
Johannes M. Schmitt
9ad318546d
[SecurityBundle] fixed a regression
2011-06-01 13:53:21 +02:00
Johannes M. Schmitt
66f3abfe0c
[SecurityBundle] re-use local variable
2011-06-01 13:20:52 +02:00
Johannes M. Schmitt
6f8871d2d7
[SecurityBundle] added validation for check paths
2011-06-01 13:05:34 +02:00
Johannes M. Schmitt
d2fa6c3e4e
[SecurityBundle] added user_providers option for remember_me
2011-06-01 11:48:20 +02:00
NicoB
145216477b
AsseticBundle : Add the missing cssmin filter service's schema
2011-06-01 16:30:31 +07:00
Fabien Potencier
2093a45aef
merged stloyd/form_label
2011-06-01 11:11:25 +02:00
Fabien Potencier
a8089225e2
Merge remote branch 'fivestar/controller-signature'
...
* fivestar/controller-signature:
[FrameworkBundle] Fixed phpdoc.
[FrameworkBundle] Fixed signature of the Controller::createForm() to accept string type
2011-06-01 10:59:08 +02:00
Fabien Potencier
3d532f806a
[FrameworkBundle] renamed getProfiler to getProfile (as the method now returns a Profile instance)
2011-06-01 10:55:46 +02:00
Katsuhiro OGAWA
16a40f6112
[FrameworkBundle] Fixed phpdoc.
2011-06-01 17:45:51 +09:00
Fabien Potencier
481d684973
Merge remote branch 'vslinko/master'
...
* vslinko/master:
[AsseticBundle] Fixed typo in use statement
2011-06-01 10:40:16 +02:00
Fabien Potencier
885da2ef87
Merge remote branch 'kriswallsmith/assetic/parameter-replacement'
...
* kriswallsmith/assetic/parameter-replacement:
[AsseticBundle] added support for parameter replacement in asset inputs
2011-06-01 10:35:43 +02:00
Fabien Potencier
c8034c04a8
Merge remote branch 'vicb/form-rendering'
...
* vicb/form-rendering:
[Form] The variable stack should not persist between section rendering (fixes #1157 )
[Twig][Form] Tweak form extension phpDoc and code
[Form] Tweak phpDoc
[FormView] fix phpDoc
[Form] Some tweaks
2011-06-01 10:32:40 +02:00
stloyd
7b6d921cde
[Form] Added tests for previous commit
2011-06-01 10:08:18 +02:00
Fabien Potencier
cf78841111
[WebProfilerController] cleaned up the controller
2011-06-01 07:44:52 +02:00
Kris Wallsmith
3e68eb61a5
[AsseticBundle] added support for parameter replacement in asset inputs
...
{% javascripts '%kernel.root_dir%/Resources/css/main.css' %}
...
{% endjavascripts %}
2011-05-31 21:35:31 -07:00
stloyd
cb22ccc516
[Form] Added missing feature for adding attributes to an field label
2011-05-31 17:01:28 +02:00
Kris Wallsmith
d9f5c99fab
[FrameworkBundle] updated for templating changes, added http/ssl logic
2011-05-31 06:46:30 -07:00
Fabien Potencier
af84cfec33
[DoctrineBundle] fixed doctrine:generate:entity
2011-05-31 15:15:18 +02:00
arjen
df02c05271
Removed plugin from SF
2011-05-31 14:31:23 +02:00