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
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
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
Bernhard Schussek
fa457b1cc4
[Form] Renamed 'filter' listeners to 'on' to match naming conventions across the framework
2011-04-15 10:57:32 +02:00
Henrik Bjørnskov
fbb0ca5c4e
[Form] Fixed tests for previous commit
2011-04-14 18:32:51 +02:00
Henrik Bjørnskov
5547243f53
[Form] Starting to bring back resouces as configurable
2011-04-14 18:32:34 +02:00
Fabien Potencier
44edd8fe96
[TwigBundle] renamed default widget files
2011-04-14 16:47:44 +02:00
Bernhard Schussek
c6fe6a750d
[Form] Added functional test for the 'size' attribute in the select tags of a time field
2011-04-14 15:29:55 +02:00
Bernhard Schussek
e3db366116
[Form] Passing FormFactory to FormBuilder in its constructor
2011-04-14 15:25:30 +02:00
Bernhard Schussek
2ddc85ae5a
[Form][Twig] Removed obsolete form_data() helper
2011-04-14 15:14:19 +02:00
Bernhard Schussek
44af72bbf4
Merge remote branch 'symfony/master' into experimental
2011-04-14 15:04:59 +02:00
Bernhard Schussek
72b17cd67c
[Form] Renamed TemplateContext to FormView
2011-04-14 15:02:51 +02:00
Bernhard Schussek
ca6ae09779
[Form] Removed TemplateContext::create()
2011-04-14 14:42:17 +02:00
Bernhard Schussek
4907c7d81d
[Form] Added test coverage for expanded choice fields
2011-04-14 14:18:25 +02:00
Bernhard Schussek
4c0d53a7b6
[TwigBundle] Merged div_layout.html.twig and widget.html.twig
2011-04-14 13:46:11 +02:00
Bernhard Schussek
c2dcebf6ea
[FrameworkBundle] Added test coverage for FormHelper and fixed various rendering bugs
2011-04-14 13:37:27 +02:00
Fabien Potencier
9cc340a262
fixed inconsistencies in file locator classes
2011-04-14 12:52:22 +02:00
Bernhard Schussek
ce5f3073bd
Fixed test suite and names of accessor methods in TemplateContext
2011-04-14 03:52:52 +02:00
Bernhard Schussek
602846f386
[Form] Added tests for table_layout.html.twig
2011-04-14 03:38:19 +02:00
Bernhard Schussek
96f040cec1
[Form] Added extensive test coverage for div_layout.html.twig
2011-04-14 03:15:56 +02:00
Fabien Potencier
ea1a16b99f
Merge remote branch 'henrikbjorn/doctrine-mongodb-hydrator-dir'
...
* henrikbjorn/doctrine-mongodb-hydrator-dir:
[DoctrineMongoDBBundle] Fixed unit tests for hydrator_dir and proxy_dir
[DoctrineMongoDBBundle] Made hydrator_dir and proxy_dir configurable. Moved default values for the params to Configuration class
2011-04-13 23:32:32 +02:00
Fabien Potencier
5316decd8c
Merge remote branch 'hhamon/shared_maxage_fix'
...
* hhamon/shared_maxage_fix:
[HttpFoundation] force Response to be "public" if setSharedMaxAge() is called.
2011-04-13 23:24:31 +02:00
Fabien Potencier
56a4f0463a
Merge remote branch 'vicb/fix-dbg-evt-mgr'
...
* vicb/fix-dbg-evt-mgr:
[FrameworkBundle] Fix an issue when adding a scoped service as an event listener
2011-04-13 23:24:04 +02:00
Fabien Potencier
d2af468b60
Merge remote branch 'francisbesset/webprofiler_session'
...
* francisbesset/webprofiler_session:
[WebProfilerBundle] Displayed search form even if the session is not configured
[WebProfilerBundle] Cleaned controller
[WebProfilerBundle] Fixed errors on search action
[WebProfilerBundle] Fixed WebDebugToolbarListener
[WebProfilerBundle] Updated return Response
[WebProfilerBundle] Fixed errors if the session is not configured
2011-04-13 23:20:40 +02:00
Fabien Potencier
b32a7e935a
simplified code
2011-04-13 23:18:28 +02:00
Fabien Potencier
ea84bb025b
fixed session management in functional tests
2011-04-13 23:11:25 +02:00
Victor Berchet
3322cdbefc
[FrameworkBundle] Fix an issue when adding a scoped service as an event listener
2011-04-13 23:08:08 +02:00
Fabien Potencier
6957dae4f9
[HttpKernel] added support for cookies in Client
2011-04-13 20:25:35 +02:00
Francis Besset
79cfea20fd
[WebProfilerBundle] Displayed search form even if the session is not configured
2011-04-13 20:17:51 +02:00
Fabien Potencier
e2c9fdf2c7
[HttpFoundation] fixed expiration time for Cookie (PHP wants a Unix timestamp)
2011-04-13 20:12:14 +02:00
Fabien Potencier
66c4bc727c
[HttpFoundation] renamed Cookie::getExpire() to getExpiresTime() to be consistent with the DomCrawler component
2011-04-13 20:10:39 +02:00
Fabien Potencier
84dde4074a
[HttpFoundation] changed default value of Cookie httponly argument to match PHP defaults
2011-04-13 20:07:31 +02:00
Francis Besset
88c35c42e2
[WebProfilerBundle] Cleaned controller
2011-04-13 19:53:57 +02:00
Francis Besset
190ba5979c
[WebProfilerBundle] Fixed errors on search action
2011-04-13 19:53:57 +02:00
Francis Besset
0d9fb8db5f
[WebProfilerBundle] Fixed WebDebugToolbarListener
2011-04-13 19:53:57 +02:00
Francis Besset
713d3405b7
[WebProfilerBundle] Updated return Response
2011-04-13 19:53:57 +02:00
Francis Besset
81939136ad
[WebProfilerBundle] Fixed errors if the session is not configured
2011-04-13 19:53:57 +02:00
Henrik Bjørnskov
3fb0f20f9a
[DoctrineMongoDBBundle] Fixed unit tests for hydrator_dir and proxy_dir
2011-04-13 18:15:11 +02:00
hhamon
053d83f557
[HttpFoundation] force Response to be "public" if setSharedMaxAge() is called.
2011-04-13 15:58:48 +02:00
Bernhard Schussek
8031ad77c8
Merge remote branch 'fabpot/form' into fabpot_merge
2011-04-13 15:58:15 +02:00
Fabien Potencier
a6d790f89f
Merge remote branch 'hhamon/http_cache_fix'
...
* hhamon/http_cache_fix:
[HttpKernel] private $traces property was not initialized to an empty array. When using the getLog() method to debug traces, it led to a warning in the apache error log.
2011-04-13 14:38:32 +02:00
Fabien Potencier
fa6961bb91
Revert "Merge remote branch 'lsmith77/prevent_redundant_DI_method_calls'"
...
This reverts commit 0d61ae06b4
, reversing
changes made to 8e3d125902
.
2011-04-13 14:30:06 +02:00
Fabien Potencier
227c87404f
Merge remote branch 'Funsational/master'
...
* Funsational/master:
Update PDO session storage to check if any rows are updated when doing a session write. If no rows are udpated when performing a session write it generally means that we have created a new session id somewhere and we have not inserted into the database. This is the case for when calling regenerate_session_id() from the native session storage class. It will update the session id then call sessionWrite() to save the session but since the new session id does not exist in the DB, no rows are updated and any new session attributes such as security tokens are lost.
2011-04-13 14:27:16 +02:00
hhamon
facb67cbfa
[HttpKernel] private $traces property was not initialized to an empty array. When using the getLog() method to debug traces, it led to a warning in the apache error log.
2011-04-13 14:24:53 +02:00
Fabien Potencier
3d093c161b
Merge remote branch 'kriswallsmith/assetic/config-tweak'
...
* kriswallsmith/assetic/config-tweak:
[AsseticBundle] updated bundle node to match others, cleaned up validation
2011-04-13 14:21:21 +02:00