Commit Graph

22156 Commits

Author SHA1 Message Date
Javier Eguiluz
7ec1cd491d Reverted the feature to display different toolbar versions 2015-07-30 09:29:46 +02:00
Javier Eguiluz
084cca644d Minor JavaScript optimizations 2015-07-30 09:29:45 +02:00
Javier Eguiluz
972a92e778 Misc. tweaks and improvements 2015-07-30 09:29:45 +02:00
Javier Eguiluz
ebb44e4832 Added some styles to make old panels look better in the new design 2015-07-30 09:29:45 +02:00
Javier Eguiluz
1847285322 Pass the toolbar version number from the controller, to ease transition and keep BC 2015-07-30 09:29:45 +02:00
Javier Eguiluz
a0e03f6b2c Minor tweaks 2015-07-30 09:29:45 +02:00
Javier Eguiluz
002dda5bd3 Fixed toolbar issues when displaying it inside the profiler 2015-07-30 09:29:45 +02:00
Javier Eguiluz
e94a6a02b1 Smaller font sizes for smartphones, fixed request status padding issue
and make too long panels always be displayed at the leftmost part of browser window
2015-07-30 09:29:45 +02:00
Javier Eguiluz
9b585b9808 Made the close icon a bit smaller 2015-07-30 09:29:44 +02:00
Javier Eguiluz
3ab2e20913 fixed all vertical aligning issues and tweaked icons 2015-07-30 09:29:44 +02:00
Javier Eguiluz
f087ac0bcd More vertical aligning fixes 2015-07-30 09:29:44 +02:00
Javier Eguiluz
9e38a8aa96 Minor CSS tweaks and made font sizes bigger 2015-07-30 09:29:44 +02:00
Javier Eguiluz
0dfcb602ef Fixed an issue with the Config panel in the Profiler view 2015-07-30 09:29:44 +02:00
Javier Eguiluz
cd53210161 Fixed another z-index issue 2015-07-30 09:29:44 +02:00
Javier Eguiluz
e28f895a18 A very high z-index value is required to avoid issues in the profiler view 2015-07-30 09:29:43 +02:00
Javier Eguiluz
23dc884dcf Fixed a potential issue in the request panel 2015-07-30 09:29:43 +02:00
Javier Eguiluz
7c35d25bae Fixed another insignificant syntax issue 2015-07-30 09:29:43 +02:00
Javier Eguiluz
e14fb6d5c9 Fixed a minor syntax issue 2015-07-30 09:29:43 +02:00
Javier Eguiluz
9d89841e3a Finished the toolbar redesign 2015-07-30 09:29:43 +02:00
Javier Eguiluz
b25b6dd608 Finished "dump" panel and other minor tweaks 2015-07-30 09:29:43 +02:00
Javier Eguiluz
2bccdd4a62 Minor CSS fixes 2015-07-30 09:29:43 +02:00
Javier Eguiluz
c0bee9b7e7 Tweaked the Twig panel 2015-07-30 09:29:42 +02:00
Javier Eguiluz
77d522a8cb Tweaked the translation panel 2015-07-30 09:29:42 +02:00
Javier Eguiluz
041d4243a1 Improved the Security toolbar panel 2015-07-30 09:29:42 +02:00
Javier Eguiluz
af3dcb2a97 Minor Ajax tweaks 2015-07-30 09:29:42 +02:00
Javier Eguiluz
acee052b68 Finished the Ajax panel redesign 2015-07-30 09:29:42 +02:00
Javier Eguiluz
fac5391dab Lots of minor improvements 2015-07-30 09:29:42 +02:00
Javier Eguiluz
ef53850cb3 More fixes and tweaks 2015-07-30 09:29:41 +02:00
Javier Eguiluz
51a79c92e6 Reorder toolbar panels 2015-07-30 09:29:41 +02:00
Javier Eguiluz
2735346308 Fixed a minor markup error that broke the toolbar 2015-07-30 09:29:41 +02:00
Javier Eguiluz
64b8f38ddf A new batch of updates 2015-07-30 09:29:41 +02:00
Javier Eguiluz
4eee931381 Restored all the code removed by mistake 2015-07-30 09:29:41 +02:00
Javier Eguiluz
b6f413fc2c First batch of fixes 2015-07-30 09:29:41 +02:00
Javier Eguiluz
c2fcadc6fe Redesigned the web debug toolbar 2015-07-30 09:29:40 +02:00
Fabien Potencier
004c1fdf2a bug #15392 Fix missing _route parameter notice in RouterListener logging case (Haehnchen)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #15392).

Discussion
----------

Fix missing _route parameter notice in RouterListener logging case

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | na
| License       | MIT
| Doc PR        | na

