Commit Graph

51 Commits

Author SHA1 Message Date
Matthieu Auger c2170f3daa Drop backward compatibility for debug commands 2015-03-28 00:38:06 +01:00
sarah khalil a39d3c61dd [2.7] Added deprecated in debug command 2015-01-16 22:25:19 +01:00
Fabien Potencier 87ae859e3c Merge branch '2.5' into 2.6
* 2.5:
  [WIP] Made help information of commands more consistent
  Made help information consistent

Conflicts:
	src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php
	src/Symfony/Component/Console/Tests/Fixtures/application_1.txt
	src/Symfony/Component/Console/Tests/Fixtures/application_2.txt
	src/Symfony/Component/Console/Tests/Fixtures/application_astext1.txt
	src/Symfony/Component/Console/Tests/Fixtures/application_astext2.txt
	src/Symfony/Component/Console/Tests/Fixtures/application_gethelp.txt
	src/Symfony/Component/Console/Tests/Fixtures/application_run1.txt
2015-01-06 18:50:02 +01:00
WouterJ a216bf78e7 Made help information consistent 2015-01-04 10:52:37 +01:00
Fabien Potencier 6b108fb937 Merge branch '2.5'
* 2.5:
  Remove aligned '=>' and '='
  Break infinite loop while resolving aliases
  [Security][listener] change priority of switchuser
  Improved the phpdoc for security token classes
  bumped Symfony version to 2.5.7
  updated VERSION for 2.5.6
  updated CHANGELOG for 2.5.6
  bumped Symfony version to 2.3.22
  updated VERSION for 2.3.21
  update CONTRIBUTORS for 2.3.21
  updated CHANGELOG for 2.3.21

Conflicts:
	src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php
	src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AbstractFactory.php
	src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php
	src/Symfony/Component/Debug/ErrorHandler.php
	src/Symfony/Component/Debug/ExceptionHandler.php
	src/Symfony/Component/Form/Extension/Core/Type/BaseType.php
	src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php
	src/Symfony/Component/Form/Extension/Core/Type/DateTimeType.php
	src/Symfony/Component/Form/Extension/Core/Type/DateType.php
	src/Symfony/Component/Form/Extension/Core/Type/TimeType.php
	src/Symfony/Component/Form/Extension/Validator/Type/FormTypeValidatorExtension.php
	src/Symfony/Component/HttpFoundation/Request.php
	src/Symfony/Component/HttpFoundation/Session/Storage/Handler/MongoDbSessionHandler.php
	src/Symfony/Component/HttpFoundation/Session/Storage/Handler/PdoSessionHandler.php
	src/Symfony/Component/HttpKernel/Kernel.php
	src/Symfony/Component/Security/Core/SecurityContextInterface.php
	src/Symfony/Component/Security/Http/Authentication/DefaultAuthenticationFailureHandler.php
	src/Symfony/Component/Security/Http/Authentication/DefaultAuthenticationSuccessHandler.php
	src/Symfony/Component/Security/Http/Firewall/AnonymousAuthenticationListener.php
	src/Symfony/Component/Serializer/Serializer.php
	src/Symfony/Component/Validator/Constraints/File.php
2014-10-26 08:46:28 +01:00
Fabien Potencier 117c6b7ab9 Merge branch '2.3' into 2.5
* 2.3:
  Remove aligned '=>' and '='
  Break infinite loop while resolving aliases
  [Security][listener] change priority of switchuser
  Improved the phpdoc for security token classes
  bumped Symfony version to 2.3.22
  updated VERSION for 2.3.21
  update CONTRIBUTORS for 2.3.21
  updated CHANGELOG for 2.3.21

