Commit Graph

4929 Commits

Author SHA1 Message Date
Victor Berchet
2e68801ff3 [Form] Add argument type checking in BaseDateTimeTransformer 2011-05-10 20:21:02 +02:00
Victor Berchet
dac798c791 [Form] Catch exceptions in DataTransformers 2011-05-10 20:21:02 +02:00
Victor Berchet
aa71d16812 [Form] Make TimezoneChoiceList implement ChoiceListInterface rather than extend ArrayChoiceList 2011-05-10 20:14:11 +02:00
Amal Raghav
acb657b82c added busyTimeout 2011-05-10 23:43:11 +05:30
Victor Berchet
eca6453558 [Form] Fix the fluid interface of FormBuilder 2011-05-10 20:09:37 +02:00
Victor Berchet
75a499b0e2 [Form] Fix the fluid interface of FormBuilder 2011-05-10 20:09:28 +02:00
Fabien Potencier
3e00662682 Merge remote branch 'digitalkaoz/component_process_tests'
* digitalkaoz/component_process_tests:
  fixed code style
  reverted .gitignore and line changes
  [Process] added tests for Process and PhpExecutableFinder
2011-05-10 19:22:49 +02:00
Fabien Potencier
9cc7aacf76 Merge remote branch 'usefulthink/phpdoc-containeraware'
* usefulthink/phpdoc-containeraware:
  removed obsolete use-statement
  [DependencyInjection] added phpdoc for property $container in ContainerAware
2011-05-10 19:09:55 +02:00
Fabien Potencier
f9fefd306d Merge remote branch 'vicb/form-phpdoc'
* vicb/form-phpdoc:
  [Form] Fix some phpDoc
  [Form] fix and add some phpDoc
2011-05-10 19:08:53 +02:00
Fabien Potencier
579db9a9d5 Merge remote branch 'hason/czechmessages'
* hason/czechmessages:
  [FrameworkBundle] Validator messages: added Czech translation
2011-05-10 19:02:34 +02:00
Victor Berchet
2d62dfdf83 [Form] Fix some phpDoc 2011-05-10 16:55:05 +02:00
Martin Schuhfuss
9112d8c2d3 removed obsolete use-statement 2011-05-10 16:34:44 +02:00
Martin Schuhfuss
5387532ff2 [DependencyInjection] added phpdoc for property $container in ContainerAware
This should ease code-completion a little bit...
2011-05-10 16:30:58 +02:00
Victor Berchet
2a8f2d2bfa [Form] fix and add some phpDoc 2011-05-10 15:33:02 +02:00
Martin Hason
7f95ea69aa [FrameworkBundle] Validator messages: added Czech translation 2011-05-10 14:18:57 +02:00
Jordi Boggiano
c2a8ca782b [DoctrineBundle] Do not try to fetch doctrine listeners if doctrine is not enabled 2011-05-10 14:10:24 +02:00
Christophe Coevoet
a54d6b7e58 [DependencyInjection] Removed the public keyword from interface 2011-05-10 13:55:08 +02:00
John Wards
d96e2c5d79 [Validator] Adding support for Closure in CallbackValidator
Usage:
$formBuilder = $this->get('form.factory')
            ->createBuilder('form');
