Fabien Potencier
2b613f34d5
[FrameworkBundle] removed the need for decorating with SafeDecorator
2010-10-28 11:50:33 +02:00
Fabien Potencier
7e6bddedf9
[TwigBundle] moved Form extension initialization as late as possible
...
Because
* it's better for performance (no need to init form templates if there is no forms)
* right now, it crashes for all renderer except HTML (because the form templates obviously only exist for the HTML renderer)
The only other possible fix would be to force those resources to always use the HTML renderer
2010-10-28 09:50:00 +02:00
Fabien Potencier
7f8c540a20
[Routing] fixed XML loader on Windows (there is no need to urlencode here as schemaValidate() takes a filename, not a URL)
2010-10-28 09:17:11 +02:00
Fabien Potencier
c448429e62
[HttpFoundation] fixed date format for HTTP headers (format must be RFC1123, not RFC2822 -- the difference is that RFC1123 dates always use GMT for the timezone)
2010-10-27 10:56:56 +02:00
Fabien Potencier
314507c0d9
[FrameworkBundle] fixed format management when the default html format is given explicitly
2010-10-27 07:18:02 +02:00
Fabien Potencier
e23c3cc702
[OutputEscaper] made getEscaper*() methods more consistent with the way you can change the escaping strategy in __call()
2010-10-26 22:39:01 +02:00
Fabien Potencier
c065be88b5
[OutputEscaper] refactored the component
2010-10-26 22:28:33 +02:00
Fabien Potencier
e1116524ed
[WebProfiler] fixed WDT display
2010-10-26 17:42:44 +02:00
Fabien Potencier
988722b23b
[DependencyInjection] fixed phpdoc
2010-10-26 16:01:39 +02:00
Fabien Potencier
1d5ca4910d
[FrameworkBundle] refactored ide setting configuration
2010-10-25 18:59:12 +02:00
ever.zet
d8661684c4
MacVim support
2010-10-25 18:55:43 +02:00
ornicar
e4688fc925
[SwiftmailerBundle] Add missing spool type attribute in swiftmailer-1.0.xsd
2010-10-25 16:23:16 +02:00
ornicar
9af16080dd
[SwiftmailerBundle] Fix spool configuration
2010-10-25 16:23:13 +02:00
Johannes M. Schmitt
3463f47698
applies base64 encoding directly to the binary data instead of their hexadecimal representation
2010-10-24 10:57:06 +02:00
Dominique Bongiraud
6885f90f17
[HttpKernel\Security]Fixed use statement and updated parameters constructor
2010-10-24 09:55:40 +02:00
Dominique Bongiraud
c0ef9fb0ea
[HttpKernel\Security]Fixed markup
2010-10-24 09:55:37 +02:00
Dominique Bongiraud
a85bca395a
[Security]Fixed markup
2010-10-24 09:55:32 +02:00
Dominique Bongiraud
66ff8073b9
[Security]Fixed CS
2010-10-24 09:55:31 +02:00
Fabien Potencier
f710c9c46c
[DoctrineBundle] made tweaked an error message
2010-10-23 08:49:37 +02:00
Fabien Potencier
4027f751e3
[Security] added more unit tests
2010-10-22 17:48:58 +02:00
Fabien Potencier
d2b184e058
[Security] removed type hint in AuthenticationException as the extra information can be of different classes
2010-10-22 15:19:13 +02:00
Johannes Schmitt
d077ac4158
[Security] changed encoders to use hash() function whenver possible and replaced sha1 with sha256 as default algorithm
2010-10-22 13:24:29 +02:00
Ryan Weaver
84a60d74d1
Allowing a routes node to be specified without any child import or route nodes.
...
This is not really a bug or a big issue, but if you need to temporarily empty a routes node, Symfony shouldn't care - it's not an actual validation failure (a routes node still makes sense without an route or import children).
2010-10-22 13:21:55 +02:00
Fabien Potencier
b6552dd037
removed old code
2010-10-22 12:36:51 +02:00
Nicolas A. Bérard-Nault
2cf3e4ed07
Moved the "reboot" call after the request is handled; this permits the setting of test fixtures and cleans up the kernel after the request.
2010-10-22 08:32:52 +02:00
Bernhard Schussek
96a0bff915
[Form] Made InputField instantiable so that simple input fields can be created on the fly
2010-10-22 08:30:14 +02:00
Bernhard Schussek
e9fcacdad7
[HttpFoundation] Fixed: File/UploadedFile did not adjust path when moved
2010-10-22 08:30:14 +02:00
Bernhard Schussek
72dcee594a
[Form] Added validiation of hours, minutes and seconds to TimeField
2010-10-22 08:30:14 +02:00
Bernhard Schussek
6c7fab212b
[Form] Added validation of years, months and days to DateField
2010-10-22 08:30:13 +02:00
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