Conflicts:
	src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php
	src/Symfony/Bridge/Propel1/Form/Type/ModelType.php
	src/Symfony/Bridge/Propel1/Logger/PropelLogger.php
	src/Symfony/Bridge/Propel1/Tests/Fixtures/ItemQuery.php
	src/Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php
	src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php
	src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php
	src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php
	src/Symfony/Bundle/SecurityBundle/Tests/Functional/Bundle/FormLoginBundle/Controller/LocalizedController.php
	src/Symfony/Bundle/SecurityBundle/Tests/Functional/Bundle/FormLoginBundle/Controller/LoginController.php
	src/Symfony/Component/Console/Descriptor/JsonDescriptor.php
	src/Symfony/Component/Console/Formatter/OutputFormatterStyle.php
	src/Symfony/Component/Console/Helper/ProgressHelper.php
	src/Symfony/Component/Debug/ErrorHandler.php
	src/Symfony/Component/DependencyInjection/Container.php
	src/Symfony/Component/Finder/Shell/Command.php
	src/Symfony/Component/Form/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php
	src/Symfony/Component/Form/Extension/Core/Type/CollectionType.php
	src/Symfony/Component/Form/Extension/Core/Type/FormType.php
	src/Symfony/Component/Form/Extension/Core/Type/IntegerType.php
	src/Symfony/Component/Form/Extension/Core/Type/NumberType.php
	src/Symfony/Component/Form/Extension/Csrf/Type/FormTypeCsrfExtension.php
	src/Symfony/Component/HttpFoundation/File/UploadedFile.php
	src/Symfony/Component/HttpKernel/DataCollector/LoggerDataCollector.php
	src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php
	src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php
	src/Symfony/Component/HttpKernel/Kernel.php
	src/Symfony/Component/HttpKernel/Tests/EventListener/TestSessionListenerTest.php
	src/Symfony/Component/HttpKernel/Tests/HttpCache/TestMultipleHttpKernel.php
	src/Symfony/Component/Intl/NumberFormatter/NumberFormatter.php
	src/Symfony/Component/Routing/Loader/AnnotationClassLoader.php
	src/Symfony/Component/Routing/Route.php
	src/Symfony/Component/Routing/Tests/Loader/AnnotationClassLoaderTest.php
	src/Symfony/Component/Security/Tests/Core/Validator/Constraints/UserPasswordValidatorTest.php
	src/Symfony/Component/Templating/PhpEngine.php
	src/Symfony/Component/Validator/Constraints/ImageValidator.php
	src/Symfony/Component/Validator/Constraints/TypeValidator.php
