Commit Graph

6062 Commits

Author SHA1 Message Date
Fabien Potencier
5d1f5b1cf4 merged branch javiereguiluz/update_spanish_translation (PR #1613)
Commits
-------

bb6eefe [FrameworkBundle] Updated Spanish validator translations

Discussion
----------

[FrameworkBundle] Updated Spanish validator translations
2011-07-10 14:17:17 +02:00
Javier Eguíluz
bb6eefed55 [FrameworkBundle] Updated Spanish validator translations 2011-07-10 13:39:21 +02:00
Fabien Potencier
86356661f7 merged branch beberlei/Issue1376 (PR #1612)
Commits
-------

08b4219 [DoctrineBridge] Issue #1376 - Unique Validator does not work with null values

Discussion
----------

Issue1376

[DoctrineBridge] Issue #1376 - Unique Validator does not work with null values
2011-07-10 11:14:23 +02:00
Fabien Potencier
febbcde6f6 merged branch yethee/fix_ru_translations (PR #1611)
Commits
-------

c3f8999 [FrameworkBundle] Fixes Russian translations for the validators.

Discussion
----------

[FrameworkBundle] Fixes Russian translations for the validators.

Updated translations for the DefaultValidator of the Form component.

  - reverted `The uploaded file was too large. Please try to upload a smaller file`
  - added `This form should not contain extra fields` instead of `This field group should not contain extra fields`
2011-07-10 11:14:11 +02:00
Benjamin Eberlei
08b4219347 [DoctrineBridge] Issue #1376 - Unique Validator does not work with null values 2011-07-10 11:06:21 +02:00
Deni
c3f89992b5 [FrameworkBundle] Fixes Russian translations for the validators. 2011-07-10 12:47:22 +04:00
Fabien Potencier
21cf0b15ab merged branch yethee/ru_translations (PR #1601)
Commits
-------

c1cab27 [FrameworkBundle] Updated Russian translations for validators.

Discussion
----------

[FrameworkBundle] Updated Russian translations for validators.

Sync translations with the actual validator constraints.

Removed some translations (they are not found among the constraints):

  - `This value should be instance of class {{ class }}`
  - `This field group should not contain extra fields`
  - `The uploaded file was too large. Please try to upload a smaller file`
2011-07-10 09:58:31 +02:00
Fabien Potencier
bbf2f05566 merged branch excelwebzone/hebrew_translations (PR #1605)
Commits
-------

801e578  Add hebrew translations

Discussion
----------

Add hebrew translations
2011-07-10 09:56:53 +02:00
Fabien Potencier
32ae39e896 merged branch stof/registry (PR #1600)
Commits
-------

7517fa4 [DoctrineBundle] Fixed the transient test
f21dc42 [DoctrineBundle] Fixed the Registry::getEntityManagerForObject method

Discussion
----------

[DoctrineBundle] Fixed the Registry::getEntityManagerForObject method

This fixes the Registry::getEntityManagerForObject implementation. Doctrine expects the entity class name, not the object. The current code throw a Fatal Error.
2011-07-10 09:54:54 +02:00
excelwebzone
801e578112 Add hebrew translations 2011-07-09 10:37:38 -07:00
Arnaud Le Blanc
e6a2d76366 delay resolving values of extensions config until all files are loaded 2011-07-09 18:03:05 +02:00
Christophe Coevoet
7517fa4448 [DoctrineBundle] Fixed the transient test 2011-07-09 16:52:49 +02:00
Deni
c1cab277be [FrameworkBundle] Updated Russian translations for validators. 2011-07-09 18:49:22 +04:00
Christophe Coevoet
f21dc42358 [DoctrineBundle] Fixed the Registry::getEntityManagerForObject method 2011-07-09 16:31:24 +02:00
Gabriel Birke
22a49f14df Better docstring for FormError constructor 2011-07-09 16:14:57 +02:00
Fabien Potencier
2ec35428d4 merged branch stloyd/patch-1 (PR #1592)
Commits
-------

c1866e3 Profiler search typo

Discussion
----------

[WebProfiler] Search section typo
2011-07-09 10:04:45 +02:00
Joseph Bielawski
c1866e3710 Profiler search typo 2011-07-09 00:42:37 -07:00
Fabien Potencier
4a7b7597d8 merged branch marcw/validator-choice (PR #1577)
Commits
-------

df57e0f [Validator] Added strict option to ChoiceConstraint.

Discussion
----------

[Validator] Added strict option to ChoiceConstraint.

By default, ChoiceValidator was ensuring strict type when checking if value is present in choices. This behavior is a problem when you want to validate against integer values. As all data you will receive from a request will be typed as a string, you won't be able to validate these numeric values.
This patch solves this.

In order for being nice to developers, I've set "strict" to false by default.
2011-07-09 09:19:08 +02:00
Fabien Potencier
2a5bf56a3a merged branch ornicar/redirectResponseIndentation (PR #1589)
Commits
-------

6c736c9 Fix RedirectResponse HTML indentation and constructor phpDoc

Discussion
----------

Fix RedirectResponse HTML indentation and constructor phpDoc

Removes extra indents from the redirection response content.
2011-07-09 09:15:20 +02:00
Fabien Potencier
130082ac73 merged branch alifity/indonesian_translations (PR #1590)
Commits
-------

937af2f add indonesian translations

Discussion
----------

indonesian translations
2011-07-09 09:12:45 +02:00
Alif Rachmawadi
937af2f7d2 add indonesian translations 2011-07-09 09:52:20 +07:00
ornicar
6c736c936f Fix RedirectResponse HTML indentation and constructor phpDoc 2011-07-08 18:14:45 -07:00
Fabien Potencier
aed87c50f0 merged branch aboks/dutch_translations (PR #1586)
Commits
-------

45c2da7 [FrameworkBundle] Updated Dutch validator translations

Discussion
----------

[FrameworkBundle] Updated Dutch validator translations

Synchronized Dutch validator translations for some recent changes.
2011-07-08 10:45:31 +02:00
Fabien Potencier
103e9d1c6e merged branch sortex/sk_translations (PR #1584)
Commits
-------

d0258dd [FrameworkBundle]Slovak translations

Discussion
----------

Slovak translations

Slovak translations for framework bundle
2011-07-08 10:45:14 +02:00
Arnout Boks
45c2da75cf [FrameworkBundle] Updated Dutch validator translations 2011-07-08 10:39:56 +02:00
Sortex
d0258dd483 [FrameworkBundle]Slovak translations 2011-07-08 09:23:39 +02:00
Fabien Potencier
11d5b00656 merged branch merk/patch-1 (PR #1583)
Commits
-------

d736da6 Fixed styling for getName() BC note

Discussion
----------

Fixed styling for getName() BC note
2011-07-08 09:17:19 +02:00
Tim Nagel
d736da6420 Fixed styling for getName() BC note 2011-07-08 00:15:34 -07:00
Fabien Potencier
8cba4903d8 [Process] removed workaround as it seems to not work anymore after the recent changes 2011-07-08 09:14:48 +02:00
Fabien Potencier
28be19461b updated Monolog to 1.0.0 2011-07-07 19:02:57 +02:00
Fabien Potencier
c85fd081c8 [FrameworkBundle] fixed _internal route when the path contains dots 2011-07-07 17:25:53 +02:00
marc.weistroff
df57e0fe9a [Validator] Added strict option to ChoiceConstraint. 2011-07-07 15:11:36 +02:00
Fabien Potencier
0753f86dc1 [Translation] fixed CS 2011-07-07 12:27:49 +02:00
Fabien Potencier
d184b33bff merged branch stealth35/patch-8 (PR #1576)
Commits
-------

bb1b480 [Translation][Loader] CSV controls for CsvFileLoader

Discussion
----------

[Translation][Loader] CSV controls for CsvFileLoader
2011-07-07 12:26:16 +02:00
Fabien Potencier
0b0356f348 [HttpKernel] fixed exception handler when an exception is thrown during handling 2011-07-07 12:24:58 +02:00
stealth35
bb1b48046d [Translation][Loader] CSV controls for CsvFileLoader 2011-07-07 02:46:07 -07:00
Fabien Potencier
4f9060c929 [Routing] added back a comment that were deleted previously 2011-07-07 11:11:30 +02:00
Fabien Potencier
c061b4576b merged branch Seldaek/urlgen (PR #1573)
Commits
-------

ac1448f [Routing] Revert to rawurlencode + whitelisting of '/'

Discussion
----------

[Routing] Revert to rawurlencode + whitelisting of '/'

After more discussion on 761724ae57 - sorry you merged too fast for once ;)
2011-07-07 11:08:08 +02:00
Fabien Potencier
cce2bc59a8 fixed CS 2011-07-07 11:07:02 +02:00
Fabien Potencier
9b3c2ca3d3 merged branch vicb/uploaded-file/max-size (PR #1574)
Commits
-------

6786e81 [HttpFoundation] code factorization in UploadedFile

Discussion
----------

[HttpFoundation] code factorization in UploadedFile

As both #1542 and #1544 have been merged.
2011-07-07 11:06:29 +02:00
Fabien Potencier
76a5816d60 [HttpKernel] fixed recursion when flattenning an exception stack trace 2011-07-07 10:59:18 +02:00
Victor Berchet
6786e81f61 [HttpFoundation] code factorization in UploadedFile 2011-07-07 10:47:10 +02:00
Jordi Boggiano
ac1448f573 [Routing] Revert to rawurlencode + whitelisting of '/' 2011-07-07 10:44:17 +02:00
Fabien Potencier
2ec4b04547 merged branch Seldaek/urlgen (PR #1569)
Commits
-------

6039569 [Routing] Add # and ? to escaped chars

Discussion
----------

[Routing] Add # and ? to escaped chars

See comments on 761724ae57
2011-07-07 09:44:11 +02:00
Fabien Potencier
59870bfe02 fixed typo 2011-07-07 09:42:47 +02:00
Fabien Potencier
3a5d508766 [Console] replaced fgets by stream_get_line in DialogHelper
Problem with fgets is that false means two things: an error or the end of the stream.
That's ok for STDIN, but it becomes a problem when using another stream (in a unit test for instance).
2011-07-07 09:41:45 +02:00
Jordi Boggiano
603956979c [Routing] Add # and ? to escaped chars 2011-07-07 09:38:15 +02:00
Fabien Potencier
7eec2ca7b3 [Form] added a form type name validator 2011-07-07 09:16:13 +02:00
Fabien Potencier
db415db0af [HttpFoundation] tweaked previous merge 2011-07-07 07:41:40 +02:00
Fabien Potencier
c41da9d447 merged branch ktomk/patch-1 (PR #1558)
Commits
-------

db37bbb HTTP 1.1 / RFC 2616 - Make Redirect response HTTP body having a HTML body.

Discussion
----------

[HttpFoundation] Redirect response is missing a HTML body

HTTP 1.1 / RFC 2616 - Make Redirect response HTTP body having a HTML body as "...the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s)." (unless HEAD request, see response codes 301, 302, 303 and 307).

See [10.3 Redirection 3xx *in* Hypertext Transfer Protocol -- HTTP/1.1 (RFC 2616 Fielding, et al.)](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3) and [9.3 Redirection 3xx *in* Hypertext Transfer Protocol -- HTTP/1.0](http://tools.ietf.org/html/rfc1945#section-9.3).

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

by stloyd at 2011/07/06 10:50:50 -0700

As we allow changing protocol version, and by [default](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpFoundation/Response.php#L88) use 1.0 this should have an use also `$this->getProtocolVersion()`.

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

by ktomk at 2011/07/06 10:57:48 -0700

(Updated the original comment and linked the HTTP 1.0 specs in there)

Just have reviewed the RFCs and the processing inside `[HttpFoundation]`.  The response class [identifies the following status codes as redirects](db37bbb189/src/Symfony/Component/HttpFoundation/Response.php (L741)): `201`, `301`, `302`, `303` and `307`. That's quite the same list I compiled above where I did only check for 3xx codes. In HTTP/1.0 (symfony default) the 201 response can contain the new location in it's entity (body) of the response (in contrast, [RFC 1945 is *not* talking about the location header explicitly](http://tools.ietf.org/html/rfc1945#section-9.2); see as well [10.11  Location](http://tools.ietf.org/html/rfc1945#section-10.11), that's [in HTTP/1.1 done](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.2), compare [14.30 Location](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30)).

So I would say HTTP 1.0 is properly reflected with the changes as well and the concrete Response object [is already taking care for protocol validity](db37bbb189/src/Symfony/Component/HttpFoundation/RedirectResponse.php (L41)).
2011-07-07 07:37:39 +02:00