Fabien Potencier
a6a3789a54
[Form] tweaked an error message
2011-06-09 11:33:25 +02:00
Fabien Potencier
d9500418cd
[Form] tweaked an error message
2011-06-09 11:32:20 +02:00
Hugo Hamon
6e96accf3a
[DoctrineBundle] fixed MetadataFactory::getMetadataForClass() to always return a ClassMetadataCollection object instead of NULL.
2011-06-09 11:13:42 +02:00
Fabien Potencier
88184394b5
[Form] tweaked the error message when a form with a file upload does not have the enctype attribute correctly configured
2011-06-09 08:36:40 +02:00
Fabien Potencier
0a7ce63d8f
Merge remote branch 'vicb/twig-theme-inheritance'
...
* vicb/twig-theme-inheritance:
[Form] Further tweaks of the twig theme inheritance
[Form] Fix twig theme inheritance
2011-06-09 07:46:50 +02:00
Michael Ridgway
19a8ece323
Fixed vendors.php not working if directory path has space in it
2011-06-08 14:25:56 -04:00
Fabien Potencier
17cd08dc6c
fixed CS
2011-06-08 19:56:59 +02:00
Fabien Potencier
4c01d64b6b
Merge remote branch 'brikou/check_cs'
...
* brikou/check_cs:
fixed root search path to include only './src' and './tests'
fixed 'base search dir' + fixed 'blank line inserted' when line before ends with colon
2011-06-08 19:53:29 +02:00
Fabien Potencier
e685b5fc21
Merge remote branch 'yethee/doctrine_bridge'
...
* yethee/doctrine_bridge:
[DoctrineBridge] Removed all options of the parent type
[DoctrineBridge] Removed unneeded use statement
[DoctrineBridge] Fixed typo
[DoctrineBridge] Removed duplicating options in EntityType
2011-06-08 19:51:57 +02:00
Fabien Potencier
e0b768bfc0
[DoctrineBridge] fixed typo
2011-06-08 19:34:26 +02:00
Deni
70477c4995
[DoctrineBridge] Removed all options of the parent type
2011-06-08 20:39:16 +04:00
Brikou CARRE
cd2a7bb2be
fixed root search path to include only './src' and './tests'
2011-06-08 18:11:05 +02:00
Deni
40d358e7cb
[DoctrineBridge] Removed unneeded use statement
2011-06-08 19:01:33 +04:00
Deni
1a75b7c8ca
[DoctrineBridge] Fixed typo
2011-06-08 18:52:54 +04:00
Deni
3bbec2e6a7
[DoctrineBridge] Removed duplicating options in EntityType
2011-06-08 18:46:38 +04:00
Brikou CARRE
3d5a96ef98
fixed 'base search dir' + fixed 'blank line inserted' when line before ends with colon
2011-06-08 16:21:52 +02:00
Kris Wallsmith
0df338fdb1
added script[type="text/html"] collection prototype to form themes
2011-06-08 09:41:12 -04:00
Fabien Potencier
d528b7481f
fixed typo
2011-06-08 15:20:37 +02:00
Victor Berchet
5060702669
[Form] Further tweaks of the twig theme inheritance
2011-06-08 14:46:34 +02:00
Kris Wallsmith
5ecb252ddf
[Form] removed collection prototype from form tree
2011-06-08 08:34:20 -04:00
Victor Berchet
bee505a4bf
[Form] Fix twig theme inheritance
2011-06-08 14:21:09 +02:00
Fabien Potencier
566511e9e7
moved some FormView methods to FormUtil where they really belongs
2011-06-08 14:07:04 +02:00
Fabien Potencier
1aabc5da64
fixed CS
2011-06-08 12:16:48 +02:00
Fabien Potencier
62e4342a86
fixed CS
2011-06-08 12:12:55 +02:00
Fabien Potencier
8d262bf1c6
made some enhancement to check_cs
2011-06-08 12:11:39 +02:00
Fabien Potencier
5f8a0f5d23
made some tweaks to the check_cs script
2011-06-08 11:24:46 +02:00
Fabien Potencier
d5cfb1cfda
renamed check_cs.php to check_cs
2011-06-08 11:22:43 +02:00
Fabien Potencier
391d952e38
Merge remote branch 'brikou/check_cs'
...
* brikou/check_cs:
fixed shebash declaration
fixed chmod
added a script to clean up the code and follow CS
2011-06-08 11:15:27 +02:00
Fabien Potencier
0af4743583
[HttpFoundation] fixed Request::getFormat() when the mime-type has some optional parameter ( closes #1235 )
2011-06-08 11:12:57 +02:00
Brikou CARRE
2d52bf9221
fixed shebash declaration
2011-06-08 11:12:44 +02:00
Fabien Potencier
f16e206cd7
[HttpFoundation] added missing CONTENT_TYPE and CONTENT_LENGTH to the Request headers (these two headers are not prefixes with HTTP_ -- as per the CGI/1.1 spec, closes #1234 )
2011-06-08 11:04:41 +02:00
Brikou CARRE
84e105b22e
fixed chmod
2011-06-08 10:40:04 +02:00
Fabien Potencier
188e74273a
[Security] fixed sub-requests creation ( closes #1212 )
2011-06-08 10:36:14 +02:00
Fabien Potencier
9118fcee14
[HttpFoundation] fixed CS
2011-06-08 10:35:47 +02:00
Brikou CARRE
e62804abb6
added a script to clean up the code and follow CS
2011-06-08 10:34:35 +02:00
Fabien Potencier
740b2ac833
[Console] added a --no-ansi option for disable ANSI output ( closes #1238 )
2011-06-08 10:26:48 +02:00
Fabien Potencier
12dd52b00b
[FrameworkBundle] removed the --without-debug option for cache:clear (it now inherits the debug flag from the parent Kernel)
2011-06-08 10:16:10 +02:00
Fabien Potencier
2d91183d86
[DoctrineBridge] fixed field guesser
2011-06-08 09:45:44 +02:00
Fabien Potencier
6881f01fd6
Merge remote branch 'CodeMeme/default-validator-improved-synchronized-error'
...
* CodeMeme/default-validator-improved-synchronized-error:
FormError when not synchronized tells you the form name for easier debugging
2011-06-08 08:58:04 +02:00
Fabien Potencier
882a8e3f09
Merge remote branch 'stof/security_login'
...
* stof/security_login:
Added the support of the locale in the login path and the check path
2011-06-08 08:55:10 +02:00
Benjamin Eberlei
2a5449dcb0
[DoctrineBundle] added tests for registry
2011-06-08 08:48:49 +02:00
Fabien Potencier
879242cdf5
moved some Doctrine classes from the bundle to the bridge
2011-06-08 08:41:44 +02:00
Fabien Potencier
fbf36957e6
refactored Doctrine Bridge
...
* added a RegistryInterface
* changed all classes to depend on the Registry instead of a specific EntityManager
This is more consistent as the validator already took the registry and this allows
to use any entity manager in Forms.
2011-06-08 08:35:48 +02:00
Fabien Potencier
84b25b1626
Merge remote branch 'beberlei/AsseticDirectoryResource'
...
* beberlei/AsseticDirectoryResource:
[Assetic] Make AsseticExtension::createDirectoryResourceDefinition public, so that third party bundels can easilycreate definitions to search for assetic formulae in additional directories. LiipThemeBundle needs this to make the app/Resources/themes and Bundle/Resources/themes folder searchable. Without this change the whole method would need to be copy pasted. Since the method has no side-effects at all (only factory, not pushing into the container) this change is justifyable imho.
2011-06-07 23:04:57 +02:00
Benjamin Eberlei
d4e47a305b
[Assetic] Make AsseticExtension::createDirectoryResourceDefinition public, so that third party bundels can easilycreate definitions to search for assetic formulae in additional directories. LiipThemeBundle needs this to make the app/Resources/themes and Bundle/Resources/themes folder searchable. Without this change the whole method would need to be copy pasted. Since the method has no side-effects at all (only factory, not pushing into the container) this change is justifyable imho.
2011-06-07 22:38:09 +02:00
Fabien Potencier
0d54f5c21e
Merge remote branch 'dlsniper/fix_open_basedir'
...
* dlsniper/fix_open_basedir:
Fix problem with searching files while the open_basedir is in use
2011-06-07 22:15:07 +02:00
Fabien Potencier
65e937326d
[Form] fixed unit tests for previous commit
2011-06-07 22:00:51 +02:00
Fabien Potencier
2573c8968f
[Form] fixed choices when keys are integers
...
This fixes choices when all the keys are strings (but integers really).
That's because in PHP, if you have the following array:
array('1' => 'foo', '2' => 'bar');
PHP "converts" it automatically to the following array:
array(1 => 'foo', 2 => 'bar');
2011-06-07 21:53:59 +02:00
Fabien Potencier
462a8c79ad
[Form] tweaked previous commit
2011-06-07 21:45:36 +02:00
Fabien Potencier
91aedf5995
Merge remote branch 'fivestar/single-choice-expanded'
...
* fivestar/single-choice-expanded:
[Form] Fixed FixRadioInputListener to not ignore 0.
[Form] Fixed single expanded choice type to set checked attribute when passed boolean value
2011-06-07 20:53:21 +02:00