Commit Graph

3378 Commits

Author SHA1 Message Date
Fabien Potencier
e520956624 [FrameworkBundle] fixed help for cache:warmup 2011-03-21 10:03:32 +01:00
Fabien Potencier
82a5ae669e [FrameworkBundle] fixed merge problem 2011-03-21 09:43:41 +01:00
Fabien Potencier
5a528bcb55 [FrameworkBundle] change cache:clear warmup option to no-warmup as most of the time people will want to use the warmup version (especially in production env) 2011-03-21 09:39:28 +01:00
Fabien Potencier
00d47889a2 [FrameworkBundle] removed hardcoded AppKernel class name 2011-03-21 09:33:58 +01:00
Fabien Potencier
b00a903858 [FrameworkBundle] removed clearDir() method in some commands (use Filesystem::remove() instead) 2011-03-21 09:31:04 +01:00
Fabien Potencier
45f9c2fbf4 merged francisbesset:cache_clear_command 2011-03-21 09:24:16 +01:00
Johannes M. Schmitt
ede59926a4 Merge branch 'interactive-login-event' of git://github.com/yethee/symfony into security 2011-03-21 09:18:55 +01:00
Clément Jobeili
34e3574e2b [SwiftmailerBundle] Change Twig if syntax in panel info 2011-03-21 09:16:28 +01:00
Fabien Potencier
3f7564b00c Merge remote branch 'shieldo/toolbar_alignment' 2011-03-21 09:07:23 +01:00
Clément Jobeili
f8dead7782 Change Message sent text to Message spooled if we are in a spool context 2011-03-21 09:01:50 +01:00
Douglas Greenshields
53a9997e23 [WebProfilerBundle] added explicit left horizontal alignment for toolbar in CSS to prevent inconsistent alignment 2011-03-20 21:34:07 +00:00
H. Westphal
06bfe82bc1 Added doctrine:mongodb:cache:clear-metadata command. 2011-03-20 17:23:47 +01:00
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
Fabien Potencier
a505ff43b5 [Routing] added supported for multiple route annotations for a single controller 2011-03-19 17:40:24 +01:00
Miha Vrhovnik
e35832ef2d Fixing failure on forward which was broken by Event refactoring 2011-03-19 13:06:52 +01:00
Fabien Potencier
38a851539f Merge remote branch 'stof/security_fix' 2011-03-19 12:53:41 +01:00
Christophe Coevoet
a6265e9337 [SecurityBundle] Fixed some config node to allow to unset them 2011-03-19 12:40:51 +01:00
Amal Raghav
eff6bc8a80 fix to use setException 2011-03-19 17:08:34 +05:30
Fabien Potencier
904cf6145e Merge remote branch 'everzet/routing-config-errors' 2011-03-19 12:27:38 +01:00
everzet
e4eee05b06 [Routing] tuned exception message 2011-03-19 12:58:31 +02:00
everzet
3fd50ea4e6 [Routing] throw an exception if route config has unsupported keys 2011-03-19 12:54:29 +02:00
ornicar
7440db7244 [HttpFoundation] Make sure Request::getLanguages always returns an array 2011-03-19 01:34:54 -07:00
Deni
5e40695272 [Security] Added a type hint. 2011-03-19 01:32:33 +03:00
Fabien Potencier
cdfc731ff5 Merge remote branch 'schmittjoh/security' 2011-03-18 21:07:11 +01:00
Fabien Potencier
f990bf96ee Merge remote branch 'ornicar/removeNamespaceInSwitchUserListener' 2011-03-18 20:57:48 +01:00
Fabien Potencier
e9418c4ef3 Merge remote branch 'ornicar/fixMongoDicCompiler' 2011-03-18 20:57:24 +01:00
Fabien Potencier
9b331489c3 Merge remote branch 'FabienPennequin/fix_doctrine_events' 2011-03-18 20:57:18 +01:00
ornicar
5e75c66a66 [Security] Remove duplicated namespace in SwitchUserListener 2011-03-18 12:30:09 -07:00
Johannes Schmitt
7e1c4d5748 [Security] removed un-needed event parameter from many interfaces 2011-03-18 20:20:19 +01:00
ornicar
f514e106e3 [DoctrineMongoDBBundle] Fix listener registration method calls in DIC compiler 2011-03-18 11:50:53 -07:00
Fabien Pennequin
8d9613b4b1 [DoctrineBundle] Fixed method calls for listener/subscriber services 2011-03-18 19:39:03 +01:00
Fabien Potencier
5658d224fd Merge remote branch 'hhamon/security_token_fix' 2011-03-18 19:32:28 +01:00
Fabien Potencier
263c32aff0 Merge remote branch 'schmittjoh/security' 2011-03-18 19:31:57 +01:00
Fabien Potencier
b7806cdb8d Merge remote branch 'kriswallsmith/http/html-errors' 2011-03-18 19:20:16 +01:00
Kris Wallsmith
73db141ce6 [HttpFoundation] stripped tags from native error messages in case html_errors is on 2011-03-18 11:11:42 -07:00
Fabien Potencier
bd8d2b829f [EventDispatcher] changed listener storage to use SplObjectStorage to avoid collisions 2011-03-18 18:48:26 +01:00
hhamon
681a3b7ff0 [Security] removed import of the UserInterface interface as it is unused in the file and fix some phpdoc. 2011-03-18 18:44:04 +01:00
Johannes Schmitt
a56dbec6d8 [Security] removed un-needed event parameter from many interfaces 2011-03-18 18:26:55 +01:00
Kris Wallsmith
e596931dc8 [DomCrawler] enabled removal of form fields to allow emulating javascript in a functional test 2011-03-18 09:39:08 -07:00
Fabien Potencier
f36b10afe7 [WebProfilerBundle] removed the link on the controller name when the IDE is not configured 2011-03-18 16:39:19 +01:00
Fabien Potencier
2d9ae36119 Merge remote branch 'vicb/one_more_thing' 2011-03-18 16:32:35 +01:00
Fabien Potencier
62a4c70b7f Merge remote branch 'adanlobato/FixDoctrineMappingImport' 2011-03-18 16:31:55 +01:00
Fabien Potencier
962372c2d4 Merge remote branch 'thesalla/hungarian_translations' 2011-03-18 16:30:14 +01:00
Adan Lobato
2daab466c2 =Fixed a Notice level error thrown when running doctrine:mapping:import, was undefined. 2011-03-18 16:20:20 +01:00
Gyula Sallai
89a593423d [FrameworkBundle] Fixed typos and corrected some minor grammatical mistakes in hungarian validator translations 2011-03-18 16:09:55 +01:00
Fabien Potencier
0c8ff92ecd made the controller name in the WDT clickable 2011-03-18 16:09:21 +01:00
Victor Berchet
d959a3ed4b [TwigBundle] Rename the cache warmer service 2011-03-18 15:48:34 +01:00
Fabien Potencier
f97006f738 [FrameworkBundle] fixed IDE setting for exceptions 2011-03-18 15:47:44 +01:00
Fabien Potencier
0917f0d406 [WebProfilerBundle] updated the close icon for the WDT 2011-03-18 15:21:47 +01:00
Fabien Potencier
9d8c053d42 updated icons for swiftmailer and security 2011-03-18 15:19:39 +01:00
Fabien Potencier
20a717ea3c [WebProfileBundle] added the controller callable name in the WDT (also tweaked the CSS to free some space) 2011-03-18 14:57:41 +01:00
Fabien Potencier
4d521e159d [WebProfilerBundle] removed old icon 2011-03-18 14:24:55 +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
Fabien Potencier
0fbffde1f4 [WebProfilerBundle] changed the license for the icons as they have been changed to new customized ones 2011-03-18 13:04:59 +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
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
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
Kris Wallsmith
69609257ac [DomCrawler] updated upload logic to better emulate a real upload by copying the source file to the temp directory 2011-03-17 16:06:47 -07:00
Christophe Coevoet
2743abc35d [DoctrineBundle] Fix some typos 2011-03-17 23:14:18 +01:00
Victor Berchet
a96b1fb48b [SwiftMailerBundle] Fix a merge issue in the configuration 2011-03-17 18:00:02 +01:00
ever.zet
3e7fa82f34 [Console] privatized protected variables, cuz they now have getters/setters 2011-03-17 18:51:37 +02:00
ever.zet
aa084dbc45 [Console] moved whole constructor definitions in one line 2011-03-17 18:51:01 +02:00
Fabien Potencier
6c8e71c8e7 renamed filterCore* to onCore*
The onCore* events are fired at some pre-defined points during the
handling of a request. At this is more important than the fact
that you can change things from the event.
2011-03-17 17:01:59 +01:00
ever.zet
8b885a991c [Console] updated console and stream outputs to support new output formatter 2011-03-17 17:53:46 +02:00
ever.zet
644cf612b3 [Console] updated console output to support new output formatter and styles 2011-03-17 17:52:36 +02:00
ever.zet
4fe2efd49e [Console] implemented output formatter to decorate and format output messages 2011-03-17 17:51:49 +02:00
ever.zet
e5700b817b [Console] implemented output formatter style class for defining custom styles 2011-03-17 17:51:25 +02:00
ever.zet
65681cdc85 [Console] added output formatter interfaces 2011-03-17 17:50:42 +02:00
Victor Berchet
0e84757d94 Tweak PHPDocs in the extension configuration files 2011-03-17 16:29:03 +01:00
Victor Berchet
1e0ed22c55 [Config] Component refactoring
The Config component API have changed and the extension configuration files must be updated accordingly:

1. Array nodes must enclosed their children definition in ->children() ... ->end() calls:

Before:

    $treeBuilder->root('zend', 'array')
        ->arrayNode('logger')
            ->scalarNode('priority')->defaultValue('INFO')->end()
            ->booleanNode('log_errors')->defaultFalse()->end()
        ->end();

After:

    $treeBuilder->root('zend', 'array')
        ->children()
            ->arrayNode('logger')
                ->children()
                    ->scalarNode('priority')->defaultValue('INFO')->end()
                    ->booleanNode('log_errors')->defaultFalse()->end()
                ->end()
            ->end()
        ->end();

