Commit Graph

3506 Commits

Author SHA1 Message Date
Bernhard Schussek
a58cfab37d [Form] Removed form.type.loader tag and according compiler pass to simplify configuration. Custom types that are not in the DIC can be instantiated manually and passed wherever a type is desired. 2011-03-26 18:48:55 +01:00
Bernhard Schussek
9ff91dc997 Merge remote branch 'beberlei/FormsCollectionPrototype' into beberlei-merge 2011-03-26 18:39:20 +01:00
Bernhard Schussek
ed69d7fa35 [Form] Fixed rendering using the PHP Templating engine 2011-03-26 18:38:03 +01:00
Bernhard Schussek
fae319e77a [Form] Renderers are now created explicitely using FormFactory::createRenderer(). This improves performance on requests where a form does not need to be rendered 2011-03-26 16:03:34 +01:00
Bernhard Schussek
8c7a93c90c [Form] Added FormTypeInterface::buildRendererBottomUp() which is called after children are initialized 2011-03-26 16:03:34 +01:00
Bernhard Schussek
c786fac303 [Form] Sample fix implementation of renderers 2011-03-26 16:03:34 +01:00
Bernhard Schussek
a396f8fdc8 Merge remote branch 'symfony/master' into experimental 2011-03-26 16:03:21 +01:00
Benjamin Eberlei
f9e2864030 [Form] Set prototype to true by default. 2011-03-26 14:56:59 +01:00
Benjamin Eberlei
d87651b6a2 [Form] Add option "prototype" defaulting to true. 2011-03-26 14:52:03 +01:00
Bernhard Schussek
41c3aea668 Merge remote branch 'beberlei/FormRendererItrator' into beberlei-merge 2011-03-26 13:43:33 +01:00
Ryan Weaver
1910e23df8 [FrameworkBundle] Adding a title tag to make the default error page just a little bit longer so that chrome displays it
The background is that Chrome only displays the content returned on an error page if payload is at least 512 bytes.
Prior to this change, the 404 page was just a few bytes short, resulting in the Chrome error message instead of the
real one returned by Symfony (confusing for the user).
2011-03-26 07:36:03 -05:00
Fabien Potencier
bfd57c5cf0 [HttpKernel] fixed typo 2011-03-26 12:54:13 +01:00
Benjamin Eberlei
f882a511a0 [Form] Initialize on iterator access. 2011-03-26 12:28:46 +01:00
Benjamin Eberlei
cd1ce86aee [Form] Iterator support for ThemeRenderer 2011-03-26 12:25:47 +01:00
Fabien Potencier
4594cd223b [HttpKernel] fixed a test that randomly fails 2011-03-26 12:07:57 +01:00
Fabien Potencier
7bda949e41 Merge remote branch 'schmittjoh/security'
* schmittjoh/security:
  changed condition nesting
  [Security] ACL: AclVoter::vote only gets an ObjectIdentity if $object is not an instance of ObjectIdentityInterface
  [SecurityBundle] fixed missing argument EventDisplatcher in RememberMe service
2011-03-26 10:44:37 +01:00
Fabien Potencier
4de468e181 [Routing] makes the parameters argument of generate() optional 2011-03-26 09:54:44 +01:00
Benjamin Eberlei
73d8470a76 [Form] Fix children implementation, setChildren() is not used, the attribute "fields" is. 2011-03-26 09:42:45 +01:00
Johannes Schmitt
031bf35bb1 changed condition nesting 2011-03-26 09:06:03 +01:00
Fabien Potencier
cc46e8d46a moved the Filesystem class form FrameworBundle to HttpKernel (refactored it slightly) 2011-03-26 08:37:25 +01:00
Fabien Potencier
124f1d8e44 moved the Filesystem class form FrameworBundle to HttpKernel (refactored it slightly) 2011-03-26 08:37:10 +01:00
Fabien Potencier
1a6f138fe8 [FrameworkBundle] simplified code 2011-03-26 08:22:29 +01:00
Fabien Potencier
3553ed89d4 Merge remote branch 'stealth35/use_filesystemiterator'
* stealth35/use_filesystemiterator:
  simplify folders deletion
  work with Traversable
  added FilesystemIterator namespace
  tab to spaces
  use FilesytemIterator insteed opendir
