Commit Graph

3109 Commits

Author SHA1 Message Date
Christophe Coevoet
d5f2bc5d5a [MonologBundle] Added an exception when a handler is named "debug" 2011-03-20 17:18:05 +01:00
Christophe Coevoet
410837e897 [MonologBundle] Removed the name for the processors configuration as it is not used 2011-03-20 01:29:39 +01:00
Christophe Coevoet
5aaf8bc1b1 Added support of custom handlers defined as services 2011-03-19 23:41:46 +01:00
Christophe Coevoet
9d3acf3073 [MonologBundle] Added the support for formatters and processors
The formatter can be set for an handler. The argument is the id of a
service implementing Monolog\Formatter\FormatterInterface.

Processors can be set on the logger level or for a specific handler. It
can be either a callable service when the value starts with @ either a
callback.
2011-03-19 22:34:45 +01:00
Christophe Coevoet
32836eac01 [MonologBundle] Changed the way to specify the nested handler to give more flexibility for further handlers 2011-03-19 17:41:00 +01:00
Christophe Coevoet
3d7e68ec1c [MonologBundle] Removed useless variable and fixed phpdoc 2011-03-18 13:58:02 +01:00
Christophe Coevoet
46c9d350b0 [MonologBundle] Fixed the fingerscrossed configuration and added unit tests 2011-03-18 13:44:03 +01:00
Christophe Coevoet
4372d5613e Updated the XML namespace of the bundle 2011-03-18 13:08:33 +01:00
Christophe Coevoet
1bb18bf9cc [MonologBundle] Updated the Configuration class to the new syntax 2011-03-18 12:45:42 +01:00
Christophe Coevoet
05e73e8e3b [MonologBundle] Updated to the new XML namespace and the new email 2011-03-18 12:29:40 +01:00
Jordi Boggiano
8176cb220b [MonologBundle] Fix DebugHandler to match Symfony's interface 2011-03-18 12:29:34 +01:00
Christophe Coevoet
9a5cf2a75c Added the DebugHandler when the profiler is activated 2011-03-18 12:29:30 +01:00
Jordi Boggiano
342e14ac29 Udpate for latest monolog version 2011-03-18 12:29:25 +01:00
Jordi Boggiano
8fabca609f Added monolog tags to create all core channels 2011-03-18 12:29:20 +01:00
Jordi Boggiano
7c7a41c083 Updated Logger class to match latest Monolog updates 2011-03-18 12:25:28 +01:00
Jordi Boggiano
0732dfbc1d Fixed typos in previous commits 2011-03-18 12:25:21 +01:00
Christophe Coevoet
327d311b56 Added support for different channels through tags
All channels will use the same handlers but a different channel name.
This allows to easily know which part of the application generated this
message.
2011-03-18 12:25:16 +01:00
Christophe Coevoet
54b0984ced Removed the path validation as the default value is set by the extension 2011-03-18 12:25:10 +01:00
Christophe Coevoet
e60941791c Added support of NullHandler and TestHandler 2011-03-18 12:25:04 +01:00
Christophe Coevoet
c4f5a84868 Refactored the configuration class to be DRY 2011-03-18 12:24:59 +01:00
Christophe Coevoet
893bafdcc5 Fixed previous commit 2011-03-18 12:24:54 +01:00
Jordi Boggiano
e8f2c0fe24 [MonologBundle] Added path validation 2011-03-18 12:24:48 +01:00
Jordi Boggiano
b391d684af [MonologBundle] Some code reorganisation 2011-03-18 12:24:43 +01:00
Christophe Coevoet
df4dff002e Fixed Configuration class, updated XSD schema and resolved some TODOs 2011-03-18 12:24:36 +01:00
Jordi Boggiano
3d03cb6761 Added monolog to autoload and vendors script 2011-03-18 12:24:31 +01:00
Jordi Boggiano
6114cccf7f [MonologBundle] Added the MonologBundle 2011-03-18 12:24:26 +01:00
Fabien Potencier
341a296c42 [DoctrineBundle] fixed configuration class 2011-03-18 12:14:50 +01:00
Fabien Potencier
acc3590849 Merge remote branch 'stof/custom_dql' 2011-03-18 12:11:07 +01:00
Fabien Potencier
0d052201fe [FrameworkBundle] fixed class load order 2011-03-18 12:07:42 +01:00
Fabien Potencier
f0c558592c Merge remote branch 'everzet/console-formatter-refactoring' 2011-03-18 11:58:05 +01:00
Fabien Potencier
c5a6c8432f Merge remote branch 'vicb/templating' 2011-03-18 11:54:20 +01:00
Fabien Potencier
3627eee3c6 Merge remote branch 'vicb/cfg_rebase'
* vicb/cfg_rebase:
  [Config] Ability to add and override node types without having to subclass NodeBuilder
  [DoctrineBundle] Fix some typos
  [SwiftMailerBundle] Fix a merge issue in the configuration
  Tweak PHPDocs in the extension configuration files
  [Config] Component refactoring