2. The 'builder' method (in NodeBuilder) has been dropped in favor of an 'append' method (in ArrayNodeDefinition)

Before:

    $treeBuilder->root('doctrine', 'array')
        ->arrayNode('dbal')
            ->builder($this->getDbalConnectionsNode())
        ->end();

After:

    $treeBuilder->root('doctrine', 'array')
        ->children()
            ->arrayNode('dbal')
                ->append($this->getDbalConnectionsNode())
            ->end()
        ->end();

3. The root of a TreeBuilder is now an NodeDefinition (and most probably an ArrayNodeDefinition):

Before:

    $root = $treeBuilder->root('doctrine', 'array');
    $this->addDbalSection($root);

    public function addDbalSection(NodeBuilder $node)
    {
        ...
    }

After:

    $root = $treeBuilder->root('doctrine', 'array');
    $this->addDbalSection($root);

    public function addDbalSection(ArrayNodeDefinition $node)
    {
        ...
    }

4. The NodeBuilder API has changed (this is seldom used):

Before:

    $node = new NodeBuilder('connections', 'array');

After:

The recommended way is to use a tree builder:

    $treeBuilder = new TreeBuilder();
    $node = $treeBuilder->root('connections', 'array');

An other way would be:

    $builder = new NodeBuilder();
    $node = $builder->node('connections', 'array');

Some notes:

- Tree root nodes should most always be array nodes, so this as been made the default:

    $treeBuilder->root('doctrine', 'array') is equivalent to $treeBuilder->root('doctrine')

- There could be more than one ->children() ... ->end() sections. This could help with the readability:

    $treeBuilder->root('doctrine')
        ->children()
            ->scalarNode('default_connection')->end()
        ->end()
        ->fixXmlConfig('type')
        ->children()
            ->arrayNode('types')
                ....
            ->end()
        ->end()
2011-03-17 16:26:15 +01:00
Fabien Potencier
9d0b6f0012 fixed CS 2011-03-17 16:09:25 +01:00
Fabien Potencier
794b3b8e86 fixed phpdoc 2011-03-17 16:02:36 +01:00
Fabien Potencier
1219b98ec5 renamed some methods in the event dispatcher 2011-03-17 15:27:42 +01:00
Jan Prieser
60c1159b2e [DependecyInjection] fixed typo. Using InterfaceInjectors broke methodCalls. 2011-03-17 15:03:16 +01:00
Fabien Potencier
663b0a97ac Merge remote branch 'bschussek/event-manager' 2011-03-17 15:02:26 +01:00
Christophe Coevoet
da938adade [SwiftmailerBundle] Changed the default logging value to kernel.debug 2011-03-17 13:35:41 +01:00
Bernhard Schussek
c02f4220f2 [HttpKernel] Removed unused onCoreSecurity event 2011-03-17 13:24:38 +01:00
Bernhard Schussek
466f1b99c5 [Security] Fixed method names in the Firewall listeners 2011-03-17 13:24:23 +01:00
Bernhard Schussek
ab57e5c611 [HttpKernel] Added more code documentation to the HttpKernel events 2011-03-17 13:06:32 +01:00
Bernhard Schussek
ffdc879624 [Security] Fixed method calls on EventDispatcher 2011-03-17 12:34:30 +01:00
Bernhard Schussek
5f14d8d6aa Merge remote branch 'symfony/master' into event-manager
Conflicts:
	src/Symfony/Bundle/AsseticBundle/CacheWarmer/AssetWriterCacheWarmer.php
	src/Symfony/Bundle/AsseticBundle/Tests/CacheWarmer/AssetWriterCacheWarmerTest.php
	src/Symfony/Bundle/FrameworkBundle/Profiler/ProfilerListener.php
	src/Symfony/Bundle/FrameworkBundle/Resources/config/profiling.xml
	src/Symfony/Component/HttpKernel/HttpKernel.php
	src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php
	src/Symfony/Component/Security/Http/Firewall/AbstractPreAuthenticatedListener.php
