Bernhard Schussek
13a964ae6d
[Form] Form::isBound() and Form::isValid() work correctly now for read-only forms
2011-05-19 01:24:28 +02:00
Bernhard Schussek
829aa4dc0b
[Locale] Improved error reporting and added stubs for intl_is_failure(), intl_get_error_code() and intl_get_error_message()
2011-05-19 01:15:37 +02:00
Dirk Pahl
361c67f54f
[Form] Add test for the handling of array values in the constraint violation
2011-05-18 23:48:32 +02:00
Bernhard Schussek
af66beed76
[Form] Added test for 6c337d1cc0
2011-05-18 23:20:37 +02:00
Bernhard Schussek
f467317bab
[Form] Renamed view variable "name" to "full_name"
...
The variable "name" now contains the local, short name (equivalent to $form->getName()).
2011-05-18 22:16:16 +02:00
Bernhard Schussek
b39a21fbaf
[Form] Renamed collection option "type_options" to "options" to be consistent with the repeated type
2011-05-18 21:52:59 +02:00
Bernhard Schussek
2711fbc418
Merge remote branch 'jaugustin/fix_form' into jaugustin_merge
...
Conflicts:
src/Symfony/Component/Form/Extension/Core/EventListener/ResizeFormListener.php
src/Symfony/Component/Form/Extension/Core/Type/CollectionType.php
2011-05-18 21:40:20 +02:00
Fabien Potencier
2cd04547fd
[Routing] renamed some exceptions
2011-05-17 16:52:02 +02:00
Fabien Potencier
0168241014
[DependencyInjection] renamed NonExistentParameterException and NonExistentServiceException to ParameterNotFoundException and ServiceNotFoundException
2011-05-17 16:26:08 +02:00
Fabien Potencier
eb202bb7b7
merged kriswallsmith/form/csrf-intention
2011-05-17 15:25:50 +02:00
alexandresalome
1d6b94189b
[Routing] Use routing exceptions in the dumper and add tests.
2011-05-17 11:31:47 +02:00
Martin Hason
b7c417feaa
[Bridge][Twig] removed the possibility to pass a message to the transchoice tag
2011-05-17 10:33:48 +02:00
Fabien Potencier
02e77ec4e3
[Routing] moved Matcher exceptions
2011-05-17 10:11:27 +02:00
Fabien Potencier
51eb746925
Merge remote branch 'alexandresalome/feat-routing-exceptions'
...
* alexandresalome/feat-routing-exceptions:
[Routing] Fix the exception inheritance + Add the LICENCE block in new files
[Routing] Change the Exception namespacing + base class for every exception + update PHPDoc
[Routing] Add specific exceptions for the UrlGenerator
2011-05-17 09:52:44 +02:00
Fabien Potencier
86a2d27da9
Merge remote branch 'stloyd/ipvalidator_fix'
...
* stloyd/ipvalidator_fix:
Better comment about no test IP6 addresses for "FILTER_FLAG_NO_RES_RANGE"
Refactoring of IpValidator to use native php filter extension, also adding additional flag support and test cover.
2011-05-17 09:25:04 +02:00
Fabien Potencier
0872813278
Merge remote branch 'Seldaek/test_fix'
...
* Seldaek/test_fix:
[HttpFoundation] Windows test fixes
2011-05-17 09:16:46 +02:00
Kris Wallsmith
914620f948
[Form] renamed CSRF page_id to intention
2011-05-16 14:16:29 -07:00
Fabien Potencier
0bfb260f44
Merge remote branch 'usefulthink/issue913-yaml-utf8-checking'
...
* usefulthink/issue913-yaml-utf8-checking:
CS fixes in unit-test
[Yaml] added exceptions when non-utf8 encoding is detected
2011-05-14 17:35:56 +02:00
Fabien Potencier
439f4c34f6
Merge remote branch 'stloyd/patch-5'
...
* stloyd/patch-5:
Fix MimeTypeTest
2011-05-14 17:30:00 +02:00
Fabien Potencier
1e7108d624
Merge remote branch 'stloyd/tests_fix'
...
* stloyd/tests_fix:
Skip tests if some vendor are not available (prevents fatal errors)
2011-05-14 17:27:52 +02:00
Fabien Potencier
e46e53daa0
Merge remote branch 'stof/graphviz'
...
* stof/graphviz:
[DependencyInjection] Fixed a property visibility in GraphvizDumper and removed a useless instanciation in the test
2011-05-14 17:23:50 +02:00
Joseph Bielawski
25c25ab4b1
Fix MimeTypeTest
2011-05-14 05:21:07 -07:00
stloyd
039292bb94
Skip tests if some vendor are not available (prevents fatal errors)
2011-05-14 12:23:40 +02:00
Bernhard Schussek
e0ff61949e
[Form] Renamed the value "text" of the "widget" option of the "date" type to "single-text"
2011-05-13 19:17:28 +02:00
Bernhard Schussek
da28f8e3b3
[Form] Added FormTypeInterface::getAllowedOptionValues() to better validate passed options
2011-05-13 18:44:03 +02:00
Bernhard Schussek
21013b930c
[Form] Improved test coverage of FormFactory and improved error handling
2011-05-13 18:29:18 +02:00
alexandresalome
07b7dc0c86
[Routing] Change the Exception namespacing + base class for every exception + update PHPDoc
2011-05-13 17:46:31 +02:00
alexandresalome
05d9e74293
[Routing] Add specific exceptions for the UrlGenerator
...
When generating URL, thrown exceptions are InvalidArgumentException and
distinction of errors is quite difficult. This modification brings different
exceptions for different cases
2011-05-13 16:59:37 +02:00
Christophe Coevoet
c2f074b7d5
[DependencyInjection] Fixed a property visibility in GraphvizDumper and removed a useless instanciation in the test
2011-05-13 12:18:09 +02:00
Martin Schuhfuss
8340ac628d
CS fixes in unit-test
2011-05-13 01:08:37 +02:00
Martin Schuhfuss
571768b9b9
[Yaml] added exceptions when non-utf8 encoding is detected
...
encoding is detected using the `mb_detect_encoding()`-function
in strict-mode. Checking is done before the parsing starts.
Without this patch, the calls to `preg_replace()` using the
'u'-modifier would cause the non-utf8-string being processed
to be empty when parsing starts which makes the parsing return
no result.
2011-05-12 22:02:56 +02:00
Joseph Bielawski
d43894b42e
Remove invalid code-coverage annotions
2011-05-12 06:46:53 -07:00
Joseph Bielawski
bf87a35595
Better comment about no test IP6 addresses for "FILTER_FLAG_NO_RES_RANGE"
2011-05-11 14:18:45 -07: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
Jeremie Augustin
bea448339b
[Form] replace assertEquals by assertFalse, assertTrue, assertNull
2011-05-11 11:19:21 +02:00
Jeremie Augustin
d3db844cfa
[Form] fix file permissions to 644 again ;)
2011-05-11 11:19:21 +02:00
Jeremie Augustin
fb0a37f9ba
[Form] add tests for type_options in collectionType
2011-05-11 11:19:21 +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
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
Victor Berchet
dac798c791
[Form] Catch exceptions in DataTransformers
2011-05-10 20:21:02 +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
99c67134fe
[Serializer] Split decoder/encoder maps
2011-05-10 09:17:33 +02:00
digitalkaoz
5305454cc1
fixed code style
2011-05-09 23:36:56 +02:00
digitalkaoz
0ed7285828
[Process] added tests for Process and PhpExecutableFinder
2011-05-09 22:44:35 +02: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
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