Commit Graph

3734 Commits

Author SHA1 Message Date
Fabien Potencier
0dbfa18c46 [Routing] made a small optimization to the route dumper 2011-04-20 14:19:33 +02:00
Fabien Potencier
117321d3c6 replaced array for request context in Routing by a RequestContext class 2011-04-20 14:19:32 +02:00
Fabien Potencier
07aae98495 [Routing] added support for _scheme requirement
The _scheme requirement can be used to force routes to always match one given scheme
and to always be generated with the given scheme.

So, if _scheme is set to https, URL generation will force an absolute URL if the
current scheme is http. And if you request the URL with http, you will be redirected
to the https URL.
2011-04-20 10:49:32 +02:00
Fabien Potencier
d993a9160a [HttpFoundation] fixed getScheme() method 2011-04-20 10:49:08 +02:00
Fabien Potencier
eca195c8fe Merge remote branch 'weaverryan/container_debug_simplification'
* weaverryan/container_debug_simplification:
  [FrameworkBundle] Removing unnecessary and buggy functionality from ContainerDebugCommand
2011-04-20 09:18:47 +02:00
Ryan Weaver
6f16820328 [FrameworkBundle] Removing unnecessary and buggy functionality from ContainerDebugCommand 2011-04-19 17:01:22 -05:00
Fabien Potencier
7c54518626 [Routing] refactored some unit tests 2011-04-19 23:21:22 +02:00
Fabien Potencier
91602dfef4 [FrameworkBundle] made possible to interact with the Kernel/Container after a request in functional tests 2011-04-19 22:55:39 +02:00
Fabien Potencier
ba37ea19c6 Merge remote branch 'kriswallsmith/mongodb/validator-annot-alias'
* kriswallsmith/mongodb/validator-annot-alias:
  [DoctrineMongoDBBundle] set annotation constraint namespace alias to assertMongoDB
2011-04-19 19:14:21 +02:00
Fabien Potencier
86be93fbfd Merge remote branch 'kriswallsmith/assetic/use-controller-fix'
* kriswallsmith/assetic/use-controller-fix:
  [AsseticBundle] added factory worker to fix paths when use_controller is on
2011-04-19 19:14:17 +02:00
Kris Wallsmith
5a9a65701b [AsseticBundle] added factory worker to fix paths when use_controller is on 2011-04-19 07:58:04 -07:00
Kris Wallsmith
defb0218fb [DoctrineMongoDBBundle] set annotation constraint namespace alias to assertMongoDB 2011-04-19 07:46:28 -07:00
Fabien Potencier
4724af10f6 [DoctrineMongoDbBundle] fixed data:load command (--append does not need a value) 2011-04-19 15:36:40 +02:00
Fabien Potencier
561a2211af Merge remote branch 'krymen/fixtures_command'
* krymen/fixtures_command:
  [DoctrineBundle] Fix data:load command (--append w/o value)
2011-04-19 15:33:42 +02:00
Fabien Potencier
eb5337ba5e Merge remote branch 'hidenorigoto/translate-UPDATE-file-11to12'
* hidenorigoto/translate-UPDATE-file-11to12:
  updated translation UPDATE.ja file (vPR11 to vPR12)
2011-04-19 15:32:36 +02:00
Fabien Potencier
06c331d049 fixed typo 2011-04-19 15:26:51 +02:00
hidenorigoto
1a07ded639 updated translation UPDATE.ja file (vPR11 to vPR12) 2011-04-19 22:10:11 +09:00
Fabien Potencier
570a100860 fixed typos 2011-04-19 14:52:15 +02:00
Krzysztof Menżyk
f1ab7da36f [DoctrineBundle] Fix data:load command (--append w/o value) 2011-04-19 14:40:27 +02:00
Johannes M. Schmitt
c660fcd2f2 fixes a bug in the SwitchUserListener 2011-04-19 14:24:37 +02:00
Fabien Potencier
2014ff6856 merged lsmith77/url_generator_null_parameter 2011-04-19 14:21:14 +02:00
Fabien Potencier
dd7b4a13b6 fixed CS 2011-04-19 14:15:50 +02:00
Fabien Potencier
7b87a6143a Merge remote branch 'ivanrey/master'
* ivanrey/master:
  BugFix reflClass is not always initialized getReflClass should be used instead since it initializes the variable if it's not set
  Better Exception Message
  BugFix: In windows environments it is necessary to replace backslash with forward slash in search string as well
