Commit Graph

3573 Commits

Author SHA1 Message Date
Bernhard Schussek
53838abf3f Merge remote branch 'symfony/master' into experimental
Conflicts:
	src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/money_field.html.php
	src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/percent_field.html.php
	src/Symfony/Component/Form/Resources/config/validation.xml
2011-03-28 22:52:15 +02:00
Fabien Potencier
52c3a1d53d fixed typo 2011-03-28 22:48:18 +02:00
Fabien Potencier
ea5b68383f Merge remote branch 'kriswallsmith/doctrine/test-fixes'
* kriswallsmith/doctrine/test-fixes:
  [FrameworkBundle] fixed shorter bundle name in test
  [HttpKernel] updated tests for shorter bundle names
  [DoctrineMongoDBBundle] updated tests with shorter bundle names
  [DoctrineBundle] updated tests with shorter bundle names
2011-03-28 20:48:59 +02:00
Kris Wallsmith
d1f3852868 [FrameworkBundle] fixed shorter bundle name in test 2011-03-28 11:38:22 -07:00
Kris Wallsmith
fb7e87da7d [HttpKernel] updated tests for shorter bundle names 2011-03-28 11:37:19 -07:00
Kris Wallsmith
751ba4db5e [DoctrineMongoDBBundle] updated tests with shorter bundle names 2011-03-28 11:15:56 -07:00
Kris Wallsmith
082fd73b3c [DoctrineBundle] updated tests with shorter bundle names 2011-03-28 11:15:41 -07:00
Fabien Potencier
3d44c44f9a Merge remote branch 'mbontemps/httpCache-fix'
* mbontemps/httpCache-fix:
  Add a public getter for the Esi instance
  Fix kernel access in HttpCache due to kernel attribute privatization
2011-03-28 19:50:12 +02:00
Fabien Potencier
4f4af5b40c Merge remote branch 'tecbot/master'
* tecbot/master:
  fixed CS for previous commit
  [DoctrineMongoDBBundle] fixed logger when value is a GridFS file
2011-03-28 19:32:43 +02:00
Fabien Potencier
f0e9d364fe fixed UPDATE info 2011-03-28 19:25:40 +02:00
Fabien Potencier
d44c184d57 Merge remote branch 'kriswallsmith/assetic/explicit-filter-config'
* kriswallsmith/assetic/explicit-filter-config:
  [AsseticBundle] added lessphp filter
  [AsseticBundle] added config for image filters
  [AsseticBundle] moved filters into individual config files which must be explicitly loaded
  [AsseticBundle] removed configuration of default output strings
2011-03-28 19:09:02 +02:00
Fabien Potencier
315147c6c8 fixed remaining Bundle suffixes 2011-03-28 19:04:02 +02:00
Fabien Potencier
8b8df2d1cd fixed markup 2011-03-28 18:44:40 +02:00
Kris Wallsmith
825d67203c [AsseticBundle] added lessphp filter 2011-03-28 09:42:02 -07:00
Kris Wallsmith
9e5b649110 [AsseticBundle] added config for image filters 2011-03-28 09:42:02 -07:00
Kris Wallsmith
04a257d3ab [AsseticBundle] moved filters into individual config files which must be explicitly loaded
You must now explicitly load those filters you want to use in your app. Some filters have additional configuration options:

    assetic:
        filters:
            cssrewrite: ~
            yui_css:    { jar: "/path/to/yuicompressor.jar" }

You can also register your own filters now by referencing a configuration file:

    assetic:
        filters:
            my_filter:
                resource: "%kernel.root_dir%/config/my_filter.xml"
                foo:      bar

This configuration would load the referenced configuration file and set the "assetic.filter.my_filter.foo" parameter to "bar"
2011-03-28 09:42:02 -07:00
Kris Wallsmith
260efb32d6 [AsseticBundle] removed configuration of default output strings 2011-03-28 09:17:47 -07:00
Fabien Potencier
59eebee7e6 added information about new logical names (previous commit) 2011-03-28 18:12:15 +02:00
Fabien Potencier
49063a5314 Merge remote branch 'kriswallsmith/kernel/shorter-bundle-names'
* kriswallsmith/kernel/shorter-bundle-names:
  updated codebase to use shorter bundle names
  [HttpKernel] updated component to work with shorter bundle names
  [HttpKernel] updated Bundle::getName() to validate bundle class name and rtrim "Bundle"
2011-03-28 18:06:41 +02:00
Bernhard Schussek
e2198b0dc6 [Form] Fixed a few references to AssertTrue/AssertFalse 2011-03-28 17:45:11 +02:00
Fabien Potencier
849694b46d added an UPDATE.md file to explain how to upgrade 2011-03-28 17:07:46 +02:00
Fabien Potencier
786f165dae Merge remote branch 'bschussek/validator'
* bschussek/validator:
  removed Assert prefix from all constraints, renamed annotation namespace to assert
