Commit Graph

5240 Commits

Author SHA1 Message Date
Fabien Potencier
cb1f2c7e69 Merge remote branch 'kriswallsmith/templating/packages-rework'
* kriswallsmith/templating/packages-rework:
  [FrameworkBundle] updated for templating changes, added http/ssl logic
  [Templating] reworked asset helper and packages
2011-06-04 18:25:52 +02:00
Fabien Potencier
06804d3f1d [Console] added mb_detect_encoding when needed 2011-06-04 18:20:20 +02:00
Fabien Potencier
18c3049fad Merge remote branch 'brikou/console_formatter_helper'
* brikou/console_formatter_helper:
  added mb_detect_encoding when formatting block (usefull when mb_internal_encoding is not properly set)
2011-06-04 18:19:11 +02:00
Pascal Borreli
404c452c0b [Various] Phpdoc & typos 2011-06-04 15:30:56 +00:00
Fabien Potencier
d62932f70b Merge remote branch 'stloyd/patch-1'
* stloyd/patch-1:
  Make UPDATE file more "githubish" ;-) Added info about setting attributes on form field labels
2011-06-04 13:57:37 +02:00
Fabien Potencier
604b043d6e Merge remote branch 'weaverryan/doctrine_controller_methods'
* weaverryan/doctrine_controller_methods:
  [FrameworkBundle] Adding a check for the existence of the Doctrine service
  [DoctrineBundle] Fixing error per @stloyd
  [FrameworkBundle][DoctrineBundle] Adding a few shortcut methods
2011-06-04 13:55:25 +02:00
Fabien Potencier
8e6166fd32 Merge remote branch 'stloyd/is_null'
* stloyd/is_null:
  Remove all `is_null` alias calls.
2011-06-04 13:54:33 +02:00
Fabien Potencier
0bf10c4ce1 Merge remote branch 'schmittjoh/events'
* schmittjoh/events:
  [FrameworkBundle] add the old method naming convention
2011-06-04 13:52:59 +02:00
Fabien Potencier
33b47b22db Merge remote branch 'schmittjoh/security'
* schmittjoh/security:
  [SecurityBundle] exposed setting in the configuration
  [Security/Http] removed irrelevant code
2011-06-04 13:52:18 +02:00
Fabien Potencier
f9ffdf5b33 [Routing] added proper support for the HEAD method 2011-06-04 12:47:38 +02:00
Fabien Potencier
9eae7e54ca [Routing] removed unneeded code in the dumper Apache rules 2011-06-04 12:46:19 +02:00
Fabien Potencier
9f3e996c43 [FrameworkBundle] fixed tests 2011-06-04 11:57:49 +02:00
Fabien Potencier
7780c4deda [HttpKernel] removed Response content when Request method is HEAD as per RFC2616 2011-06-04 11:56:12 +02:00
Fabien Potencier
c62b2309cf [FrameworkBundle] fixed WDT for redirects emitted by the Security component 2011-06-04 10:25:44 +02:00
Fabien Potencier
611a4a212c [FrameworkBundle] allowed a service to register a kernel listener more than once for a given event 2011-06-04 10:23:42 +02:00
Fabien Potencier
df81296443 [Routing] fixed generation when a default value is null 2011-06-03 22:57:26 +02:00
Fabien Potencier
79a611f9ff Merge remote branch 'weaverryan/router_generator_failing_test'
* weaverryan/router_generator_failing_test:
  [Routing] Adding a failing test related to URL generation with optional parameters
2011-06-03 22:50:03 +02:00
Fabien Potencier
79c6dc7937 [Console] fixed nested styles 2011-06-03 22:48:04 +02:00
Johannes M. Schmitt
d03c6c72eb [SecurityBundle] exposed setting in the configuration 2011-06-03 14:06:55 +02:00
Johannes M. Schmitt
672cf78816 [Security/Http] removed irrelevant code 2011-06-03 14:02:57 +02:00
stloyd
4e03db63d7 Remove all is_null alias calls. 2011-06-03 11:16:32 +02:00
Joseph Bielawski
a414e56881 Fix for failing tests #1199 when Twig vendor doesn't exists. 2011-06-03 01:42:19 -07:00
Ryan Weaver
c867dccbed [Routing] Adding a failing test related to URL generation with optional parameters 2011-06-02 20:22:33 -05:00
Christophe Coevoet
f84ee37ae0 [HttpKernel] Fixed the test about the availability of the logger 2011-06-03 00:00:41 +02:00
Ryan Weaver
172c956b73 [FrameworkBundle] Adding a check for the existence of the Doctrine service 2011-06-02 13:26:51 -05:00
Ryan Weaver
1ac4675e32 [DoctrineBundle] Fixing error per @stloyd 2011-06-02 13:26:17 -05:00
Ryan Weaver
28dcb3c581 [FrameworkBundle][DoctrineBundle] Adding a few shortcut methods
This adds to convience methods, for two separate reasons:

