Commit Graph

2767 Commits

Author SHA1 Message Date
Pascal Borreli
f7ab114d36 [HttpFoundation] Fixed missing curly brackets 2011-02-27 18:36:37 +01:00
Pascal Borreli
46d28ce1b1 [Console] Removed useless else 2011-02-27 18:36:37 +01:00
Pascal Borreli
96981670ea [BrowserKit] Removed useless else 2011-02-27 18:36:36 +01:00
Pascal Borreli
2a6c5018ae [FrameworkBundle] Removed useless else 2011-02-27 18:36:36 +01:00
Pascal Borreli
1e7a2e13cd [Doctrine*Bundle] Removed old use namespace (Doctrine\Common\Cli) 2011-02-27 18:36:36 +01:00
Pascal Borreli
f7716645a5 [FrameworkBundle] Removed useless else 2011-02-27 18:36:36 +01:00
Pascal Borreli
664c00b62e [DoctrineBundle] Removed useless sprintf 2011-02-27 18:36:36 +01:00
Cristian Gonzalez
db1ea0d2e1 [Translation] Modified Translation unit test "testTransWithFallbackLocale"
Now the test shows the behavior when is requested a translation to an undefined locale catalogue and, therefore, the fallbacklocale catalogue must be queried. The original test function only checks the step to reach the language catalog not to the fallbacklocale one (even the fallbacklocale isn't set). This test gives error in the current version of symfony/symfony.
2011-02-27 12:32:46 +01:00
cgonzalez
381d1e2da1 [Translation] Fixed the addition of the fallbackLocale catalogue to the current locale catalogue.
When loading a catalogue the function "optimizeCatalogue" add the fallback catalogue to the current locale catalogue. This should be done by first adding the language catalogue and finally adding the fallbacklocale catalogue specified in the configuration. This subsequent additions are done by the "loadCatalogue" function.

The problem is that in the "loadCatalogue" function exists an if statement that checks if the resource of a given locale exists before loading it. If not, the function simply returns. This return implies that the subsequent addition of the fallbacklocale wouldn't be done.

This has been fixed by simply replacing the current if statement and adding a new one that, if the resource exists, then executes the process of resource loading. Finally, the function continue calling the "optimizeCatalogue" function.
2011-02-27 12:32:46 +01:00
cgonzalez
b6049beca2 [Translation] Added search to FallbackLocale Catalogue.
When the current locale catalogue doesn't contain the id searched, the code doesn't search in the fallbacklocale catalogue (as is explained in the documentation).
Added the search to the fallbacklocale catalogue to the translation function.
2011-02-27 12:32:46 +01:00
Fabien Potencier
a287a619ad Revert "[ZendBundle] added classes to compile"
This reverts commit add21ec4c0.
2011-02-27 08:09:25 +01:00
Lukas Kahwe Smith
141b798127 make it possible to define the file extension 2011-02-26 23:12:46 +01:00
Johannes Schmitt
97ee92e7b0 Merge branch 'CopyTokenAttributesInProviders' of https://github.com/opensky/symfony into opensky-CopyTokenAttributesInProviders 2011-02-26 21:47:57 +01:00
Johannes Schmitt
621a79f1f2 [Security] added method to retrieve the configured remember-me parameter 2011-02-26 21:44:40 +01:00
Fabien Potencier
de33e14699 Merge remote branch 'kriswallsmith/zend/compiled-classes'
* kriswallsmith/zend/compiled-classes:
  [ZendBundle] added classes to compile
2011-02-26 20:46:27 +01:00
Pascal Borreli
2fbb8e07f8 [Security] Fixed typo 2011-02-26 20:02:06 +01:00
Pascal Borreli
b9a6f9210b [HttpKernel] Fixed typo 2011-02-26 20:02:06 +01:00
Pascal Borreli
f3b9364eae [HttpFoundation] Fixed typo 2011-02-26 20:02:06 +01:00
Pascal Borreli
ddd6d93f9f [Form] Fixed typo 2011-02-26 20:02:06 +01:00
Pascal Borreli
4f2f1c08a9 [EventDispatcher] Fixed typo 2011-02-26 20:02:06 +01:00
Pascal Borreli
1a8ce933e1 [DependencyInjection] Fixed typo 2011-02-26 20:02:05 +01:00
Pascal Borreli
b940046ac4 [CssSelector] Fixed typo 2011-02-26 20:02:05 +01:00
Pascal Borreli
e1ec66cbb8 [Config] Fixed typo 2011-02-26 20:02:05 +01:00
Pascal Borreli
0c9951f676 [TwigBundle] Fixed typo 2011-02-26 20:02:05 +01:00
Pascal Borreli
added08c92 [SecurityBundle] Fixed typo 2011-02-26 20:02:05 +01:00
Pascal Borreli
1dca1ea002 [FrameworkBundle] Fixed typo 2011-02-26 20:02:05 +01:00
Pascal Borreli
ecd3845b80 [DoctrineMongoDBBundle] Fixed typo 2011-02-26 20:02:05 +01:00
Pascal Borreli
68140021fc [DoctrineBundle] Fixed typo 2011-02-26 20:02:05 +01:00
Pascal Borreli
b9c2579f2b [DoctrineAbstractBundle] Fixed typo 2011-02-26 20:02:05 +01:00
Fabien Potencier
e16c666266 [Routing] made an empty path info to redirect to / (as for any other route that ends with a /) 2011-02-26 08:56:44 +01:00
Kris Wallsmith
3ce1d82589 [AsseticBundle] added error handling to --watch 2011-02-25 10:27:51 -08:00
Kris Wallsmith
4816b9e711 [AsseticBundle] added a simple cache to --watch so it picks up where it left off last time 2011-02-25 10:01:01 -08:00
Kris Wallsmith
80256655e2 [AsseticBundle] added a --watch option to the assetic:dump command 2011-02-25 09:52:37 -08:00
Fabien Potencier
f46c6f7e45 [Routing] fixed the %2f problem in URLs 2011-02-25 18:01:32 +01:00
Fabien Potencier
1ee6ad4dad Revert "A command to generate a migration from the sql queries executed when you load some data fixtures."
This reverts commit 0f353c1411.
2011-02-25 17:11:58 +01:00
Fabien Potencier
a0d4250cde Revert "initial steps to handling objects"
This reverts commit 988b8f3736.
2011-02-25 17:11:56 +01:00
Fabien Potencier
11d8ce3976 Revert "cosmetic tweak"
This reverts commit e356c2a902.
2011-02-25 17:11:51 +01:00
Kris Wallsmith
8fedd8d067 [AsseticBundle] renamed some test files to respect the exclude of Resources in phpunit.xml.dist 2011-02-25 06:50:57 -08:00
Fabien Potencier
ad80b09a4f Merge remote branch 'kriswallsmith/assetic/etags'
* kriswallsmith/assetic/etags:
  [AsseticBundle] added etags to controller so changes to filters etc trigger invalidation
2011-02-25 07:19:45 +01:00
Fabien Potencier
ee4db2a5d8 Merge remote branch 'kriswallsmith/assetic/filter-visibility'
* kriswallsmith/assetic/filter-visibility:
  [AsseticBundle] fixed visibility of YUI filters
2011-02-25 07:19:38 +01:00
Kris Wallsmith
968c870c94 [AsseticBundle] added etags to controller so changes to filters etc trigger invalidation 2011-02-24 21:48:51 -08:00
Kris Wallsmith
d4db5319c8 [AsseticBundle] added resources to the routing loader
now the router will be aware of any changes assetic is aware of
2011-02-24 21:05:07 -08:00
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