2011-03-28 17:05:22 +02:00
Fabien Potencier
faf9782e6f renamed Twig TransExtension to TranslationExtension 2011-03-28 16:16:54 +02:00
Matthieu Bontemps
8e4686787a Add a public getter for the Esi instance 2011-03-28 13:45:23 +02:00
Thomas Adam
6f97e8c71e fixed CS for previous commit 2011-03-28 12:17:29 +02:00
Fabien Potencier
3bf67367c0 [DoctrineBundle] made sure that the Doctine cache is not shared between different applications 2011-03-28 12:17:13 +02:00
Thomas Adam
a7116adb32 [DoctrineMongoDBBundle] fixed logger when value is a GridFS file 2011-03-28 12:08:31 +02:00
Matthieu Bontemps
aba6363452 Fix kernel access in HttpCache due to kernel attribute privatization 2011-03-28 11:58:16 +02:00
Bernhard Schussek
e7df781c34 [Form] Fixed calls to ThemeRenderer::renderPart() 2011-03-28 11:22:27 +02:00
Bernhard Schussek
0fb95c18ad Merge remote branch 'symfony/master' into experimental 2011-03-27 23:44:04 +02:00
Bernhard Schussek
65f58c9fd1 [Form] Introduced generic RendererInterface 2011-03-27 23:43:14 +02:00
Bernhard Schussek
1fa004ceb2 [Form] Simplified the interface names of the Renderer subnamespace 2011-03-27 23:39:01 +02:00
Bernhard Schussek
4ec6ba8674 [Form] Fixed: set data is treated as string except if a transformer is set 2011-03-27 23:09:46 +02:00
Bernhard Schussek
cfaa03eeec [Form] Fixed: empty objects are only created upon binding forms with empty data 2011-03-27 23:07:30 +02:00
Fabien Potencier
33456e63dc Merge remote branch 'pborreli/windows-fix-process'
* pborreli/windows-fix-process:
  [Process] Better guess of php bin executable path
  [Process] Removed useless getenv
2011-03-27 22:28:26 +02:00
Pascal Borreli
ef447dc487 [Process] Better guess of php bin executable path
If PHP_PATH is not defined (default)
PHP_BINDIR is used to guess exe, but on windows this constant seems to be hardcoded and doesn't point to the good folder
So before to throw an error we check if PEAR is installed, most of the case it is, and it will have good php bin path for sure.
2011-03-27 21:11:22 +00:00
Pascal Borreli
1e69076d7a [Process] Removed useless getenv 2011-03-27 21:11:20 +00:00
Bernhard Schussek
7006202e24 Merge remote branch 'symfony/master' into experimental 2011-03-27 21:07:13 +02:00
Matthieu Bontemps
a294024184 Fix Filesystem->mkdir return value 2011-03-27 19:17:13 +02:00
Bernhard Schussek
8a981dd047 [Form] Removed unused variable 2011-03-27 17:37:42 +02:00
Bernhard Schussek
58b8555cb6 [Form] Removed unused use-statements 2011-03-27 15:59:35 +02:00
Fabien Potencier
5ebfb300bd Merge remote branch 'weaverryan/kernel_controller_exception_message'
* weaverryan/kernel_controller_exception_message:
  [HttpKernel] Making the "no response returned from controller" more explanatory when it's possible that the user forgot a return statement in his/her controller
2011-03-27 15:56:48 +02:00
Bernhard Schussek
edfae73cd4 [Form] Moved PropertyPath, PropertyPathIterator and VirtualFormAwareIterator to subnamespace Util 2011-03-27 15:37:13 +02:00
Kris Wallsmith
c2579aa200 [AsseticBundle] removed the event again 2011-03-27 06:33:10 -07:00
Bernhard Schussek
29d412c15a [Form] Changed name of VirtualFormIterator to VirtualFormAwareIterator 2011-03-27 15:33:04 +02:00
Kris Wallsmith
ade83e2e80 updated codebase to use shorter bundle names
Controllers:
"BlogBundle:Post:show" is now "Blog:Post:show"

Templates:
"BlogBundle:Post:show.html.twig" is now "Blog:Post:show.html.twig"

Resources:
"@BlogBundle/Resources/config/blog.xml" is now "@Blog/Resources/config/blog.xml"

Doctrine:
"$em->find('BlogBundle:Post', $id)" is now "$em->find('Blog:Post', $id)"
2011-03-27 06:25:43 -07:00
Kris Wallsmith
a8ffa909ad [HttpKernel] updated component to work with shorter bundle names 2011-03-27 06:25:13 -07:00
Bernhard Schussek
b180319371 [Form] Moved creation of empty data to Form to clean up DataMapperInterface 2011-03-27 15:12:35 +02:00
Bernhard Schussek
5ac979b043 [Form] Fixed default value of 'validation_groups' option, removed duplicate definition 2011-03-27 14:52:03 +02:00
Bernhard Schussek
80116be577 [Form] Removed unused 'template' option 2011-03-27 14:42:44 +02:00