Commit Graph

2796 Commits

Author SHA1 Message Date
Martin Hason
c75622cb4b [DependencyInjection] removed unused class Extension, fix tests 2011-02-28 09:57:18 +01:00
Martin Hason
1d04ebfda5 [HttpKernel] changed extends Extension to implements ExtensionInterface 2011-02-28 09:55:53 +01:00
Martin Hason
d231a8a8d5 [Config] [DependencyInjection] removed DependencyInjection dependency in Config, fix tests 2011-02-28 09:19:13 +01:00
Matthew Lewinski
cde5f528c2 Fix the Acl schema generator script.
Change 3e818846 in doctrine/dbal introduced a number of new classes in
the Doctrine\DBAL\Platforms\Keywords namespace, so we need to be more
careful here when generating Acl schema, so as to only load Platform
classes and not any others in the same directory.
2011-02-27 16:56:47 -06:00
Jordi Boggiano
9a35851c6b Rename .symfony to .gitkeep which is more standard git practice 2011-02-27 23:29:14 +01:00
Christophe Coevoet
a960355c46 Fixed type-hinting and renamed the method to be more semantic 2011-02-27 22:44:44 +01:00
Christophe Coevoet
0f2380af3f Removed duplicated code 2011-02-27 22:43:07 +01:00
Fabien Potencier
3948c2d8a2 [Routing] fixed annotation dir loader auto-reload when a controller class changes 2011-02-27 22:39:54 +01:00
Fabien Potencier
37178fed01 Merge remote branch 'lewinski/radio-infinite-recursion-fix'
* lewinski/radio-infinite-recursion-fix:
  [Form] Fix infinite recursion in RadioField->getName()
2011-02-27 22:35:57 +01:00
Fabien Potencier
d4663505f7 Merge remote branch 'vicb/config'
* vicb/config:
  [Config] Simplify ScalarNode by inheriting from VariableNode
2011-02-27 22:32:11 +01:00
Fabien Potencier
642f8ff71f Merge remote branch 'kriswallsmith/assetic/watch'
* kriswallsmith/assetic/watch:
  [AsseticBundle] added error handling to --watch
  [AsseticBundle] added a simple cache to --watch so it picks up where it left off last time
  [AsseticBundle] added a --watch option to the assetic:dump command
2011-02-27 22:25:45 +01:00
Fabien Potencier
c99a44b1e8 Merge remote branch 'schmittjoh/security'
* schmittjoh/security:
  [Security] added method to retrieve the configured remember-me parameter
  [Security] Copy token attributes when auth providers create a new token from another
2011-02-27 22:20:44 +01:00
Fabien Potencier
72a0f3b7f0 [Translation] re-added a unit test inadvertently removed in a previous commit 2011-02-27 22:18:34 +01:00
Fabien Potencier
c58b6afc38 Merge remote branch 'cristiangsp/Translation_FallbackLocale'
* cristiangsp/Translation_FallbackLocale:
  [Translation] Modified Translation unit test "testTransWithFallbackLocale"
  [Translation] Fixed the addition of the fallbackLocale catalogue to the current locale catalogue.
  [Translation] Added search to FallbackLocale Catalogue.
2011-02-27 21:48:34 +01:00
Fabien Potencier
cdf6851eb3 fixed merge 2011-02-27 21:16:13 +01:00
Fabien Potencier
2b4b3f83a5 fixed previous commit 2011-02-27 21:14:03 +01:00
Fabien Potencier
49f84f1997 Merge remote branch 'lsmith77/code_analyzer_2011_02_27'
* lsmith77/code_analyzer_2011_02_27:
  corrected NonceExpiredException namespace
  issues found by static code analysis
2011-02-27 21:12:31 +01:00
Christophe Coevoet
92bfbf575c Fixed CS 2011-02-27 20:56:29 +01:00
Lukas Kahwe Smith
2bf30f8bb7 corrected NonceExpiredException namespace 2011-02-27 19:46:40 +01:00
Lukas Kahwe Smith
4b3c49550f issues found by static code analysis 2011-02-27 19:34:02 +01:00
Pascal Borreli
5b819261c2 [Yaml] Removed useless else 2011-02-27 18:36:38 +01:00
Pascal Borreli
87452f7515 [Translation] Removed useless else 2011-02-27 18:36:38 +01:00
Pascal Borreli
5a922dae22 [Templating] Removed useless else 2011-02-27 18:36:38 +01:00
Pascal Borreli
787812d968 [Security] Removed useless else 2011-02-27 18:36:38 +01:00
Pascal Borreli
1fcb99b936 [HttpKernel] Removed useless else 2011-02-27 18:36:38 +01:00
Pascal Borreli
fc42cc5066 [HttpFoundation] Removed useless else 2011-02-27 18:36:38 +01:00
Pascal Borreli
03f91ff1e0 [Form] Removed useless else 2011-02-27 18:36:37 +01:00
Pascal Borreli
66f4d8bf6d [DependencyInjection] Removed useless else 2011-02-27 18:36:37 +01:00
Pascal Borreli
2cbaddfd87 [CssSelector] Removed useless else 2011-02-27 18:36:37 +01:00
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