This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/HttpKernel
Fabien Potencier 01dfca1590 feature #28934 [WebProfilerBundle] Add channel log filter (ro0NL)
This PR was squashed before being merged into the 4.2-dev branch (closes #28934).

Discussion
----------

[WebProfilerBundle] Add channel log filter

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

Continuation of #28906

The JS is revised to be more generic;

- support 2 filter types: `level` and `choice` (respectively `Log level` and `Log channel` here)
- remove default filter value support (not used yet, but opportunity kept open) - it requires a bit more work to genericify it.
- filters refines the resultset (e.g. show all logs in the app channel with priority higher than alert)

![image](https://user-images.githubusercontent.com/1047696/47257162-b01bfe00-d48a-11e8-8364-d1eca69c9182.png)

Level filter (works the same as shown in #28906 )

![image](https://user-images.githubusercontent.com/1047696/47257699-78648480-d491-11e8-8c55-1dccda980de4.png)

Choice filter

![image](https://user-images.githubusercontent.com/1047696/47257205-3c2e2580-d48b-11e8-821b-e95bfed36331.png)

![image](https://user-images.githubusercontent.com/1047696/47257209-4bad6e80-d48b-11e8-8fcc-e868aa556ff8.png)

We forgot to update TwigBundle previously, that's still needed after review here.

Commits
-------

e1bd82e89c [WebProfilerBundle] Add channel log filter
2018-10-24 05:22:28 +02:00
..
Bundle Merge branch '3.4' into 4.1 2018-09-08 15:24:10 +02:00
CacheClearer feature #26223 [FrameworkBundle] Add command to delete an item from a cache pool (pierredup) 2018-03-02 13:13:05 +01:00
CacheWarmer Merge branch '4.1' 2018-07-26 10:59:12 +02:00
Config Merge branch '3.4' into 4.1 2018-10-02 14:40:59 +02:00
Controller Merge branch '4.1' 2018-09-09 11:23:23 +02:00
ControllerMetadata Merge branch '3.4' into 4.1 2018-10-02 14:40:59 +02:00
DataCollector feature #28934 [WebProfilerBundle] Add channel log filter (ro0NL) 2018-10-24 05:22:28 +02:00
Debug Merge branch '3.4' into 4.1 2018-09-05 09:26:50 +02:00
DependencyInjection [DI] Allow autowiring by type + parameter name 2018-08-23 11:47:19 +02:00
Event Merge branch '3.4' into 4.0 2018-07-26 11:08:35 +02:00
EventListener Make trans + %count% parameter resolve plurals 2018-10-06 18:22:22 +02:00
Exception Merge branch '4.1' 2018-07-26 10:59:12 +02:00
Fragment Merge branch '3.4' into 4.1 2018-09-30 05:38:13 +02:00
HttpCache Merge branch '3.4' into 4.1 2018-08-24 16:41:24 +02:00
Log Merge branch '4.0' into 4.1 2018-07-26 10:55:25 +02:00
Profiler Merge branch '4.1' 2018-10-02 14:43:31 +02:00
Resources Display the Welcome Page when there is no homepage defined 2018-03-11 13:19:35 -05:00
Tests [WebProfilerBundle] Remove application name 2018-10-23 14:46:28 +02:00
.gitignore
CHANGELOG.md [WebProfilerBundle] Remove application name 2018-10-23 14:46:28 +02:00
Client.php Merge branch '3.4' into 4.1 2018-09-05 13:58:22 +02:00
composer.json [Contracts] Add Translation\TranslatorInterface + decouple symfony/validator from symfony/translation 2018-09-03 15:19:33 +02:00
HttpKernel.php Remove all usages of call_user_func_array() 2018-09-11 09:53:26 +02:00
HttpKernelInterface.php remove api tags from code 2015-09-28 19:11:22 +02:00
Kernel.php [HttpKernel] fix kernel.name deprecation 2018-10-16 14:29:39 +02:00
KernelEvents.php Merge branch '2.8' into 3.3 2017-11-05 16:47:03 +01:00
KernelInterface.php [HttpKernel] Introduce KernelInterface::getProjectDir() 2018-10-17 11:36:49 +02:00
LICENSE fixed years in copyright 2018-01-03 08:23:28 +01:00
phpunit.xml.dist fail when detecting risky tests 2017-04-12 09:39:27 +02:00
README.md Updated all the README files 2016-03-04 08:12:06 +01:00
RebootableInterface.php [HttpKernel][FrameworkBundle] Add RebootableInterface, fix and un-deprecate cache:clear with warmup 2017-08-18 13:51:16 +02:00
TerminableInterface.php [DI] minor docblock fixes 2017-10-24 13:40:19 +02:00
UriSigner.php Replace more docblocks by type-hints 2017-11-07 15:45:01 +01:00

HttpKernel Component

The HttpKernel component provides a structured process for converting a Request into a Response by making use of the EventDispatcher component. It's flexible enough to create a full-stack framework (Symfony), a micro-framework (Silex) or an advanced CMS system (Drupal).

Resources