1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-17 21:38:14 +01:00

281 Commits

Author SHA1 Message Date
Barry vd. Heuvel
d9f14cce64 Inline close/open buttons also
Instead of using font-awesome.
2014-08-31 18:05:38 +02:00
Barry vd. Heuvel
bb0f6a0887 Replace images with data uri/ font awesome
The close/browse button are already in Font Awesome, so not needed as
standalone images. Inlined the php logo it's easier to dump the js/css
without having to mind the image locations.
2014-08-30 23:47:41 +02:00
Barry vd. Heuvel
1675241274 Set color size
Likely to get changed by custom css.
2014-08-27 12:10:24 +02:00
Barry vd. Heuvel
ed7fe34698 Tweak openhandler
Make the URL the primary action to load a dataset, add button for filtering.
Give the rows fixed width, except the url, for consistent layout.
2014-08-27 10:32:32 +02:00
Barry vd. Heuvel
f0b9f1ab8f Tweak openhandler css
Make longs url's overflow
2014-08-27 10:30:06 +02:00
Maxime Bouroumeau-Fuseau
5d08b31357 Merge pull request #150 from discordier/fix-sql-params
Ensure only parameters are added to SQL widget and no prototype functions.
2014-08-20 17:25:30 +02:00
Christian Schiffler
eb642cb85e Ensure only parameters are added to SQL widget and no prototype functions.
When an AJAX result is being processed, the parameters will get added
including prototype functions otherwise.
2014-08-19 04:40:43 +02:00
Barry vd. Heuvel
0b4f7c927b Restrict resizing to visible screen
This makes sure that the debugbar isn't dragged to high, so the handler is unreachable, and not too low to make sure it's always clear that it's just resized, not broken/collapsed.
2014-08-15 14:09:28 +02:00
maximebf
4a660ced6f moved the call to jquery.noConflict() to the head rather than when calling render() (fixed #127) 2014-07-26 15:36:58 +02:00
Maxime Bouroumeau-Fuseau
b32fd42afd Merge pull request #144 from sorich87/patch-1
Update jQuery to 1.11.1
2014-07-26 14:55:37 +02:00
Ulrich Sossou
b76912a5b1 Update jQuery 2014-07-26 13:35:33 +01:00
Graham Campbell
0194f85bcf Whitespace cleanup 2014-07-26 12:00:45 +01:00
Maxime Bouroumeau-Fuseau
470cb62b81 Merge pull request #135 from barryvdh/update-fontawesome4.1
Update fontawesome to 4.1
2014-07-02 09:22:04 +02:00
Barry vd. Heuvel
8cefb03aca Update fontawesome to 4.1
Fixes #133
2014-07-02 09:18:35 +02:00
Barry vd. Heuvel
a30466d0f8 Force convert to UTF-8
Not sure if this is the best/most efficient method and haven't really check the impact, but what do you think about this?
I keep running into edge cases when dealing with debugging non-utf8 data, this would make sure that all strings are utf8, or converted to utf-8 (with non-utf8 characters replaced)
Otherwise json_encode will throw an exception..
2014-06-16 14:49:51 +02:00
Maxime Fabre
b3b5aae685 Add LocalizationCollector 2014-06-10 17:44:03 +02:00
Maxime Bouroumeau-Fuseau
14464b3781 Merge pull request #125 from barryvdh/patch-7
Check if the exception file exists.
2014-05-29 08:14:15 -07:00
Mike de Vrind
a57b19fd5d Beter visual presentation of duplicate queries
The color #ffd is so light, it's not visible on my screen. So a little change to make it a little bit darker.
2014-05-28 13:41:26 +02:00
Barry vd. Heuvel
849231ddab Check if the exception file exists.
Can be null/empty sometimes? Not really sure, but see https://github.com/barryvdh/laravel-debugbar/issues/135
2014-05-05 09:35:28 +02:00
maximebf
ab02c692d2 Merge remote-tracking branch 'origin/pr/109'
Conflicts:
	src/DebugBar/Resources/widgets/sqlqueries/widget.css
2014-04-25 11:30:40 -05:00
maximebf
6f58aee3eb fixed infinite recursion in TraceablePDO (fixed #124) 2014-04-25 11:25:03 -05:00
Barry vd. Heuvel
511c7a100d Remove Kint dependency
Fixes #121
2014-04-23 10:13:42 +02:00
Maxime Bouroumeau-Fuseau
f6da2ec223 Merge pull request #117 from geekwright/sqlwrap
Add wrap to SQL code block  to make queries fully visible
2014-04-05 11:50:54 -03:00
dongww
42ec5d3bac fix stri to string 2014-04-03 20:50:28 +08:00
geekwright
0159648182 Add wrap to SQL code block to make queries fully visible 2014-04-01 18:41:58 -05:00
Maxime Bouroumeau-Fuseau
8db7c3d5d5 Merge pull request #115 from snapshotpl/has-measure
Adding the possibility to verify whether measure exists
2014-03-29 17:10:49 -03:00
snapshotpl
0dc7d01442 Fix missing phpdocs in TimeDataCollector, rename new method name 2014-03-29 15:03:41 +01:00
snapshotpl
e4414bf296 hasMeasure method in TimeDataCollector 2014-03-29 15:00:46 +01:00
Barry vd. Heuvel
efdd4dd037 Delay creating pretty codeblocks
Only create the codeblocks when opening for the first time, to make the page load faster.
Fixes #112
2014-03-26 12:08:18 +01:00
Barry vd. Heuvel
9347b95328 Add title to variable keys
So we can show them on hover.
Not the best solution, but at least an easy fix to show the truncated text.
2014-03-25 15:49:56 +01:00
Barry vd. Heuvel
ed30ed79c2 Check if hljs is defined
Really fixes #107 and #108
2014-03-25 08:58:22 +01:00
Joshua Jabbour
7c0c9c7043 Include params object when counting query duplicates. 2014-03-24 23:43:50 -07:00
Joshua Jabbour
36d99d43d8 Update duplicated status message to follow pattern. 2014-03-24 23:27:21 -07:00
Joshua Jabbour
168da436d1 Update duplicate query bg color to add hover state. 2014-03-24 23:25:42 -07:00
Joshua Jabbour
b88a773183 Highlight duplicate SQL statements. 2014-03-24 22:57:13 -07:00
Joshua Jabbour
7ed8f13a49 Add classes to all duplicate SQL statement rows. 2014-03-24 22:54:11 -07:00
maximebf
57403a83fd avoid triggering error if hljs is not loaded (fixed #107) 2014-03-24 10:34:20 -04:00
maximebf
d142729574 added missing fonts (fixed #106) 2014-03-24 09:14:30 -04:00
maximebf
6fd6a67a38 removed unneeded files in vendor assets 2014-03-23 18:42:34 -04:00
Maxime Bouroumeau-Fuseau
32246949e7 Merge pull request #104 from barryvdh/patch-5
Tweak variables
2014-03-23 17:30:01 -03:00
Barry vd. Heuvel
8241f4015a Make isString configurable
The current `is_string` is really if it is a string, but rather that it should or shouldn't be prettified. With this tweak we can force the prettify behaviour (for example, multi-line logs or json_encode data is much more readable when prettified)
2014-03-23 21:27:44 +01:00
Barry vd. Heuvel
64e5f4bd00 Use pretty value for variable list 2014-03-23 21:22:46 +01:00
Barry vd. Heuvel
328a160ce5 Use white-space: nowrap;
Otherwise some keys can become 2 lines (when they have a `-` inside them) and this destroys the alignment.
2014-03-23 21:21:34 +01:00
Barry vd. Heuvel
4881a84484 Tweak resizehandle
The resizehandle always seemed a little out-of-place. These changes should make the resizehandle invisible, but still have the same effect. Only difference is that the handle area is from the border to 4px above (which is invisible), but it should be obvious enough (because the cursor changes)
2014-03-23 17:37:58 +01:00
maximebf
d2659e5acc code conventions 2014-03-22 22:33:40 -04:00
Maxime Bouroumeau-Fuseau
9706aa5757 Merge pull request #101 from GuimDev/patch-1
Add 'renderOnShutdownWithHead' function
2014-03-22 23:31:18 -03:00
maximebf
323415ca3f added syntax highlighting (fixed #99) 2014-03-22 22:29:09 -04:00
GuimDev
4e0c091808 Add 'renderOnShutdownWithHead' function
If we use debugbar with Twig. There is possible that we have somewhat difficulty to implement this header.

Put the header with body, check if header is include or not. With this line :

        if ($count === 0) {
            echo $render;
        }
2014-03-22 22:56:42 +01:00
maximebf
3a6fafbbd9 added Memcached storage 2014-03-22 16:03:08 -04:00
maximebf
58aa944bf1 removed {inheritDoc} comments 2014-03-22 15:57:47 -04:00