Commit Graph

1042 Commits

Author SHA1 Message Date
Fabien Potencier
2b8dfe1ccf [EventDispatcher] fixed possible PHP warning 2010-10-13 07:44:14 +02:00
Benjamin Zikarsky
d376596f7e [EventDispatcher] fixed bug in EventDispatcher::disconnect if the second argument is null or ommitted 2010-10-13 07:41:56 +02:00
Fabien Potencier
c1e873d1b0 removed debug code 2010-10-13 07:34:10 +02:00
Tom Van Looy
44f54c2578 [Console] fixed status code when it is > 255 2010-10-13 07:33:49 +02:00
Ryan Weaver
c39635680f added PHPDoc 2010-10-13 07:29:41 +02:00
henrikbjorn
30cf086828 Overrides the default {% include %} token parser since it loads through the right template renderer 2010-10-13 07:24:06 +02:00
Fabien Potencier
2a9ddee162 [HttpFoundation] added Session::invalidate() 2010-10-12 08:58:12 +02:00
Kris Wallsmith
c36612b78b [DoctrineMongoDBBundle] fixed error when logging bin values in queries 2010-10-12 07:02:44 +02:00
Ryan Weaver
7fb3b2ab9d Adding basic PHPDoc to the Routing\DelegatingLoader class. 2010-10-12 06:58:54 +02:00
Ryan Weaver
8c70a2ee24 Adding basic PHPDoc to the Routing\DelegatingLoader class. 2010-10-12 06:58:51 +02:00
Bernhard Schussek
b902cb31d7 [Form] PropertyPath camelizes property names when setting values 2010-10-11 12:52:22 +02:00
Bernhard Schussek
a66d883afd [Form] Removed CSRF setters because they have no effect once CSRF protection is enabled. Re-enable CSRF protection with the desired values instead 2010-10-11 12:52:17 +02:00
Bernhard Schussek
e1be4e9689 [Form] Refactored logic to read and set values from Field to PropertyPath 2010-10-11 12:52:10 +02:00
Benjamin Eberlei
1fab031d4d Add missing EntityToIDTransformer files 2010-10-09 19:44:08 +02:00
ornicar
f667b6928f [TwigBundle] Add a template block to render CollectionField fields 2010-10-09 14:23:19 +02:00
ornicar
06a6b15e22 [Form] Fix FieldGroup::getHiddenFields, add tests for FieldGroup::getHiddenFields and FieldGroup::getVisibleFields 2010-10-09 14:20:06 +02:00
Masao Maeda
ade5fd6574 fixed: fixed the bug of request_panel.php in WebProfiler
When the session attributes don't exist, $data->sessionAttributes->getRawValue() cannot be called as not being defined.
So check the session attributes before calling getRawValue()
2010-10-08 15:53:41 +02:00
ornicar
5c406b9dc0 [FrameworkBundle] fixed typo in Translator 2010-10-08 11:57:38 +02:00
Fabien Potencier
e0961beb44 [FrameworkBundle] fixed typos (patch from Dennis.Verspuij) 2010-10-08 10:19:30 +02:00
Fabien Potencier
fa77f08893 fixed typo 2010-10-08 10:17:47 +02:00
Fabien Potencier
aa1cb87f60 [FrameworkBundle] clarified exception message in InitBundleCommand.php (patch from mvrhov) 2010-10-08 10:17:17 +02:00
Jordi Boggiano
12479cdd24 [TwigBundle] Simplified some code 2010-10-08 09:56:59 +02:00
henrikbjorn
7ad510d6ef Added --symlink option to assets:install command 2010-10-08 09:55:57 +02:00
henrikbjorn
18ba4fd567 changed autoload.php.dist namespace order 2010-10-08 09:54:57 +02:00
Fabien Potencier
fafcd02684 [HttpFoundation] changed RequestMatcher pattern syntax 2010-10-07 19:12:53 +02:00
Fabien Potencier
18caddec7a fixed typo 2010-10-06 16:33:39 +02:00
Jordi Boggiano
d8f4cb79c9 [Form] Turned FieldGroup::getFields() into 4 specialized methods for more flexibility
It's better to be able to fetch all the visible and all the hidden fields separately for display purposes (hidden fields in <ul> tags without an <li> do not validate)
2010-10-06 15:34:07 +02:00
Fabien Potencier
5019010539 fixed unit tests after the last commit 2010-10-06 14:44:02 +02:00
Jordi Boggiano
bf1eb56a34 [EventDispatched] Event doesn't need to implement ArrayAccess 2010-10-06 14:33:52 +02:00
Bulat Shakirzyanov
db3476aeaa [WebProfilerBundle] simplified DIC extension 2010-10-06 14:31:06 +02:00
Fabien Potencier
1d1a437edc added some missing methods 2010-10-06 14:18:36 +02:00
Benjamin Eberlei
ec3b3f7637 Added and tested EntityToIDTransformer to transform Many-To-One and One-To-One entities into their identifier values 2010-10-06 14:16:55 +02:00
Benjamin Eberlei
0d9d4ac583 Optimize some code in Form/Configurable, Have ChoiceField always pass data to transformers, implemented and fully unit-tested two Doctrine ORM specific transformers that do Collection to String/Choice Transformations 2010-10-06 14:16:51 +02:00
Benjamin Eberlei
f033fc5578 Refactor ValueTransformers to recieve the original value when reverseTransform() is called. This is required for expensive value transformations for example Doctrine Collections or Proxies to allow access to a value that does not trigger expensive operations (such as database calls) anymore. 2010-10-06 14:16:47 +02:00
Fabien Potencier
dbde494424 made locale determination for translation lazy-loaded
This allows to have a stateless-website (without any cookie)
for instance if the locale is part of the domain name
and not attached to the user.
2010-10-06 11:57:38 +02:00
Fabien Potencier
af8cb480a3 [FrameworkBundle] changed Template renderers to be lazy-loaded 2010-10-06 11:53:57 +02:00
Fabien Potencier
caa9d82746 [HttpFoundation] added support for attributes in RequestMatcher 2010-10-05 20:20:28 +02:00
Jonathan H. Wage
c0dc01d9b9 Fixing old path to new one. 2010-10-05 09:36:53 +02:00
Fabien Potencier
4cea8276e3 fixed Doctrine data fixtures path 2010-10-05 09:30:24 +02:00
Jonathan H. Wage
cc3ff12bf8 Fixing container test. 2010-10-05 09:29:42 +02:00
Fabien Potencier
c6ed593022 fixed unit tests 2010-10-05 09:05:29 +02:00
Jonathan H. Wage
3bc3115d8c Adding setLogger for data fixtures. 2010-10-05 09:00:38 +02:00
Jonathan H. Wage
ff683a694e Integrating new data fixtures code. 2010-10-05 09:00:33 +02:00
Fabien Potencier
2525998f6e replaced form field rendering with plain templates
Documentation available here:

