Commit Graph

5297 Commits

Author SHA1 Message Date
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
b76eec73b9 [HttpKernel] changed cache warmup to be executed even in the CLI 2011-06-07 10:41:30 +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
Fabien Potencier
a98436fd6a updated UPDATE file 2011-06-06 18:07:33 +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
Fabien Potencier
62ac58127a tweaked previous commit 2011-06-06 18:04:44 +02:00
Fabien Potencier
63f37c0e93 Merge remote branch 'weaverryan/beta3_swiftmailer_update'
* weaverryan/beta3_swiftmailer_update:
  [UPDATE] Adding more details - the `Swift_` prefix must also be removed
  [UPDATE] Adding details on the swiftmailer config change
2011-06-06 18:03:40 +02:00
Derek ROTH
9013e3639b Changed load_resource_bundle() to use ResourceBundle::create() method instead of constructor 2011-06-06 08:45:12 -07:00
Lukas Kahwe Smith
34ac2fe200 fixed a typo 2011-06-06 17:29:50 +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
78b91a017e Merge remote branch 'DerekRoth/patch-1'
* DerekRoth/patch-1:
  A constructor returning null is counter-intuitive. BTW, isn't this a intl bug ?
2011-06-06 14:52:24 +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
Derek ROTH
7837d328bf A constructor returning null is counter-intuitive. BTW, isn't this a intl bug ? 2011-06-06 03:32:25 -07:00
Victor Berchet
181fb56925 [Form][Twig] Reorganized the form template 2011-06-06 12:32:08 +02:00
Victor Berchet
eed54c137e [Form] Fix the FormView::isRendered() method 2011-06-06 12:31:30 +02:00
Joseph Bielawski
c2b9061559 [Form] Added Tests 2011-06-06 12:30:28 +02:00
Fabien Potencier
a1d866e709 [DoctrineBundle] fixed typo 2011-06-06 09:11:02 +02:00
Fabien Potencier
a98046dd44 [Config] added a guard against circular references 2011-06-05 10:52:57 +02:00
Fabien Potencier
87fefcae62 [Form] removed obsolete comment 2011-06-05 08:49:06 +02:00
Fabien Potencier
dd5f088abb Merge remote branch 'jwage/master'
* jwage/master:
  Revert back to using gmmktime and use day 15 instead of 1 to avoid edge case
  Use mktime instead of gmmaketime. On the 1st of every month the following options are generated:
2011-06-05 08:47:49 +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
c72537da6b [Routing] fixed route matching when the prefix contains variables 2011-06-04 19:45:54 +02:00
Fabien Potencier
544b6ca6aa Revert "fixed tests"
This reverts commit 7dc3af6036.
2011-06-04 19:24:45 +02:00
Fabien Potencier
0298f323e3 fixed typo 2011-06-04 19:23:48 +02:00
Fabien Potencier
7dc3af6036 fixed tests 2011-06-04 19:23:43 +02:00
Fabien Potencier
c561f4f0c0 [Routing] changed HTTP method to always be uppercased (to be consistent with HttpFoundation/Request) 2011-06-04 19:06:39 +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
06804d3f1d [Console] added mb_detect_encoding when needed 2011-06-04 18:20:20 +02:00
Fabien Potencier
18c3049fad Merge remote branch 'brikou/console_formatter_helper'
* brikou/console_formatter_helper:
  added mb_detect_encoding when formatting block (usefull when mb_internal_encoding is not properly set)
2011-06-04 18:19:11 +02:00