8000 [FrameworkBundle] Added configuration for additionnal request formats by gquemener · Pull Request #8944 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle] Added configuration for additionnal request formats #8944

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
Merge branch 'master' of github.com:symfony/symfony
Conflicts:
	src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
  • Loading branch information
gquemener committed Dec 24, 2013
commit 5f1dbfd21609153df7cf2cceec8c93e4a97f6991
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ php:
- 5.5

before_script:
- sudo apt-get install parallel
- echo '' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
- sh -c 'if [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
- COMPOSER_ROOT_VERSION=dev-master composer --prefer-source --dev install

script:
- ls -d src/Symfony/*/* | parallel --gnu --keep-order 'echo "Running {} tests"; phpunit --exclude-group tty,benchmark {};' || exit 1
- echo "Running tests requiring tty"; phpunit --group tty
100 changes: 100 additions & 0 deletions CHANGELOG-2.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,106 @@ in 2.2 minor versions.
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v2.2.0...v2.2.1

* 2.2.11 (2013-12-02)

* bug #9656 [DoctrineBridge] normalized class names in the ORM type guesser (fabpot)
* bug #9647 use the correct class name to retrieve mapped class' metadata and reposi... (xabbuh)
* bug #9643 [WebProfilerBundle] Fixed js escaping in time.html.twig (hason)
* bug #9639 Modified guessDefaultEscapingStrategy to not escape txt templates (fabpot)
* bug #9314 [Form] Fix DateType for 32bits computers. (WedgeSama)
* bug #9443 [FrameworkBundle] Fixed the registration of validation.xml file when the form is disabled (hason)
* bug #9625 [HttpFoundation] Do not return an empty session id if the session was closed (Taluu)
* bug #9447 [BrowserKit] fixed protocol-relative url redirection (jong99)
* bug #9535 No Entity Manager defined exception (armetiz)
* bug #9485 [Acl] Fix for issue #9433 (guilro)
* bug #9516 [AclProvider] Fix incorrect behavior when partial results returned from cache (superdav42)
* bug #9537 [FrameworkBundle] Fix mistake in translation's service definition. (phpmike)
* bug #9367 [Process] Check if the pipe array is empty before calling stream_select() (jfposton)
* bug #9469 [Propel1] re-factor Propel1 ModelChoiceList (havvg)

* 2.2.10 (2013-11-13)

* bug #9499 Request::overrideGlobals() may call invalid ini value (denkiryokuhatsuden)
* bug #9212 [Validator] Force Luhn Validator to only work with strings (Richtermeister)
* bug #9431 [DependencyInjection] fixed YamlDumper did not make services private. (realityking)
* bug #9412 [HttpFoundation] added content length header to BinaryFileResponse (kbond)
* bug #9388 [Form] Fixed: The "data" option is taken into account even if it is NULL (bschussek)
* bug #9391 [Serializer] Fixed the error handling when decoding invalid XML to avoid a Warning (stof)
* bug #9378 [DomCrawler] [HttpFoundation] Make `Content-Type` attributes identification case-insensitive (matthieuprat)
* bug #9354 [Process] Fix #9343 : revert file handle usage on Windows platform (romainneutron)
* bug #9333 [Form] Improved FormTypeCsrfExtension to use the type class as default intention if the form name is empty (bschussek)
* bug #9338 [DoctrineBridge] Added type check to prevent calling clear() on arrays (bschussek)
* bug #9327 [Form] Changed FormTypeCsrfExtension to use the form's name as default intention (bschussek)
* bug #9308 [DoctrineBridge] Loosened CollectionToArrayTransformer::transform() to accept arrays (bschussek)
* bug #9274 [Yaml] Fixed the escaping of strings starting with a dash when dumping (stof)
* bug #9270 [Templating] Fix in ChainLoader.php (janschoenherr)
* bug #9246 [Session] fixed wrong started state (tecbot)

* 2.2.9 (2013-10-10)

* [Security] limited the password length passed to encoders
* bug #9237 [FrameworkBundle] assets:install command should mirror .dotfiles (.htaccess) (FineWolf)
* bug #9223 [Translator] PoFileDumper - PO headers (Padam87)
* bug #9257 [Process] Fix 9182 : random failure on pipes tests (romainneutron)
* bug #9222 [Bridge] [Propel1] Fixed guessed relations (ClementGautier)
* bug #9214 [FramworkBundle] Check event listener services are not abstract (lyrixx)
* bug #9207 [HttpKernel] Check for lock existence before unlinking (ollietb)
* bug #9184 Fixed cache warmup of paths which contain back-slashes (fabpot)
* bug #9192 [Form] remove MinCount and MaxCount constraints in ValidatorTypeGuesser (franek)
* bug #9190 Fix: duplicate usage of Symfony\Component\HttpFoundation\Response (realsim)
* bug #9188 [Form] add support for Length and Range constraint in ValidatorTypeGuesser (franek)
* bug #8809 [Form] enforce correct timezone (Burgov)
* bug #9169 Fixed client insulation when using the terminable event (fabpot)
* bug #9154 Fix problem with Windows file links (backslash in JavaScript string) (fabpot)
* bug #9103 [HttpFoundation] Header `HTTP_X_FORWARDED_PROTO` can contain various values (stloyd)

* 2.2.8 (2013-09-25)

* same as 2.2.7

* 2.2.7 (2013-09-25)

* 8980954: bugix: CookieJar returns cookies with domain "domain.com" for domain "foodomain.com"
* 3108c71: [Locale] added support for the position argument to NumberFormatter::parse()
* 0774c79: [Locale] added some more stubs for the number formatter
* e5282e8: [DomCrawler]Crawler guess charset from html
* 0e80d88: fixes RequestDataCollector bug, visible when used on Drupal8
* c8d0342: [Console] fixed exception rendering when nested styles
* a47d663: [Console] fixed the formatter for single-char tags
* c6c35b3: [Console] Escape exception message during the rendering of an exception
* 0e437c5: [BrowserKit] Fixed the handling of parameters when redirecting
* 958ec09: NativeSessionStorage regenerate
* 0d6af5c: Use setTimeZone if this method exists.
* 773e716: [HttpFoundation] Fixed the way path to directory is trimmed.
* 42019f6: [Console] Fixed argument parsing when a single dash is passed.
* b591419: [HttpFoundation] removed double-slashes (closes #8388)
* 4f5b8f0: [HttpFoundation] tried to keep the original Request URI as much as possible to avoid different behavior between ::createFromGlobals() and ::create()
* 4c1dbc7: [TwigBridge] fixed form rendering when used in a template with dynamic inheritance
* 8444339: [HttpKernel] added a check for private event listeners/subscribers
* ce7de37: [DependencyInjection] fixed a non-detected circular reference in PhpDumper (closes #8425)
* 37102dc: [Process] Close unix pipes before calling `proc_close` to avoid a deadlock
* 8c2a733: [HttpFoundation] fixed format duplication in Request
* 1e75cf9: [Process] Fix #8970 : read output once the process is finished, enable pipe tests on Windows
* ed83752: [Form] Fixed expanded choice field to be marked invalid when unknown choices are submitted
* 30aa1de: [Form] Fixed ChoiceList::get*By*() methods to preserve order and array keys
* 49f5027: [HttpKernel] fixer HInclude src (closes #8951)
* c567262: Fixed escaping of service identifiers in configuration
* 4a76c76: [Process][2.2] Fix Process component on windows
* 65814ba: Request->getPort() should prefer HTTP_HOST over SERVER_PORT
* e75d284: Fixing broken http auth digest in some circumstances (php-fpm + apache).
* 899f176: [Security] fixed a leak in ExceptionListener
* 2fd8a7a: [Security] fixed a leak in the ContextListener
* 4e9d990: Ignore posix_istatty warnings
* 2d34e78: [BrowserKit] fixed method/files/content when redirecting a request
* 64e1655: [BrowserKit] removed some headers when redirecting a request
* 96a4b00: [BrowserKit] fixed headers when redirecting if history is set to false (refs #8697)
* c931eb7: [HttpKernel] fixed route parameters storage in the Request data collector (closes #8867)
* 96bb731: optimized circular reference checker
* 91234cd: [HttpKernel] changed fragment URLs to be relative by default (closes #8458)
* 4922a80: [FrameworkBundle] added support for double-quoted strings in the extractor (closes #8797)
* 0d07af8: [BrowserKit] Pass headers when `followRedirect()` is called
* d400b5a: Return BC compatibility for `@Route` parameters and default values

* 2.2.6 (2013-08-26)

* f936b41: clearToken exception is thrown at wrong place.
Expand Down
97 changes: 97 additions & 0 deletions CHANGELOG-2.3.md
769A
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,103 @@ in 2.3 minor versions.
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v2.3.0...v2.3.1

* 2.3.7 (2013-11-14)

* bug #9499 Request::overrideGlobals() may call invalid ini value (denkiryokuhatsuden)
* bug #9420 [Console][ProgressHelper] Fix ProgressHelper redraw when redrawFreq is greater than 1 (giosh94mhz)
* bug #9212 [Validator] Force Luhn Validator to only work with strings (Richtermeister)
* bug #9476 Fixed bug with lazy services (peterrehm)
* bug #9431 [DependencyInjection] fixed YamlDumper did not make services private. (realityking)
* bug #9416 fixed issue with clone now the children of the original form are preserved and the clone form is given new children (yjv)
* bug #9412 [HttpFoundation] added content length header to BinaryFileResponse (kbond)
* bug #9395 [HttpKernel] fixed memory limit display in MemoryDataCollector (hhamon)
* bug #9388 [Form] Fixed: The "data" option is taken into account even if it is NULL (bschussek)
* bug #9391 [Serializer] Fixed the error handling when decoding invalid XML to avoid a Warning (stof)
* bug #9378 [DomCrawler] [HttpFoundation] Make `Content-Type` attributes identification case-insensitive (matthieuprat)
* bug #9354 [Process] Fix #9343 : revert file handle usage on Windows platform (romainneutron)
* bug #9334 [Form] Improved FormTypeCsrfExtension to use the type class as default intention if the form name is empty (bschussek)
* bug #9333 [Form] Improved FormTypeCsrfExtension to use the type class as default intention if the form name is empty (bschussek)
* bug #9338 [DoctrineBridge] Added type check to prevent calling clear() on arrays (bschussek)
* bug #9328 [Form] Changed FormTypeCsrfExtension to use the form's name as default intention (bschussek)
* bug #9327 [Form] Changed FormTypeCsrfExtension to use the form's name as default intention (bschussek)
* bug #9308 [DoctrineBridge] Loosened CollectionToArrayTransformer::transform() to accept arrays (bschussek)
* bug #9274 [Yaml] Fixed the escaping of strings starting with a dash when dumping (stof)
* bug #9270 [Templating] Fix in ChainLoader.php (janschoenherr)
* bug #9246 [Session] fixed wrong started state (tecbot)

* 2.3.6 (2013-10-10)

* [Security] limited the password length passed to encoders
* bug #9259 [Process] Fix latest merge from 2.2 in 2.3 (romainneutron)
* bug #9237 [FrameworkBundle] assets:install command should mirror .dotfiles (.htaccess) (FineWolf)
* bug #9223 [Translator] PoFileDumper - PO headers (Padam87)
* bug #9257 [Process] Fix 9182 : random failure on pipes tests (romainneutron)
* bug #9222 [Bridge] [Propel1] Fixed guessed relations (ClementGautier)
* bug #9214 [FramworkBundle] Check event listener services are not abstract (lyrixx)
* bug #9207 [HttpKernel] Check for lock existence before unlinking (ollietb)
* bug #9184 Fixed cache warmup of paths which contain back-slashes (fabpot)
* bug #9192 [Form] remove MinCount and MaxCount constraints in ValidatorTypeGuesser (franek)
* bug #9190 Fix: duplicate usage of Symfony\Component\HttpFoundation\Response (realsim)
* bug #9188 [Form] add support for Length and Range constraint in ValidatorTypeGuesser (franek)
* bug #8809 [Form] enforce correct timezone (Burgov)
* bug #9169 Fixed client insulation when using the terminable event (fabpot)
* bug #9154 Fix problem with Windows file links (backslash in JavaScript string) (fabpot)
* bug #9153 [DependencyInjection] Prevented inlining of lazy loaded private service definitions (jakzal)
* bug #9103 [HttpFoundation] Header `HTTP_X_FORWARDED_PROTO` can contain various values (stloyd)

* 2.3.5 (2013-09-27)

* 8980954: bugix: CookieJar returns cookies with domain "domain.com" for domain "foodomain.com"
* bb59ac2: fixed HTML5 form attribute handling XPath query
* 3108c71: [Locale] added support for the position argument to NumberFormatter::parse()
* 0774c79: [Locale] added some more stubs for the number formatter
* e5282e8: [DomCrawler]Crawler guess charset from html
* 0e80d88: fixes RequestDataCollector bug, visible when used on Drupal8
* c8d0342: [Console] fixed exception rendering when nested styles
* a47d663: [Console] fixed the formatter for single-char tags
* c6c35b3: [Console] Escape exception message during the rendering of an exception
* 04e730e: [DomCrawler] fixed HTML5 form attribute handling
* 0e437c5: [BrowserKit] Fixed the handling of parameters when redirecting
* d84df4c: [Process] Properly close pipes after a Process::stop call
* b3ae29d: fixed bytes conversion when used on 32-bits systems
* a273e79: [Form] Fixed: "required" attribute is not added to <select> tag if no empty value
* 958ec09: NativeSessionStorage regenerate
* 0d6af5c: Use setTimeZone if this method exists.
* 42019f6: [Console] Fixed argument parsing when a single dash is passed.
* 097b376: [WebProfilerBundle] fixed toolbar for IE8 (refs #8380)
* 4f5b8f0: [HttpFoundation] tried to keep the original Request URI as much as possible to avoid different behavior between ::createFromGlobals() and ::create()
* 4c1dbc7: [TwigBridge] fixed form rendering when used in a template with dynamic inheritance
* 8444339: [HttpKernel] added a check for private event listeners/subscribers
* 427ee19: [FrameworkBundle] fixed registration of the register listener pass
* ce7de37: [DependencyInjection] fixed a non-detected circular reference in PhpDumper (closes #8425)
* 37102dc: [Process] Close unix pipes before calling `proc_close` to avoid a deadlock
* 8c2a733: [HttpFoundation] fixed format duplication in Request
* 1e75cf9: [Process] Fix #8970 : read output once the process is finished, enable pipe tests on Windows
* 9542d72: [Form] Fixed expanded choice field to be marked invalid when unknown choices are submitted
* 72b8807: [Form] Fixed ChoiceList::get*By*() methods to preserve order and array keys
* b65a515: [Form] Fixed FormValidator::findClickedButton() not to be called exponentially
* 49f5027: [HttpKernel] fixer HInclude src (closes #8951)
* c567262: Fixed escaping of service identifiers in configuration
* 4a76c76: [Process][2.2] Fix Process component on windows
* 65814ba: Request->getPort() should prefer HTTP_HOST over SERVER_PORT
* e75d284: Fixing broken http auth digest in some circumstances (php-fpm + apache).
* 970405f: fixed some circular references
* 899f176: [Security] fixed a leak in ExceptionListener
* 2fd8a7a: [Security] fixed a leak in the ContextListener
* 6362fa4: Button missing getErrorsAsString() fixes #8084 Debug: Not calling undefined method anymore. If the form contained a submit button the call would fail and the debug of the form wasn't possible. Now it will work in all cases. This fixes #8084
* e4b3039: Use isset() instead of array_key_exists() in DIC
* 2d34e78: [BrowserKit] fixed method/files/content when redirecting a request
* 64e1655: [BrowserKit] removed some headers when redirecting a request
* 96a4b00: [BrowserKit] fixed headers when redirecting if history is set to false (refs #8697)
* c931eb7: [HttpKernel] fixed route parameters storage in the Request data collector (closes #8867)
* 96bb731: optimized circular reference checker
* 39b610d: Clear lazy loading initializer after the service is successfully initialized
* 91234cd: [HttpKernel] changed fragment URLs to be relative by default (closes #8458)
* 4922a80: [FrameworkBundle] added support for double-quoted strings in the extractor (closes #8797)
* 52d8676: [Intl] made RegionBundle and LanguageBundle merge fallback data when using a country-specific locale
* 0d07af8: [BrowserKit] Pass headers when `followRedirect()` is called
* d400b5a: Return BC compatibility for `@Route` parameters and default values

* 2.3.4 (2013-08-27)

* f936b41: clearToken exception is thrown at wrong place.
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.
0