Commit Graph

21740 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
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
Nicolas Grekas
d6dfe9871c [php7] Fix for substr() always returning a string 2015-07-28 17:18:12 +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
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
Grégoire Pineau
335825363d [Security] Do not save the target path in the session for a stateless firewall 2015-07-26 20:14:09 +02:00
Fabien Potencier
0252e4e2e4 bug #15306 [HttpKernel] [HttpCache] Fix deprecated error in HttpCache#getSurrogate (m14t)
This PR was submitted for the 2.8 branch but it was merged into the 2.7 branch instead (closes #15306).

Discussion
----------

[HttpKernel] [HttpCache] Fix deprecated error in HttpCache#getSurrogate

| Q             | A
| ------------- | ---
| Bug fix?      | yes? - I could not find an open issue, but it does appear to be a but to throw a `E_USER_DEPRECATED` when calling a non-depreciated method.
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no - but related to
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Currently calls to `HttpCache#getEsi` correctly trigger a `E_USER_DEPRECATED` error and inform the user that they should instead use `HttpCache#getSurrogate`.

Unfortunately `HttpCache#getSurrogate` currently calls `$this->getEsi();` which will result in the `E_USER_DEPRECATED` still being triggered.

This pull request simply moves the logic that was previously in `getEsi` to `getSurrogate`, and leaves `getEsi` as a wrapper around `getSurrogate` with the addition of also triggering this warning.

This pull request also effects the 2.7 branch.

Commits
-------

32d964b Fix calls to HttpCache#getSurrogate triggering E_USER_DEPRECATED errors.
2015-07-26 20:11:56 +02:00
Matt Farmer
32d964ba39 Fix calls to HttpCache#getSurrogate triggering E_USER_DEPRECATED errors. 2015-07-26 20:11:55 +02:00
Fabien Potencier
f1ebfd7b47 minor #15172 [DependencyInjection] fixed FrozenParameterBag and improved Parameter… (Tomaz Ahlin)
This PR was squashed before being merged into the 2.3 branch (closes #15172).

Discussion
----------

[DependencyInjection] fixed FrozenParameterBag and improved Parameter…

The ParameterBagInterface was missing some @throws annotations, so the FrozenParameterBag class was a violation of Liskov subtitution principle. Also the ParameterBagInterface was missing the remove method.

(Optionally the ParameterBagInterface can be later split into two smaller interfaces, because the FrozenParameterBag shouldn't have the add, remove methods in the first place.)

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

I have also fixed removing elements from FrozenParameterBag, as introduced by @satahippy
https://github.com/symfony/DependencyInjection/pull/8

Commits
-------

3ad0794 [DependencyInjection] fixed FrozenParameterBag and improved Parameter…
2015-07-26 20:10:55 +02:00
Tomaz Ahlin
3ad0794aa1 [DependencyInjection] fixed FrozenParameterBag and improved Parameter… 2015-07-26 20:10:26 +02:00
Fabien Potencier
96e211d2da Merge branch '2.7' into 2.8
* 2.7:
  [Yaml] throw a ParseException on invalid data type
  [TwigBridge] type-dependent path discovery
  Resources as string have the same problem
  Introduce failing test case when a SplFileInfo object is passed to the extract() method in the TwigExtractor.
  #15331 add infos about deprecated classes to UPGRADE-3.0
  [Asset] removed unused private property.
  [Security] removed useless else condition in SwitchUserListener class.
  [travis] Tests deps=low with PHP 5.6
  [Console] Fix console output with closed stdout
2015-07-26 11:09:29 +02:00
Fabien Potencier
cd8ccffbad Merge branch '2.6' into 2.7
* 2.6:
  [Yaml] throw a ParseException on invalid data type
  #15331 add infos about deprecated classes to UPGRADE-3.0
  [Security] removed useless else condition in SwitchUserListener class.
  [travis] Tests deps=low with PHP 5.6
  [Console] Fix console output with closed stdout
2015-07-26 11:08:49 +02:00