2011-03-17 12:34:12 +01:00
Fabien Potencier
d5396f64de [HttpFoundation] fixed a small bug on Windows 2011-03-17 12:28:29 +01:00
Bernhard Schussek
de5748070d [FrameworkBundle] Removed EventSubscriber support for DI tags because it currently cannot be implemented 2011-03-17 12:22:49 +01:00
Bernhard Schussek
73464f411e Merge remote branch 'Infranology/intl-stub' into intl-stub 2011-03-17 11:20:52 +01:00
Bernhard Schussek
f966c30c8b Merge remote branch 'symfony/master' into intl-stub 2011-03-17 11:20:25 +01:00
Fabien Potencier
e8b0b488cb [HttpKernel] moved exception management logic to its own method 2011-03-17 09:16:53 +01:00
Fabien Potencier
b0948063b2 [SwiftmailerBundle] tweaked profiler template 2011-03-17 08:14:44 +01:00
Fabien Potencier
8c6f135534 [SwiftmailerBundle] made data collector configurable via the logging option 2011-03-17 08:12:18 +01:00
Fabien Potencier
95532cc1de [WebProfilerBundle] tweaked profiler CSS 2011-03-17 08:12:15 +01:00
Fabien Potencier
ee70656030 [WebProfileBundle] removed the logger info in the WDT if no error has been recorded (to save space on smaller screens) 2011-03-17 07:47:05 +01:00
Fabien Potencier
3071dd0519 [DoctrineBundle] renamed data_collector to be coherent with all others 2011-03-17 07:42:25 +01:00
Fabien Potencier
610ddf0e74 [SwiftmailerBundle] fixed typo 2011-03-17 07:38:02 +01:00
Fabien Potencier
c2bc35d0e6 [SwiftmailerBundle] renamed data collector 2011-03-17 07:38:02 +01:00
Fabien Potencier
3346e291f2 [SwiftmailerBundle] added the mailer as a dependency to the data collector to ensure that Swiftmailer is always initialized 2011-03-17 07:37:59 +01:00
Fabien Potencier
bde928be86 [SwiftmailerBundle] re-added phpdoc from symfony 1.4 and simplified code copy and pasted from symfony 1.4 2011-03-17 07:36:18 +01:00
Fabien Potencier
b479116e50 Merge remote branch 'dator/swiftmailer_profiler' 2011-03-17 07:14:09 +01:00
Fabien Potencier
14903ce915 [HttpKernel] removed the need to call getRootDir() more than once 2011-03-16 21:50:24 +01:00
Fabien Potencier
a6411cb712 [HttpKernel] fixed phpdoc 2011-03-16 21:39:30 +01:00
Fabien Potencier
7edb1a5f13 fixed previous commit 2011-03-16 21:39:30 +01:00
Fabien Potencier
4da43df963 merged vicb/kernel 2011-03-16 21:30:23 +01:00
Fabien Potencier
f48512cd54 [HttpKernel] renamed default profiler table to sf_profiler_data 2011-03-16 20:47:50 +01:00
Fabien Potencier
adf3d02695 Merge remote branch 'kriswallsmith/assetic/rm-event' 2011-03-16 19:38:15 +01:00
Fabien Potencier
0610385615 Merge remote branch 'vicb/profiler_liquid' 2011-03-16 19:37:02 +01:00
Fabien Potencier
e6ebf4da4c fixed small bug in sub-request profiling 2011-03-16 19:33:55 +01:00
Clément Jobeili
463591afbe Add Licence and Documentation 2011-03-16 18:22:38 +01:00
Clément Jobeili
1342752e7e Add the message body et charset 2011-03-16 18:21:43 +01:00
Victor Berchet
d56fadfbb9 [WebProfilerBundle] Use a liquid layout rather than a fixed width layout. 2011-03-16 18:02:55 +01:00
Clément Jobeili
df08655e97 Add a DataCollector for the SwiftmailerBundle 2011-03-16 17:57:04 +01:00
Fabien Potencier
ad3b7e912d merged noelg/profiler 2011-03-16 16:44:44 +01:00
Kris Wallsmith
caaff216df [AsseticBundle] removed assetic.write event 2011-03-16 08:36:36 -07:00
Fabien Potencier
005287ac88 Merge remote branch 'kriswallsmith/templating/asset-packages' 2011-03-16 16:18:45 +01:00
Fabien Potencier
13cac29a31 Merge remote branch 'stof/php_globals' 2011-03-16 16:04:05 +01:00
Fabien Potencier
28d9b331bd [FrameworkBundle] made the profiler easily configurable 2011-03-16 15:58:56 +01:00
Fabien Potencier
8cc37eaa23 [HttpKernel] fixed CS 2011-03-16 15:16:21 +01:00
Fabien Potencier
f9d2f69ca8 Merge remote branch 'janschumann/mysql_profiler_storage' 2011-03-16 15:09:07 +01:00
Christophe Coevoet
8dc6464aa4 [FrameworkBundle] Fixed previous commit and added some tests for PHP globals 2011-03-16 15:04:19 +01:00
Fabien Potencier
ae7a2df104 fixed CS 2011-03-16 14:45:34 +01:00
Fabien Potencier
ac49289451 Merge remote branch 'rrehbeindoi/master' 2011-03-16 14:44:44 +01:00
Fabien Potencier
2a6e299d52 Merge remote branch 'kriswallsmith/http/apache-request' 2011-03-16 14:31:16 +01:00
Kris Wallsmith
a5d8770a54 [HttpFoundation] fixed ApacheRequest, added tests 2011-03-16 06:13:01 -07:00
Fabien Potencier
429d927e8c Merge remote branch 'hason/extensions' 2011-03-16 13:37:06 +01:00
Christophe Coevoet
61abc3d01f Added the global variable in PHP templates too 2011-03-16 13:11:29 +01:00
Fabien Potencier
05ab74e7b9 [SecurityBundle] simplified things 2011-03-16 12:58:52 +01:00
Martin Hason
e441fc95a8 [AbstractDoctrineBundle] fixed typo 2011-03-16 11:33:21 +01:00
Martin Hason
aae492f79b removed unused use statements in DIC extensions 2011-03-16 11:29:41 +01:00
Martin Hason
3bdacafb1b [SecurityBundle] simplified resource location 2011-03-16 10:32:37 +01:00
Fabien Potencier
2cf0601f18 [SecurityBundle] made the anonymous key parameter configurable and random by default 2011-03-16 09:31:28 +01:00
Fabien Potencier
e0df94cb8b [Config] added the possibility to use a Closure for default values 2011-03-16 09:30:51 +01:00
Fabien Potencier
2610e1b699 [SecurityBundle] made user and credentials configuration for X509 authentication 2011-03-16 09:30:48 +01:00
Fabien Potencier
b638cf07a5 [SecurityBundle] made realm configurable for HTTP basic and digest authentication 2011-03-16 09:29:44 +01:00
Christophe Coevoet
5c2e0898d1 [DoctrineBundle] Added a way to register custom DQL functions through the configuration 2011-03-16 02:05:23 +01:00
Fabien Potencier
db27b4d288 [SecurityBundle] made a small tweak to the WDT panel 2011-03-15 22:52:09 +01:00
Fabien Potencier
11f42a82dc [SecurityBundle] added a note about why a user can be logged in but not authenticated 2011-03-15 22:02:26 +01:00
Fabien Potencier
39504fc98d [SecurityBundle] made some tweaks to the security profiler panel 2011-03-15 21:50:56 +01:00
Fabien Potencier
44c95f97a4 [SecurityBundle] fixed profiler template when the user is logged in but has no roles 2011-03-15 21:48:49 +01:00
Fabien Potencier
345e2d39b5 [SecurityBundle] tweaked WDT security tab 2011-03-15 21:02:36 +01:00
Fabien Potencier
29954e3fce Merge remote branch 'maxbeutel/upstream' 2011-03-15 21:00:00 +01:00
Fabien Potencier
d7663e7046 [SecurityBundle] fixed the anonymous listener which was always registered 2011-03-15 20:44:46 +01:00
max
e2542962df reinitialize array so arguments dont stack up 2011-03-15 12:08:13 -07:00
Ray
c2908cdaa0 Allow collection's internal keys to be mixed case 2011-03-15 09:35:40 -05:00
Jan Schumann
c7cde09d1c fixed coding standard 2011-03-15 14:16:19 +01:00
Jan Schumann
bbfb1ffb53 fixed coding standard 2011-03-15 14:08:43 +01:00
Jan Schumann
d1ebc8da9f - Added abstract PDO profiler storage, updated sqlite storage and added a mysql storage.
- Updated profiler config in framework bundle
2011-03-15 14:08:43 +01:00
Fabien Potencier
e5fad94482 [HttpKernel] fixed a unit test 2011-03-15 13:43:45 +01:00
Fabien Potencier
18de62ccb1 Merge remote branch 'schmittjoh/security' 2011-03-15 13:39:34 +01:00
Fabien Potencier
d2c36d57c8 Merge remote branch 'ajessu/HelpMessage' 2011-03-15 13:38:08 +01:00
Fabien Potencier
50e463977b Merge remote branch 'vicb/profiler_again' 2011-03-15 13:37:52 +01:00
Albert Jessurum
bfb7d634bb Improved default message on doctrine:database:drop command 2011-03-15 12:04:33 +01:00
Fabien Potencier
b6528c3ea6 Merge remote branch 'hason/container_class' 2011-03-15 11:41:05 +01:00
Fabien Potencier
be1bfa6e1e Merge remote branch 'hason/kernel' 2011-03-15 11:40:34 +01:00
Martin Hason
ba9653d99a [HttpKernel] optimized getContainerLoader 2011-03-15 11:00:45 +01:00
Igor Wiedler
b9cd2f1f06 [FrameworkBundle] fix addCompilerPass typo 2011-03-15 09:29:59 +01:00
Martin Hason
cef70893df [HttpKernel], [FrameworkBundle] added method getContainerClass and parameter kernel.container_class 2011-03-15 09:16:02 +01:00
Johannes M. Schmitt
98216a9af2 [DependencyInjection] refactored some more exceptions 2011-03-14 21:14:49 +01:00
hhamon
201cb65ecd [SecurityBundle] fixed typo in security_rememberme.xml services definition 2011-03-14 19:46:11 +01:00
Fabien Potencier
14d58d97bc [ClassLoader] made a small change to be consistent with the previous change 2011-03-14 18:46:05 +01:00
Fabien Potencier
f4e4a2aa1b refactored ConfigCache and optimized container:debug task 2011-03-14 18:37:25 +01:00
Fabien Potencier
58bf229856 Merge remote branch 'schmittjoh/security' 2011-03-14 17:51:37 +01:00
Johannes M. Schmitt
a1fb717074 [DependencyInjection] loader fix 2011-03-14 17:45:27 +01:00
Johannes M. Schmitt
4539b47522 [Security] small performance optimization 2011-03-14 17:41:33 +01:00
brikou
56a66bad6c Edited src/Symfony/Bundle/DoctrineMongoDBBundle/Command/LoadDataFixturesDoctrineODMCommand.php via GitHub 2011-03-14 17:38:19 +01:00
Johannes M. Schmitt
032fa2bde8 [Security] fixed default entity provider 2011-03-14 17:31:29 +01:00
Victor Berchet
8128300baa [WebProfilerBundle] Revert the support for a status in data collectors 2011-03-14 17:24:11 +01:00
Fabien Potencier
539e0e4870 Merge remote branch 'mweimerskirch/master' 2011-03-14 14:38:00 +01:00
Fabien Potencier
d9c5102fd6 [FrameworkBundle] miror changes to container:debug 2011-03-14 14:24:45 +01:00
Fabien Potencier
b93a2c39a8 Merge remote branch 'weaverryan/container_debug_console' 2011-03-14 14:17:08 +01:00
Fabien Potencier
3e389f8666 Merge remote branch 'vicb/nitpicking' 2011-03-14 14:02:40 +01:00
Fabien Potencier
a9a56e2387 [DoctrineBundle] fixed a unit test 2011-03-14 13:59:09 +01:00
Fabien Potencier
d1bdd88ac2 fixed PHP warnings 2011-03-14 13:57:38 +01:00
Fabien Potencier
f0a6ed2e54 [Routing] fixed CS 2011-03-14 13:54:48 +01:00
Fabien Potencier
84172c4839 Merge remote branch 'xdecock/Performance' 2011-03-14 13:48:37 +01:00
Fabien Potencier
ef87ca3d75 Merge remote branch 'udat/router/empty-string-as-default-parameter-value' 2011-03-14 13:43:59 +01:00
Fabien Potencier
1518b3613b Merge remote branch 'weaverryan/init_bundle_more_info' 2011-03-14 13:42:35 +01:00
Fabien Potencier
f4b8066acd Merge remote branch 'jwage/master' 2011-03-14 13:02:54 +01:00
Fabien Potencier
a8b46e38e3 Merge remote branch '1ed/hungarian-validator-messages' 2011-03-14 13:00:49 +01:00
Fabien Potencier
923b355df2 Merge remote branch 'francisbesset/french_translation' 2011-03-14 12:59:43 +01:00
Fabien Potencier
cf2bffd760 Merge remote branch 'schmittjoh/security' 2011-03-14 12:59:04 +01:00
Fabien Potencier
49e3494560 [Console] fixed typo 2011-03-14 12:56:59 +01:00
Victor Berchet
ddb935a4f0 [WebProfilerBundle] Tweak styles 2011-03-14 10:37:45 +01:00
Victor Berchet
cc0a2d573b [DoctrineMongoDBBundle] fix the data collector design 2011-03-14 10:22:01 +01:00
Christophe Coevoet
ed4e9456c8 [DoctrineMongoDBBundle] Use the first document manager as default one when no configuration is set 2011-03-14 08:55:36 +01:00
Christophe Coevoet
19aa266b6a [DoctrineBundle] Use the first entity manager as default one when no configuration is set 2011-03-14 08:54:58 +01:00
Eriksen Costa
9a9a11b8f5 [Locale] fixed some emails 2011-03-13 22:06:29 -03:00
Eriksen Costa
157f001253 Merge remote branch 'bschussek/intl-stub' into intl-stub 2011-03-13 21:50:25 -03:00
Eriksen Costa
8f08bccaae [Locale] fixed some emails 2011-03-13 21:46:28 -03:00
Eriksen Costa
9c6ccd8290 [Locale] replaced symfony-project.org by symfony.com 2011-03-13 21:22:11 -03:00
Eriksen Costa
50aee60e9b Merge branch 'master' into intl-stub 2011-03-13 21:20:57 -03:00
Bernhard Schussek
932f3b1f06 [Security] Fixed calls to EventDispatcher::dispatchEvent() 2011-03-13 21:30:50 +01:00
Johannes M. Schmitt
e624e27675 [DependencyInjection] refactored some exceptions 2011-03-13 20:35:15 +01:00
Bernhard Schussek
06c682b4fb Switched from Doctrine's EventManager implementation to the EventManager clone in Symfony2 (now called EventDispatcher again) 2011-03-13 19:49:10 +01:00
Johannes M. Schmitt
76573f1ab2 [Security] added some finals, some visibility changes 2011-03-13 19:40:12 +01:00
Bernhard Schussek
699e046b4f [EventDispatcher] Replaced EventDispatcher by Doctrine's implementation 2011-03-13 19:15:38 +01:00
Bernhard Schussek
25931caeab Merge remote branch 'symfony/master' into event-manager
Conflicts:
	src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventManager.php
	src/Symfony/Bundle/WebProfilerBundle/WebDebugToolbarListener.php
	src/Symfony/Component/Security/Http/Firewall.php
	src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php
	src/Symfony/Component/Security/Http/Firewall/AbstractPreAuthenticatedListener.php
	src/Symfony/Component/Security/Http/Firewall/AccessListener.php
	src/Symfony/Component/Security/Http/Firewall/AnonymousAuthenticationListener.php
	src/Symfony/Component/Security/Http/Firewall/BasicAuthenticationListener.php
	src/Symfony/Component/Security/Http/Firewall/ChannelListener.php
	src/Symfony/Component/Security/Http/Firewall/ContextListener.php
	src/Symfony/Component/Security/Http/Firewall/DigestAuthenticationListener.php
	src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php
	src/Symfony/Component/Security/Http/Firewall/ListenerInterface.php
	src/Symfony/Component/Security/Http/Firewall/LogoutListener.php
	src/Symfony/Component/Security/Http/Firewall/RememberMeListener.php
	src/Symfony/Component/Security/Http/Firewall/SwitchUserListener.php
	tests/Symfony/Tests/Component/Security/Http/Firewall/RememberMeListenerTest.php
