Commit Graph

4902 Commits

Author SHA1 Message Date
Martin Schuhfuss
5387532ff2 [DependencyInjection] added phpdoc for property $container in ContainerAware
This should ease code-completion a little bit...
2011-05-10 16:30:58 +02:00
Victor Berchet
2a8f2d2bfa [Form] fix and add some phpDoc 2011-05-10 15:33:02 +02:00
Martin Hason
7f95ea69aa [FrameworkBundle] Validator messages: added Czech translation 2011-05-10 14:18:57 +02:00
Jordi Boggiano
c2a8ca782b [DoctrineBundle] Do not try to fetch doctrine listeners if doctrine is not enabled 2011-05-10 14:10:24 +02:00
Christophe Coevoet
a54d6b7e58 [DependencyInjection] Removed the public keyword from interface 2011-05-10 13:55:08 +02:00
John Wards
d96e2c5d79 [Validator] Adding support for Closure in CallbackValidator
Usage:
$formBuilder = $this->get('form.factory')
            ->createBuilder('form');
$formBuilder->setAttribute('validation_constraint', new Callback(array("methods"=>array(
    'validate' => function ($data, $context) use ($elements) {
       // logic to add violations depending on the elements
    }
))));
2011-05-10 12:12:18 +01:00
Johannes Schmitt
675a86f2e9 updated UPDATE file 2011-05-10 11:27:18 +02:00
Johannes Schmitt
9408ab3010 [Security] use deep flag when retrieving username + password 2011-05-10 11:22:28 +02:00
Johannes Schmitt
411659bc07 [HttpFoundation] added $deep flag to Request::get() 2011-05-10 11:19:22 +02:00
Johannes Schmitt
89f60e04d1 [HttpFoundation] removed getDeep(), added a boolean flag to get() instead 2011-05-10 11:16:25 +02:00
Jordi Boggiano
9e19e772bc [Serializer] Restored docblocks from the deleted methods on SerializerInterface 2011-05-10 09:27:20 +02:00
Jordi Boggiano
457dc105bc [Serializer] minor optimization 2011-05-10 09:19:55 +02:00
Jordi Boggiano
99c67134fe [Serializer] Split decoder/encoder maps 2011-05-10 09:17:33 +02:00
Fabien Potencier
3854d34c14 [DoctrineBundle] fixed doctrine:generate:entity command when the entity to generate has sub-namespaces 2011-05-10 08:20:57 +02:00
Christophe Coevoet
1bb6b97c1c [DependencyInjection] Added missing methods in the ParameterBagInterface
The Container relies on the resolve() value which was not part of
the interface.
2011-05-10 02:34:02 +02:00
Christophe Coevoet
b6c36de134 [DependencyInjection] Fixed phpdoc 2011-05-10 02:33:34 +02:00
Kris Wallsmith
b25750daa9 Revert "[AsseticBundle] updated configuration to assume values with integer keys are inputs"
This reverts commit fb104cedf8.
2011-05-09 14:58:30 -07:00
digitalkaoz
5305454cc1 fixed code style 2011-05-09 23:36:56 +02:00
digitalkaoz
f90e8678a2 reverted .gitignore and line changes 2011-05-09 22:50:05 +02:00
digitalkaoz
0ed7285828 [Process] added tests for Process and PhpExecutableFinder 2011-05-09 22:44:35 +02:00
Fabien Potencier
9844685a40 [HttpKernel] tweaked the default ESI cache strategy 2011-05-09 19:28:36 +02:00
Fabien Potencier
80a5074746 [Form] tweaked code (closes #855) 2011-05-09 17:53:18 +02:00
Jordi Boggiano
e6a02482c7 [Serializer] Cleaned up SerializerAwareInterface 2011-05-09 17:43:50 +02:00
Kris Wallsmith
fb104cedf8 [AsseticBundle] updated configuration to assume values with integer keys are inputs 2011-05-09 08:14:00 -07:00
lenar
7cc2a7918c fixes monolog+swiftmailer 2011-05-09 18:03:38 +03:00
Victor Berchet
6c337d1cc0 [Form] Do not set the value attribute for file inputs 2011-05-09 17:00:19 +02:00
Christophe Coevoet
193c6acfc0 [MonologBundle] Fixed SwiftMailerHandler by using the mailer as message factory 2011-05-09 16:35:02 +02:00
Kris Wallsmith
94bd1c4655 [AsseticBundle] made test of route loader less brittle 2011-05-09 06:32:06 -07:00
Fabien Potencier
05e75e2712 [Finder] made the Custom filter accept all PHP callbacks 2011-05-09 15:30:41 +02:00
Victor Berchet
e0f03471ae Merge branch 'master' into form-padded-choice-list 2011-05-09 15:30:04 +02:00
Fabien Potencier
e1c52764ce [Finder] refactored SortableIterator 2011-05-09 15:14:42 +02:00
Kris Wallsmith
e8e87e65f7 [AsseticBundle] added the ability to define assets outside of the view layer
In config.yml:

    assetic:
        assets:
            jquery: js/jquery.js
            plugin1:
                - @jquery
                - js/jquery.plugin1.js
            all_js:
                - @plugin1
                filters: ?yui_js
            all_css:
				- css/*.scss
                filters: [ scss, ?yui_css ]
        filters:
            yui_css:
                jar: %kernel.root_dir%/Resources/java/yui.jar
            yui_js:
                jar: %kernel.root_dir%/Resources/java/yui.jar
            scss: ~

In Twig:

    {% javascripts '@all_js' %}
    <script src="{{ asset_url }}"></script>
    {% endjavascripts %}

    {% stylesheets '@all_css' %}
    <link href="{{ asset_url }}" type="text/css" rel="stylesheet" />
    {% endstylesheets %}
2011-05-09 05:40:14 -07:00
Fabien Potencier
50c1cce014 Merge remote branch 'schmittjoh/security'
* schmittjoh/security:
  [HttpFoundation] added unit test
  [Security][HttpFoundation] splits Request::hasSession() into hasSession(), and hasPreviousSession()
  [SecurityBundle] added some tests
  add provider to configuration
  update DI to handle change in config and another provider
  separate dbal specific acl config
  add provider to configuration
  update DI to handle change in config and another provider
  separate dbal specific acl config
2011-05-09 14:26:36 +02:00
Kris Wallsmith
57251712e8 [AsseticBundle] injected container into factory for better stability 2011-05-09 05:24:47 -07:00
Fabien Potencier
4bb82451df Merge remote branch 'Seldaek/session_warn'
* Seldaek/session_warn:
  [HttpFoundation] Remove warnings when session id isn't given
2011-05-09 14:14:17 +02:00
Fabien Potencier
b1f91f8ddc Merge remote branch 'Seldaek/session_storage'
* Seldaek/session_storage:
  [FrameworkBundle] Do not override the session storage for test
2011-05-09 14:13:19 +02:00
Jordi Boggiano
f8447aa74c [Serializer] NormalizableInterface now takes a Serializer and make sure the is always optional 2011-05-09 13:59:54 +02:00
Fabien Potencier
757dcb3b4c Merge remote branch 'stof/monolog_compiled_classes'
* stof/monolog_compiled_classes:
  [MonologBundle] Fixed compiled classes
2011-05-09 13:54:08 +02:00
Fabien Potencier
7dab0e1190 Merge remote branch 'yethee/form_fixes'
* yethee/form_fixes:
  [Form] Added missing import statement of namespaces.
2011-05-09 13:53:50 +02:00
Fabien Potencier
0c46797a35 fixed CS 2011-05-09 13:52:49 +02:00
Fabien Potencier
9286f78116 Merge remote branch 'usefulthink/windows-symlink-errormessage'
* usefulthink/windows-symlink-errormessage:
  [FrameworkBundle] added errormessage for windows in AssetsInstallCommand
2011-05-09 13:52:05 +02:00
jsor
e4c87cf558 Corrected german spelling of email (See: http://de.wikipedia.org/wiki/E-Mail#Artikel_und_Schreibweise) 2011-05-09 13:47:57 +02:00
Christophe Coevoet
47a2e25bfa [MonologBundle] Fixed compiled classes 2011-05-09 13:07:45 +02:00
Deni
a15abc09bd [Form] Added missing import statement of namespaces. 2011-05-09 14:30:04 +04:00
Martin Schuhfuss
ad41d21675 [FrameworkBundle] added errormessage for windows in AssetsInstallCommand
As it has recently been discussed [on the mailing-list][1], windows doesn't
support symlinks for the assets:install command. In order to avoid a 'call to
undefined-function'-message in this case, this patch adds an exception which
will be thrown when the symlink-funktion isn't present and the
`--symlink`-Option was specified.

[1]: https://groups.google.com/group/symfony-devs/browse_thread/thread/4b8ad9634bdab155
2011-05-09 12:11:54 +02:00
Fabien Potencier
787935f5dc Merge remote branch 'pborreli/unit-test-coverage'
* pborreli/unit-test-coverage:
  [Validator] Added unit tests
  [Locale] Silenting error to test return value
  [Locale] Added symfony 1 test cases
  [EventDispatcher] Full coverage
  [DomCrawler] Full coverage
  [Translation] Full coverage
2011-05-09 09:02:39 +02:00
Fabien Potencier
e1e365d75a Merge remote branch 'udat/translator-typo'
* udat/translator-typo:
  [FrameworkBundle] Fixed typo
2011-05-09 09:01:26 +02:00
Fabien Potencier
2ab1d39644 Merge remote branch 'FabienPennequin/update_docs'
* FabienPennequin/update_docs:
  Fixed typo
  Added notice for File::getDefaultExtension() method
2011-05-09 09:00:14 +02:00
Fabien Potencier
d7a97f441c Merge remote branch 'maoueh/acl_security_config_fix'
* maoueh/acl_security_config_fix:
  [Security\Acl] Fixed hardcoded table names  * Replaced hardcoded table names by acl configuration options
2011-05-09 08:59:43 +02:00
Fabien Potencier
cde14d181a Merge remote branch 'stof/profiler'
* stof/profiler:
  [FrameworkBundle] Changed the priority of the ProfilerListener
2011-05-09 08:58:06 +02:00