Jeremy Mikola
61dc1af65b
[Form] Refer to FormView explicitly in its own getParent() type-hint
...
Using "self" makes mocking impossible, as the type-hint would then refer to the extending class and make the declaration incompatible.
2011-05-11 14:11:43 -07:00
Ryan Weaver
1de34fde98
[Security] Improving the exception when the security context has no token
...
This either mostly - or always - means that no firewall is currently activated. This message tries to alert the user to this.
Reword
2011-05-11 15:09:36 -05:00
Fabien Potencier
0bad012290
[FrameworkBundle] changed template string by TemplateReference instances in ExceptionController
2011-05-11 18:33:59 +02:00
Fabien Potencier
514b47c6d4
[FrameworkBundle] added a simple way to customize errors according to the HTTP status code
2011-05-11 18:02:50 +02:00
Victor Berchet
f68d16fdff
[Form] Fix the Form fluid interface
2011-05-11 17:08:53 +02:00
Fabien Potencier
3ec3fa219b
[HttpKernel] fixed a hardcoded variable
2011-05-11 16:43:00 +02:00
stloyd
5997b930a5
Refactoring of IpValidator to use native php filter extension, also adding additional flag support and test cover.
2011-05-11 13:19:03 +02:00
lenar
40795fcc5d
[MonologBundle] Add support for GroupHandler
2011-05-11 12:17:04 +03:00
Fabien Potencier
c6b598fa52
Merge remote branch 'vicb/form-doc-method-order'
...
* vicb/form-doc-method-order:
[Form] Order method according to their visibility to respect the CS
[Form] Add phpDoc for form builder and fix method declaration order to conform to the CS
2011-05-11 11:07:37 +02:00
Fabien Potencier
7941ff61f0
[FrameworkBundle] added a note
2011-05-11 11:05:57 +02:00
Fabien Potencier
09de9fe85f
Merge remote branch 'danielholmes/client_kernel_shutdown'
...
* danielholmes/client_kernel_shutdown:
[FrameworkBundle] added a check in Client to only shutdown the kernel if a previous request has been made
2011-05-11 11:04:14 +02:00
Victor Berchet
2db53b5e28
[Form] Order method according to their visibility to respect the CS
2011-05-11 11:00:32 +02:00
Victor Berchet
5536d41906
[Form] Add phpDoc for form builder and fix method declaration order to conform to the CS
2011-05-11 11:00:32 +02:00
Fabien Potencier
e2df25b43a
made a slight change to the previous merge
2011-05-11 10:45:23 +02:00
Fabien Potencier
b7d64c5304
Merge remote branch 'danielholmes/functional_test_changes'
...
* danielholmes/functional_test_changes:
[FrameworkBundle] fixed CS
[FrameworkBundle][HttpKernel] added a default tearDown on the WebTestCase which will shut down the currently used kernel (if there is one) in Web functional tests
2011-05-11 10:33:23 +02:00
Fabien Potencier
1ae5ef6849
Merge remote branch 'vicb/form-padded-choice-list'
...
* vicb/form-padded-choice-list:
[Form] Allow for arbitrary keys in PaddedChoiceList
2011-05-11 10:18:30 +02:00
Fabien Potencier
9abd53c2b4
merged Seldaek/serializer_fix
2011-05-11 10:16:15 +02:00
Fabien Potencier
a05b8fbb19
Merge remote branch 'schmittjoh/security'
...
* schmittjoh/security:
[HttpFoundation] fixed php doc
updated UPDATE file
[Security] use deep flag when retrieving username + password
[HttpFoundation] added $deep flag to Request::get()
[HttpFoundation] removed getDeep(), added a boolean flag to get() instead
2011-05-11 10:14:15 +02:00
Fabien Potencier
b62cd109f0
Merge remote branch 'vicb/form-fixes'
...
* vicb/form-fixes:
[Form] Make the PropertyPathMapper class use the UnexpectedTypeException
[Form] Fix adding transformers in the FormBuilder
[Form] Fix the ReversedTransform class
2011-05-11 10:13:24 +02:00
Fabien Potencier
9651175914
Merge remote branch 'vicb/form-transformers'
...
* vicb/form-transformers:
[Form] Add argument type checking in BaseDateTimeTransformer
[Form] Catch exceptions in DataTransformers
2011-05-11 10:12:23 +02:00
Fabien Potencier
723a8f2bf3
[Form] fixed CS
2011-05-11 10:09:27 +02:00
Fabien Potencier
534cf8fce7
Merge remote branch 'vicb/form-tz-choice-list'
...
* vicb/form-tz-choice-list:
[Form] Make TimezoneChoiceList implement ChoiceListInterface rather than extend ArrayChoiceList
2011-05-11 10:07:35 +02:00
Fabien Potencier
74adb80cb8
Merge remote branch 'kertz/sqlite3_timeout'
...
* kertz/sqlite3_timeout:
added busyTimeout
2011-05-11 10:06:25 +02:00
Fabien Potencier
2d1113ea8d
Merge remote branch 'Seldaek/doctrine_fix'
...
* Seldaek/doctrine_fix:
[DoctrineBundle] Do not try to fetch doctrine listeners if doctrine is not enabled
2011-05-11 10:01:12 +02:00
Jordi Boggiano
c6fa1b42ea
Fixed typo
2011-05-11 01:32:39 +02:00
Victor Berchet
adef14f687
[Form] Make the PropertyPathMapper class use the UnexpectedTypeException
2011-05-10 20:25:46 +02:00
Victor Berchet
daccf9bc17
[Form] Fix adding transformers in the FormBuilder
2011-05-10 20:25:30 +02:00
Victor Berchet
486294b50b
[Form] Fix the ReversedTransform class
2011-05-10 20:25:22 +02:00
Johannes Schmitt
7a6638ff8f
[HttpFoundation] fixed php doc
2011-05-10 20:24:58 +02:00
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