2011-03-13 19:15:25 +01:00
Jonathan H. Wage
629451a345 [DoctrineMongoDBBundle] Improving error exceptions thrown when loading data fixtures. 2011-03-13 13:09:38 -05:00
Jonathan H. Wage
d2cc5a048a [DoctrineBundle] Improving error exceptions thrown when loading data fixtures. 2011-03-13 13:09:15 -05:00
Francis Besset
6be83899ed [FrameworkBundle] Fixed typo in french validators translation 2011-03-13 18:57:36 +01:00
Jonathan H. Wage
f657d0e85d Porting doctrine:mapping:info command from ORM to doctrine:mongodb:mapping:info in the MongoDB ODM. 2011-03-13 12:50:11 -05:00
Jonathan H. Wage
138ef0d1ae Improving output of doctrine:mapping:info command. 2011-03-13 12:49:36 -05:00
Artur Kotyrba
3f73a748a9 [Routing] Fixed compiling routes with empty string or 0 as default parameter value. 2011-03-13 18:13:41 +01:00
Ryan Weaver
0f0539f983 [FrameworkBundle] Adding lots of information for the user after init:bundle
This is mirrored off of the messages used by git flow and serves to give the user some initial direction (and to avoid "forgetting" the setup steps).

I realize that I've hardcoded documentation URLs into this task, but I think the benefit outweighs the cost of needing to make sure these are always up-to-date.
2011-03-13 12:08:56 -05:00
Victor Berchet
36d51d7bbd [WebProfilerBundle] Config panel
Split the main Key / Value table in different sections.
Add a list of active bundles.
2011-03-13 16:25:16 +01:00
Victor Berchet
1d8be2b112 [WebProfilerBundle] DOM and CSS tweaks 2011-03-13 15:50:44 +01:00
Victor Berchet
b04a647c65 [WebProfilerBundle] Create a configuration panel 2011-03-13 15:50:44 +01:00
Victor Berchet
308ea7a668 [WebProfilerBundle] Specify missing alt attributes 2011-03-13 15:50:44 +01:00
Victor Berchet
5b39894efc [WebProfilerBundle] Add shortcuts to the panels in the toolbar 2011-03-13 15:50:44 +01:00
Victor Berchet
f752dd34a0 [Profiler] Profilers now return a status which is used for visual feedback 2011-03-13 15:50:44 +01:00
Victor Berchet
66f8ed8e51 [WebProfilerBundle] Tweak styles 2011-03-13 15:50:44 +01:00
Victor Berchet
481bb4cdf9 [WebProfilerBundle] Introduce a template for toolbar items 2011-03-13 15:50:44 +01:00
Gábor Egyed
b5549c7259 [FrameworkBundle] added hungarian validator messages 2011-03-13 11:15:58 +01:00
Fabien Potencier
843c449c73 Merge remote branch 'everzet/crawler-privatisation-fixes'
* everzet/crawler-privatisation-fixes:
  [DomCrawler] moved private methods under public ones (readability)
2011-03-13 09:26:41 +01:00
Fabien Potencier
304b729cfc Merge remote branch 'francisbesset/translation_fr'
* francisbesset/translation_fr:
  [FrameworkBundle] Fixed latest typo in french validators translation
  [FrameworkBundle] Fixed others typo in french validators translation
  [FrameworkBundle] Fixed typo in french validators translation
  [FrameworkBundle] Added french validators translation
2011-03-13 09:25:53 +01:00
Fabien Potencier
f19295f7e9 Merge remote branch 'weaverryan/removing_old_phpdoc'
* weaverryan/removing_old_phpdoc:
  [DoctrineMongoDBBundle] Removing partially-outdated PHPDoc.
2011-03-13 09:24:28 +01:00
Fabien Potencier
a604b210c1 Merge remote branch 'kriswallsmith/mongodb/logging-option'
* kriswallsmith/mongodb/logging-option:
  [DoctrineMongoDBBundle] made it possible to disable logging
2011-03-13 09:22:44 +01:00
Ryan Weaver
a495fa3dce [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
Ryan Weaver
d4868c1acf [DoctrineMongoDBBundle] Removing partially-outdated PHPDoc.
With the configuration class, this ultimately just won't be the right place for this (it'll likely just get out of date). If anything, it should be a link to the reference section of the docs (a la settings.yml for symfony1).
2011-03-12 11:34:35 -06:00
Francis Besset
0f255aa5ee [FrameworkBundle] Fixed latest typo in french validators translation 2011-03-12 18:26:16 +01:00
Francis Besset
974f64cb72 [FrameworkBundle] Fixed others typo in french validators translation 2011-03-12 18:03:33 +01:00
Francis Besset
823d699194 [FrameworkBundle] Fixed typo in french validators translation 2011-03-12 17:58:33 +01:00
Francis Besset
d9ffa420b4 [FrameworkBundle] Added french validators translation 2011-03-12 17:44:27 +01:00
Fabien Potencier
411a382d80 [Serializer] fixed XmlEncoder for single char tags 2011-03-12 15:23:30 +01:00
Fabien Potencier
f6c119c619 Merge remote branch 'donpinkster/typo-fix'
* donpinkster/typo-fix:
  [TwigBundle] Fixed PHPDoc
  [TwigBundle] Fixed typo
2011-03-12 14:27:30 +01:00
Francis Besset
74bae0444f [FrameworkBundle] Fixed indentation on router:debug command 2011-03-12 14:08:29 +01:00
ever.zet
160c4b8702 [DomCrawler] moved private methods under public ones (readability) 2011-03-12 14:46:40 +02:00
Johannes Schmitt
70867f06e9 re-added a __toString method for debugging purposes 2011-03-12 13:24:57 +01:00
Kris Wallsmith
1314d6fda7 fixed listener definition 2011-03-12 13:24:57 +01:00
Klaas Naaijkens
02cb362ae6 use username instead of token object in logging 2011-03-12 13:24:57 +01:00
Fabien Potencier
dcc1948fb6 Merge remote branch 'everzet/console-privatisation-errors'
* everzet/console-privatisation-errors:
  if we moved definition under private area, than we need to use only public API for that, to be able to redefine it is subclasses
  start => finish, begin => end. Mixing them is a bad choice.
  ability to define custom regex's for style placeholders
  we need ability to get style parameters same way we set them with setStyle
2011-03-12 13:10:09 +01:00
ever.zet
dab8e5888f if we moved definition under private area, than we need to use only public API for that, to be able to redefine it is subclasses 2011-03-12 13:59:51 +02:00
ever.zet
d4d8576f93 start => finish, begin => end. Mixing them is a bad choice. 2011-03-12 13:57:04 +02:00
ever.zet
a809453416 ability to define custom regex's for style placeholders
sometimes, developers like me want to redefine style placeholders
in their applications. From this patch, they can acchieve this from
simple get...Regex() method redefine.
2011-03-12 13:54:35 +02:00
ever.zet
49b968df67 we need ability to get style parameters same way we set them with setStyle
from last privatisation update $styles now private. So,
user can set style with public setter (setStyle), but can't
get this value later, which is very stupid behavior!
2011-03-12 13:49:06 +02:00
Fabien Potencier
9ec4f8a8a9 Merge remote branch 'kriswallsmith/classloader/optimizations'
* kriswallsmith/classloader/optimizations:
  [ClassLoader] added an apc class loader
  [ClassLoader] created protected findFile() method to allow creating a cache layer via inheritance
  [ClassLoader] added a check before trimming the leading \
2011-03-12 12:39:42 +01:00
ever.zet
5ec8f47d7c if proper style not found, then this is a tag - no need in Exception 2011-03-12 11:55:44 +02:00
Francis Besset
bb7986e221 [FrameworkBundle] Added cache:clear command with warmup option 2011-03-11 23:35:48 +01:00
Don Pinkster
f8493842d3 [TwigBundle] Fixed PHPDoc 2011-03-11 22:44:32 +01:00
Don Pinkster
c4923fc57e [TwigBundle] Fixed typo 2011-03-11 22:39:47 +01:00
Kris Wallsmith
7b3fbb46c2 [DoctrineMongoDBBundle] made it possible to disable logging 2011-03-11 13:26:50 -08:00
Fabien Potencier
e0b46fea73 [WebProfilerBundle] hmmmm 2011-03-11 21:34:46 +01:00
Kris Wallsmith
441a154203 [ClassLoader] added an apc class loader 2011-03-11 12:32:49 -08:00
Kris Wallsmith
757e4ea4d6 [ClassLoader] created protected findFile() method to allow creating a cache layer via inheritance 2011-03-11 12:32:49 -08:00
Kris Wallsmith
dcffadb6c4 [ClassLoader] added a check before trimming the leading \ 2011-03-11 12:25:45 -08:00
Fabien Potencier
92acd46ede [WebProfilerBundle] fixed WDT controller to keep the current flashes 2011-03-11 20:49:25 +01:00
Fabien Potencier
48c222dd02 [WebProfilerBundle] fixed WDT to keep the current flashes for one more request 2011-03-11 20:47:03 +01:00
Fabien Potencier
8421f95476 [WebProfilerBundle] fixed WDT to keep the current flashes for one more request 2011-03-11 20:44:14 +01:00
Fabien Potencier
bc6ffeef83 [HttpFoundation] fixed flash management 2011-03-11 20:23:17 +01:00
Fabien Potencier
a1fcbf4d5f Merge remote branch 'kriswallsmith/dic/false-circular-ref-fix'
* kriswallsmith/dic/false-circular-ref-fix:
  [DependencyInjection] fixed false positive when detecting circular references if a service throws an exception during creation