`\Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest` missed test cases in logging condition. So if we provide routing matches without a `_route` parameter `notice` messages are thrown. In this case i added a check and use `n/a` for empty route names as this is also shown in profiler if it not exists.

Commits
-------

0ce91a6 Fix missing _route parameter notice in RouterListener logging case
2015-07-29 09:47:07 +02:00
Daniel Espendiller
0ce91a6019 Fix missing _route parameter notice in RouterListener logging case 2015-07-29 09:46:44 +02:00
Nicolas Grekas
2655072bfd Merge branch '2.7' into 2.8
* 2.7:
  [php7] Fix for substr() always returning a string
  [Security] Do not save the target path in the session for a stateless firewall
  Fix calls to HttpCache#getSurrogate triggering E_USER_DEPRECATED errors.
  [DependencyInjection] fixed FrozenParameterBag and improved Parameter…
2015-07-29 09:12:56 +02:00
Fabien Potencier
1fd70891d3 minor #15383 [Security] Small optimization in AccessDecisionManager (jderusse)
This PR was merged into the 2.8 branch.

Discussion
----------

[Security] Small optimization in AccessDecisionManager

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | na
| License       | MIT
| Doc PR        | na

- Remove unused variable `$abstain`
- Remove equals comparison: if not `$grant > $deny` and not `$deny > $grant` then `$grant` equals `$deny`

Commits
-------

0e93463 Small optimization in AccessDecisionManager
2015-07-29 08:49:04 +02:00
Fabien Potencier
342c4b5fd1 bug #15390 [php7] Fix for substr() always returning a string (nicolas-grekas)
This PR was merged into the 2.7 branch.

Discussion
----------

[php7] Fix for substr() always returning a string

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #14086
| License       | MIT
| Doc PR        | -

The remaining failures will stop once https://bugs.php.net/bug.php?id=70159 is fixed ([patch pending](a28115ccdb)).

Commits
-------

d6dfe98 [php7] Fix for substr() always returning a string
2015-07-29 08:44:12 +02:00
Christian Flothmann
ad6cb10e63 do not dump leading backslashes in class names 2015-07-28 20:25:33 +02:00
Christian Flothmann
ecc3df5aae let Travis builds fail when PHP 7 jobs fail 2015-07-28 19:36:45 +02:00
Nicolas Grekas
d6dfe9871c [php7] Fix for substr() always returning a string 2015-07-28 17:18:12 +02:00
bokonet
5179acc29b fix issue #15377 2015-07-28 16:52:34 +02:00
Nicolas Grekas
c37387dc02 Merge branch '2.3' into 2.7
* 2.3:
  [php7] Fix for substr() always returning a string
  [Security] Do not save the target path in the session for a stateless firewall
  [DependencyInjection] fixed FrozenParameterBag and improved Parameter…

Conflicts:
	src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php
	src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php
2015-07-28 16:07:07 +02:00
Fabien Potencier
ccf52ecd6e bug #15386 [php7] Fix for substr() always returning a string (nicolas-grekas)
This PR was merged into the 2.3 branch.

Discussion
----------

[php7] Fix for substr() always returning a string

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #14086
| License       | MIT
| Doc PR        | -

This should be the last required fix for PHP7 support.

The patch in the debug component is a workaround for a bug in PHP7 (http://3v4l.org/8rm9B) that is going to be fixed soon (@jpauli power).

Commits
-------

77ee866 [php7] Fix for substr() always returning a string
2015-07-28 15:07:31 +02:00
Nicolas Grekas
77ee866dd8 [php7] Fix for substr() always returning a string 2015-07-28 14:38:40 +02:00
Jérémy Derussé
0e934637df Small optimization in AccessDecisionManager 2015-07-28 13:34:41 +02:00
Jérémy Derussé
a7bef1eb2d Change the default value of cookie_httponly to fix #15303 2015-07-28 13:20:34 +02:00
WouterJ
a336f0e98e Skip ::class constant 2015-07-27 20:12:35 +02:00
Fabien Potencier
633d0d835c bug #15355 [Security] Do not save the target path in the session for a stateless firewall (lyrixx)
This PR was submitted for the 2.8 branch but it was merged into the 2.3 branch instead (closes #15355).

Discussion
----------

[Security] Do not save the target path in the session for a stateless firewall

| Q             | A
| ------------- | ---
| Bug fix?      | partially
| New feature?  | partially
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | -
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Note: I think this PR can be merged into 2.3 because it's like a bug fix

Commits
-------

3358253 [Security] Do not save the target path in the session for a stateless firewall
2015-07-26 20:14:14 +02:00