$formBuilder->setAttribute('validation_constraint', new Callback(array("methods"=>array(
    'validate' => function ($data, $context) use ($elements) {
       // logic to add violations depending on the elements
    }
))));
2011-05-10 12:12:18 +01:00
Johannes Schmitt
675a86f2e9 updated UPDATE file 2011-05-10 11:27:18 +02:00
Johannes Schmitt
9408ab3010 [Security] use deep flag when retrieving username + password 2011-05-10 11:22:28 +02:00
Johannes Schmitt
411659bc07 [HttpFoundation] added $deep flag to Request::get() 2011-05-10 11:19:22 +02:00
Johannes Schmitt
89f60e04d1 [HttpFoundation] removed getDeep(), added a boolean flag to get() instead 2011-05-10 11:16:25 +02:00
Jordi Boggiano
9e19e772bc [Serializer] Restored docblocks from the deleted methods on SerializerInterface 2011-05-10 09:27:20 +02:00
Jordi Boggiano
457dc105bc [Serializer] minor optimization 2011-05-10 09:19:55 +02:00
Jordi Boggiano
99c67134fe [Serializer] Split decoder/encoder maps 2011-05-10 09:17:33 +02:00
Fabien Potencier
3854d34c14 [DoctrineBundle] fixed doctrine:generate:entity command when the entity to generate has sub-namespaces 2011-05-10 08:20:57 +02:00
Christophe Coevoet
1bb6b97c1c [DependencyInjection] Added missing methods in the ParameterBagInterface
The Container relies on the resolve() value which was not part of
the interface.
2011-05-10 02:34:02 +02:00
Christophe Coevoet
b6c36de134 [DependencyInjection] Fixed phpdoc 2011-05-10 02:33:34 +02:00
Kris Wallsmith
b25750daa9 Revert "[AsseticBundle] updated configuration to assume values with integer keys are inputs"
This reverts commit fb104cedf8.
2011-05-09 14:58:30 -07:00
digitalkaoz
5305454cc1 fixed code style 2011-05-09 23:36:56 +02:00
digitalkaoz
f90e8678a2 reverted .gitignore and line changes 2011-05-09 22:50:05 +02:00
digitalkaoz
0ed7285828 [Process] added tests for Process and PhpExecutableFinder 2011-05-09 22:44:35 +02:00
Fabien Potencier
9844685a40 [HttpKernel] tweaked the default ESI cache strategy 2011-05-09 19:28:36 +02:00
Fabien Potencier
80a5074746 [Form] tweaked code (closes #855) 2011-05-09 17:53:18 +02:00
Jordi Boggiano
e6a02482c7 [Serializer] Cleaned up SerializerAwareInterface 2011-05-09 17:43:50 +02:00
Kris Wallsmith
fb104cedf8 [AsseticBundle] updated configuration to assume values with integer keys are inputs 2011-05-09 08:14:00 -07:00
lenar
7cc2a7918c fixes monolog+swiftmailer 2011-05-09 18:03:38 +03:00
Victor Berchet
6c337d1cc0 [Form] Do not set the value attribute for file inputs 2011-05-09 17:00:19 +02:00
Christophe Coevoet
193c6acfc0 [MonologBundle] Fixed SwiftMailerHandler by using the mailer as message factory 2011-05-09 16:35:02 +02:00
Kris Wallsmith
94bd1c4655 [AsseticBundle] made test of route loader less brittle 2011-05-09 06:32:06 -07:00
Fabien Potencier
05e75e2712 [Finder] made the Custom filter accept all PHP callbacks 2011-05-09 15:30:41 +02:00
Victor Berchet
e0f03471ae Merge branch 'master' into form-padded-choice-list 2011-05-09 15:30:04 +02:00
Fabien Potencier
e1c52764ce [Finder] refactored SortableIterator 2011-05-09 15:14:42 +02:00
Kris Wallsmith
e8e87e65f7 [AsseticBundle] added the ability to define assets outside of the view layer
In config.yml:

    assetic:
        assets:
            jquery: js/jquery.js
            plugin1:
                - @jquery
                - js/jquery.plugin1.js
            all_js:
                - @plugin1
                filters: ?yui_js
            all_css:
				- css/*.scss
                filters: [ scss, ?yui_css ]
        filters:
            yui_css:
                jar: %kernel.root_dir%/Resources/java/yui.jar
            yui_js:
                jar: %kernel.root_dir%/Resources/java/yui.jar
            scss: ~

In Twig:

    {% javascripts '@all_js' %}
    <script src="{{ asset_url }}"></script>
    {% endjavascripts %}

    {% stylesheets '@all_css' %}
    <link href="{{ asset_url }}" type="text/css" rel="stylesheet" />
    {% endstylesheets %}
2011-05-09 05:40:14 -07:00
Fabien Potencier
50c1cce014 Merge remote branch 'schmittjoh/security'
* schmittjoh/security:
  [HttpFoundation] added unit test
  [Security][HttpFoundation] splits Request::hasSession() into hasSession(), and hasPreviousSession()
  [SecurityBundle] added some tests
  add provider to configuration
  update DI to handle change in config and another provider
  separate dbal specific acl config
  add provider to configuration
  update DI to handle change in config and another provider
  separate dbal specific acl config
2011-05-09 14:26:36 +02:00
Kris Wallsmith
57251712e8 [AsseticBundle] injected container into factory for better stability 2011-05-09 05:24:47 -07:00
Fabien Potencier
4bb82451df Merge remote branch 'Seldaek/session_warn'
* Seldaek/session_warn:
  [HttpFoundation] Remove warnings when session id isn't given
2011-05-09 14:14:17 +02:00
Fabien Potencier
b1f91f8ddc Merge remote branch 'Seldaek/session_storage'
* Seldaek/session_storage:
  [FrameworkBundle] Do not override the session storage for test
2011-05-09 14:13:19 +02:00
Jordi Boggiano
f8447aa74c [Serializer] NormalizableInterface now takes a Serializer and make sure the is always optional 2011-05-09 13:59:54 +02:00
Fabien Potencier
757dcb3b4c Merge remote branch 'stof/monolog_compiled_classes'
* stof/monolog_compiled_classes:
  [MonologBundle] Fixed compiled classes
2011-05-09 13:54:08 +02:00