Commit Graph

4951 Commits

Author SHA1 Message Date
Fabien Potencier
05a946bf9d [DoctrineBundle] re-introduced parameters in the DIC for better overridability 2011-05-13 14:34:16 +02:00
Fabien Potencier
0de8a55f02 [SecurityBundle] re-introduced parameters in the DIC for better overridability 2011-05-13 14:34:14 +02:00
Fabien Potencier
36d60a4a87 [HttpKernel] fixed previous commit 2011-05-13 14:18:58 +02:00
Fabien Potencier
07580335b0 [HttpKernel] changed ExceptionHandler to be more like ErrorHandler 2011-05-13 14:14:36 +02:00
Fabien Potencier
0b367b9489 [DependencyInjection] tweaked error messages 2011-05-13 12:52:44 +02:00
Christophe Coevoet
c2f074b7d5 [DependencyInjection] Fixed a property visibility in GraphvizDumper and removed a useless instanciation in the test 2011-05-13 12:18:09 +02:00
Victor Berchet
ae4bfbada4 [Form] fix calling closures 2011-05-13 11:01:31 +02:00
Victor Berchet
b2b3b190ef [Form] Add a missing property delcaration in the ResizeFormListener 2011-05-13 11:01:27 +02:00
Victor Berchet
87a6fd0f99 [Form] phpDoc 2011-05-13 11:00:04 +02:00
Fabien Potencier
23235d8513 Merge remote branch 'jmikola/patch-1'
* jmikola/patch-1:
  [Form] Refer to FormView explicitly in its own getParent() type-hint
2011-05-13 09:24:45 +02:00
Adrian Rudnik
90f5420ada [Process] Wrong descriptor mode for stderr 2011-05-13 03:08:55 +02:00
Adrian Rudnik
24216b4ee3 Fixed wrong descriptor mode for stderr 2011-05-13 02:22:14 +02:00
Martin Schuhfuss
8340ac628d CS fixes in unit-test 2011-05-13 01:08:37 +02:00
Chekote
88d94dd59f Fixed reference to $this, when not in object context 2011-05-12 16:21:13 -05:00
Martin Schuhfuss
571768b9b9 [Yaml] added exceptions when non-utf8 encoding is detected
encoding is detected using the `mb_detect_encoding()`-function
in strict-mode. Checking is done before the parsing starts.
Without this patch, the calls to `preg_replace()` using the
'u'-modifier would cause the non-utf8-string being processed
to be empty when parsing starts which makes the parsing return
no result.
2011-05-12 22:02:56 +02:00
Fabien Potencier
8f426c0c77 [HttpKernel] added an exception handler to be used during boot time
This can be used as a PHP exception handler:

set_exception_handler(new DebugExceptionHandler());
2011-05-12 17:49:37 +02:00
Fabien Potencier
4adb4e9dc0 merged schmittjoh/removeExits 2011-05-12 17:47:59 +02:00
Joseph Bielawski
23b34749f9 Fix for bug when using APC in version 3.1.4 2011-05-12 07:50:47 -07:00
Joseph Bielawski
ec3ea65819 Throw an exception when APC is not loaded but cache is enabled in app config 2011-05-12 07:44:22 -07:00
Fabien Potencier
df67d6a3b1 Merge remote branch 'lenar/exception-logging'
* lenar/exception-logging:
  More information about exception when logging
2011-05-12 16:12:07 +02:00
lenar
2a09fe5e09 More information about exception when logging 2011-05-12 17:00:46 +03:00
Joseph Bielawski
d43894b42e Remove invalid code-coverage annotions 2011-05-12 06:46:53 -07:00
Fabien Potencier
02a81de9d6 Merge remote branch 'fabpot/form-put'
* fabpot/form-put:
  [HttpFoundation] fixed typo
  [HttpFoundation] moved the PUT magic dance in createFromGlobals()
  added support for PUT method
2011-05-12 14:46:12 +02:00
Fabien Potencier
0848604ce1 [HttpFoundation] fixed typo 2011-05-12 14:45:39 +02:00
Fabien Potencier
08846af9e2 [HttpFoundation] moved the PUT magic dance in createFromGlobals() 2011-05-12 14:45:38 +02:00
Fabien Potencier
efd1f1358c added support for PUT method 2011-05-12 14:45:38 +02:00
Fabien Potencier
ae9ab29c0c Merge remote branch 'weaverryan/security_context_exception_improvement'
* weaverryan/security_context_exception_improvement:
  [Security] Improving the exception when the security context has no token
