Commit Graph

6106 Commits

Author SHA1 Message Date
Johannes Schmitt
f6c5ef7b74 adds a small convenience method 2011-07-18 11:48:20 +02:00
Fabien Potencier
827bfb94e6 merged branch hidenorigoto/translate-UPDATE-rc5 (PR #1709)
Commits
-------

21b0153 updated translation of UPDATE file (Japanese RC5)

Discussion
----------

Update translation of UPDATE file (Japanese RC5)
2011-07-16 08:15:12 +02:00
hidenorigoto
21b0153969 updated translation of UPDATE file (Japanese RC5) 2011-07-16 10:21:58 +09:00
Fabien Potencier
af67e65cbd [Form] fixed validation when using the 'validation_constraint' option 2011-07-16 00:45:53 +02:00
Fabien Potencier
5182a0c2c4 [Form] removed a constraint in PropertyPath as the path can definitely be an empty string for errors attached on the main form (when using a constraint defined with the 'validation_constraint' option) 2011-07-16 00:34:50 +02:00
Fabien Potencier
c04512086e [Validator] fixed error message property path when a collection error occurs 2011-07-16 00:29:54 +02:00
Fabien Potencier
1238bb3d53 [HttpKernel] lowered the number of level to keep in Flattened exceptions to make the tests pass when XDebug is enabled (beause of the default max nesting level of 100) 2011-07-16 00:29:33 +02:00
Fabien Potencier
06a90bb91e merged branch schniper/patch-1 (PR #1703)
Commits
-------

5395c6c Few RO translation tweaks

Discussion
----------

Few RO translation tweaks

---------------------------------------------------------------------------

by lsmith77 at 2011/07/15 02:48:01 -0700

you seem to have done something to the line endings ..

---------------------------------------------------------------------------

by schniper at 2011/07/15 03:13:32 -0700

The file was edited on the site and because of some 404 error I couldn't save it so I copy/pasted it entirely, after I have corrected the problem.
Want me to retry?
2011-07-15 18:40:26 +02:00
Johannes Schmitt
3cb4b031b6 Revert "fixed inconsistent naming"
Incomplete, and wrong repo anyway.
2011-07-15 15:55:30 +02:00
Johannes
eaa173b788 fixed inconsistent naming 2011-07-15 06:41:41 -07:00
Costin Bereveanu
5395c6c675 Few RO translation tweaks 2011-07-15 02:46:38 -07:00
Fabien Potencier
43543bb85d merged branch francisbesset/httpfoundation_requestmatcher (PR #1690)
Commits
-------

71cfb56 Thrown a \RuntimeException in RequestMatcher::checkIp6() if PHP is compiled with the option "disable-ipv6"

Discussion
----------

[HttpFoundation] Problem with RequestMatcher if PHP is compiled with the option "disable-ipv6"

Thrown a \RuntimeException in RequestMatcher::checkIp6() if PHP is compiled with the option "disable-ipv6".
2011-07-15 10:35:42 +02:00
Fabien Potencier
b64fb60a0f merged branch schmittjoh/sessionAutoStartFix (PR #1701)
Commits
-------

af6d4e4 changed test
6d1eb48 fixes a bug during session initialization in test environment

Discussion
----------

fixes a bug during session initialization in test environment
2011-07-15 10:34:57 +02:00
Johannes Schmitt
af6d4e4c8e changed test 2011-07-15 10:29:16 +02:00
Francis Besset
71cfb56917 Thrown a \RuntimeException in RequestMatcher::checkIp6() if PHP is compiled with the option "disable-ipv6" 2011-07-15 10:28:46 +02:00
Johannes Schmitt
6d1eb48a9b fixes a bug during session initialization in test environment 2011-07-15 10:23:38 +02:00
Fabien Potencier
2a0178c2b5 merged branch jmikola/yaml-numeric-strings (PR #1688)
Commits
-------

05cc24c [Yaml] Wrap numeric strings in quotes when dumping

Discussion
----------

[Yaml] Wrap numeric strings in quotes when dumping

This addresses an obscure case where a hash string (actually a commit-ish, "686e444") was dumped to YAML as an unquoted string value. It was later parsed from YAML as an exponential numeric and changed to ".Inf".

This commit should not change the existing behavior when dumping non-string numerics. It also doesn't appear to disturb any of the other test cases. I realize it's a huge edge case, so I'm open to discussion.

The alternative to this fix was an ugly `preg_replace()` to apply quoting around the commit-ish after dumping. I would look forward to removing that :)
2011-07-15 08:39:27 +02:00
Fabien Potencier
3f33826c15 merged branch jmikola/yaml-skipped-tests (PR #1689)
Commits
-------

5803a8e [Yaml] Do not skip consistency checks in InlineTest::testDump()

Discussion
----------

[Yaml] Do not skip consistency checks in InlineTest::testDump()

These conditionals were excluding 12.30e+02 from being checked. Removing the conditionals does not break any tests.

I investigated the conditionals with git blame, but that stops at previous commits for code formatting changes. These appear to be very old. Perhaps they were added for test failures on certain platforms? I don't spot any failures on Linux.
2011-07-15 08:35:43 +02:00
Fabien Potencier
6a264979d1 merged branch erheme318/mongolian_translation (PR #1695)
Commits
-------

3e092b5 Updated the Mongolian validator translations

Discussion
----------

Updated the Mongolian validator translations
2011-07-14 18:33:39 +02:00
Fabien Potencier
0dd44898ce merged branch erheme318/master (PR #1694)
Commits
-------

e09bc30 Added the Mongolian validator translations

Discussion
----------

Added the Mongolian validator translations
2011-07-14 18:29:20 +02:00
erheme318
3e092b5bfc Updated the Mongolian validator translations 2011-07-14 14:55:06 +07:00
Fabien Potencier
12b1875b88 merged branch schmittjoh/testSessionListenerFix (PR #1691)
Commits
-------

e94eb0b fixes a bug in the test session listener

Discussion
----------

fixes a bug in the test session listener
2011-07-14 08:16:53 +02:00
erheme318
e09bc3015d Added the Mongolian validator translations 2011-07-14 09:14:38 +07:00
Johannes Schmitt
e94eb0b7e0 fixes a bug in the test session listener 2011-07-14 00:54:12 +02:00
Jeremy Mikola
5803a8ed05 [Yaml] Do not skip consistency checks in InlineTest::testDump()
These conditionals were excluding 12.30e+02 from being checked. Removing the conditionals does not break any tests.
2011-07-13 17:23:21 -04:00
Jeremy Mikola
05cc24ce5b [Yaml] Wrap numeric strings in quotes when dumping
This addresses an obscure case where a hash string (actually a commit-ish, "686e444") was dumped to YAML as an unquoted string value. It was later parsed from YAML as an exponential numeric and changed to ".Inf".
2011-07-13 16:58:57 -04:00
Fabien Potencier
ae092b9482 merged branch schmittjoh/abstractAuthenticationListener (PR #1683)
Commits
-------

29e4063 [Security] changed order of checks to check for more specific things first

Discussion
----------

[Security] changed order of checks
2011-07-13 19:12:19 +02:00
Johannes Schmitt
29e4063825 [Security] changed order of checks to check for more specific things first 2011-07-13 18:49:52 +02:00
Fabien Potencier
b6563afae7 fixed typo 2011-07-13 18:26:19 +02:00
Fabien Potencier
093c0c7163 merged branch hason/czech_translation (PR #1682)
Commits
-------

6f859a4 [FrameworkBundle] Updated the Czech validator translations

Discussion
----------

[FrameworkBundle] Updated the Czech validator translations
2011-07-13 18:20:39 +02:00
Fabien Potencier
9e4422b510 merged branch xmontana/patch-1 (PR #1681)
Commits
-------

ba7ec9b Edited src/Symfony/Bundle/FrameworkBundle/Resources/translations/validators.ca.xliff via GitHub

Discussion
----------

Edited src/Symfony/Bundle/FrameworkBundle/Resources/translations/validato

Updated catalan translation
2011-07-13 18:20:21 +02:00
Martin Hason
6f859a4e04 [FrameworkBundle] Updated the Czech validator translations 2011-07-13 18:16:11 +02:00
xmontana
ba7ec9b98b Edited src/Symfony/Bundle/FrameworkBundle/Resources/translations/validators.ca.xliff via GitHub 2011-07-13 09:14:00 -07:00
Johannes Schmitt
b7c4806a5a [Security] fixes #1329 2011-07-13 18:10:58 +02:00
Fabien Potencier
f0a75e8358 merged branch aboks/dutch_translations (PR #1679)
Commits
-------

61de80d [FrameworkBundle] Updated the Dutch validator translations for the changes in 95f7eedd63

Discussion
----------

[FrameworkBundle] Updated the Dutch validator translations

[FrameworkBundle] Updated the Dutch validator translations for the changes in 95f7eedd63
2011-07-13 16:42:29 +02:00
Fabien Potencier
0883fed86c tweaked UPDATE file 2011-07-13 16:41:38 +02:00
Fabien Potencier
4004b4411e merged branch francisbesset/httpfoundation_responseheaderbag (PR #1640)
Commits
-------

64e9263 Updated UPDATE.md
7cf891a Renamed variable returned and used self in place of static for constants
f91f4dd Added the possibility to set cookies with the same name for different domains and paths for Symfony\Component\HttpFoundation\ResponseHeaderBag
f08eeb4 Moved managing cookies of HeaderBag in ResponseHeaderBag

Discussion
----------

[HttpFoundation] Cookies management in ResponseHeaderBag

Fixed cookies management in `Symfony\Component\HttpFoundation\HeaderBag` and `Symfony\Component\HttpFoundation\ResponseHeaderBag`
2011-07-13 16:37:40 +02:00
Arnout Boks
61de80d414 [FrameworkBundle] Updated the Dutch validator translations for the changes in 95f7eedd63 2011-07-13 16:36:57 +02:00
Francis Besset
64e92633aa Updated UPDATE.md 2011-07-13 16:27:26 +02:00
Fabien Potencier
9d95d14c3b merged branch craue/patch-8 (PR #1678)
Commits
-------

7992ce6 fixed German validator translation again (see #1676)

Discussion
----------

fixed German validator translation again

see #1676
2011-07-13 16:07:31 +02:00
Christian Raue
7992ce6796 fixed German validator translation again (see #1676) 2011-07-13 06:59:52 -07:00
Fabien Potencier
2fcbde6baa merged branch craue/patch-7 (PR #1676)
Commits
-------

374c53a fixed German validator translation

Discussion
----------

fixed German validator translation
2011-07-13 15:15:27 +02:00
Christian Raue
374c53ab47 fixed German validator translation 2011-07-13 06:02:09 -07:00
Fabien Potencier
182f9e6508 [HttpFoundation] added population of the Authorization header based on the PHP_AUTH_* data 2011-07-13 14:12:03 +02:00
Francis Besset
7cf891a448 Renamed variable returned and used self in place of static for constants 2011-07-13 14:10:50 +02:00
Fabien Potencier
14781cebed merged branch deegital/master (PR #1674)
Commits
-------

86b96f4 Added missing import of UserInterface.
88fd076 Added missing import of UserProviderInterface.

Discussion
----------

Added missing import of UserProviderInterface
2011-07-13 13:31:56 +02:00
Jan Behrens
86b96f4f81 Added missing import of UserInterface. 2011-07-13 04:30:07 -07:00
Jan Behrens
88fd076133 Added missing import of UserProviderInterface. 2011-07-13 04:16:24 -07:00
Fabien Potencier
d80ee41130 Revert "merged branch yktd26/master (PR #1673)"
This reverts commit af70ac8d77, reversing
changes made to c881379fe7.
2011-07-13 12:21:56 +02:00
Fabien Potencier
af70ac8d77 merged branch yktd26/master (PR #1673)
Commits
-------

26ff05b fixes #1538

Discussion
----------

fixes #1538

Constructor of  Symfony\Component\Security\Acl\Domain\RoleSecurityIdentity
--------------------------------------------------------------------------------------------------------

currently it check if the argument is instance of Symfony\Component\Security\Core\Role\Role by

``if ($role instanceof Role)``

Maybe it should be changed to

``if ($role instanceof RoleInterface)``

Because if we use another Role class which implements RoleInterface

it dosen't work when we check access, it will throw a *NoAceFoundException* when vote
2011-07-13 11:30:35 +02:00