2011-03-11 19:58:54 +01:00
Kris Wallsmith
88acb017e3 [FrameworkBundle] changed console --debug option to --no-debug so commands will run in debug mode by default, as suggested in the SE's console:
$debug = !$input->hasParameterOption(array('--no-debug', ''));
2011-03-11 07:02:03 -08:00
Fabien Potencier
cedf588e98 Revert "Merge remote branch 'kriswallsmith/dic/lazy-replace-ext-params'"
This reverts commit 32ac2e8709, reversing
changes made to 6e81c28ca4.
2011-03-11 15:35:09 +01:00
Fabien Potencier
c8c5720fa1 [DomCrawler] moved protected to private 2011-03-11 15:13:33 +01:00
Fabien Potencier
f321fadad6 [DependencyInjection] moved most protected things to private 2011-03-11 14:50:46 +01:00
Fabien Potencier
9dadcff13e [DependencyInjection] removed obsolete code 2011-03-11 14:36:44 +01:00
Fabien Potencier
a8d05746ff Merge remote branch 'schmittjoh/propertyAnnotations'
* schmittjoh/propertyAnnotations:
  [DependencyInjection] added some tests
  [DependencyInjection] adds property injection
2011-03-11 13:12:12 +01:00
Fabien Potencier
ad36ce7b38 Merge remote branch 'schmittjoh/security'
* schmittjoh/security:
  [Security] fixed some tests
  [SecurityBundle] removed the option to declare access_control rules based on request attributes
  [Security] removed core.security event
  [Security] refactored remember-me code
2011-03-11 13:08:37 +01:00
Fabien Potencier
b940cc6f40 moved most protected to private in the Console component 2011-03-11 12:53:42 +01:00
Johannes Schmitt
97125269d2 [Security] fixed some tests 2011-03-11 12:50:52 +01:00
Fabien Potencier
c2e9dd27b2 [Console] fixed synopsis when an error occurs 2011-03-11 11:51:05 +01:00
Fabien Potencier
edb620122a fixed some emails 2011-03-11 11:07:11 +01:00
Fabien Potencier
5978ed255b Merge remote branch 'kriswallsmith/mongodb/pretty-queries'
* kriswallsmith/mongodb/pretty-queries:
  [DoctrineMongoDBBundle] fixed formatting of numeric query values
2011-03-11 10:42:24 +01:00
Fabien Potencier
32ac2e8709 Merge remote branch 'kriswallsmith/dic/lazy-replace-ext-params'
* kriswallsmith/dic/lazy-replace-ext-params:
  [DependencyInjection] added test for lazy param replacement
  Removed replacement of parameter placeholders at load time since they're now replaced at compile time. Extensions should be written to expect parameter placeholders.
2011-03-11 10:41:22 +01:00
Fabien Potencier
6e81c28ca4 [Routing] fixed typo 2011-03-11 10:40:38 +01:00
Amal Raghav
517735e581 fix for ignoring abstract definition 2011-03-11 10:36:48 +01:00
Xavier De Cock
d91ea24b3e [Performance] Routing Generator, avoid array_merge in generated classes 2011-03-11 10:15:18 +01:00
Victor Berchet
9e9a9a80eb [FrameworkBunlde] CodeHelper tweaks 2011-03-11 09:47:59 +01:00
Victor Berchet
61be2b7986 [Routing] XMLFileLoader small optimization 2011-03-11 09:47:46 +01:00
Kris Wallsmith
ff45c62390 [DoctrineMongoDBBundle] fixed formatting of numeric query values 2011-03-10 20:57:16 -08:00
Johannes Schmitt
c73d1c3406 [SecurityBundle] removed the option to declare access_control rules based on request attributes 2011-03-11 01:47:23 +01:00
Johannes Schmitt
d8022e34eb [Security] removed core.security event 2011-03-11 01:43:22 +01:00
Johannes M. Schmitt
3d97638813 [Security] refactored remember-me code 2011-03-11 01:19:55 +01:00
Fabien Potencier
3667a32387 Merge remote branch 'kriswallsmith/mongodb/pretty-queries'
* kriswallsmith/mongodb/pretty-queries:
  [DoctrineMongoDBBundle] fixed pretty queries
2011-03-10 23:56:43 +01:00
Michele Orselli
47a8fa1bad added italian translation for validators 2011-03-10 23:48:19 +01:00
Kris Wallsmith
f33cf0ba5d Removed replacement of parameter placeholders at load time since they're now replaced at compile time. Extensions should be written to expect parameter placeholders.
Revert "[DependencyInjection] Allow parameter replacement within extension configurations."

This reverts commit ab7ad4808b.

Conflicts:

	src/Symfony/Component/DependencyInjection/ContainerBuilder.php
2011-03-10 12:59:00 -08:00
Kris Wallsmith
51106a8540 [DoctrineMongoDBBundle] fixed pretty queries 2011-03-10 12:53:35 -08:00
Fabien Potencier
363c3f38a1 Merge remote branch 'stof/doctrine_simplify'
* stof/doctrine_simplify:
  Removed the short syntax in DoctrineBundle
  [DoctrineAbstractBundle] Removed obsolete code as the normalization is now done by the Configuration classes
  [DoctrineMongoDBBundle] Removed the short syntax for the configuration
2011-03-10 21:35:33 +01:00
Fabien Potencier
129d7c7c5f Merge remote branch 'schmittjoh/visibilityChanges'
* schmittjoh/visibilityChanges:
  [Security] renamed Twig function has_role to is_granted
  [Security] some more visibility changes
  [Security] added some more tests
  [Security] fixed some left-overs
  [Security] various changes, see below
  [Security] Bugfix - Ensure that passwords is of string type. Function BasePasswordEncoder::comparePasswords haven't been working properly for numeric (plaintype) passwords.
2011-03-10 21:19:51 +01:00
Fabien Potencier
12616675a5 Merge remote branch 'kriswallsmith/mongodb/pretty-queries'
* kriswallsmith/mongodb/pretty-queries:
  [DoctrineMongoDBBundle] made queries in profiler look like mongodb js shell code
  [DoctrineMongoDBBundle] fixed xml formatting
2011-03-10 20:44:21 +01:00
Christophe Coevoet
4dd45d3b4a Removed the short syntax in DoctrineBundle 2011-03-10 19:39:51 +01:00
Kris Wallsmith
ec46c6e6c5 [DoctrineMongoDBBundle] made queries in profiler look like mongodb js shell code 2011-03-10 10:23:38 -08:00
ornicar
ff4bf78047 [FrameworkBundle] Fix XML tags in NL translation 2011-03-10 10:22:08 -08:00
Xavier De Cock
ab46d0c62b Removed comment about array_* removal 2011-03-10 18:35:54 +01:00
Xavier De Cock
865ee54558 Performance improvement on Router to avoid array_*
Changes on the Router to avoid array_diff, array_keys and other inneficient array_ functions.

This is a "recommit" to respect Symfony Contribution rules
2011-03-10 18:24:33 +01:00
Kris Wallsmith
d59676fbb7 [DoctrineMongoDBBundle] fixed xml formatting 2011-03-10 06:43:30 -08:00
Fabien Potencier
0fd52a45f7 Merge remote branch 'Crozin/polish-translation'
* Crozin/polish-translation:
  Improved Polish validators translations.
  Whitespace fixed.
2011-03-10 15:32:55 +01:00
Fabien Potencier
1bcfb53678 Merge remote branch 'umpirsky/serbian-validators-translation'
* umpirsky/serbian-validators-translation:
  Some minor fixes in Serbian translation.
2011-03-10 15:31:49 +01:00
Fabien Potencier
e4967fef78 Merge remote branch 'mvrhov/validatorsTransSloFixes'
* mvrhov/validatorsTransSloFixes:
  Proofreaded and fixed encoding problems in Slovenian translation
2011-03-10 15:31:24 +01:00
Johannes M. Schmitt
d9848f38ac [DependencyInjection] added some tests 2011-03-10 15:31:00 +01:00
arjenjb
3b463061ad [FrameworkBundle] Added Dutch validator translations 2011-03-10 15:30:51 +01:00
Miha Vrhovnik
208cc40a3f Proofreaded and fixed encoding problems in Slovenian translation 2011-03-10 12:49:00 +01:00
Johannes M. Schmitt
76e33022cf [Security] renamed Twig function has_role to is_granted 2011-03-10 12:21:35 +01:00
Christophe Coevoet
25521e7e86 [DoctrineAbstractBundle] Removed obsolete code as the normalization is now done by the Configuration classes 2011-03-10 10:53:50 +01:00
Christophe Coevoet
e3e60f1a68 [DoctrineMongoDBBundle] Removed the short syntax for the configuration 2011-03-10 10:35:56 +01:00
Johannes M. Schmitt
3e5fe74cfb Merge branch 'master' of git://github.com/petajaros/symfony into visibilityChanges 2011-03-10 10:25:48 +01:00
Johannes M. Schmitt
a64cc0e3cc [Security] some more visibility changes 2011-03-10 10:25:33 +01:00
Johannes M. Schmitt
13665fc113 [Security] added some more tests 2011-03-10 10:25:33 +01:00
Johannes M. Schmitt
5127ece259 [Security] fixed some left-overs 2011-03-10 10:25:32 +01:00
Johannes Schmitt
1d5538fc60 [Security] various changes, see below
- visibility changes from protected to private
- AccountInterface -> UserInterface
- SecurityContext::vote() -> SecurityContext::isGranted()
2011-03-10 10:25:32 +01:00
umpirsky
c3b7f715c9 Some minor fixes in Serbian translation. 2011-03-10 07:59:47 +01:00
Petr Jaroš
82a44ec9d4 [Security] Bugfix - Ensure that passwords is of string type. Function BasePasswordEncoder::comparePasswords haven't been working properly for numeric (plaintype) passwords. 2011-03-09 15:54:06 -08:00
Krzysiek Łabuś
c8ab0dd419 Improved Polish validators translations. 2011-03-10 00:19:56 +01:00
Krzysiek Łabuś
9b22dafc6d Whitespace fixed. 2011-03-10 00:07:18 +01:00
Fabien Potencier
dded1955e4 [Routing] fixed the / problem in a URL segment 2011-03-09 23:57:26 +01:00
Fabien Potencier
e5b93e683a Merge remote branch 'umpirski/russian-validator-translation'
* umpirski/russian-validator-translation:
  Applied fixes suggested by @yethee.
