Commit Graph

16821 Commits

Author SHA1 Message Date
Kevin Bond
c29958f82f allow null value in fragment handler 2014-01-20 07:30:15 +01:00
Fabien Potencier
95a8913b78 added missing dot in translation 2014-01-20 07:28:27 +01:00
Fabien Potencier
3dbe35f2a0 minor #10069 updated Arabic translations (ArabCoders)
This PR was submitted for the 2.3-dev branch but it was merged into the 2.3 branch instead (closes #10069).

Discussion
----------

updated Arabic translations

added the missing trans-units of 64 to 72

Commits
-------

1ff1d9c updated Arabic translations
2014-01-20 07:27:46 +01:00
Abdul.Mohsen B. A. A
770a94df4e updated Arabic translations
added the missing trans-units of 64 to 72
2014-01-20 07:27:46 +01:00
Fabien Potencier
d8abd64ae6 minor #10079 Update validators.id.xlf (ucay)
This PR was submitted for the 2.3-dev branch but it was merged into the 2.3 branch instead (closes #10079).

Discussion
----------

Update validators.id.xlf

Update validators for indonesian language

Commits
-------

b7a23bf Update validators.id.xlf
2014-01-20 07:22:07 +01:00
Ulumuddin Cahyadi Yunus
12cb270c16 Update validators.id.xlf
Update validators for indonesian language
2014-01-20 07:22:06 +01:00
Fabien Potencier
0ea2ac465b minor #10068 [Validator] Translate validator messages into Brazilian Portuguese (andreia)
This PR was squashed before being merged into the 2.3 branch (closes #10068).

Discussion
----------

[Validator] Translate validator messages into Brazilian Portuguese

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Commits
-------

1d84e7e [Validator] Translate validator messages into Brazilian Portuguese
2014-01-19 08:50:21 +01:00
Andreia Bohner
1d84e7e19f [Validator] Translate validator messages into Brazilian Portuguese 2014-01-19 08:50:20 +01:00
Grégoire Pineau
621f991e15 [TwigBridge] Cleaned documentation of twig:lint command 2014-01-18 14:02:22 +01:00
Fabien Potencier
3a14111462 minor #10063 Added more Swedish validator translations (tobiassjosten)
This PR was submitted for the 2.3-dev branch but it was merged into the 2.3 branch instead (closes #10063).

Discussion
----------

Added more Swedish validator translations

As per @javiereguiluz's [distress call](http://symfony.com/blog/help-symfony-reach-3-billion-people). ;)

Commits
-------

6fea175 Added more Swedish validator translations
2014-01-18 12:31:26 +01:00
Tobias Sjösten
4db465d43c Added more Swedish validator translations 2014-01-18 12:31:25 +01:00
Fabien Potencier
4ad343bd0f feature #10005 [Security] Added named encoders to EncoderFactory (tamirvs)
This PR was squashed before being merged into the 2.5-dev branch (closes #10005).

Discussion
----------

[Security] Added named encoders to EncoderFactory

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #9743
| License       | MIT
| Doc PR        | -

This PR is basically merging FOSAdvancedEncoder. I think it's better than having a separate bundle that most of it's code is a copy of the core.
A use case is: having a different encoders or bcrypt cost based on the user's roles.

Commits
-------

c69e2ca [Security] Added named encoders to EncoderFactory
2014-01-18 10:09:36 +01:00
tamirvs
c69e2ca11f [Security] Added named encoders to EncoderFactory 2014-01-18 10:09:35 +01:00
Fabien Potencier
fc3f05ad84 minor #10058 Added missing Croatian translations (gjuric)
This PR was merged into the 2.3 branch.

Discussion
----------

Added missing Croatian translations

| Q             | A
| ------------- | ---
| Fixed tickets |
| License       | MIT

Commits
-------

5957cc1 Added missing Croatian translations
2014-01-18 10:03:25 +01:00
Fabien Potencier
48f15142c9 minor #10060 [validator] fixed typos in Welsh translation (Padrig)
This PR was merged into the 2.3 branch.

Discussion
----------

[validator] fixed typos in Welsh translation

| Q             | A
| ------------- | ---
| Fixed tickets | #10059
| License       | MIT

Commits
-------

3f5397d fixed typos in Welsh translation
2014-01-18 10:02:39 +01:00
Fabien Potencier
a167afa8c8 minor #10062 Update validators.ca.xlf (oriolmangas)
This PR was merged into the 2.3 branch.

Discussion
----------

Update validators.ca.xlf

| Q             | A
| ------------- | ---
| Fixed tickets |
| License       | MIT

Commits
-------

485c104 Update validators.ca.xlf
2014-01-18 10:01:51 +01:00
Oriol Mangas
485c104734 Update validators.ca.xlf
Added missing Catalan translations
2014-01-17 22:05:03 +01:00
Pads
3f5397db4b fixed typos in Welsh translation 2014-01-17 20:03:20 +00:00
Goran Juric
5957cc14f1 Added missing Croatian translations 2014-01-17 20:57:31 +01:00
Dariusz Czech
82f98c4fb3 [Form] fixed allow render 0 and 0.0 numeric input values 2014-01-17 17:40:59 +01:00
Fabien Potencier
a207006417 minor #9996 [Routing] Added an extension point for globals in AnnotationClassLoader (lyrixx)
This PR was merged into the 2.5-dev branch.

Discussion
----------

[Routing] Added an extension point for globals in AnnotationClassLoader

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

We need to add a new extension point for global to be able to support
`@Method` on class:

``` php
/**
 * @Route("/api")
 * @Method("GET")
 */
class FooBarController
{
    /**
     * @Route("/")
     */
    public function listAction()
    {
    }

    /**
     * @Route("/new")
     * @Method("POST")
     */
    public function newAction()
    {
    }
}
```

Commits
-------

8f7524e [Routing] Added an extension point for globals in AnnotationClassLoader
2014-01-17 16:11:29 +01:00
Fabien Potencier
6c86995052 minor #10046 [2.3][Component/Security] Fixed some phpdocs in Security/Core (stloyd)
This PR was merged into the 2.3 branch.

Discussion
----------

[2.3][Component/Security] Fixed some phpdocs in Security/Core

| Q             | A
| ------------- | ---
| Bug fix?      | kinda*
| New feature?  | no
| License       | MIT

\* - those missing phpdocs lead to problems when debugging with IDE, as well as some were wrong (i.e. `SecurityContextInterface::isGranted()`) as parameters differ in interface & class implementing it

Commits
-------

80fae1d [Component/Security] Fixed some phpdocs in Security/Core
2014-01-17 14:36:43 +01:00
Fabien Potencier
e1b85db631 feature #9405 [FrameworkBundle] Added a helper method to create AccessDeniedException (klaussilveira)
This PR was squashed before being merged into the 2.5-dev branch (closes #9405).

Discussion
----------

[FrameworkBundle] Added a helper method to create AccessDeniedException

Just a small helper method that has been missing, since the addition of createNotFoundException().

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Commits
-------

183d0ec [FrameworkBundle] Added a helper method to create AccessDeniedException
2014-01-17 14:23:56 +01:00
Klaus Silveira
183d0ec302 [FrameworkBundle] Added a helper method to create AccessDeniedException 2014-01-17 14:23:56 +01:00
Fabien Potencier
6b8f4702f0 minor #10050 Fixed validators.nl.xlf (markdehaan)
This PR was merged into the 2.3 branch.

Discussion
----------

Fixed validators.nl.xlf

Source of trans-unit id 72 was incorrect.
Made two minor grammar updates.

Commits
-------

6c05b1d Fixed validators.nl.xlf
2014-01-17 11:10:42 +01:00
Mark de Haan
6c05b1d1ca Fixed validators.nl.xlf
Source of trans-unit id 72 was incorrect.
Made two minor grammar updates.
2014-01-17 10:59:24 +01:00
Joseph Bielawski
80fae1d6e8 [Component/Security] Fixed some phpdocs in Security/Core 2014-01-17 10:30:22 +01:00
Fabien Potencier
2f8d4ad80c bug #10042 [Expression Language] fix foo[index] (schokocappucino)
This PR was submitted for the 2.4-dev branch but it was merged into the 2.4 branch instead (closes #10042).

Discussion
----------

[Expression Language] fix foo[index]

| Q | A |
|----|-----|
| Bug fix? | yes |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Tests pass? | yes |
| Fixed tickets | |
| License | MIT |
| Doc PR | |

This patch fixes the usage of variables as key in GetAttrNode.

```php
$language = new \Symfony\Component\ExpressionLanguage\ExpressionLanguage();
$language->evaluate('foo[i]', ['foo' => ['a', 'b', 'c'], 'i' => 1]); // 'b'
```

Commits
-------

f657d03 [Expression Language] fix foo[index]
2014-01-17 09:36:47 +01:00
Chris
d090b76ed8 fix foo[index] 2014-01-17 09:36:46 +01:00
Fabien Potencier
0874114c35 minor #10044 [Validator] Completed Luxembourgish translation (mweimerskirch)
This PR was merged into the 2.3 branch.

Discussion
----------

[Validator] Completed Luxembourgish translation

Commits
-------

d7a41f3 Completed Luxembourgish translation
2014-01-17 09:33:21 +01:00
Michel Weimerskirch
d7a41f345b Completed Luxembourgish translation 2014-01-17 09:32:05 +01:00
Fabien Potencier
d8a6e936d1 bug #10033 [HttpKernel] Bugfix - Logger Deprecation Notice (Rican7)
This PR was submitted for the 2.2 branch but it was merged into the 2.3 branch instead (closes #10033).

Discussion
----------

[HttpKernel] Bugfix - Logger Deprecation Notice

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

This PR fixes the Logger deprecation notices to match the correct method name it should be informing of.

Commits
-------

c55cc46 Fixing the Logger deprecation notices to match the correct method name it should be informing of
2014-01-16 10:15:18 +01:00
Trevor Suarez
8b1773ffb6 Fixing the Logger deprecation notices to match the correct method name it should be informing of 2014-01-16 10:15:18 +01:00
Fabien Potencier
7da803f95d minor #10021 [WebProfilerBundle] Simplified session storage implementation (bschussek)
This PR was merged into the 2.5-dev branch.

Discussion
----------

[WebProfilerBundle] Simplified session storage implementation

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Follow-up to #9967.

Commits
-------

cec05bf [WebProfilerBundle] Simplified session storage implementation
2014-01-15 22:16:34 +01:00
Fabien Potencier
b30469821c bug #10023 [FrameworkBundle] Thrown an HttpException instead returning a Response in RedirectController::redirectAction() (jakzal)
This PR was merged into the 2.3 branch.

Discussion
----------

[FrameworkBundle] Thrown an HttpException instead returning a Response in RedirectController::redirectAction()

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #9243
| License       | MIT
| Doc PR        | -

I'm considering this to be a bug fix, since before, a missing path or route name would result in rendering a blank page.

Commits
-------

3097ec6 [FrameworkBundle] Thrown an HttpException instead returning a Response in order to show an error page when path is not defined.
2014-01-15 22:14:52 +01:00
Jakub Zalas
3097ec68e0 [FrameworkBundle] Thrown an HttpException instead returning a Response in order to show an error page when path is not defined. 2014-01-15 00:09:56 +01:00
Bernhard Schussek
cec05bf85b [WebProfilerBundle] Simplified session storage implementation 2014-01-14 17:13:05 +01:00
Fabien Potencier
fff29a398d feature #9967 Form debugger storage (WouterJ)
This PR was squashed before being merged into the 2.5-dev branch (closes #9967).

Discussion
----------

Form debugger storage

This PR continues #9857

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #9123
| License       | MIT
| Doc PR        | -

Commits
-------

744da7f Form debugger storage
2014-01-13 21:44:32 +01:00
WouterJ
744da7f29c Form debugger storage 2014-01-13 21:44:31 +01:00
Fabien Potencier
916420f115 feature #9980 [Routing][FrameworkBundle] Deprecated the apache dumper (jakzal)
This PR was squashed before being merged into the 2.5-dev branch (closes #9980).

Discussion
----------

[Routing][FrameworkBundle] Deprecated the apache dumper

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #9652
| License       | MIT
| Doc PR        | https://github.com/symfony/symfony-docs/pull/3446

Commits
-------

6258cfa [Routing][FrameworkBundle] Deprecated the apache dumper
2014-01-13 21:29:22 +01:00
Jakub Zalas
6258cfaa03 [Routing][FrameworkBundle] Deprecated the apache dumper 2014-01-13 21:29:22 +01:00
Fabien Potencier
704f9823c5 bug #9985 Prevent WDT from creating a session (mvrhov)
This PR was merged into the 2.3 branch.

Discussion
----------

Prevent WDT from creating a session

The wdt should not create a session.

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: N/A
Todo: -
License of the code: MIT
Documentation PR: N/A

Commits
-------

4791351 Prevent WDT from creating a session
2014-01-13 21:28:00 +01:00
Fabien Potencier
d4a3254bd5 minor #10006 Fixed coding standards (PSR-2) (cmfcmf)
This PR was submitted for the 2.3-dev branch but it was merged into the 2.3 branch instead (closes #10006).

Discussion
----------

Fixed coding standards (PSR-2)

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | ---
| Fixed tickets | ---
| License       | MIT
| Doc PR        | ---

> static MUST be declared after the visibility
-- (PSR-2)

Commits
-------

2fbc833 Coding standards
2014-01-13 21:21:10 +01:00
cmfcmf
81a1fbec42 Coding standards
static MUST be declared after the visibility (PSR-2)
2014-01-13 21:21:10 +01:00
Fabien Potencier
ac45678cb3 bug #10010 [Twig Bridge] Fixed bug in ExpressionExtension (ricbra)
This PR was squashed before being merged into the 2.4 branch (closes #10010).

Discussion
----------

[Twig Bridge] Fixed bug in ExpressionExtension

Currently it's impossible to use the expression extension in Twig as the <code> ExpressionExtension ::createExpression</code> method is defined as private which will throw an exception: <code>Fatal error: Call to private method Symfony\Bridge\Twig\Extension\ExpressionExtension::createExpression() from context '__TwigTemplate_83f94baa63f1faa30cdacee32980572936c887ef25baa389ebddd7a666db3a9b'</code>

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

521eee4 [Twig Bridge] Fixed bug in ExpressionExtension
2014-01-13 21:19:24 +01:00
Richard van den Brand
521eee42d8 [Twig Bridge] Fixed bug in ExpressionExtension 2014-01-13 21:19:24 +01:00
Fabien Potencier
0d500edc50 bug #10000 [Console] Fixed the compatibility with HHVM (stof)
This PR was squashed before being merged into the 2.3 branch (closes #10000).

Discussion
----------

[Console] Fixed the compatibility with HHVM

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        | -

The only failures in the Console testsuite were due to facebook/hhvm#1327, and a workaround for this issue is easy.

This PR currently includes #9999 in it, to have a working HHVM build on Travis.

Commits
-------

ac1ba81 [Console] Fixed the compatibility with HHVM
2014-01-11 08:44:43 +01:00
Christophe Coevoet
ac1ba81834 [Console] Fixed the compatibility with HHVM 2014-01-11 08:44:43 +01:00
Fabien Potencier
13064f59ee minor #9999 Fixed the Travis setup for HHVM (stof)
This PR was squashed before being merged into the 2.3 branch (closes #9999).

Discussion
----------

Fixed the Travis setup for HHVM

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        | -

this replaces #9997 with a proper fix: fixing the cause of the issue instead of adding workarounds for it

"php -r" does not seem to behave properly in HHVM, so the check to detect HHVM has been switch to a check on the environment variable set by Travis.

Commits
-------

67d4959 Fixed the Travis setup for HHVM
2014-01-11 08:42:48 +01:00
Christophe Coevoet
67d49598b9 Fixed the Travis setup for HHVM 2014-01-11 08:42:47 +01:00