2011-05-12 14:41:31 +02:00
Fabien Potencier
3a16f3141a Merge remote branch 'lenar/monolog-group-handler'
* lenar/monolog-group-handler:
  [MonologBundle] Add AbstractProcessingHandler to list of compiled classes
  [MonologBundle] Fix schema XML (_ -> -)
  [MonologBundle] Fix config definitions, remove now-redundant tests
  [MonologBundle] Add missing GroupHandler schema definitions
  [MonologBundle] Add missing MailHandler schema definitions
  [MonologBundle] Add support for GroupHandler
2011-05-12 14:40:28 +02:00
Fabien Potencier
aebc529e8e Merge remote branch 'jsor/response_tostring'
* jsor/response_tostring:
  [HttpFoundation] replaced LF by CRLF as per the spec
2011-05-12 14:36:36 +02:00
Fabien Potencier
0a3ff1c737 [HttpKernel] fixed default ESI cache strategy when the page does not contain ESIs 2011-05-12 13:54:48 +02:00
lenar
0985f16030 [MonologBundle] Add AbstractProcessingHandler to list of compiled classes 2011-05-12 12:18:56 +03:00
lenar
d6d3516d84 [MonologBundle] Fix schema XML (_ -> -) 2011-05-12 12:02:03 +03:00
lenar
b734a63b81 [MonologBundle] Fix config definitions, remove now-redundant tests 2011-05-12 11:31:53 +03:00
lenar
b8f57c4bcd [MonologBundle] Add missing GroupHandler schema definitions 2011-05-12 10:52:47 +03:00
lenar
20c77ac400 [MonologBundle] Add missing MailHandler schema definitions 2011-05-12 10:50:32 +03:00
Beau Simensen
7adedf9ce9 [HttpKernel] Fix to disable busyTimeout if it does not exist. 2011-05-11 17:09:59 -07:00
jsor
d39c3be779 [HttpFoundation] replaced LF by CRLF as per the spec 2011-05-12 00:08:05 +02:00
Joseph Bielawski
bf87a35595 Better comment about no test IP6 addresses for "FILTER_FLAG_NO_RES_RANGE" 2011-05-11 14:18:45 -07:00
Jeremy Mikola
61dc1af65b [Form] Refer to FormView explicitly in its own getParent() type-hint
Using "self" makes mocking impossible, as the type-hint would then refer to the extending class and make the declaration incompatible.
2011-05-11 14:11:43 -07:00
Ryan Weaver
1de34fde98 [Security] Improving the exception when the security context has no token
This either mostly - or always - means that no firewall is currently activated. This message tries to alert the user to this.

Reword
2011-05-11 15:09:36 -05:00
Fabien Potencier
0bad012290 [FrameworkBundle] changed template string by TemplateReference instances in ExceptionController 2011-05-11 18:33:59 +02:00
Fabien Potencier
514b47c6d4 [FrameworkBundle] added a simple way to customize errors according to the HTTP status code 2011-05-11 18:02:50 +02:00
Victor Berchet
f68d16fdff [Form] Fix the Form fluid interface 2011-05-11 17:08:53 +02:00
Fabien Potencier
3ec3fa219b [HttpKernel] fixed a hardcoded variable 2011-05-11 16:43:00 +02:00
stloyd
5997b930a5 Refactoring of IpValidator to use native php filter extension, also adding additional flag support and test cover. 2011-05-11 13:19:03 +02:00
Jeremie Augustin
bea448339b [Form] replace assertEquals by assertFalse, assertTrue, assertNull 2011-05-11 11:19:21 +02:00
Jeremie Augustin
d3db844cfa [Form] fix file permissions to 644 again ;) 2011-05-11 11:19:21 +02:00
Jeremie Augustin
fb0a37f9ba [Form] add tests for type_options in collectionType 2011-05-11 11:19:21 +02:00
Jeremie Augustin
0077963584 fix file permissions to 644 2011-05-11 11:19:21 +02:00
Jeremie Augustin
b5277752b7 [Form] add type_options for CollectionType to be abble to set options to type 2011-05-11 11:19:21 +02:00