2011-03-18 11:41:43 +01:00
Victor Berchet
f89a5ff3b8 [TwigBundle] Fix some typos 2011-03-18 11:30:23 +01:00
Victor Berchet
7f523466f4 [TwigBundle] Fix the cache warmer 2011-03-18 11:23:23 +01:00
Victor Berchet
cead49fa2b [Kernel] Fixed a typo 2011-03-18 11:17:56 +01:00
Fabien Potencier
060f34fca9 [FrameworkBundle] fixed class loading order 2011-03-18 09:24:07 +01:00
Fabien Potencier
136b23ead4 [EventDispatcher] refactored the code
* The array returned by getListeners() now removes the listener hash as the key (as this is an implementation detail)
 * The sort method now guarantees that a listener registered before another will stay in the same order even for the same priority (for BC)
 * Made various optimizations
2011-03-18 09:01:22 +01:00
Fabien Potencier
69d324eca8 [EventDispatcher] added EventDispatcher::removeSubscriber() 2011-03-18 09:00:58 +01:00
Fabien Potencier
10a02ff7fa [EventDispatcher] reverted to the old event dispatcher way of storing listeners 2011-03-18 08:09:42 +01:00
Fabien Potencier
9e88fc4e66 Merge remote branch 'kriswallsmith/kernel/uploaded-file-for-test' 2011-03-18 08:02:16 +01:00
Fabien Potencier
e286adf173 [Security] fixed typos 2011-03-18 07:58:51 +01:00
Fabien Potencier
9de0a3872b Merge branch 'events'
* events:
  [FrameworkBundle] fixed the traceable event manager
  [EventDispatcher] made order deterministic (first registered one stay first) -- this makes the new system more compatible with the old one
  [FrameworkBundle] fixed class loading order
  fixed various bugs introduced during the event system migration
  renamed filterCore* to onCore*
  fixed CS
  fixed phpdoc
  renamed some methods in the event dispatcher
  [HttpKernel] Removed unused onCoreSecurity event
  [Security] Fixed method names in the Firewall listeners
  [HttpKernel] Added more code documentation to the HttpKernel events
  [Security] Fixed method calls on EventDispatcher
  [FrameworkBundle] Removed EventSubscriber support for DI tags because it currently cannot be implemented
  [Security] Fixed calls to EventDispatcher::dispatchEvent()
  Switched from Doctrine's EventManager implementation to the EventManager clone in Symfony2 (now called EventDispatcher again)
  [EventDispatcher] Replaced EventDispatcher by Doctrine's implementation
  Renamed EventArgs classes and adapted remaining code to EventManager
  Replaced EventDispatcher by Doctrine's EventManager implementation
2011-03-18 07:52:05 +01:00
Fabien Potencier
d02a700c06 [FrameworkBundle] fixed the traceable event manager 2011-03-18 07:42:41 +01:00
Fabien Potencier
59ac6313ad [EventDispatcher] made order deterministic (first registered one stay first) -- this makes the new system more compatible with the old one 2011-03-18 07:36:02 +01:00
Fabien Potencier
a71f63e61d [FrameworkBundle] fixed class loading order 2011-03-18 07:36:02 +01:00
Fabien Potencier
1af43a1562 fixed various bugs introduced during the event system migration 2011-03-18 07:35:59 +01:00
Victor Berchet
9fd7d05ecf [Config] Ability to add and override node types without having to subclass NodeBuilder 2011-03-18 00:32:35 +01:00
Kris Wallsmith
a9af77a035 [HttpKernel] fixed file uploads in functional tests 2011-03-17 16:09:31 -07:00
Kris Wallsmith
0a229947a6 [Form] updated tests for changes in HttpFoundation 2011-03-17 16:09:12 -07:00
Kris Wallsmith
ab3b8ac364 [HttpFoundation] cleaned up comments and coding standards, added better exception messages when filesystem functions throw errors, added "moved" arg to UploadedFile constructor, added FileNotFoundException to UploadedFile per the parent constructor 2011-03-17 16:07:53 -07:00