Fabien Potencier
1daca76197
[Form] unified the way form and data path are created
2011-06-10 15:35:35 +02:00
Lukas Kahwe Smith
b7c615d869
clarified that BC is broken in the Serializer component
2011-06-10 15:04:57 +02:00
Hugo Hamon
aa6645d955
[DoctrineBundle] fixed missing backslashe.
2011-06-10 14:55:47 +02:00
Hugo Hamon
1da8922eab
[DoctrineBundle] simplified getClassMetadataFactoryClass() method in both DisconnectedMetadataFactory and MetadataFactory classes.
2011-06-10 14:27:55 +02:00
Hugo Hamon
ce3839a3ea
[DoctrineBundle] added new DisconnectedMetadataFactory class that is now used in the doctrine:generate:entities command instead of the MetadataFactory class.
2011-06-10 14:24:31 +02:00
Fabien Potencier
7de4d28a05
Merge remote branch 'yethee/delegating_validator'
...
* yethee/delegating_validator:
[Form] Fixed path mapping for DelegatingValidator
2011-06-10 13:54:44 +02:00
Brikou CARRE
896c294b58
[HttpFoundation] added phpdoc + exception fix
2011-06-10 08:59:49 +02:00
Lukas Kahwe Smith
77fd5805e1
added UPDATE notes for Serializer component changes
2011-06-10 01:13:38 +02:00
Lukas Kahwe Smith
2b4a25a0a7
fix tests
2011-06-10 01:11:51 +02:00
Fabien Potencier
25c3fee1f2
[FrameworkBundle] removed obsolete code
2011-06-09 22:15:58 +02:00
Fabien Potencier
8cd29cabd5
Merge remote branch 'shishi/update_update.ja.md'
...
* shishi/update_update.ja.md:
update UPDATE.ja.md
2011-06-09 21:25:01 +02:00
Lee McDermott
7e89a6ad41
Added an optimisation for PHP-FPM (FastCGI Process Manager).
...
As soon as a full Response is dispatched to the browser, the HTTP connection is closed, but the script stays alive on FPM servers.
2011-06-09 19:11:02 +01:00
Shigenibu Nishikawa
df59e42041
update UPDATE.ja.md
2011-06-10 01:25:45 +09:00
Eriksen Costa
c9acf2e60c
[Form] minor code simplification
2011-06-09 13:24:55 -03:00
Fabien Potencier
ea93e4cafa
[Form] added a circular reference safeguard for form type
2011-06-09 17:58:22 +02:00
Fabien Potencier
d044498cde
[Form] changed the way default type names are created to avoid collisions
2011-06-09 16:43:02 +02:00
Albert Jessurum
ca52a04f5e
[Validator] Allow DateTime objects as valid Times
2011-06-09 15:47:51 +02:00
Lukas Kahwe Smith
8ef83d548b
marked public api
2011-06-09 14:51:26 +02:00
Lukas Kahwe Smith
f67b3f508e
more encoder lazy loading tweaks
2011-06-09 14:51:26 +02:00
Lukas Kahwe Smith
4b3f6215b7
always use getEncoder() to enable lazy loading
2011-06-09 14:51:26 +02:00
Lukas Kahwe Smith
64c8a1ab8c
cosmetic tweak
2011-06-09 14:51:25 +02:00
Lukas Kahwe Smith
c54ab34363
removed setEncoder/removeEncoder/addNormalizer/removeNormalizer
2011-06-09 14:51:25 +02:00
Lukas Kahwe Smith
8473e3e56a
SerializerAwareInterface and DecoderInterface do not implement EncoderInterface anymore
2011-06-09 14:51:25 +02:00
Lukas Kahwe Smith
b9bc5f9b20
handle non objects
2011-06-09 14:51:25 +02:00
Lukas Kahwe Smith
c470d8b273
moved the methods that can later be moved to a Builder to the bottom
2011-06-09 14:51:25 +02:00
Lukas Kahwe Smith
5b3ccba2a1
use getEncoder inside encode/decode
2011-06-09 14:51:25 +02:00
Lukas Kahwe Smith
7ecd5e7590
made serialize/deserialize/encode/decode final
2011-06-09 14:50:55 +02:00
Lukas Kahwe Smith
52b8cb622d
added Constructor
2011-06-09 14:50:55 +02:00
Lukas Kahwe Smith
46da5ff069
added Exception's from SerializerBundle
2011-06-09 14:50:55 +02:00
Lukas Kahwe Smith
1eecf1a5d1
made (de)normalizeObject() private
2011-06-09 14:50:55 +02:00
Lukas Kahwe Smith
054e41573e
renamed hasEncoder/hasDecoder to supportsSerialization/supportsDeserialization
2011-06-09 14:50:55 +02:00
Lukas Kahwe Smith
900dda8239
notice fixes
2011-06-09 14:50:55 +02:00
Lukas Kahwe Smith
9fdfac81ec
typo fixes
2011-06-09 14:50:55 +02:00
Lukas Kahwe Smith
c3acd5df54
all encoders implement EncoderInterface
2011-06-09 14:50:54 +02:00
Lukas Kahwe Smith
e694397f16
removed redundant management of encoders and decoders, aka assume all decoders are also encoders
...
anything else is a total edge case that doesnt break with this change. it just means that for that edge case it will not be possible to "statically" determine if the encoder doesnt actually support encoding.
2011-06-09 14:50:54 +02:00
Lukas Kahwe Smith
34b5a67987
expand interface
...
actually the main methods I am looking for is hasDecoder() and getEncoder() to be able to check if there is a Decoder to decode the Request body as well as if the encoder implements the TemplatingAwareInterface
2011-06-09 14:50:25 +02:00
Fabien Potencier
f3cafcb355
merged symfony/form-simplification
2011-06-09 13:29:31 +02:00
Fabien Potencier
852a4c9c6a
[Form] removed the file upload temporary storage feature
...
The current implementation is not ready for inclusion in 2.0. It has several
known problems (security, not possible to disable it, not "cloud-compatible",
...) and it's not a must have feature anyway.
Some references:
* Security issue in FileType: https://github.com/symfony/symfony/issues/1001
* Validation fails on file, still stored in TemporaryStorage: https://github.com/symfony/symfony/issues/908
* Add a size argument & ability to configure TemporaryStorage: https://github.com/symfony/symfony/pull/748
This feature should be reworked and discussed for inclusion in 2.1.
2011-06-09 12:44:36 +02:00
Fabien Potencier
1e8cd6d34d
[HttpFoundation] removed the leading . for extensions
2011-06-09 12:42:42 +02:00
Fabien Potencier
07be5bf484
[Form] fixed test
2011-06-09 12:05:27 +02:00
Fabien Potencier
6448912109
[Form] fixed unit test
2011-06-09 11:47:14 +02:00
Fabien Potencier
2ee0c284bc
[Form] fixed CS
2011-06-09 11:40:24 +02:00
Fabien Potencier
fd97dd0059
[Form] text is now the default type when not explicitely set and when no data class is set
2011-06-09 11:37:06 +02:00
Fabien Potencier
a6a3789a54
[Form] tweaked an error message
2011-06-09 11:33:25 +02:00
Fabien Potencier
d9500418cd
[Form] tweaked an error message
2011-06-09 11:32:20 +02:00
Hugo Hamon
6e96accf3a
[DoctrineBundle] fixed MetadataFactory::getMetadataForClass() to always return a ClassMetadataCollection object instead of NULL.
2011-06-09 11:13:42 +02:00
Fabien Potencier
88184394b5
[Form] tweaked the error message when a form with a file upload does not have the enctype attribute correctly configured
2011-06-09 08:36:40 +02:00
Fabien Potencier
0a7ce63d8f
Merge remote branch 'vicb/twig-theme-inheritance'
...
* vicb/twig-theme-inheritance:
[Form] Further tweaks of the twig theme inheritance
[Form] Fix twig theme inheritance
2011-06-09 07:46:50 +02:00
Michael Ridgway
19a8ece323
Fixed vendors.php not working if directory path has space in it
2011-06-08 14:25:56 -04:00
Fabien Potencier
17cd08dc6c
fixed CS
2011-06-08 19:56:59 +02:00