http://docs.symfony-reloaded.org/master/guides/form/
2010-10-05 08:34:33 +02:00
ornicar
a38069288c Fix namespace collision 2010-10-04 14:02:35 +02:00
Fabien Potencier
c2f856f074 [FrameworkBundle] fixed comment 2010-10-04 14:01:33 +02:00
Fabien Potencier
e88c0b7fc5 [DoctrineBundle] fixed previous commit 2010-10-03 07:34:56 +02:00
Jonathan H. Wage
8fbf19694f Adding orm: and mongodb: annotation aliases to avoid conflicts. Recommended is to use the aliases instead of relying on the default namespace for annotations.
/** @orm:Entity */
/** @mongodb:Document */
2010-10-03 07:26:49 +02:00
Fabien Potencier
0fc8906feb [Validator] forced all validation annotations to be in the validation namespace to avoid collisions, removed the need for the wrapping @Validation annotation
Before:

    /**
     * @Validation({@DateTime()})
     */

After:

    /**
     * @validation:DateTime()
     */

The @validation:Validation() construct is not needed anymore (it is still supported
as this is useful when you have several annotations with the same class).

So, the above is equivalent to:

    /**
     * @validation:Validation({@validation:DateTime()})
     */
2010-10-02 15:07:00 +02:00
Fabien Potencier
3a4d9cb185 [Validation] fixed license 2010-10-02 12:42:35 +02:00