Commit Graph

1077 Commits

Author SHA1 Message Date
Jeremy Mikola
0aba8ef720 [DependencyInjection] XmlFileLoader should allow "factory-service" attribute without "class" for <service> 2010-10-19 21:10:07 +02:00
henrikbjorn
f810723092 Removed the need for having the Security component enabled when using twig. 2010-10-19 21:04:40 +02:00
Pascal Borreli
d067d5da69 [Security] Fixed coding standard 2010-10-19 17:22:31 +02:00
Pascal Borreli
fde278d7a8 [Security] Fixed typo 2010-10-19 17:21:28 +02:00
Pascal Borreli
8df4567a82 [CssSelector] Fixed typo 2010-10-19 17:20:34 +02:00
Fabien Potencier
f216f313e8 added the Security Component and its integration into the MVC framework
Happy birthday symfony!
2010-10-19 13:33:17 +02:00
Fabien Potencier
0fc6b15c17 [HttpFoundation] added a way to clear the session attributes 2010-10-19 13:13:20 +02:00
Fabien Potencier
94347f73c5 [HttpFoundation] added a way to generate a URI based on the current one and a path 2010-10-19 13:13:14 +02:00
Antoine Hérault
56d98305ca fixed form field groups rendering 2010-10-18 17:05:10 +02:00
Fabien Potencier
5b6d92df3c fixed unit tests 2010-10-18 17:01:57 +02:00
Kris Wallsmith
4a18624927 [Validator] removed ftp and ftps from default url protocols 2010-10-18 16:57:07 +02:00
Kris Wallsmith
29360a0eea Removed old resources array property from DI extension classes. 2010-10-18 16:56:33 +02:00
Kris Wallsmith
f79e23ffb5 Removed all those spaces after @author that were bothering me so… 2010-10-18 16:55:41 +02:00
Kris Wallsmith
0b1f3145ae Removed unnecessary "public" from interface method signatures. 2010-10-18 16:55:09 +02:00
pborreli
2dc357d3a8 [WebProfilerBundle] Fixed label reference, fixed markup, optimized css and images 2010-10-18 16:52:47 +02:00
Fabien Pennequin
dbfa06c54f [OutputEscaper] Add some tests 2010-10-18 16:51:12 +02:00
Fabien Pennequin
71ace34822 [Routing] Added some tests 2010-10-18 16:51:08 +02:00
Fabien Pennequin
c543692891 [DependencyInjection] Added tests for ContainerBuilder class 2010-10-18 16:51:04 +02:00
Fabien Pennequin
7225cf64b1 [DependencyInjection] Added tests for methods hasMethodCall and removeMethodCall of Definition class 2010-10-18 16:51:00 +02:00
Artur Kotyrba
308e85a5a7 Removed methods which implemented interfaces by throwing \LogicException('You must override...'). 2010-10-17 07:54:18 +02:00
pborreli
80868f1712 [Translation] Fixed phpdoc, thx Koc 2010-10-17 07:52:22 +02:00
pborreli
86cc6a11d9 [Component] Fixed some spelling typos 2010-10-17 07:51:50 +02:00
pborreli
082090d880 [Validator] Fixed coding standard 2010-10-16 10:49:41 +02:00
Fabien Potencier
8c55786673 fixed test 2010-10-16 08:36:59 +02:00
Kris Wallsmith
7639fde3f2 [FrameworkBundle] updated constraint validator factory to work with non-DIC validators 2010-10-16 08:34:44 +02:00
Kris Wallsmith
e1f842344e [FrameworkBundle] added a DIC tag-based constraint validator factory 2010-10-16 08:34:40 +02:00
Kris Wallsmith
5d4c80f27b [Validator] removed DependencyInjection integration 2010-10-16 08:34:36 +02:00
Kris Wallsmith
ef4f61bb9f [DependencyInjection] Added TaggedContainerInterface to signature of generated container classes 2010-10-16 08:32:07 +02:00
Fabien Potencier
b42982c83f fixed typo 2010-10-15 18:31:33 +02:00
henrikbjorn
b58498b1c8 Fixed violating coding standard as pointed about by blue-eyes. 2010-10-15 17:58:18 +02:00
Jordi Boggiano
c4a5972952 [FrameworkBundle] Fix format parsing 2010-10-15 17:56:49 +02:00
Fabien Potencier
7e66933876 fixed inconsistency when calling the Http Kernel instance from an event 2010-10-15 11:02:35 +02:00
Fabien Potencier
a46ca47c03 [FrameworkBundle] fixed inclusion of the test client 2010-10-15 07:34:29 +02:00
henrikbjorn
6b61af5931 [FrameworkBundle] prettified Mustache.php and added PHPDoc. 2010-10-14 06:43:34 +02:00
Jeremy Mikola
df9ef79953 [Form] readPropertyPath should return null instead of empty array
When reading the last bit of a property path mapped to a missing array index, the method would initialize the value to an empty array.  This makes sense for cases where readPropertyPath would again be called recursively, but not when the value would be immediately returned (null would be preferable in that case).

For example, we have an object with a property called "options" that's an array of arbitrary key/value pairs.  That "options" property (and getOptions()) maps directly to a FieldGroup within the Form for this object.  That FieldGroup contains multiple TextFields for a few expected keys in the array.  As-is, if those keys were not defined, the default data set for those TextFields could end up being "Array" (string representation of an empty array).  If readPropertyPath instead returns null for this case, the default data would be transformed into an empty string.
2010-10-13 08:17:05 +02:00
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