Fabien Potencier
3a2ca3dd92
moved Doctrine2 Entity Type guesser to the Doctrine bridge
2011-04-18 08:44:37 +02:00
Fabien Potencier
b71f9d2708
[Form] added a unit tests for previous commit
2011-04-18 08:21:18 +02:00
Ivan Rey
fa2e4c5dd1
BugFix reflClass is not always initialized getReflClass should be used instead since it initializes the variable if it's not set
2011-04-17 21:35:37 -05:00
Ivan Rey
ef81002634
Better Exception Message
2011-04-17 21:30:23 -05:00
Ivan Rey
cc0832992c
BugFix: In windows environments it is necessary to replace backslash with forward slash in search string as well
2011-04-17 21:29:35 -05:00
Fabien Potencier
4bfd5bf079
[Form] tweaked Date time transformer to allow fields with 0 as hour/minute/...
2011-04-17 22:50:22 +02:00
Fabien Potencier
3e476e1c30
[Form] removed validation.xml file (not used anymore)
2011-04-17 22:33:31 +02:00
Fabien Potencier
f4aae27904
Merge remote branch 'lsmith77/add_decoder_interface'
...
* lsmith77/add_decoder_interface:
added a DecodeInterface (and SerializerAwareInterface) to make it easier to identify if an Encoder also supports decoding
2011-04-17 19:30:13 +02:00
Bernhard Schussek
be5738564f
[Form] Improved regular expression in AbstractType::getName() and added unit tests
2011-04-17 18:01:22 +02:00
Bernhard Schussek
4905bfd285
Merge remote branch 'brikou/form' into form
2011-04-17 18:01:17 +02:00
Lukas Kahwe Smith
874c4b6e07
added a DecodeInterface (and SerializerAwareInterface) to make it easier to identify if an Encoder also supports decoding
2011-04-17 17:00:42 +02:00
Lukas Kahwe Smith
c2ac8304b0
added text/html to default format mapping
2011-04-17 14:39:07 +02:00
Lukas Kahwe Smith
4c3c6cdabf
return "q" from splitHttpAcceptHeader() to enable more complex accept header negotiations
2011-04-17 14:38:33 +02:00
Lukas Kahwe Smith
53c7bcf3aa
added support for setting a custom default format in Request::getRequestFormat()
2011-04-17 14:37:35 +02:00
Fabien Potencier
7a70236437
Merge remote branch 'schmittjoh/containerBaseClass'
...
* schmittjoh/containerBaseClass:
[DependencyInjection] make base class of generated container configurable
2011-04-17 14:15:36 +02:00
Fabien Potencier
62737c2495
Merge remote branch 'hidenorigoto/feature/add-server-param-method'
...
* hidenorigoto/feature/add-server-param-method:
[BrowserKit] added tests for setServerParameter/getServerParameter methods
[BrowserKit] added getServerParameter method which makes setServerParameters/setServerParameter methods testable
[BrowserKit] added the method to Client which enables to set single server parameter
2011-04-17 14:14:49 +02:00
Fabien Potencier
5861a1b962
Merge remote branch 'merk/security/phpdoc'
...
* merk/security/phpdoc:
[Security] Added missing phpdoc
2011-04-17 14:11:49 +02:00
Fabien Potencier
45a551e9d5
[DoctrineBundle] removed unused file
2011-04-17 14:10:13 +02:00
Johannes M. Schmitt
30bac46e1b
[DependencyInjection] make base class of generated container configurable
2011-04-17 12:29:33 +02:00
hidenorigoto
43952b3175
[BrowserKit] added tests for setServerParameter/getServerParameter methods
2011-04-17 11:24:55 +09:00
hidenorigoto
1d85a3dcb1
[BrowserKit] added getServerParameter method which makes setServerParameters/setServerParameter methods testable
2011-04-17 11:22:59 +09:00
hidenorigoto
54c3d236c2
[BrowserKit] added the method to Client which enables to set single server parameter
2011-04-17 10:45:32 +09:00
Fabien Potencier
c6818d8bf7
[HttpKernel] added support for controllers as arrays and object with an __invoke method
...
Controllers can now be any valid PHP callable
2011-04-16 16:26:15 +02:00
Tobias Naumann
f6ce451e2c
[Form] Made FormView implement Countable
2011-04-16 13:54:31 +02:00
Tim Nagel
ad86f9ff0d
[Security] Added missing phpdoc
2011-04-16 16:21:04 +10:00
Brikou CARRE
e898445b94
removed empty lines/trailing spaces
2011-04-15 21:12:02 +02:00
Brikou CARRE
a83046f470
fixed regex (we don't need '?')
2011-04-15 19:04:53 +02:00
Brikou CARRE
28121e4a57
[Form] AbstractType::getName() improvement
2011-04-15 18:58:15 +02:00
Bernhard Schussek
7b1bf621e1
[Form] Removed obsolete code from div_layout.html.twig
2011-04-15 16:40:28 +02:00
Bernhard Schussek
2ea68dfcd2
[Form] Improved test coverage of NumberToLocalizedStringTransformer
2011-04-15 16:25:48 +02:00
Bernhard Schussek
30922d9375
[Form] Fixed: Checkboxes in an expanded choice field never have the 'required' HTML5 attribute. Closes http://trac.symfony-project.org/ticket/9588
2011-04-15 16:10:04 +02:00
Bernhard Schussek
a05575bba1
[Form] Removed obsolete code. Use the 'attr' var instead
2011-04-15 15:48:14 +02:00
Bernhard Schussek
9582221862
[Form] ResizeFormListener::preBind() now handles empty strings. Fixes https://github.com/symfony/symfony/pull/40
2011-04-15 15:43:02 +02:00
Bernhard Schussek
d0c572716a
Merge remote branch 'henrikbjorn/form' into henrik_merge
2011-04-15 15:34:29 +02:00
Bernhard Schussek
bc0efff28d
[Form][FrameworkBundle] Fixed escaping of choice widgets
2011-04-15 15:27:15 +02:00
Henrik Bjørnskov
e687685f98
[Form] change FormView::setVar,getVar,getVars,hasVar to set,get,all,has
...
[Form] Fixed {get,set,has}Var references in templating php
[Form] Added getVars to FormView to ease usage in Twig. Also added some phpdoc and cleaned up the get method by adding a default value
[Form] Fix
[Form] Delete file generated by test
2011-04-15 15:25:37 +02:00
Bernhard Schussek
e787d5dc22
[Form] PropertyPath now can handle elements with special characters
2011-04-15 15:25:19 +02:00
Bernhard Schussek
4f1ae660fa
[Form] Fixed choice labels in expanded choice fields
2011-04-15 15:04:44 +02:00
Bernhard Schussek
41c6ab0ac7
[Form] Field labels can now be passed in the 'label' option
2011-04-15 15:03:10 +02:00
Bernhard Schussek
3d92549382
[FrameworkBundle] Fixed various escaping problems and added test cases for them
2011-04-15 14:38:46 +02:00
Bernhard Schussek
990bef8afb
[Form][FrameworkBundle][TwigBundle] Fixed: CSRF fields are not rendered for nested forms anymore
2011-04-15 14:05:33 +02:00
Bernhard Schussek
8fe21285ba
[Form] Renamed Form::getView() to createView() to clearly indicate that each call returns a new object
2011-04-15 13:52:11 +02:00
Bernhard Schussek
276b23a344
[Form] Moved creation logic of FormView to Form class
2011-04-15 13:41:45 +02:00
Fabien Potencier
db8b118e8a
Merge remote branch 'hidenorigoto/fix-methodname-case'
...
* hidenorigoto/fix-methodname-case:
[HttpFoundation] fixed wrong method name
2011-04-15 12:53:37 +02:00
Bernhard Schussek
44fa9bbeaa
[Form] Fixed: CSRF token is regenerated if validation fails to avoid stalled tokens. Closes https://github.com/symfony/symfony/pull/415
2011-04-15 12:50:50 +02:00
Bernhard Schussek
c9c8b5c98e
[Form] Improved test coverage of MonthChoiceList and fixed timezone used in it. Fixes https://github.com/symfony/symfony/pull/433
...
Based on dfb93b1bcebf1f34d3a880d00f36acb2bcca0f08:
[FORM] Fixed DateField Month Choices
The month choices were calculated using the current day of the month with
gmmktime rather than the 1st of the month. Additionally, this provides a
UTC timestamp which is passed to the formatter (IntlDateFormatter) which
converts the timestamp using the current timezone. This means that the UTC
timestamp for 1st March was being converted for my timezone (EST) and giving
a date of 28th February, leading to Feb appearing again in the popup form
instead of Mar.
2011-04-15 12:26:07 +02:00
Fabien Potencier
7e58c3f976
[Routing] allowed default route variables to be null
2011-04-15 12:04:48 +02:00
hidenorigoto
1e78ec395c
[HttpFoundation] fixed wrong method name
2011-04-15 19:04:00 +09:00
Fabien Potencier
ad112da5bc
added the request content to the request data collector
2011-04-15 11:31:08 +02:00
Bernhard Schussek
77bea81ed5
[Form] Improved test coverage of ResizeFormListener. Fixed https://github.com/symfony/symfony/pull/493
2011-04-15 11:06:51 +02:00