Commit Graph

2775 Commits

Author SHA1 Message Date
Kris Wallsmith
05055d443c [AsseticBundle] fixed formula caching system 2011-02-24 21:05:06 -08:00
Kris Wallsmith
45976aa9a0 [AsseticBundle] fixed visibility of YUI filters 2011-02-24 21:03:09 -08:00
Kris Wallsmith
add21ec4c0 [ZendBundle] added classes to compile 2011-02-24 11:27:16 -08:00
Fabien Potencier
5b92dcf9dd Merge remote branch 'stof/zend_config'
* stof/zend_config:
  Changed default priority to INFO
  [ZendBundle] Added a Configuration class
2011-02-24 17:55:15 +01:00
Fabien Potencier
396fcf15a8 Merge remote branch 'kriswallsmith/assetic/rm-phpcs'
* kriswallsmith/assetic/rm-phpcs:
  [AsseticBundle] removed PHP_CodeSniffer dependency
2011-02-24 17:51:30 +01:00
Christophe Coevoet
0488ebc2e8 Changed default priority to INFO 2011-02-24 17:48:41 +01:00
Christophe Coevoet
192583a225 [ZendBundle] Added a Configuration class 2011-02-24 17:38:40 +01:00
Victor Berchet
3bfb599074 [Config] Simplify ScalarNode by inheriting from VariableNode 2011-02-24 16:31:00 +01:00
Fabien Potencier
691c9f5950 Merge remote branch 'marphi/fix_assetic'
* marphi/fix_assetic:
  [AsseticBundle] fix fatal error - missing argument assetic.asset_manager in definition assetic.asset_manager_cache_warmer serivce
2011-02-24 15:52:13 +01:00
Fabien Potencier
2ad21ed41f Merge remote branch 'lsmith77/fixture_2_migration'
* lsmith77/fixture_2_migration:
  cosmetic tweak
  initial steps to handling objects
  A command to generate a migration from the sql queries executed when you load some data fixtures.
2011-02-24 15:50:59 +01:00
Fabien Potencier
71a06f0174 Merge remote branch 'kriswallsmith/assetic/stylus-filter'
* kriswallsmith/assetic/stylus-filter:
  [AsseticBundle] added stylus filter
