Fabien Potencier
e45d5fa857
merged vicb:template-factorization
2011-04-26 14:38:47 +02:00
Pascal Borreli
8c0beea677
[Phpdoc] Cleaning/fixing
2011-04-23 15:18:47 +00:00
Victor Berchet
5308a5c4f5
[WebProfilerBundle] Remove useless use clause
2011-04-23 11:24:28 +02:00
Victor Berchet
a79a94b928
[WebProfilerBundle] Sort tables by key name
2011-04-22 12:51:58 +02:00
Kris Wallsmith
cdf706d357
[DependencyInjection] renamed Definition::setArgument() as replaceArgument() to be more specific
2011-04-20 04:47:44 -07:00
Fabien Potencier
06c331d049
fixed typo
2011-04-19 15:26:51 +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
Fabien Potencier
ad112da5bc
added the request content to the request data collector
2011-04-15 11:31:08 +02:00
Francis Besset
79cfea20fd
[WebProfilerBundle] Displayed search form even if the session is not configured
2011-04-13 20:17:51 +02:00
Francis Besset
88c35c42e2
[WebProfilerBundle] Cleaned controller
2011-04-13 19:53:57 +02:00
Francis Besset
190ba5979c
[WebProfilerBundle] Fixed errors on search action
2011-04-13 19:53:57 +02:00
Francis Besset
0d9fb8db5f
[WebProfilerBundle] Fixed WebDebugToolbarListener
2011-04-13 19:53:57 +02:00
Francis Besset
713d3405b7
[WebProfilerBundle] Updated return Response
2011-04-13 19:53:57 +02:00
Francis Besset
81939136ad
[WebProfilerBundle] Fixed errors if the session is not configured
2011-04-13 19:53:57 +02:00
Fabien Potencier
55a8f8d098
extracted common layout for internal/core pages
...
CSS styles should probably be renamed at some point.
2011-04-12 12:32:59 +02:00
Fabien Potencier
d91a0747ec
[WebProfilerBundle] fixed button names to be more consistent with others
2011-04-08 17:56:08 +02:00
Victor Berchet
b640fcb0f0
[Config] Introduction of an ConfigurationInterface
2011-04-05 11:26:28 +02:00
Victor Berchet
6164054972
[WebProfilerBundle] Tweak the wdtb css
2011-04-05 08:05:59 +02:00
Fabien Potencier
87f808757d
[WebProfileBundle] replaced an inclusion with a macro
2011-04-05 07:54:07 +02:00
Fabien Potencier
c2880378b9
Revert "[WebProfilerBundle] Tweak html markup and css"
...
This reverts commit 60b96e7c57
.
I want to be able to display several toolbars on the same page
2011-04-05 07:51:32 +02:00
Fabien Potencier
d61a685786
Merge remote branch 'vicb/wdtb_and_events'
...
* vicb/wdtb_and_events:
[WebProfilerBundle] Event panel: details & links to the listener method when applicable
[WebProfilerBundle] Tweak html markup and css
[WebProfilerBundle] Update the event panel layout
[WebProfilerBundle] Style abbr elements
2011-04-05 07:46:34 +02:00
Victor Berchet
b5f3d14714
[WebProfilerBundle] Event panel: details & links to the listener method when applicable
2011-04-05 01:23:31 +02:00
Victor Berchet
60b96e7c57
[WebProfilerBundle] Tweak html markup and css
2011-04-04 23:09:43 +02:00
Victor Berchet
1f1ee3cb01
[WebProfilerBundle] Update the event panel layout
2011-04-04 20:15:39 +02:00
Victor Berchet
f58658f929
[WebProfilerBundle] Style abbr elements
2011-04-04 19:28:09 +02:00
Fabien Potencier
ae2629ce30
merged vicb/profiler_verbose
2011-04-04 18:43:33 +02:00
Fabien Potencier
117b6997b4
[WebProfilerBundle] removed redundant info
2011-04-04 12:45:25 +02:00
Fabien Potencier
01ee1bfed1
merged stof/monolog
2011-04-04 12:29:15 +02:00
Fabien Potencier
f232b3cdda
reverted Merge remote branch 'kriswallsmith/kernel/shorter-bundle-names'
2011-04-04 11:10:56 +02:00
Fabien Potencier
743592d81e
Revert "fixed remaining Bundle suffixes"
...
This reverts commit 315147c6c8
.
2011-04-04 11:08:56 +02:00
Jordi Boggiano
21b3ee6783
[WebProfilerBundle] Prevent redirects to be intercepted in XHRs
2011-04-03 21:21:23 +02:00
Jordi Boggiano
a16f1865b5
[WebProfilerBundle] Display errors logged by monolog properly in logger panel
2011-04-03 16:36:04 +02:00
Victor Berchet
5e141402e1
[WebProfilerBundle] Fix the intercept_redirects option
2011-04-02 16:13:08 +02:00
Victor Berchet
ac03440d7a
[WebProfilerBundle] Make wdtb verbosity configurable
2011-04-02 16:13:08 +02:00
Victor Berchet
b2be041475
[WebProfilerBundle] Remove the format and content type from the wdtb
2011-04-02 16:13:07 +02:00
Fabien Potencier
fcea63c0a1
[WebProfilerBundle] prefixed all services with web_profiler
2011-03-30 20:36:52 +02:00
Fabien Potencier
33ee321d28
[WebProfilerBundle] fixed typo
2011-03-30 20:03:34 +02:00
Fabien Potencier
bdc07ad13e
[WebProfilerBundle] converted the configuration to the new system
2011-03-30 19:31:32 +02:00
Victor Berchet
db0149ba6e
[WebProfilerBundle] Fix a few typos
2011-03-29 23:09:29 +02:00
Fabien Potencier
315147c6c8
fixed remaining Bundle suffixes
2011-03-28 19:04:02 +02:00
Kris Wallsmith
ade83e2e80
updated codebase to use shorter bundle names
...
Controllers:
"BlogBundle:Post:show" is now "Blog:Post:show"
Templates:
"BlogBundle:Post:show.html.twig" is now "Blog:Post:show.html.twig"
Resources:
"@BlogBundle/Resources/config/blog.xml" is now "@Blog/Resources/config/blog.xml"
Doctrine:
"$em->find('BlogBundle:Post', $id)" is now "$em->find('Blog:Post', $id)"
2011-03-27 06:25:43 -07:00
Fabien Potencier
6fe8884ad8
[WebProfilerBundle] fixed WDT (please test before sending a PR -- I'm wasting my time)
2011-03-26 17:14:02 +01:00
Fabien Potencier
7a3185c856
[WebProfilerBundle] fixed tests
2011-03-26 17:04:10 +01:00
Antoine Hérault
7049810729
[WebProfilerBundle] Use a template for the redirection interceptions
2011-03-26 16:43:53 +01:00
Antoine Hérault
237d7fd327
[WebProfilerBundle] Add some tests for the listener
2011-03-26 16:43:16 +01:00
Antoine Hérault
614cf4c7b0
Remove kernel from the web debug toolbar
2011-03-25 00:15:19 +01:00
Fabien Potencier
662a4b3740
removed the status message from HttpException, changed the signature so that most useful arguments are first, fixed many small problems introduced with previous HTTP exception refactoring
...
Quote from HTTP (bis) spec (Part 2 - 5.1.1):
The Reason Phrase exists for the
sole purpose of providing a textual description associated with the
numeric status code, out of deference to earlier Internet application
protocols that were more frequently used with interactive text
clients. A client SHOULD ignore the content of the Reason Phrase.
2011-03-23 16:11:54 +01:00
Fabien Potencier
82dec51b30
moved integration between the Yaml component and Twig to a Symfony Bridge
2011-03-23 15:50:55 +01:00
Miha Vrhovnik
5a620c0573
unless I'm missing something the first instance of loader is not used and thus not needed
2011-03-21 11:11:49 +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
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
0c8ff92ecd
made the controller name in the WDT clickable
2011-03-18 16:09:21 +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
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
Fabien Potencier
d02a700c06
[FrameworkBundle] fixed the traceable event manager
2011-03-18 07:42:41 +01: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
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
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
0610385615
Merge remote branch 'vicb/profiler_liquid'
2011-03-16 19:37:02 +01:00
Victor Berchet
d56fadfbb9
[WebProfilerBundle] Use a liquid layout rather than a fixed width layout.
2011-03-16 18:02:55 +01:00
Fabien Potencier
ad3b7e912d
merged noelg/profiler
2011-03-16 16:44:44 +01:00
Martin Hason
aae492f79b
removed unused use statements in DIC extensions
2011-03-16 11:29:41 +01:00
Victor Berchet
8128300baa
[WebProfilerBundle] Revert the support for a status in data collectors
2011-03-14 17:24:11 +01:00
Victor Berchet
ddb935a4f0
[WebProfilerBundle] Tweak styles
2011-03-14 10:37:45 +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
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
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
Fabien Potencier
e0b46fea73
[WebProfilerBundle] hmmmm
2011-03-11 21:34:46 +01: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
18e56409c6
Merge remote branch 'azogheb/webProfilerOptimization'
...
* azogheb/webProfilerOptimization:
[WebProfilerBundle] Optimization to listener
2011-03-09 21:54:06 +01: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
Victor Berchet
6571140b17
[WebProfilerBundle] Always use the default background color for counters
2011-03-09 17:27:48 +01:00
Victor Berchet
95d3fd2fdb
[WebProfilerBundle] Always use the default background color for counters
2011-03-09 17:25:28 +01:00
Victor Berchet
643a2d5657
[WebProfilerBundle] Remove dead code
2011-03-09 16:15:31 +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
Victor Berchet
45ff4948b3
[WebProfilerBundle] Apply missing styles
2011-03-09 14:06:57 +01: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
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
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
Fabien Potencier
91d7caca6b
merged
2011-03-08 09:08:09 +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
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
Exeu
58123c620f
Fixed the Profiler-Layout of MongoDBBundle to work without actuvating the DoctrineBundle
2011-03-07 18:00:24 +01:00
Jordi Boggiano
b79fb28f12
[WebProfilerBundle] Display hand cursor on the close button
2011-03-07 15:03: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
b03463dd55
[WebProfilerBundle] Deleted one pixel on the left for logs icon
2011-03-06 15:52:10 +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
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
f4f78d47c8
[WebProfilerBundle] simplified theme
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
bfb6e03290
[WebProfilerBundle] added missing security.png pictogram
2011-03-06 11:44:57 +01:00
hhamon
d37f52c743
[WebProfilerBundle] implemented new web profiler 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
Bernhard Schussek
f1393d7b1f
Replaced EventDispatcher by Doctrine's EventManager implementation
...
Doctrine's EventManager implementation has several advantages over the
EventDispatcher implementation of Symfony2. Therefore I suggest that we
use their implementation.
Advantages:
* Event Listeners are objects, not callbacks. These objects have handler
methods that have the same name as the event. This helps a lot when
reading the code and makes the code for adding an event listener shorter.
* You can create Event Subscribers, which are event listeners with an
additional getSubscribedEvents() method. The benefit here is that the
code that registers the subscriber doesn't need to know about its
implementation.
* All events are defined in static Events classes, so users of IDEs benefit
of code completion
* The communication between the dispatching class of an event and all
listeners is done through a subclass of EventArgs. This subclass can be
tailored to the type of event. A constructor, setters and getters can be
implemented that verify the validity of the data set into the object.
See examples below.
* Because each event type corresponds to an EventArgs implementation,
developers of event listeners can look up the available EventArgs methods
and benefit of code completion.
* EventArgs::stopPropagation() is more flexible and (IMO) clearer to use
than notifyUntil(). Also, it is a concept that is also used in other
event implementations
Before:
class EventListener
{
public function handle(EventInterface $event, $data) { ... }
}
$dispatcher->connect('core.request', array($listener, 'handle'));
$dispatcher->notify('core.request', new Event(...));
After (with listeners):
final class Events
{
const onCoreRequest = 'onCoreRequest';
}
class EventListener
{
public function onCoreRequest(RequestEventArgs $eventArgs) { ... }
}
$evm->addEventListener(Events::onCoreRequest, $listener);
$evm->dispatchEvent(Events::onCoreRequest, new RequestEventArgs(...));
After (with subscribers):
class EventSubscriber
{
public function onCoreRequest(RequestEventArgs $eventArgs) { ... }
public function getSubscribedEvents()
{
return Events::onCoreRequest;
}
}
$evm->addEventSubscriber($subscriber);
$evm->dispatchEvent(Events::onCoreRequest, new RequestEventArgs(...));
2011-03-05 15:30:34 +01:00
Alexander Zogheb
80b282b115
[WebProfilerBundle] Optimization to listener
2011-03-05 00:57:48 -08:00
noel guilbert
a8eff2b154
Improved profiler to store and retrieve sub requests data
2011-02-26 17:24:02 +01:00
Kris Wallsmith
2b2a7f0a1d
added nowrap style to WDT toolbar so image and text stays together when the toolbar wraps
2011-02-24 06:14:08 -08:00
Fabien Potencier
353177d1d6
replaced Response::createRedirect by a new RedirectResponse class
2011-02-21 18:10:53 +01:00
Fabien Potencier
d94acd85f9
remove response as a service
...
The Response is not available in the DIC anymore.
When you need to create a response, create an instance of
Symfony\Component\HttpFoundation\Response instead.
As a side effect, the Controller::createResponse() and Controller::redirect()
methods have been removed and can easily be replaced as follows:
return $this->createResponse('content', 200, array('foo' => 'bar'));
return new Response('content', 200, array('foo' => 'bar'));
return $this->redirect($url);
return Response::createRedirect($url);
2011-02-21 17:36:04 +01:00
Fabien Potencier
23e9386a0e
changed all extensions to use the default Extension::getAlias() impl
2011-02-20 08:58:37 +01:00
Fabien Potencier
28bf834c0c
[WebProfilerBundle] made the WDT less intruisive by moving it to its own Ajax request
2011-02-19 23:05:22 +01:00
Fabien Potencier
67ec6e5d94
Merge remote branch 'hidenorigoto/fix-profiler-header'
...
* hidenorigoto/fix-profiler-header:
[WebProfilerBundle]link to the original url to go back to the application easily
2011-02-19 17:32:19 +01:00
hidenorigoto
bbdbd81877
[WebProfilerBundle]link to the original url to go back to the application easily
2011-02-20 01:05:31 +09:00
Christophe Coevoet
857a9f3b8b
[WebProfilerBundle] Fixed template to work with the new behavior of {% set %}
2011-02-19 16:54:34 +01:00
Fabien Potencier
0834bf47dc
[WebProfilerBundle] removed the WDT on malformed HTML content
2011-02-19 14:41:22 +01:00
Fabien Potencier
2c45611f4e
fixed WDT link to the profiler
2011-02-19 14:11:18 +01:00
Fabien Potencier
dff3585162
fixed profiler when using ESI in dev env
2011-02-19 12:18:49 +01:00
Lukas Kahwe Smith
7f182bd877
implicitly load all registered bundles, all loading is now handled by load(), disable loading of an extension explcitly via setting the extension config to false (for now only Yaml is implemented)
2011-02-15 22:11:08 +01:00
Fabien Potencier
14aa95ba21
added the concept of a main DIC extension for bundles
...
This allows for better conventions and better error messages if you
use the wrong configuration alias in a config file.
This is also the first step for a bigger refactoring of how the configuration
works (see next commits).
* Bundle::registerExtensions() method has been renamed to Bundle::build()
* The "main" DIC extension must be renamed to the new convention to be
automatically registered:
SensioBlogBundle -> DependencyInjection\SensioBlogExtension
* The main DIC extension alias must follow the convention:
sensio_blog for SensioBlogBundle
* If you have more than one extension for a bundle (which should really
never be the case), they must be registered manually by overriding the
build() method
* If you use YAML or PHP for your configuration, renamed the following
configuration entry points in your configs:
app -> framework
webprofiler -> web_profiler
doctrine_odm -> doctrine_mongo_db
2011-02-15 22:11:07 +01:00
Fabien Potencier
5c905beb13
moved common configuration classes to a new Config component
2011-02-13 22:31:50 +01:00
Fabien Potencier
b91f082be5
Revert "moved Resource to the Config component"
...
This reverts commit f53080860a
.
Revert "[Router] config fixes"
This reverts commit 51beecc6f2
.
Revert "moved duplicated files to a new Config component"
This reverts commit a8ec9b27f0
.
2011-02-10 16:14:12 +01:00
Fabien Potencier
f53080860a
moved Resource to the Config component
2011-02-10 16:07:42 +01:00
hidenorigoto
82a8a3fb42
[WebProfilerBundle][FrameworkBundle]Fixed events panel to handle closures correctly
2011-02-10 15:32:04 +01:00
Fabien Potencier
a8ec9b27f0
moved duplicated files to a new Config component
2011-02-10 03:43:36 +01:00
Fabien Potencier
e58a84eb09
added a FileLocator to DIC so that we can load resources like @BundleName/Resources/...
2011-02-10 00:44:02 +01:00
Fabien Potencier
e5403490e7
removed the need to define getNamespace() and getPath() in bundles
2011-02-05 22:40:30 +01:00
Fabien Potencier
f455700b88
fixed previous commit
2011-02-04 12:18:26 +01:00
Victor Berchet
3ed47114d6
[Bundle] Make getPath() less error prone by allowing both backward and forward slashes
2011-02-04 12:12:19 +01:00
Fabien Potencier
e645090423
moved security related things to a new SecurityBundle (the Security component is left unchanged)
2011-01-26 19:10:54 +01:00
Fabien Potencier
0e66e388ec
added two interfaces: EventInterface and EventDispatcherInterface
2011-01-25 14:23:32 +01:00
Fabien Potencier
1c11d81611
made all event listeners lazy loaded
...
* The register() method on all listeners has been removed
* Instead, the information is now put directly in the DIC tag
For instance, a listener on core.request had this method:
public function register(EventDispatcher $dispatcher, $priority = 0)
{
$dispatcher->connect('core.response', array($this, 'filter'), $priority);
}
And this tag in the DIC configuration:
<tag name="kernel.listener" />
Now, it only has the following configuration:
<tag name="kernel.listener" event="core.response" method="filter" priority="0" />
The event and method attributes are now mandatory.
2011-01-23 18:07:05 +01:00