2011-04-19 14:13:54 +02:00
Fabien Potencier
95d4bcc5db fixed unit tests (broken by previous commit) 2011-04-19 14:10:41 +02:00
Fabien Potencier
e09a0f9f80 Merge remote branch 'brikou/coding_standards'
* brikou/coding_standards:
  removed empty lines/trailing spaces
2011-04-19 14:06:30 +02:00
Fabien Potencier
4d60d3d985 updated UPDATE file 2011-04-19 14:05:08 +02:00
Fabien Potencier
5ff67a8d54 made request data collector more robust when the user got the request content as a resource 2011-04-19 14:02:32 +02:00
Lukas Kahwe Smith
1ecaade68d added support for parameters with default null 2011-04-18 15:35:05 +02:00
Jordi Boggiano
5e998146c2 [MonologBundle] Make monolog.logger private 2011-04-18 11:06:11 +02:00
Jordi Boggiano
4cdd482762 [MonologBundle] Add logger alias to monolog.logger 2011-04-18 09:27:58 +02:00
Ivan Rey
fa2e4c5dd1 BugFix reflClass is not always initialized getReflClass should be used instead since it initializes the variable if it's not set 2011-04-17 21:35:37 -05:00
Ivan Rey
ef81002634 Better Exception Message 2011-04-17 21:30:23 -05:00
Ivan Rey
cc0832992c BugFix: In windows environments it is necessary to replace backslash with forward slash in search string as well 2011-04-17 21:29:35 -05:00
Fabien Potencier
f4aae27904 Merge remote branch 'lsmith77/add_decoder_interface'
* lsmith77/add_decoder_interface:
  added a DecodeInterface (and SerializerAwareInterface) to make it easier to identify if an Encoder also supports decoding
2011-04-17 19:30:13 +02:00
Lukas Kahwe Smith
874c4b6e07 added a DecodeInterface (and SerializerAwareInterface) to make it easier to identify if an Encoder also supports decoding 2011-04-17 17:00:42 +02:00
Fabien Potencier
7a70236437 Merge remote branch 'schmittjoh/containerBaseClass'
* schmittjoh/containerBaseClass:
  [DependencyInjection] make base class of generated container configurable
2011-04-17 14:15:36 +02:00
Fabien Potencier
62737c2495 Merge remote branch 'hidenorigoto/feature/add-server-param-method'
* hidenorigoto/feature/add-server-param-method:
  [BrowserKit] added tests for setServerParameter/getServerParameter methods
  [BrowserKit] added getServerParameter method which makes setServerParameters/setServerParameter methods testable
  [BrowserKit] added the method to Client which enables to set single server parameter
2011-04-17 14:14:49 +02:00
Fabien Potencier
5861a1b962 Merge remote branch 'merk/security/phpdoc'
* merk/security/phpdoc:
  [Security] Added missing phpdoc
2011-04-17 14:11:49 +02:00
Fabien Potencier
45a551e9d5 [DoctrineBundle] removed unused file 2011-04-17 14:10:13 +02:00
Johannes M. Schmitt
30bac46e1b [DependencyInjection] make base class of generated container configurable 2011-04-17 12:29:33 +02:00
hidenorigoto
43952b3175 [BrowserKit] added tests for setServerParameter/getServerParameter methods 2011-04-17 11:24:55 +09:00
hidenorigoto
1d85a3dcb1 [BrowserKit] added getServerParameter method which makes setServerParameters/setServerParameter methods testable 2011-04-17 11:22:59 +09:00
hidenorigoto
54c3d236c2 [BrowserKit] added the method to Client which enables to set single server parameter 2011-04-17 10:45:32 +09:00
Fabien Potencier
c6818d8bf7 [HttpKernel] added support for controllers as arrays and object with an __invoke method
Controllers can now be any valid PHP callable
2011-04-16 16:26:15 +02:00
Tim Nagel
ad86f9ff0d [Security] Added missing phpdoc 2011-04-16 16:21:04 +10:00
Brikou CARRE
e898445b94 removed empty lines/trailing spaces 2011-04-15 21:12:02 +02:00
Fabien Potencier
db8b118e8a Merge remote branch 'hidenorigoto/fix-methodname-case'
* hidenorigoto/fix-methodname-case:
  [HttpFoundation] fixed wrong method name
2011-04-15 12:53:37 +02:00
Fabien Potencier
7e58c3f976 [Routing] allowed default route variables to be null 2011-04-15 12:04:48 +02:00
hidenorigoto
1e78ec395c [HttpFoundation] fixed wrong method name 2011-04-15 19:04:00 +09:00
Fabien Potencier
ad112da5bc added the request content to the request data collector 2011-04-15 11:31:08 +02:00