2011-03-09 23:53:23 +01:00
umpirski
623d0d20b5 Applied fixes suggested by @yethee. 2011-03-09 23:46:11 +01:00
Fabien Potencier
54608960c8 Merge remote branch 'umpirski/russian-validator-translation'
* umpirski/russian-validator-translation:
  Russian validators translation.
2011-03-09 22:10:31 +01:00
Fabien Potencier
222d4aa89d Merge remote branch 'stof/tree_builder'
* stof/tree_builder:
  Fixed type-hinting and renamed the method to be more semantic
  Removed duplicated code
2011-03-09 22:07:31 +01:00
umpirski
be63154655 Russian validators translation. 2011-03-09 22:06:06 +01:00
Fabien Potencier
1de694ffc0 merged 2011-03-09 21:58:43 +01:00
Fabien Potencier
18e56409c6 Merge remote branch 'azogheb/webProfilerOptimization'
* azogheb/webProfilerOptimization:
  [WebProfilerBundle] Optimization to listener
2011-03-09 21:54:06 +01:00
Fabien Potencier
72586b2d5f Merge remote branch 'opensky/hotfix/test_client'
* opensky/hotfix/test_client:
  [HttpKernel] added test for uri change
  [HttpKernel] got rid of url transformation into uri, as parse_url doesn't work with uris
2011-03-09 21:46:16 +01:00
Fabien Potencier
fc19afe087 Merge remote branch 'stof/doctrine_tests'
* stof/doctrine_tests:
  Fixed test
2011-03-09 17:46:41 +01:00
Fabien Potencier
7ee82405b7 Merge remote branch 'Infranology/pt-br-validators-translation'
* Infranology/pt-br-validators-translation:
  [FrameworkBundle] translated validators messages to Brazilian Portuguese
2011-03-09 17:46:24 +01:00
Christophe Coevoet
1cbc557472 Fixed test 2011-03-09 17:42:52 +01:00
Fabien Potencier
b4cde9d3bb Merge remote branch 'lsmith77/classcollectionloader'
* lsmith77/classcollectionloader:
  make it possible to define the file extension
2011-03-09 17:40:38 +01:00
Eriksen Costa
5787fddde0 [FrameworkBundle] translated validators messages to Brazilian Portuguese 2011-03-09 13:39:27 -03:00
Fabien Potencier
c41e16293b Merge remote branch 'vicb/profiler_log'
* vicb/profiler_log:
  [WebProfilerBundle] Always use the default background color for counters
  [WebProfilerBundle] The total number of log entries is not relevant, display only the number of errors when required
  [WebProfilerBundle] Display the number of log entries together with the number of errors
2011-03-09 17:30:07 +01:00
Fabien Potencier
c15dd2a77e Merge remote branch 'vicb/profiler_color'
* vicb/profiler_color:
  [WebProfilerBundle] Always use the default background color for counters
2011-03-09 17:29:40 +01:00
Victor Berchet
6571140b17 [WebProfilerBundle] Always use the default background color for counters 2011-03-09 17:27:48 +01:00
Fabien Potencier
1fe25bc00a Merge remote branch 'Seldaek/file_field'
* Seldaek/file_field:
  [HttpFoundation] Fixed test breaking on windows
  [HttpFoundation] UploadedFile::getOriginalName is now overriding getName
  [HttpFoundation] Minor optimization
  [Form] Add exception for missing enctype attribute
2011-03-09 17:26:51 +01:00
Jordi Boggiano
991b1ed225 [HttpFoundation] UploadedFile::getOriginalName is now overriding getName 2011-03-09 17:26:08 +01:00
Fabien Potencier
17ef911f19 [Routing] removed the normalizeUrl() method and renamed url to pathinfo as this is more correct 2011-03-09 17:25:44 +01:00
Jordi Boggiano
2a5fcdfb1a [HttpFoundation] Minor optimization 2011-03-09 17:25:36 +01:00
Victor Berchet
95d3fd2fdb [WebProfilerBundle] Always use the default background color for counters 2011-03-09 17:25:28 +01:00
Jordi Boggiano
88cfc4c011 [Form] Add exception for missing enctype attribute 2011-03-09 17:23:21 +01:00
Fabien Potencier
77522f486f Merge remote branch 'stof/doctrine_charset'
* stof/doctrine_charset:
  Removed default value for the DBAL charset