2014-10-26 08:41:27 +01:00
Disquedur c42b0d2d36 Remove aligned '=>' and '=' 2014-10-26 08:30:58 +01:00
Matthieu Auger 8b9340c93f Move debug commands to debug namespace 2014-08-09 17:36:30 +02:00
Luis Cordova 2ae9039d45 clean up commands from framework bundle 2014-03-12 23:58:17 -05:00
Fabien Potencier 42b86ae01c [FrameworkBundle] changed the router:debug to use the shortcut notation for the controller 2013-10-02 16:42:09 +02:00
Fabien Potencier 0a40b3e0d7 [FrameworkBundle] fixed container:debug and router:debug commands 2013-10-02 16:42:09 +02:00
Jean-François Simon 8933ee16c8 [FrameworkBundle] adds routing/container descriptors 2013-10-01 16:13:13 +02:00
Peter Rehm 1b3bf1760a Added option to show controllers optionally in the router:debug command 2013-09-09 14:59:51 +02:00
Dariusz Górecki 5a8289e32e [CS Fix] Consistent coding-style of concatenation operator usage 2013-04-02 10:39:57 +01:00
Tobias Schultze ba28ffd4fd [FrameworkBundle] fix router debug command
- use dedicated Route:getMethods, getSchemes
- pattern -> path
- show missing scheme requirement
- show missing host regex
- refactoring
2013-03-08 13:29:09 +01:00
Tobias Schultze 4911e1835a [FramworkBundle] fix phpdoc of commands 2013-03-07 14:36:36 +01:00
Fabien Potencier 0f11c14dc7 [FrameworkBundle] removed extra whitespaces 2013-02-04 13:45:57 +01:00
inmarelibero 7ed1031722 [FrameworkBundle] fixed wrong indentation on route debug output 2013-02-02 15:13:57 +01:00
Emanuele Gaspari ffcf8de690 fixed wrong indentation 2013-02-01 23:03:50 +01:00
Fabien Potencier 3dfd933af0 renamed hostname to host in the routing system (closes #6775)
As explained in #6775, this has been done for the following reasons:

1. It's also Request::getHost()
2. The term hostname has been obsoleted in
http://tools.ietf.org/html/rfc3986#appendix-D.2 and uses the host only
3. hostname in the RFC was defined as the registered domain name, but we
probably also want to match IP-Adresses with the pattern which is the
host = IP-literal / IPv4address / reg-name for.
2013-01-21 17:57:32 +01:00
Fabien Potencier c483fdf147 replaced usage of Route::getPattern() by Route::getPath() 2013-01-16 23:04:10 +01:00
Fabien Potencier cc9e85562d [Routing] renamed hostname pattern to just hostname 2013-01-14 17:14:02 +01:00
Mario A. Alvarez Garcia 8b096b5802 Fixed copy/paste mistake 2012-12-06 08:14:56 -05:00
Mario A. Alvarez Garcia 7b0136c345 [FrameworkBundle] Added hostnamePattern to the router:debug command 2012-12-06 06:57:32 -05:00
Tobias Schultze 021d6bbb16 some type fixes 2012-11-12 11:54:32 +01:00
Arnaud Le Blanc d523d10169 fixed CS 2012-11-12 11:35:46 +01:00
Arnaud Le Blanc 6eca0b7c1d [Routing] display hostname pattern in router:debug output 2012-11-12 11:14:24 +01:00
Shin 28756a9b9f oops, the command with name, too 2012-08-24 23:41:40 +09:00
Shin aca9f13e43 fixed bug related to the change PR #5326 2012-08-24 23:33:39 +09:00
Xavier Lacot 61497f5332 Reverted to Symfony 2.0's signature, which made it simple to display only a subset of the routes of the application. This is particularly useful for FOSJsRoutingBundle's fos:js-routing:debug command, which allows to filter the list of javascript-exposed routes. 2012-06-28 18:29:35 +02:00
lsmith77 5b91c5e511 improved readability 2012-04-17 10:08:22 +02:00
lsmith77 2ff822aad9 refactored code to use get() when outputting a single route
this is useful for a CMS, where in most cases there will be too many routes to make it feasible to load all of them. here a router implementation will be used that will return an empty collection for ->all(). with this refactoring the given routes will not be listed via router:debug, but would still be shown when using router:debug [name]
2012-04-17 10:08:13 +02:00
Tobias Schultze 3759b3130e replaced command names with supported placeholders in help texts 2012-03-21 05:31:52 +01:00
Fabien Potencier 2f1c36fe9c fixed CS 2011-10-29 12:05:45 +02:00
Fabien Potencier c2c74b1c6b merged 2.0 2011-10-29 12:01:39 +02:00
Fabien Potencier 5f35abfa20 removed unused use statements 2011-10-29 11:56:30 +02:00
Christophe Coevoet d271b0556a [FrameworkBundle] Fixed the ckeck for the router class
The getRouteCollection method is now part of the RouterInterface so the
command should accept any implementation of the interface instead of just
the implementations extending the core one.
2011-10-16 13:56:51 +02:00
Jordi Boggiano bf22aeb14d [FrameworkBundle] Use Router instead of RouterInterface 2011-09-04 21:53:06 +02:00
Jordi Boggiano 118308cb91 [FrameworkBundle] Added isEnabled to Router commands, fixes #1467 2011-09-04 17:12:35 +02:00
Fabien Potencier e09007b233 renamed Command to ContainerAwareCommand 2011-06-20 21:04:55 +02:00
Fabien Potencier 5d5824294c [Routing] simplified route compiler 2011-04-25 12:38:20 +02:00
Ryan Weaver b997f2f9c9 [FrameworkBundle] router:debug - better string dumping to avoid namespace escaping
Before this change, the var_export causes namespaces to be escaped:

Before: 'Symfony\\Component\\...'
After:  Symfony\Component\...
2011-04-09 17:53:33 -05:00
Fabien Potencier 569c133d4e [Console] moved Output constants to OutputInterface 2011-03-29 21:53:28 +02:00
Ryan Weaver e530e4d97b [FrameworkBundle] Adding a container:debug console
This command uses a new container pass which dumps the ContainerBuilder into a cache file by serializing it. It's possible that we don't want this to run when kernel.debug = false, but I don't see the harm of generating the file and running the container:debug in, for example, the prod environment seems to make sense.
2011-03-12 14:44:21 -06:00
Francis Besset 24bfb485f0 [FrameworkBundle] Fixed indentation on router:debug command 2011-03-12 14:08:29 +01:00
Fabien Potencier 2b33054a66 replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
Pascal Borreli c14d0db05c [FrameworkBundle] Removed useless else 2011-02-27 18:36:36 +01:00
Dominique Bongiraud 68ef032064 normalized license messages in PHP files 2011-01-18 08:07:46 +01:00
Ryan Weaver ef7388bdc2 Updating RouteCollection::getRoutes() call to RouteCollection::getAll() in many places. 2010-11-26 14:43:12 +01:00
Kris Wallsmith 02389c71a4 Removed all those spaces after @author that were bothering me so… 2010-10-18 16:55:41 +02:00