2011-02-24 15:49:23 +01:00
Kris Wallsmith
2b2a7f0a1d added nowrap style to WDT toolbar so image and text stays together when the toolbar wraps 2011-02-24 06:14:08 -08:00
Kris Wallsmith
9f2d59c489 [AsseticBundle] added stylus filter 2011-02-24 05:48:15 -08:00
Victor Berchet
788f63d460 [FrameworkBundle] Simplify the over-complicated template cache warmer 2011-02-24 13:02:35 +01:00
Lukas Kahwe Smith
e356c2a902 cosmetic tweak 2011-02-24 11:57:32 +01:00
Lukas Kahwe Smith
988b8f3736 initial steps to handling objects 2011-02-24 10:44:47 +01:00
Fabien Potencier
79bc233344 [TwigBundle] fixed typo 2011-02-24 09:46:59 +01:00
Jeremy Mikola
5113886f34 [Security] Copy token attributes when auth providers create a new token from another
PreAuthenticatedAuthenticationProvider and UserAuthenticationProvider tend to copy a token instead of modifying it during their authenticate() methods, which is probably a good idea if the token might be immutable. Ensure that the token's attributes get copied along with everything else.
2011-02-23 16:03:01 -05:00
Marcin Sikon
491ee20392 [AsseticBundle] fix fatal error - missing argument assetic.asset_manager in definition assetic.asset_manager_cache_warmer serivce 2011-02-23 11:46:32 +01:00
Kris Wallsmith
3fb935de35 [AsseticBundle] removed PHP_CodeSniffer dependency 2011-02-23 00:21:17 -08:00
Fabien Potencier
d2840aaad3 [AsseticBundle] fixed unit tests 2011-02-23 07:19:00 +01:00
Kris Wallsmith
b622e6a9e6 [AsseticBundle] added skip if PHP_CodeSniffer is not installed (closes #14) 2011-02-22 21:16:48 -08:00
Jonathan H. Wage
0f353c1411 A command to generate a migration from the sql queries executed when you load some data fixtures. 2011-02-22 20:54:40 -06:00
Matthew Lewinski
4f54aacfc7 [Form] Fix infinite recursion in RadioField->getName() 2011-02-22 20:38:29 -06:00
Kris Wallsmith
d7ea92a0f6 [AsseticBundle] updated for latest assetic development 2011-02-22 16:58:10 -08:00
Fabien Potencier
f54cedfe5e added LICENSE files for the subtree repositories 2011-02-22 18:58:15 +01:00
Kris Wallsmith
7c794b349d [HttpKernel] fixed typo 2011-02-22 07:38:03 -08:00
Marcin Sikon
efb561767b [AsseticBundle] fix AsseticController - removed response service dependency 2011-02-22 16:12:12 +01:00
Fabien Potencier
c63e1ace81 Merge remote branch 'kriswallsmith/assetic-renames'
* kriswallsmith/assetic-renames:
  [AsseticBundle] renamed some classes
2011-02-22 14:14:09 +01:00
Fabien Potencier
cef86a3771 [HttpKernel] added a way to change the ESI cache strategy 2011-02-22 13:50:26 +01:00
Kris Wallsmith
bd32e3eea8 [AsseticBundle] renamed some classes 2011-02-21 22:18:50 -08:00
Kris Wallsmith
fb005396dc [HttpKernel] fixed another test where an explicit cache-control header is necessary 2011-02-21 21:53:04 -08:00
Kris Wallsmith
3e131f5b70 [HttpKernel] fixed invalid test
According to ResponseHeaderBag::computeCacheControlValue(), a response with an ETag but no explicit Cache-Control header should have a sensible Cache-Control of "private, must-revalidate" set. According to Response::isCacheable(), a response that includes a private Cache-Controls is not considered cacheable. Therefore, in order for this test response to be cacheable and stored, it requires an explicit Cache-Control of public.
2011-02-21 20:09:50 -08:00
Kris Wallsmith
a0bae94f88 [HttpFoundation] updated ResponseHeaderBag to compute Cache-Control whenever any of the headers it considers changes 2011-02-21 19:57:05 -08:00
Fabien Potencier
e8144e473e [Templating] added getPath() to TemplateReferenceInterface as it's used in the child class in FrameworkBundle 2011-02-21 19:24:27 +01:00
Fabien Potencier
72cdb480ab [FrameworkBundle] made CachedTemplateLocator fallback to the regular TemplateLocator if the template is not in the cache (to be able to use an absolute template) 2011-02-21 19:23:57 +01:00
Fabien Potencier
fc372bc217 [HttpKernel] changed core.view event to use notifyUntil() instead of filter() -- as soon as a listener returns a Response, we are done 2011-02-21 18:24:55 +01:00
Fabien Potencier
353177d1d6 replaced Response::createRedirect by a new RedirectResponse class 2011-02-21 18:10:53 +01:00
Fabien Potencier
d94acd85f9 remove response as a service
The Response is not available in the DIC anymore.

When you need to create a response, create an instance of
Symfony\Component\HttpFoundation\Response instead.

As a side effect, the Controller::createResponse() and Controller::redirect()
methods have been removed and can easily be replaced as follows:

  return $this->createResponse('content', 200, array('foo' => 'bar'));
  return new Response('content', 200, array('foo' => 'bar'));

  return $this->redirect($url);
  return Response::createRedirect($url);
2011-02-21 17:36:04 +01:00
Fabien Potencier
bf20238178 fixed a bug in Response content-type auto-detection
Without this patch, if you call __toString() on a Response,
the content-type auto-detection would never be trigerred
as __toString() changes the default content-type.
2011-02-21 16:57:25 +01:00
Johannes M. Schmitt
f21578e819 [Security] adds abstract user provider definition 2011-02-21 12:15:29 +01:00
Fabien Potencier
7c9528be7b [FrameworkBundle] tweaked init:bundle skeleton 2011-02-21 11:52:48 +01:00
Fabien Potencier
7a614cb1ea [Swiftmailer] fixed the determination of the default port 2011-02-21 11:35:47 +01:00
Fabien Potencier
0dfd5960f1 Merge remote branch 'stof/swiftmailer'
* stof/swiftmailer:
  Splitted swiftmailer configuration to avoid issues when not using smtp
2011-02-21 11:28:40 +01:00
Fabien Potencier
d4fc3c98b1 [FrameworkBundle] updated the init:bundle skeleton files 2011-02-21 11:26:58 +01:00
Fabien Potencier
b9168bb652 Merge remote branch 'fabriceb/initbundleformat'
* fabriceb/initbundleformat:
  [FrameworkBundle] added --format=xml,php,yml optional parameter to the init:bundle command
2011-02-21 11:20:04 +01:00
Wojciech Sznapka
6e1202961d translated validator resources into Polish 2011-02-21 11:12:13 +01:00
Christophe Coevoet
e729589b10 Splitted swiftmailer configuration to avoid issues when not using smtp 2011-02-21 10:41:15 +01:00
Fabien Potencier
9619c7dade [Routing] removing the routing hack where we add a / at the beginning if it does not exist 2011-02-21 10:25:22 +01:00
Fabien Potencier
52f4d81a2d Merge remote branch 'lewinski/code-coverage-fix'
* lewinski/code-coverage-fix:
  Don't generate code coverage for test code.
2011-02-21 07:55:21 +01:00