2011-03-09 17:15:28 +01:00
Jordi Boggiano
4c0ea6179b [Routing] UrlMatcher shouldn't collapse multiple slashes
* fixes a problem with security (/foo/bar and /foo///bar are not the same URL as far as security is concerned)
* this can still be done in your web server configuration or by adding a core.request listener
2011-03-09 17:07:12 +01:00
Fabien Potencier
bfe09d45fa Merge remote branch 'vicb/profiler_template'
* vicb/profiler_template:
  [WebProfilerBundle] Remove dead code
  [WebProfilerBundle] Better handling of queries with an empty result
  [WebProfilerBundle] Improve the "token not found" page
  [WebProfilerBundle] Always remember the query including the token
  [WebProfilerBundle] Apply missing styles
2011-03-09 16:56:09 +01:00
Christophe Coevoet
35636a5b44 Removed default value for the DBAL charset 2011-03-09 16:44:08 +01:00
Fabien Potencier
c8054c5592 Merge remote branch 'umpirsky/serbian-validators-translation'
* umpirsky/serbian-validators-translation:
  Validators messages translated to Serbian language.
2011-03-09 16:39:21 +01:00
Fabien Potencier
6aa205c669 Merge remote branch 'kriswallsmith/framework/optimize-debug-dispatcher'
* kriswallsmith/framework/optimize-debug-dispatcher:
  [FrameworkBundle] optimized the debug event dispatcher to avoid instantiating every listener every time
2011-03-09 16:34:12 +01:00
Kris Wallsmith
d698baf06b [FrameworkBundle] optimized the debug event dispatcher to avoid instantiating every listener every time 2011-03-09 07:25:47 -08:00
Victor Berchet
643a2d5657 [WebProfilerBundle] Remove dead code 2011-03-09 16:15:31 +01:00
Fabien Potencier
86cd2fd1e8 Merge remote branch 'weaverryan/add_mongo_db_configuration'
* weaverryan/add_mongo_db_configuration:
  [DoctrineMongoDBBundle] Adding is_bundle node and rearranging a few small things to match pull request 99 for the Doctrine Configuration class
  [DoctrineMongoDBBundle] Removing left-over debug code.
  [DoctrineMongoDBBundle] Adding a "full" config example in YAML.
  [DoctrineMongoDBBundle] Changing root node name for consistency.
  [DoctrineMongoDBBundle] Removing unused variable.
  [DoctrineMongoDBBundle] Refactoring how the document_managers are loaded in the Extension and removing two unneeded DIC parameters.
  [DoctrineMongoDBBundle] Removing the "default_connection" DI parameter, which was never used as a parameter. Now cleaning up connections creation in the DI extension class.
  [DoctrineMongoDBBundle] Renaming extension method to overrideParameters(), which is truer to its name.
  [DoctrineMongoDBBundle] Removing the "doctrine.odm.mongodb.metadata_cache_driver" parameter.
  [DoctrineMongoDBBundle] Adding a test for the defaults of the Configuration class and updated a few default values.
  [DoctrineMongoDBBundle] BC-break: This removes the excess "connections" and "document_managers" wrapper in XML. This was inconsistent and made normalization unnecesarily difficult.
  [DoctrineMongoDBBundle] Initial use of the new Configuration class for DoctrineMongoDBExtension.
  [DoctrineMongoDBExtension] Adding a large PHPDoc on the Extension::load() method discussing the available options.
  [DoctrineMongoDBBundle] Fixing a test that was passing in the configs array without the wrapping array.
  [DoctrineMongoDBBundle] Rewriting several getParameter() calls to use the parameter %wildcard% syntax instead. This is best-practice.
2011-03-09 15:49:05 +01:00
Kris Wallsmith
8c45a21637 [DependencyInjection] fixed false positive when detecting circular references if a service throws an exception during creation 2011-03-09 06:38:02 -08:00
Christophe Coevoet
e522424967 Changed default logging param to kernel.debug and fixed container unit test 2011-03-09 15:37:48 +01:00
Christophe Coevoet
f37a2a9513 Refactored the config to use the right parameters instead of using the default values 2011-03-09 15:37:42 +01:00
Christophe Coevoet
527749ca3f Made mandatory to have at least one entity manager when using the ORM and one connection when using DBAL 2011-03-09 15:37:36 +01:00
Christophe Coevoet
a9a300ed6f Updated the tests 2011-03-09 15:36:12 +01:00
Christophe Coevoet
0d0f053682 Updated the XSD schema 2011-03-09 15:36:02 +01:00
Christophe Coevoet
477109f1e8 Completed the Configuration class and refactored the extension to use it 2011-03-09 15:35:58 +01:00
Christophe Coevoet
652bca131d Added a Configuration class for DoctrineBundle 2011-03-09 15:27:55 +01:00
Victor Berchet
f49a30c366 [WebProfilerBundle] Better handling of queries with an empty result 2011-03-09 15:27:28 +01:00
Victor Berchet
ed09566a47 [WebProfilerBundle] Improve the "token not found" page 2011-03-09 15:27:25 +01:00
Victor Berchet
c9ab59399c [WebProfilerBundle] Always remember the query including the token 2011-03-09 15:27:09 +01:00
umpirsky
37cb781008 Validators messages translated to Serbian language. 2011-03-09 15:14:01 +01:00
Gyula Sallai
2840f03409 [DoctrineBundle][DoctrineMongoDBBUndle]Fixed generate:repositories throws exception using the general bundle naming conventions (VendorBundleName) 2011-03-09 14:54:10 +01:00
Victor Berchet
45ff4948b3 [WebProfilerBundle] Apply missing styles 2011-03-09 14:06:57 +01:00
Ryan Weaver
4c947c251b [DoctrineMongoDBBundle] Adding is_bundle node and rearranging a few small things to match pull request 99 for the Doctrine Configuration class 2011-03-09 06:55:01 -06:00
Ryan Weaver
62cc35228c [DoctrineMongoDBBundle] Removing left-over debug code. 2011-03-09 06:46:18 -06:00
Ryan Weaver
0fe6f13be8 [DoctrineMongoDBBundle] Adding a "full" config example in YAML. 2011-03-09 06:46:18 -06:00
Ryan Weaver
68d478fe8e [DoctrineMongoDBBundle] Changing root node name for consistency. 2011-03-09 06:46:18 -06:00
Ryan Weaver
7c13e681c3 [DoctrineMongoDBBundle] Removing unused variable. 2011-03-09 06:46:18 -06:00
Ryan Weaver
1e492e231c [DoctrineMongoDBBundle] Refactoring how the document_managers are loaded in the Extension and removing two unneeded DIC parameters. 2011-03-09 06:46:18 -06:00
Ryan Weaver
9ca8f171f7 [DoctrineMongoDBBundle] Removing the "default_connection" DI parameter, which was never used as a parameter. Now cleaning up connections creation in the DI extension class. 2011-03-09 06:46:18 -06:00
Ryan Weaver
9179168e0d [DoctrineMongoDBBundle] Renaming extension method to overrideParameters(), which is truer to its name.
Also mae this function unset the options after their used. This prevents those values from being available later inside the options array and as parameters.
2011-03-09 06:46:18 -06:00
Ryan Weaver
bdd23369e2 [DoctrineMongoDBBundle] Removing the "doctrine.odm.mongodb.metadata_cache_driver" parameter.
This information was set entirely in the DI extension options and then added as a parameter only to be later consumed by the DI extension class.

In other words, this should never have been a parameter, or at least it's never been used and treated like a parameter.
2011-03-09 06:46:17 -06:00
Ryan Weaver
95a2a78dc4 [DoctrineMongoDBBundle] Adding a test for the defaults of the Configuration class and updated a few default values. 2011-03-09 06:46:17 -06:00
Ryan Weaver
42a0b22f0e [DoctrineMongoDBBundle] BC-break: This removes the excess "connections" and "document_managers" wrapper in XML. This was inconsistent and made normalization unnecesarily difficult.
Previously:

    <connections>
        <connection ...>
            <!-- .. -->
        </connection>
        <connection ...>
            <!-- .. -->
        </connection>
    </connections>

Now:

    <connection ...>
        <!-- .. -->
    </connection>
    <connection ...>
        <!-- .. -->
    </connection>

I believe this is more semantically correct, and it removes code that had to worry about this extra format and normalize it.
2011-03-09 06:46:17 -06:00
Ryan Weaver
a13500459f [DoctrineMongoDBBundle] Initial use of the new Configuration class for DoctrineMongoDBExtension. 2011-03-09 06:46:17 -06:00
Ryan Weaver
94da3127b9 [DoctrineMongoDBExtension] Adding a large PHPDoc on the Extension::load() method discussing the available options. 2011-03-09 06:46:17 -06:00
Ryan Weaver
ac88b8a597 [DoctrineMongoDBBundle] Fixing a test that was passing in the configs array without the wrapping array.
Also rewrote this so that it's more clear.
2011-03-09 06:46:17 -06:00
Ryan Weaver
95a2f17e96 [DoctrineMongoDBBundle] Rewriting several getParameter() calls to use the parameter %wildcard% syntax instead. This is best-practice. 2011-03-09 06:46:17 -06:00
Fabien Potencier
689f0e1d58 Merge remote branch 'naderman/watch-debug'
* naderman/watch-debug:
  [AsseticBundle] Throw exception if --watch is used without --debug.
2011-03-09 12:51:38 +01:00
Fabien Potencier
d3d496f0f2 Merge remote branch 'mvrhov/validatorsTransSlo'
* mvrhov/validatorsTransSlo:
  Draft Slovenian translation
2011-03-09 12:50:57 +01:00
Bernhard Schussek
0eb04e487d Merge remote branch 'Infranology/intl-stub' into intl-stub 2011-03-09 12:04:51 +01:00
Bernhard Schussek
8658287ed6 Merge branch 'master' into intl-stub 2011-03-09 12:02:35 +01:00
Miha Vrhovnik
87cc306d98 Draft Slovenian translation 2011-03-09 10:28:25 +01:00
Miha Vrhovnik
76d664faa6 Fixing undefined notices by changing visibility back to protected for sompe properties and methods. 2011-03-09 10:24:16 +01:00
Fabien Potencier
9f0f127e6a [Form] fixed typo in XSD path 2011-03-09 02:34:51 +01:00
Nils Adermann
94aacd0901 [AsseticBundle] Throw exception if --watch is used without --debug. 2011-03-09 02:30:19 +01:00
Fabien Potencier
32d2ec7571 [ClassLoader] moved most protected methods and properties to private 2011-03-08 20:55:22 +01:00
Fabien Potencier
c9b965dbee [Finder] moved most protected methods and properties to private 2011-03-08 20:54:22 +01:00
Fabien Potencier
75b29ffdfe [Translation] moved most protected methods and properties to private 2011-03-08 20:47:32 +01:00
Fabien Potencier
94c445957c [Yaml] moved most protected methods and properties to private 2011-03-08 20:33:19 +01:00
Eriksen Costa
0fb9b9a70d [Locale] changed method name 2011-03-08 16:28:29 -03:00
Eriksen Costa
1da1b80169 [Locale] updated docblocks for StubCollator 2011-03-08 16:06:26 -03:00
Eriksen Costa
310d7eadba [Locale] updated docblocks 2011-03-08 16:06:10 -03:00
Kris Wallsmith
7d9ddb546e [TwigBundle] updated to support asset packages 2011-03-08 09:24:43 -08:00
Kris Wallsmith
6904e0e1e2 [FrameworkBundle] implemented asset packages 2011-03-08 09:22:25 -08:00
Kris Wallsmith
e273a709f1 [Templating] introduced concept of asset packages so base URLs and asset versions can be set more granularly 2011-03-08 08:31:39 -08:00
Victor Berchet
62341e5ad6 [WebProfilerBundle] The total number of log entries is not relevant, display only the number of errors when required 2011-03-08 15:55:10 +01:00
Fabien Potencier
4f0e0a6193 fixed some emails 2011-03-08 15:43:54 +01:00
Fabien Potencier
8716c2ad1e merged 2011-03-08 15:43:02 +01:00
Fabien Potencier
5c82db1d60 Merge remote branch 'stof/assets_url_fix'
* stof/assets_url_fix:
  [FrameworkBundle] fixed tests to conform to new xsd
  Fixed assets_base_urls configuration
2011-03-08 15:38:43 +01:00
Fabien Potencier
a0caa942e9 [Config] fixed CS 2011-03-08 15:33:46 +01:00
Fabien Potencier
33b9cacc3f Merge remote branch 'vicb/profiler_tweaks'
* vicb/profiler_tweaks:
  Tweak inline js
  [WebProfilerBundle] Tweak some css
2011-03-08 14:43:57 +01:00
Fabien Potencier
031a65e4f8 Merge remote branch 'kriswallsmith/dic/lazy-compiler'
* kriswallsmith/dic/lazy-compiler:
  [DependencyInjection] made compiler lazy again since there are many temporary ContainerBuilder objects that don't use it
2011-03-08 14:42:53 +01:00
Kris Wallsmith
de6c353b40 [DependencyInjection] made compiler lazy again since there are many temporary ContainerBuilder objects that don't use it 2011-03-08 05:34:07 -08:00
Fabien Potencier
f5ef015a75 Merge remote branch 'lsmith77/doctrinebundle'
* lsmith77/doctrinebundle:
  removed superfluous use statement
2011-03-08 14:30:20 +01:00
Lukas Kahwe Smith
1f13356cd7 removed superfluous use statement 2011-03-08 13:18:46 +01:00
Victor Berchet
ba9e5b58ff Tweak inline js 2011-03-08 10:23:31 +01:00
Victor Berchet
6df06dffaa [WebProfilerBundle] Tweak some css 2011-03-08 10:05:00 +01:00
develop
1daedcc6fc fix whitespace problem 2011-03-08 09:49:52 +01:00
develop
a93aa55199 If you use an annotation resource pointing to a controller directory
in your routing configuration, only existing files in this directory
get tracked for changes in this directory. So if you add a new
controller file in this directory you'd have to manually clear the
cache since the new file gets ignored.
This patch adds a DirectoryResource for this case which tracks all
changes in the given directory (and files and directories contained
within).
2011-03-08 09:49:45 +01:00
Fabien Potencier
73a78d0633 [FrameworkBundle] changed search input to use search as a type 2011-03-08 09:12:12 +01:00
Fabien Potencier
91d7caca6b merged 2011-03-08 09:08:09 +01:00
Fabien Potencier
3570f8baa1 Merge remote branch 'Seldaek/session_helper'
* Seldaek/session_helper:
  [FrameworkBundle] Added getFlashMessages() to the SessionHelper
2011-03-08 09:04:25 +01:00
Victor Berchet
d171eaf801 [WebProfilerBundle] Display the number of log entries together with the number of errors 2011-03-08 09:03:41 +01:00
Ryan Weaver
69ad4e4f77 [FrameworkBundle] Adding an exception to help with bad configuration and filling in some missing tests 2011-03-07 21:10:01 -06:00
Fabien Potencier
63b8b08b2a Merge remote branch 'Seldaek/wdt'
* Seldaek/wdt:
  [FrameworkBundle] Highlight error logs in red and not green
  [FrameworkBundle] Fix alignment of <li> with the selected class and small opera glitch
  [FrameworkBundle] Don't hide logs by default in exception pages
2011-03-07 20:40:56 +01:00
Fabien Potencier
b5085d4823 Merge remote branch 'Exeu/webprofiler-fixes'
* Exeu/webprofiler-fixes:
  Fixed the Profiler-Layout of MongoDBBundle to work without actuvating the DoctrineBundle
2011-03-07 20:37:56 +01:00
Bernhard Schussek
2cf3779a2c Renamed EventArgs classes and adapted remaining code to EventManager
The only missing part is ContainerAwareEventManager::addEventSubscriberService(),
because I'm not sure how to find out the class name of a service in the DIC.

Also, inline documentation of this code needs to be finished once it is accepted.
2011-03-07 19:16:05 +01:00
Bernhard Schussek
a54d3e6fb0 Merge remote branch 'symfony/master' into event-manager 2011-03-07 19:15:57 +01:00
Victor Berchet
4f15840e4b [webProfilerBundle] Update the 'token not found' page with the new design 2011-03-07 18:46:28 +01:00
Jordi Boggiano
75ba47751f [FrameworkBundle] Added getFlashMessages() to the SessionHelper 2011-03-07 18:10:43 +01:00
Exeu
58123c620f Fixed the Profiler-Layout of MongoDBBundle to work without actuvating the DoctrineBundle 2011-03-07 18:00:24 +01:00
Jordi Boggiano
c16218e1b0 [FrameworkBundle] Highlight error logs in red and not green 2011-03-07 17:39:59 +01:00
Jordi Boggiano
48e211c111 [FrameworkBundle] Fix alignment of <li> with the selected class and small opera glitch 2011-03-07 17:35:17 +01:00
Jordi Boggiano
bf18183adf [FrameworkBundle] Don't hide logs by default in exception pages 2011-03-07 17:00:57 +01:00
Bulat Shakirzyanov
b80f307efd [HttpKernel] got rid of url transformation into uri, as parse_url doesn't work with uris 2011-03-07 10:54:31 -05:00
Bulat Shakirzyanov
11e568ee0e [FrameworkBundle] fixed tests to conform to new xsd 2011-03-07 10:49:50 -05:00
Jordi Boggiano
b79fb28f12 [WebProfilerBundle] Display hand cursor on the close button 2011-03-07 15:03:45 +01:00
Fabien Potencier
9e2262e6a4 Merge remote branch 'ornicar/removeMethodVisibilityInBundleInterface'
* ornicar/removeMethodVisibilityInBundleInterface:
  [HttpKernel] Remove method visibility in BundleInterface
2011-03-07 08:33:21 +01:00
Fabien Potencier
544186dd59 Merge remote branch 'francisbesset/framework_exception'
* francisbesset/framework_exception:
  [FrameworkBundle] Fixed typo in traces.html.twig
  [FrameworkBundle] Fixed typo in trace.html.twig
2011-03-07 08:31:20 +01:00
Eriksen Costa
33c37085da [Locale] moved static constructor 2011-03-07 03:07:19 -03:00
Eriksen Costa
1e2fa773c2 [Locale] renamed method 2011-03-07 03:07:18 -03:00
Eriksen Costa
8825dc8166 [Locale] renamed private method name and variable method with better names 2011-03-07 03:07:18 -03:00
Eriksen Costa
78485356a9 [Locale] code conventions changes (static keyword before visibility keyword) 2011-03-07 03:07:18 -03:00
Eriksen Costa
d8e35a2f5c [Locale] added tests to document behavior not implemented by StubIntlDateFormatter::parse() 2011-03-07 03:07:18 -03:00
Eriksen Costa
0a577e6fce [Locale] added more tests to time zone parsing with AM/PM markers 2011-03-07 03:07:17 -03:00
Eriksen Costa
d2df09f744 [Locale] refactored time zone support 2011-03-07 03:07:12 -03:00
ornicar
5d794cc62a [HttpKernel] Remove method visibility in BundleInterface 2011-03-06 19:17:50 -08:00
Francis Besset
0f449dee80 [FrameworkBundle] Fixed typo in traces.html.twig 2011-03-07 00:08:39 +01:00
Francis Besset
1615f66909 [FrameworkBundle] Fixed typo in trace.html.twig 2011-03-07 00:04:38 +01:00
Francis Besset
a7e1058898 [WebProfilerBundle] Added security icon for the Web Profiler menu 2011-03-06 23:28:45 +01:00
Douglas Greenshields
e4f9f4ddd7 [WebProfilerBundle] changed search input on web profiler to use HTML5 search input type 2011-03-06 21:06:35 +00:00
Fabien Potencier
ecc0a83912 [WebProfilerBundle] updatd favicon 2011-03-06 19:05:01 +01:00
Francis Besset
f3eca3dab7 [SecurityBundle] Resize security icon for the web debug toolbar 2011-03-06 16:17:54 +01:00
Francis Besset
b03463dd55 [WebProfilerBundle] Deleted one pixel on the left for logs icon 2011-03-06 15:52:10 +01:00
Francis Besset
354996e344 [SecurityBundle] Fixed typo 2011-03-06 15:46:21 +01:00
Francis Besset
4c0f7f26e4 [WebProfiler] Fixed integration of web debug toolbar 2011-03-06 15:30:02 +01:00
Fabien Potencier
8c423edfef replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
Fabien Potencier
aca2c161c8 [WebProfilerBundle] made various changes to the profiler 2011-03-06 11:58:49 +01:00
Fabien Potencier
be8618ec56 [FrameworkBundle] made various small fixes to the Exception layout 2011-03-06 11:50:22 +01:00
alexandresalome
d7ce23fe53 Change the count span font size 2011-03-06 11:44:58 +01:00
alexandresalome
fa6a9c1db9 Make the width adapt the page 2011-03-06 11:44:58 +01:00
alexandresalome
0ce6630ba3 Change the doctrine image resource 2011-03-06 11:44:58 +01:00
alexandresalome
659bfc5615 Remove png_fix class 2011-03-06 11:44:58 +01:00
alexandresalome
0b41116a7b Change profiler menu entry images to be in template 2011-03-06 11:44:58 +01:00
alexandresalome
56dee48342 Change CSS URL to be relative to CSS folder 2011-03-06 11:44:58 +01:00
hhamon
91caf4b6e3 [WebProfilerBundle] customized search and admin tools in the profiler left sidebar 2011-03-06 11:44:57 +01:00
hhamon
124461ccee [WebProfilerBundle] fixed exception stack trace integration 2011-03-06 11:44:57 +01:00
hhamon
f0e1df2688 [FrameworkBundle] made the exception stack trace integratable in the web profiler 2011-03-06 11:44:57 +01:00
hhamon
f4f78d47c8 [WebProfilerBundle] simplified theme 2011-03-06 11:44:57 +01:00
hhamon
54ac63e3d5 [DoctrineMongoDBBundle] simplified database web profiler menu 2011-03-06 11:44:57 +01:00
hhamon
4bf66a363f [DoctrineBundle] simplified database web profiler menu 2011-03-06 11:44:57 +01:00
hhamon
8367694371 [WebProfilerBundle] simplified new web profiler layout 2011-03-06 11:44:57 +01:00
hhamon
ce7fddd4ea [SecurityBundle] updated profiler panel for the latest profiler theme 2011-03-06 11:44:57 +01:00
hhamon
bfb6e03290 [WebProfilerBundle] added missing security.png pictogram 2011-03-06 11:44:57 +01:00
hhamon
e51c46b21a [DoctrineMongoDBBundle] implemented new web profiler layout 2011-03-06 11:44:56 +01:00
hhamon
d37f52c743 [WebProfilerBundle] implemented new web profiler layout 2011-03-06 11:44:56 +01:00
hhamon
fcc66ad540 [DoctrineMongoDBBundle] fixed authentication panel for the new web debug toolbar layout 2011-03-06 11:44:56 +01:00
hhamon
1134fd17ab [SecurityBundle] fixed authentication panel for the new web debug toolbar layout 2011-03-06 11:44:56 +01:00
hhamon
a8e882ac51 [DoctrineBundle] fix database tab for the new web debug toolbar layout 2011-03-06 11:44:56 +01:00
hhamon
2d68ca4d00 [WebProfilerBundle] changed web debug toolbar css layout 2011-03-06 11:44:56 +01:00
hhamon
f75ec8d4ad [FrameworkBundle] implemented new exception stack trace layout 2011-03-06 11:44:56 +01:00
Fabien Potencier
c2e0537c31 Merge remote branch 'aurelijus/routehelper_cachedrouter_fix'
* aurelijus/routehelper_cachedrouter_fix:
  Add cache warmed routers support to RouteHelper
2011-03-06 10:50:11 +01:00
Lenar Lõhmus
c6bbecf0bb Check if config/template file is actually readable before further processing 2011-03-06 10:46:39 +01:00
Fabien Potencier
a137d72351 Merge remote branch 'hhamon/cookie_path_fix'
* hhamon/cookie_path_fix:
  [Security] renamed Cookie::isHttponly() to Cookie::isHttpOnly()
  [HttpKernel] renamed Cookie::isHttponly() to Cookie::isHttpOnly()
  [BrowserKit] renamed Cookie::isHttponly() to Cookie::isHttpOnly()
  [HttpFoundation] fix cookie path default value to / and added some new unit tests to cover the class
2011-03-06 10:44:40 +01:00