Bernhard Schussek
e4c21708ca
[Form] Separated value transformers from normalization transformers.
...
Fields can now easier support different data types in their underlying object.
These datatypes can be normalized to a single datatype using a normalization
transformer. The normalized value can then be transformed to the user's
representation with the value transformer (better name required?).
2010-10-22 08:30:13 +02:00
Bernhard Schussek
733290c112
[Form] Implemented UrlField
2010-10-22 08:30:13 +02:00
Bernhard Schussek
eaef939141
[Form] Changed value transformers to be responsible for processing empty values to be able to chain them properly. This change fixes the bug that DateField did not return NULL when submitted without values
2010-10-22 08:30:13 +02:00
Ryan Weaver
cc4f2bd955
Adding a type-hint to XmlFileLoader::validate().
2010-10-22 08:22:08 +02:00
Victor Berchet
4dacdcc4ec
[Security] Use a negative length parameter to simplify the code
2010-10-21 18:24:57 +02:00
Fabien Potencier
82f8ab839f
[Security] added some unit tests (WIP)
2010-10-21 18:14:32 +02:00
Fabien Potencier
836c512585
fixed interfaces problems
2010-10-21 17:16:31 +02:00
Fabien Potencier
acfd09eeb3
[FrameworkBundle] generate a random password if none is provided in the configuration
2010-10-21 10:58:00 +02:00
Fabien Potencier
bf3659d5bb
added an exception when trying to extend a template with a decorator that uses a different renderer (for instance when a Twig template tries to extend a PHP one)
2010-10-21 08:57:31 +02:00
Artur Kotyrba
2682bc2be5
[Security] Fixed typo
2010-10-21 08:30:46 +02:00
Fabien Potencier
92c56a5066
Revert "[Routing] allowed multiple routing requirement with xml loader, using comma separated values"
...
This reverts commit e8bcbcba57
.
2010-10-21 08:13:10 +02:00
Jordi Boggiano
48155ccc2f
[DependencyInjection] Regex optimization
2010-10-21 07:48:12 +02:00
Jordi Boggiano
2186535848
[DependencyInjection] Removed useless code
2010-10-21 07:48:06 +02:00
Fabien Potencier
0749038e73
[Security] changed the way passwords are compared to avoid timing attacks
2010-10-21 07:36:55 +02:00
fivestar
cb0f63f84b
[HttpKernel] fixed typo at Security\Firewall\DigestAuthenticationListener
2010-10-20 18:37:35 +02:00
ornicar
e8bcbcba57
[Routing] allowed multiple routing requirement with xml loader, using comma separated values
2010-10-20 14:32:36 +02:00
Vladimir Sazhin
08c3761731
added \RecursiveDirectoryIterator::SKIP_DOTS flag
2010-10-20 14:28:19 +02:00
Justin Hileman
0ccc9805f5
Fix UniversalClassLoader issues with leading slashes.
...
This fixes a bug in UniversalClassLoader when attempting to autoload class names with leading slashes:
$namespacedClass = "\\Foo\\Bar";
$pearlikeClass = "\\Foo_Bar";
$namespaced = new $namespacedClass();
$pearlike = new $pearlikeClass();
`UniversalClassLoader::loadClass()` was unable to load PEAR-like classes with leading slashes because it found the slash and assumed that the requested class was namespaced. It was unable to load namespaced classes with leading slashes because it would look them up in the autoloader's registered namespaces, and was unable to match '\Foo' to 'Foo'. One (ugly) workaround for the namespaced classes was to register all namespaces twice:
$loader->registerNamespaces(array(
'Foo' => __DIR__ . '/lib',
'\Foo' => __DIR__ . '/lib',
));
But that's not very pretty, nor does it solve the bug with PEAR-like classes. Stripping the leading slash before trying to autoload allows UniversalClassLoader to load both namespaced and PEAR-like classes.
2010-10-20 14:20:12 +02:00
Fabien Potencier
dd7e33af6b
[TwigBundle] fixed the include tag to behave like the standard Twig include tag
2010-10-20 14:02:39 +02:00
Fabien Potencier
dd4f87b8c2
made form login configurable
2010-10-20 11:42:19 +02:00
Fabien Potencier
bdb051083c
[FrameworkBundle] removed default controller for login
2010-10-20 11:34:21 +02:00
Fabien Potencier
4b321141f9
[FrameworkBundle] added a way to configure the switch-user behavior
2010-10-20 10:59:13 +02:00
Fabien Potencier
71228b5f29
[FrameworkBundle] added a way to configure the logout paths
2010-10-20 10:48:05 +02:00
Fabien Potencier
cb8161da7b
[FrameworkBundle] removed support for none as an equivalent to false/null
2010-10-20 09:49:00 +02:00
Pascal Borreli
437f8c7a86
[Security] Fixed typo
2010-10-20 07:07:54 +02:00
Jeremy Mikola
0aba8ef720
[DependencyInjection] XmlFileLoader should allow "factory-service" attribute without "class" for <service>
2010-10-19 21:10:07 +02:00
henrikbjorn
f810723092
Removed the need for having the Security component enabled when using twig.
2010-10-19 21:04:40 +02:00
Pascal Borreli
d067d5da69
[Security] Fixed coding standard
2010-10-19 17:22:31 +02:00
Pascal Borreli
fde278d7a8
[Security] Fixed typo
2010-10-19 17:21:28 +02:00
Pascal Borreli
8df4567a82
[CssSelector] Fixed typo
2010-10-19 17:20:34 +02:00
Fabien Potencier
f216f313e8
added the Security Component and its integration into the MVC framework
...
Happy birthday symfony!
2010-10-19 13:33:17 +02:00
Fabien Potencier
0fc6b15c17
[HttpFoundation] added a way to clear the session attributes
2010-10-19 13:13:20 +02:00
Fabien Potencier
94347f73c5
[HttpFoundation] added a way to generate a URI based on the current one and a path
2010-10-19 13:13:14 +02:00
Antoine Hérault
56d98305ca
fixed form field groups rendering
2010-10-18 17:05:10 +02:00
Fabien Potencier
5b6d92df3c
fixed unit tests
2010-10-18 17:01:57 +02:00
Kris Wallsmith
4a18624927
[Validator] removed ftp and ftps from default url protocols
2010-10-18 16:57:07 +02:00
Kris Wallsmith
29360a0eea
Removed old resources array property from DI extension classes.
2010-10-18 16:56:33 +02:00
Kris Wallsmith
f79e23ffb5
Removed all those spaces after @author that were bothering me so…
2010-10-18 16:55:41 +02:00
Kris Wallsmith
0b1f3145ae
Removed unnecessary "public" from interface method signatures.
2010-10-18 16:55:09 +02:00
pborreli
2dc357d3a8
[WebProfilerBundle] Fixed label reference, fixed markup, optimized css and images
2010-10-18 16:52:47 +02:00
Fabien Pennequin
dbfa06c54f
[OutputEscaper] Add some tests
2010-10-18 16:51:12 +02:00
Fabien Pennequin
71ace34822
[Routing] Added some tests
2010-10-18 16:51:08 +02:00
Fabien Pennequin
c543692891
[DependencyInjection] Added tests for ContainerBuilder class
2010-10-18 16:51:04 +02:00
Fabien Pennequin
7225cf64b1
[DependencyInjection] Added tests for methods hasMethodCall and removeMethodCall of Definition class
2010-10-18 16:51:00 +02:00
Artur Kotyrba
308e85a5a7
Removed methods which implemented interfaces by throwing \LogicException('You must override...').
2010-10-17 07:54:18 +02:00
pborreli
80868f1712
[Translation] Fixed phpdoc, thx Koc
2010-10-17 07:52:22 +02:00
pborreli
86cc6a11d9
[Component] Fixed some spelling typos
2010-10-17 07:51:50 +02:00
pborreli
082090d880
[Validator] Fixed coding standard
2010-10-16 10:49:41 +02:00
Fabien Potencier
8c55786673
fixed test
2010-10-16 08:36:59 +02:00
Kris Wallsmith
7639fde3f2
[FrameworkBundle] updated constraint validator factory to work with non-DIC validators
2010-10-16 08:34:44 +02:00