* Controller::getDoctrine() - this will allow method completion on the Registry class to work in IDEs, is slightly shorter, and should feel very "concrete" to beginners

* Registry::getRepository() - the repository is a very convenient thing to need - this allows it to be fetched much more succintly

Overall Before:

    $product = $this->get('doctrine')
        ->getEntityManager()
        ->getRepository('AcmeDemoBundle:Product')
        ->find($id);

Overall After (with IDE method auto-completion for `getRepository`):

    $product = $this->getDoctrine()
        ->getRepository('AcmeDemoBundle:Product')
        ->find($id);
2011-06-02 09:31:22 -05:00
Brikou CARRE
597a646347 added mb_detect_encoding when formatting block (usefull when mb_internal_encoding is not properly set) 2011-06-02 13:20:51 +02:00
Joseph Bielawski
c244545255 Make UPDATE file more "githubish" ;-)
Added info about setting attributes on form field labels
2011-06-02 03:51:23 -07:00
Fabien Potencier
4b86b15105 Merge remote branch 'schmittjoh/security'
* schmittjoh/security:
  [SecurityBundle] fixed a regression
  [SecurityBundle] re-use local variable
  [SecurityBundle] added validation for check paths
  [SecurityBundle] added user_providers option for remember_me
  [Security/Core] added missing method to interface
2011-06-01 16:03:02 +02:00
Johannes M. Schmitt
9ad318546d [SecurityBundle] fixed a regression 2011-06-01 13:53:21 +02:00
Johannes M. Schmitt
66f3abfe0c [SecurityBundle] re-use local variable 2011-06-01 13:20:52 +02:00
Johannes M. Schmitt
6f8871d2d7 [SecurityBundle] added validation for check paths 2011-06-01 13:05:34 +02:00
Johannes M. Schmitt
d2fa6c3e4e [SecurityBundle] added user_providers option for remember_me 2011-06-01 11:48:20 +02:00
Johannes M. Schmitt
90b63ca346 [Security/Core] added missing method to interface 2011-06-01 11:48:19 +02:00
NicoB
145216477b AsseticBundle : Add the missing cssmin filter service's schema 2011-06-01 16:30:31 +07:00
Fabien Potencier
2093a45aef merged stloyd/form_label 2011-06-01 11:11:25 +02:00
Fabien Potencier
a8089225e2 Merge remote branch 'fivestar/controller-signature'
* fivestar/controller-signature:
  [FrameworkBundle] Fixed phpdoc.
  [FrameworkBundle] Fixed signature of the Controller::createForm() to accept string type
2011-06-01 10:59:08 +02:00
Fabien Potencier
3d532f806a [FrameworkBundle] renamed getProfiler to getProfile (as the method now returns a Profile instance) 2011-06-01 10:55:46 +02:00
Katsuhiro OGAWA
16a40f6112 [FrameworkBundle] Fixed phpdoc. 2011-06-01 17:45:51 +09:00
Fabien Potencier
481d684973 Merge remote branch 'vslinko/master'
* vslinko/master:
  [AsseticBundle] Fixed typo in use statement
2011-06-01 10:40:16 +02:00
Fabien Potencier
885da2ef87 Merge remote branch 'kriswallsmith/assetic/parameter-replacement'
* kriswallsmith/assetic/parameter-replacement:
  [AsseticBundle] added support for parameter replacement in asset inputs
2011-06-01 10:35:43 +02:00
Fabien Potencier
c8034c04a8 Merge remote branch 'vicb/form-rendering'
* vicb/form-rendering:
  [Form] The variable stack should not persist between section rendering (fixes #1157)
  [Twig][Form] Tweak form extension phpDoc and code
  [Form] Tweak phpDoc
  [FormView] fix phpDoc
  [Form] Some tweaks
2011-06-01 10:32:40 +02:00
stloyd
7b6d921cde [Form] Added tests for previous commit 2011-06-01 10:08:18 +02:00
Fabien Potencier
cf78841111 [WebProfilerController] cleaned up the controller 2011-06-01 07:44:52 +02:00
Kris Wallsmith
3e68eb61a5 [AsseticBundle] added support for parameter replacement in asset inputs
{% javascripts '%kernel.root_dir%/Resources/css/main.css' %}
    ...
    {% endjavascripts %}
2011-05-31 21:35:31 -07:00
stloyd
cb22ccc516 [Form] Added missing feature for adding attributes to an field label 2011-05-31 17:01:28 +02:00
Kris Wallsmith
d9f5c99fab [FrameworkBundle] updated for templating changes, added http/ssl logic 2011-05-31 06:46:30 -07:00
Kris Wallsmith
2642b0012f [Templating] reworked asset helper and packages
Added support for a configurable format string used to apply version to a path (defaults to '%s?%s').

Moved base url/base path logic to packages.
2011-05-31 06:46:30 -07:00
Fabien Potencier
af84cfec33 [DoctrineBundle] fixed doctrine:generate:entity 2011-05-31 15:15:18 +02:00