2011-03-26 08:20:44 +01:00
Fabien Potencier
d9af9890a3 Merge remote branch 'umpirsky/master'
* umpirsky/master:
  Fixed Russian translation according to suggestions on be63154655 (commitcomment-312900).
2011-03-26 08:17:23 +01:00
Johannes Schmitt
1282a595f2 Merge branch 'remember_me_dispatcher' of https://github.com/patashnik/symfony into security 2011-03-26 01:26:20 +01:00
Johannes Schmitt
db2089de0d Merge branch 'acl-fix' of https://github.com/comfortablynumb/symfony into security 2011-03-26 01:11:11 +01:00
umpirsky
37d7c400ce Fixed Russian translation according to suggestions on be63154655 (commitcomment-312900). 2011-03-25 10:56:41 -07:00
Fabien Potencier
1d94a525ee fixed assetic vendor 2011-03-25 18:44:35 +01:00
stealth35
41bdfe25c0 simplify folders deletion 2011-03-25 17:51:47 +01:00
Bernhard Schussek
18b98353d5 Merge branch 'master' into experimental
Conflicts:
	src/Symfony/Component/Form/Resources/config/validation.xml
2011-03-25 16:07:19 +01:00
stealth35
566320d1a9 work with Traversable 2011-03-25 15:58:27 +01:00
Fabien Potencier
8d84fdfedc [Finder] added Finder::append() method to be able to combine several Finder instances into one 2011-03-25 15:50:47 +01:00
Bernhard Schussek
7585dce8dd [Form] Added options validation to field creation 2011-03-25 15:30:33 +01:00
stealth35
280eca4af4 added FilesystemIterator namespace 2011-03-25 15:28:14 +01:00
Fabien Potencier
2d27b13338 Merge remote branch 'bschussek/validator'
* bschussek/validator:
  [Form] Fixed validation.xml (now really)
2011-03-25 14:57:16 +01:00
Fabien Potencier
a2fcd0cf6b Merge remote branch 'stealth35/removed_alias'
* stealth35/removed_alias:
  sanitize die (exit)
2011-03-25 14:54:18 +01:00
Fabien Potencier
3a46ed58b3 Merge remote branch 'stealth35/use_splfileinfo'
* stealth35/use_splfileinfo:
  tab to spaces
  use SplFileInfo insteed fgetcsv
2011-03-25 14:50:19 +01:00
Kris Wallsmith
2e1924ec1c [AsseticBundle] updated for Assetic changes 2011-03-25 06:14:20 -07:00
stealth35
dedf9b4fc0 tab to spaces 2011-03-25 13:38:09 +01:00
stealth35
4d62fd5e6c tab to spaces 2011-03-25 13:35:59 +01:00
stealth35
58cd03cedf use SplFileInfo insteed fgetcsv 2011-03-25 11:51:32 +01:00
stealth35
bdaee9dd09 use FilesytemIterator insteed opendir 2011-03-25 11:38:24 +01:00
Bernhard Schussek
0ace068a52 [Form] PropertyPathMapper now only maps if the form data is synchronized to avoid duplicate form errors ('invalid'+'NotNull', for example) 2011-03-25 11:27:22 +01:00
Bernhard Schussek
6825ea2489 [Form] Improved test coverage of PropertyPathMapper 2011-03-25 11:27:20 +01:00
stealth35
cee94be277 sanitize die (exit) 2011-03-25 11:26:43 +01:00
Bernhard Schussek
e3ac248617 [Form] Errors are mapped to subforms correctly and bubble up again if necessary 2011-03-25 10:53:36 +01:00
Bernhard Schussek
4f360109ed [Form] Fixed validation.xml (now really) 2011-03-25 10:41:18 +01:00
Bernhard Schussek
eb18676354 Merge branch 'master' into experimental 2011-03-25 09:24:38 +01:00
Fabien Potencier
0e57943531 [HttpKernel] fixed typo 2011-03-25 07:19:02 +01:00
Fabien Potencier
043988f670 Merge remote branch 'aurelijus/wrong_arguments_for_exception'
* aurelijus/wrong_arguments_for_exception:
  removed 0
  Updated arguments for MethodNotAllowedHttpException
2011-03-25 06:59:44 +01:00