1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-17 05:18:32 +01:00

745 Commits

Author SHA1 Message Date
Sébastien Nikolaou
7a13e2a42e Use system fonts (#320)
Use system fonts to match current OS UI chrome for `sans-serif` and
`monospace` fonts, giving a more consistent look with the OS and other
developer tools in the browser.

As as side note, this technique is also used by GitHub.

Read more: https://css-tricks.com/snippets/css/system-font-stack/
2017-02-18 22:41:22 +01:00
Jeremy Coates
60a7809366 Added array reverse to find results (#297)
The OpenHandler modal returns results in oldest first order by default, changed storage find method so newest entries are at the top.
2017-01-19 23:01:49 +01:00
James Johnston
afee79a236 Fix front-end crash when no twig collector exists (#312)
If the twig collector wasn’t used on a particular request, the twig
widget crashes the client.  Fix the bug by assuming a default array of
zero templates.

(For example, an AJAX call that didn’t construct a TwigCollector would
trigger this crash.)
1.13.1
2017-01-05 09:46:19 +01:00
James Johnston
f7aa6884c2 TimeDataCollector sorts measurements by start time (#313)
Sometimes, users of this collector may not add measurements in order of
the start time.  For example, various existing measurement systems may
feed existing measurements into this class via the addMeasure function.

Sort the measurements by start time during collection.  This yields a
nice, chronological view of the measurements, similar to Chrome
DevTools.
2016-12-29 17:08:42 +01:00
James Johnston
f243e9c104 Fix bodyMarginBottomHeight-related bugs in DebugBar (#311)
This fixes two problems:

1.  In recomputeBottomOffset, if bodyMarginBottomHeight is NaN, we need
    to change that to a 0 before adding so we don’t end up setting
    the offset variable to NaN.

2.  We now initialize bodyMarginBottomHeight in the initialize function.
    This fixes a bug where bodyMarginBottomHeight gets set to NaN if the
    debugbar.js is included in the page header and not the page body
    (i.e. before the body element has been loaded).
2016-12-24 18:24:18 +01:00
Barry vd. Heuvel
938526c695 Check for unsafe header (#308)
Some headers are unsafe to read (in Chrome), checking all returned headers will prevent these errors. See https://github.com/barryvdh/laravel-debugbar/issues/384
2016-12-19 21:49:44 +01:00
H2lsoft
e7f2b72231 Change icon to database instead of inbox (#307) 2016-12-15 09:00:32 +01:00
Steve Pavarno
cea4d73dd3 Update docs for PDOConnector (#305)
see #299
2016-11-28 19:59:25 +01:00
Diogo Gomes
fe53541800 change count for unique and duplicated queries (#304) 2016-11-25 11:42:32 +01:00
Steve Pavarno
eb69e38f71 add pdo connection name to time collector (#301)
so that we can see that a specific measure came from a pdo connection, and which connection that was.
2016-11-21 13:47:01 +01:00
Nick Edwards
b18f24deb9 forces direction of text to be ltr (#294) 2016-10-04 11:12:45 +02:00
Barry vd. Heuvel
5f49a5ed6c Update composer.json v1.13.0 2016-09-15 16:01:59 +02:00
Andy Miller
c639a84351 Added Grav to integrations (#292)
I've added Grav to the list of integrations as we've been using DebugBar in Grav for the past couple of years.  Thanks for the great project!
2016-08-28 17:57:48 +02:00
Thomas Portelange
a57db25bb3 Integration with SilverStripe (#290) 2016-08-09 16:07:21 +02:00
Barry vd. Heuvel
7c62c30a1e Add Throwables, deprecate exceptions (#281)
* Add addThrowable
* Update composer.json
2016-06-26 14:42:26 +02:00
Graham Campbell
13fed3195b Go with the most semantically correct option (#280) 2016-06-11 14:22:24 +02:00
jamiehd
91b61a53bb Change php7 errors to exception to maintain compatability with function declaration #264 (#279) 2016-06-11 14:17:26 +02:00
kot
41d982b5cf Updated/added comments for PDO Collector (#275)
* Update TraceablePDO.php

* Update TraceablePDO.php

* Update TraceablePDOStatement.php
2016-06-02 07:33:24 +02:00
Barry vd. Heuvel
e634fbd32c Update composer.json v1.12.0 2016-05-15 15:11:34 +02:00
Barry vd. Heuvel
c3268ca122 Add initial RequireJS support
See https://github.com/barryvdh/laravel-debugbar/pull/423
2016-05-15 15:11:14 +02:00
Barry vd. Heuvel
e6109df274 Merge pull request #272 from tburry/svg-icons
Use SVG for icons instead of PNG
2016-05-08 18:34:39 +02:00
Todd Burry
c309685cf4 Use SVG for icons instead of PNG
As an alternative to #270 based on the suggestion in [this comment](https://github.com/maximebf/php-debugbar/pull/270#issuecomment-215638893) I’ve provided a CSS file with embedded SVGs rather than the included font awesome.

There are pros and cons to each approach, but I’d love to see vector icons in the default debug bar.
2016-05-07 15:53:54 -04:00
Barry vd. Heuvel
c2455dae32 Fix for minimized state (#252) 2016-04-29 15:30:52 +02:00
Barry vd. Heuvel
fb9e263d28 Merge pull request #246 from darwish/format-negative-bytes
Added support for negative numbers in DataFormatter::formatBytes()
2016-04-29 11:02:27 +02:00
Barry vd. Heuvel
9d2bc8da56 Merge pull request #251 from Pachonk/master
PHPDoc Fixes
2016-04-29 11:02:07 +02:00
Barry vd. Heuvel
4c0b624f0b Merge pull request #252 from codewizz/codewizz-dynamic-margin
Offset calculation change to body margin-bottom
2016-04-29 10:57:56 +02:00
Mike Darwish
b1f5e65c3b Added support for negative numbers in DataFormatter::formatBytes() 2016-03-17 11:31:17 -04:00
codewizz
88ba3c6724 Margin removal on minimized / closed state 2016-01-23 12:17:01 +02:00
codewizz
a238151cab Offset calculation change to body margin-bottom 2016-01-22 23:57:57 +02:00
Barry vd. Heuvel
d9302891c1 Merge pull request #242 from maximebf/feat-dynamic-padding
Use original padding in calculation
v1.11.1
2016-01-22 13:22:23 +01:00
Alex Piechowski
488cca2516 Fix phpdoc for JavascriptRenderer::render()
Add missing phpdoc params

Add missing phpdoc params and return

Add missing phpdoc param

Make php doc param type correct

Add exception to phpdoc

Add return to phpdoc

Add return to phpdoc

Add return to phpdoc

Add return to phpdoc

Add return to phpdoc

Add return to phpdoc

Add exception to phpdoc

Fix phpdoc

Add exception to phpdoc

Add return to phpdoc

Add params and exception to phpdoc

Add param and return to phpdoc

Add params and exception and return to phpdoc

Add phpdocs

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add return to phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add return to phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Remove old params from phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc

Add phpdoc
2016-01-21 11:31:27 -06:00
Barry vd. Heuvel
0d17956dda Merge pull request #247 from kife-design/patch-1
remove the jquery.min.map reference
2016-01-07 13:49:16 +01:00
Vincent Reynaert
dc5ad6cfcf remove the jquery.min.map reference
Remove the reference since its not included. This results in a NotFoundHttpException
2016-01-07 13:08:30 +01:00
Barry vd. Heuvel
173f33493f Merge pull request #245 from pavankumarkatakam/master
Added PHP_SAPI in Php data collector
2016-01-05 08:56:08 +01:00
Pavan kumar
a114bdee58 Added PHP_SAPI in Php data collector
It is important to know how the php is running from cli or a web request.
2016-01-05 10:18:25 +05:30
Barry vd. Heuvel
1ef8e1463b Test PHP7 2015-12-10 16:14:53 +01:00
Barry vd. Heuvel
63d70bb54a Use original padding in calculation 2015-12-10 16:07:35 +01:00
Barry vd. Heuvel
07741d84d3 Bump version, update composer v1.11.0 2015-12-10 10:50:24 +01:00
Barry vd. Heuvel
96f16fdc16 Merge pull request #199 from snowair/snowair-patch-1
phpdebugbar-widgets-error is a block element
2015-12-10 10:40:41 +01:00
Barry vd. Heuvel
0c955f9f85 Merge pull request #210 from nsams/white-space-pre
Show whitespace in log output
2015-12-10 10:39:27 +01:00
Barry vd. Heuvel
a130266163 Merge pull request #218 from tonglil/lowercase-file-matching
Enable caseless searching in the "Files" toolbar
2015-12-10 10:39:02 +01:00
Barry vd. Heuvel
1de37ab517 Update FA to 4.5 2015-12-10 10:34:48 +01:00
Barry vd. Heuvel
54bd5aeeb8 Use PHP script for namespacing 2015-12-10 10:34:30 +01:00
Barry vd. Heuvel
c6c6ae20e1 Tweak FA namespacing 2015-12-10 10:16:07 +01:00
Barry vd. Heuvel
ebfd20b77d Merge pull request #225 from nickcolley/namespace-font-awesome
Namespace font awesome
2015-12-10 09:59:50 +01:00
Barry vd. Heuvel
08915a7ec5 Merge pull request #227 from clickalicious/master
Fix for wrong namespace lookup. No clean use possible otherwise.
2015-12-10 09:57:10 +01:00
Barry vd. Heuvel
de864471c6 Merge pull request #241 from GrahamCampbell/patch-2
Use PSR-4 without moving files about
2015-12-10 09:54:25 +01:00
Barry vd. Heuvel
bc455b6ce7 Merge pull request #240 from GrahamCampbell/patch-1
Updated dependencies
2015-12-10 09:53:36 +01:00
Graham Campbell
5a9ba87220 Use PSR-4 without moving files about 2015-12-03 09:46:01 +00:00
Graham Campbell
a0fef60b4a Updated dependencies 2015-12-03 09:44:48 +00:00