Titouan Galopin
6bdaf0bceb
[FrameworkBundle] Introduce a cache warmer for Validator based on PhpArrayAdapter
2016-08-11 14:01:30 +02:00
Nicolas Grekas
a2a567d1ca
[FrameworkBundle] Simplify config for app/system/pool caches
2016-05-04 17:35:58 +02:00
Titouan Galopin
1a65595218
[FrameworkBundle] Fallback to default cache system in production for validation
2016-04-14 14:52:43 +02:00
Fabien Potencier
45031ff31d
minor #17398 [Validator] remove obsolete context and PropertyAccess code (Tobion)
...
This PR was squashed before being merged into the 3.0 branch (closes #17398 ).
Discussion
----------
[Validator] remove obsolete context and PropertyAccess code
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Commits
-------
a9d9d62
[Validator] remove obsolete context and PropertyAccess code
2016-02-06 08:05:32 +01:00
Tobias Schultze
a9d9d62e9b
[Validator] remove obsolete context and PropertyAccess code
2016-02-06 08:05:29 +01:00
Fabien Potencier
dba07f35c1
Merge branch '2.8' into 3.0
...
* 2.8:
fixed CS
fixed CS
fixed test
fixed CS
Remove default match from AbstractConfigCommand::findExtension
[FrameworkBundle][Validator] Fix apc cache service deprecation
2016-01-21 10:38:31 +01:00
ogizanagi
907bbece01
[FrameworkBundle][Validator] Fix apc cache service deprecation
2015-12-06 22:50:37 +01:00
Nicolas Grekas
5aa4a3b64c
Remove some more legacy code
2015-11-10 11:42:06 +01:00
Fabien Potencier
ed610df788
Merge branch '2.8'
...
* 2.8:
fixed deprecation notices
fixed typos
[FrameworkBundle] Tag deprecated services
[VarDumper] Dump PHP+Twig code excerpts in backtraces
[Config] Fix ArrayNode extra keys "ignore" and "remove" behaviors
2015-09-30 14:30:29 +02:00
Nicolas Grekas
87e8e8fbff
[FrameworkBundle] Tag deprecated services
2015-09-30 10:29:27 +02:00
Nicolas Grekas
d994a748dc
Merge branch '2.8'
...
* 2.8: (65 commits)
[VarDumper] Fix tests for HHVM
Update DateTimeToArrayTransformer.php
Mock microtime() and time() in transient tests
Azerbaijani language pluralization rule
Move HHVM tests out of the allowed failures
Fix merge
[2.6] Towards 100% HHVM compat
[Security/Http] Fix test
[Stopwatch] Fix test
Minor fixes
[Validator] Added missing error codes and turned codes into UUIDs
Towards 100% HHVM compat
Warmup twig templates in non-standard paths (closes #12507 )
[Bridge/PhpUnit] Enforce a consistent locale
Fix param order of assertEquals (expected, actual) in test for Finder\Glob
Fix choice translation domain for expanded choice widget
unify default AccessDeniedExeption message
trigger event with right user (add test)
[Security] Initialize SwitchUserEvent::targetUser on attemptExitUser
fixed CS
...
Conflicts:
UPGRADE-2.8.md
src/Symfony/Bridge/ProxyManager/composer.json
src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/JsonDescriptor.php
src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/MarkdownDescriptor.php
src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php
src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/XmlDescriptor.php
src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php
src/Symfony/Bundle/FrameworkBundle/Resources/config/old_assets.xml
src/Symfony/Bundle/FrameworkBundle/Resources/config/test.xml
src/Symfony/Bundle/FrameworkBundle/Resources/config/validator.xml
src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/builder_1_public.json
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/builder_1_public.md
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/builder_1_public.xml
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/builder_1_services.json
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/builder_1_services.md
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/builder_1_services.xml
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/builder_1_tag1.json
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/builder_1_tag1.md
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/builder_1_tag1.xml
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/builder_1_tags.json
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/builder_1_tags.md
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/builder_1_tags.xml
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/definition_1.json
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/definition_1.md
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/definition_1.txt
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/definition_1.xml
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/definition_2.json
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/definition_2.md
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/definition_2.txt
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/definition_2.xml
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/legacy_synchronized_service_definition_1.json
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/legacy_synchronized_service_definition_1.md
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/legacy_synchronized_service_definition_1.txt
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/legacy_synchronized_service_definition_1.xml
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/legacy_synchronized_service_definition_2.json
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/legacy_synchronized_service_definition_2.md
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/legacy_synchronized_service_definition_2.txt
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/legacy_synchronized_service_definition_2.xml
src/Symfony/Bundle/SecurityBundle/Tests/Functional/Bundle/CsrfFormLoginBundle/Form/UserLoginFormType.php
src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/CsrfFormLogin/config.yml
src/Symfony/Bundle/SecurityBundle/composer.json
src/Symfony/Component/Debug/ErrorHandler.php
src/Symfony/Component/DependencyInjection/Compiler/CheckDefinitionValidityPass.php
src/Symfony/Component/DependencyInjection/Compiler/InlineServiceDefinitionsPass.php
src/Symfony/Component/DependencyInjection/Definition.php
src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php
src/Symfony/Component/DependencyInjection/Dumper/XmlDumper.php
src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php
src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php
src/Symfony/Component/DependencyInjection/Tests/ContainerTest.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/legacy-container9.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/graphviz/legacy-services9.dot
src/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/legacy-services6.xml
src/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/legacy-services9.xml
src/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/legacy-services6.yml
src/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/legacy-services9.yml
src/Symfony/Component/DependencyInjection/Tests/Loader/XmlFileLoaderTest.php
src/Symfony/Component/DependencyInjection/Tests/Loader/YamlFileLoaderTest.php
src/Symfony/Component/Form/ResolvedFormType.php
src/Symfony/Component/Form/Tests/CompoundFormTest.php
src/Symfony/Component/Process/Tests/AbstractProcessTest.php
src/Symfony/Component/VarDumper/Tests/CliDumperTest.php
src/Symfony/Component/VarDumper/Tests/HtmlDumperTest.php
2015-07-01 22:40:29 +02:00
Jakub Zalas
0642911ede
[FrameworkBundle] Add a doctrine cache service definition for validator mapping
2015-04-21 19:25:09 +01:00
Fabien Potencier
8835d1af45
removed all *.class parameters
2015-03-26 16:34:43 +01:00
Fabien Potencier
5aa44eec3d
removed the Validator BC layer for PHP < 5.3.9
2015-01-09 14:24:19 +01:00
Nicolas Grekas
f683a7a72c
[DependencyInjection] use/fix newest Definition::setFactory
2014-12-24 07:58:22 +01:00
Bernhard Schussek
e844ed0fb5
[Validator] Removed legacy validator classes
2014-08-06 15:23:29 +02:00
Bernhard Schussek
870a41a594
[FrameworkBundle] Made ConstraintValidatorFactory aware of the legacy validators
2014-07-28 15:52:58 +02:00
Bernhard Schussek
b1badeaa1f
[Validator] Fixed failing CsrfFormLoginTest
2014-03-30 18:56:20 +02:00
Bernhard Schussek
0bfde4a44b
[Validator] Fixed misnamed method calls in FrameworkExtension
2014-03-30 18:31:31 +02:00
Bernhard Schussek
9b204c9354
[FrameworkBundle] Implemented configuration to select the desired Validator API
2014-03-30 18:31:00 +02:00
Eduardo Gulias Davis
e79b3a9755
Change in validator.email service alias to match the validator FQCN
2014-03-30 09:34:45 +02:00
Eduardo Gulias Davis
3368630482
#1581 - Strict in Email constraint and use of Egulias\EmailValidator
2014-03-27 07:02:30 +01:00
Thomas Adam
9e38819cef
use "translator" alias not "translator.default"
2013-09-20 15:35:24 +02:00
Bernhard Schussek
d4ebbfd02d
[Validator] Renamed Condition to Expression and added possibility to set it onto properties
2013-09-19 12:59:33 +02:00
Bernhard Schussek
c96a0511f2
[FrameworkBundle] Adapted FrameworkBundle to translator integration in the validator
2013-01-08 14:43:29 +01:00
Fabien Potencier
082473659e
fixed validation of Doctrine proxy objects
2011-07-06 13:03:38 +02:00
Fabien Potencier
0d68470638
[FrameworkBundle] made a small cleanup
2011-05-22 08:47:38 +02:00
Johannes Schmitt
796d9af0c4
some updates
2011-05-16 22:26:24 +02:00
Arnaud Le Blanc
421a05f6b4
defined parameters to avoid unmet dependency
...
These parameters are set by the extension; but
validator.mapping.loader.annotation_loader.namespaces is not set when
annotations are disabled
2011-05-15 21:32:41 +02:00
Arnaud Le Blanc
e57e5537b6
Fixed validators config causing no validation to happen
...
The parameter in <argument type="collection">%parameter...%</argument>
was ignored due to type="collection".
2011-05-15 16:50:49 +02:00
Johannes Schmitt
2d8afd8dd6
Merge remote branch 'origin/master' into annotations
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
src/Symfony/Bundle/FrameworkBundle/Resources/config/validator.xml
src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php
2011-05-14 12:51:05 +02:00
Fabien Potencier
f7aea2a830
[FrameworkBundle] re-introduced parameters in the DIC for better overridability
2011-05-13 14:34:17 +02:00
Johannes Schmitt
7e26575bbd
[FrameworkBundle] added framework-wide annotation reader, updated validator tests
2011-04-29 15:54:44 +02:00
Johannes Schmitt
d151d2d4b8
added Annotations library
2011-04-28 23:09:08 +02:00
Kris Wallsmith
d0f45fd3b6
[FrameworkBundle] added configuration for caching validator metadata
2011-04-06 04:07:38 -07:00
Fabien Potencier
046e3637db
[FrameworkBundle] removed unused parameters
2011-04-01 08:32:31 +02:00
Fabien Potencier
eb21f5b76e
[FrameworkBundle] moved some validation related services to the XML services file
2011-04-01 08:26:19 +02:00
Fabien Potencier
33add37f7c
[FrameworkBundle] removed the validator.annotations.namespaces parameter
...
The parameter has been removed and the service moved to the XML file (for consistency).
The behavior is still the same as before as any non-public service
which is not referenced anywhere will be automatically removed by a
compiler pass.
2011-04-01 08:15:38 +02:00
Jeremy Mikola
553f5525a5
[FrameworkBundle] Change validator's annotation prefix from "validation" to "assert"
2011-03-30 20:04:18 -04:00
Fabien Potencier
07838c9612
[FrameworkBundle] removed the possibility to change the method name for validation static method loader (as it would break third-party bundles)
2011-03-30 23:21:17 +02:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Fabien Potencier
a1945ca9bc
fixed XML definitions
2011-01-25 17:13:34 +01:00
Johannes M. Schmitt
c5ef113b18
DI container optimization
2011-01-05 15:41:11 +01:00
Benjamin Eberlei
5aeb358721
[Validator] Made the namespace prefix for annotations configurable
...
Modified the framework bundle to use validation => Symfony\Component\Validator\Validator defaults.
Enhanced Framework Extension validator configuration to allow to extend this configuration with
user-specified annotations, for example:
validation:
enabled: true
annotations:
namespaces:
myprojectvalidator: MyProject\Validator\
to register @myprojectvalidator:Validator(...)
2010-11-16 07:28:02 +01:00
Kris Wallsmith
e1f842344e
[FrameworkBundle] added a DIC tag-based constraint validator factory
2010-10-16 08:34:40 +02:00
Fabien Potencier
866c306dc8
removed the message interpolator system in the Validator component (i18n management should be done globally, not in a specific component)
2010-09-24 16:41:28 +02:00
Fabien Potencier
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00
Fabien Potencier
15d439809c
renamed Symfony\Bundle\FoundationBundle to Symfony\Bundle\FrameworkBundle
2010-07-09 10:25:52 +02:00