1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-06-11 00:21:16 +02:00
Commit Graph

779 Commits

Author SHA1 Message Date
b6113ae0e5 keeps only the main debugbar functionality on iframes (#606) 2024-03-01 16:22:12 +01:00
266cee2946 Do not click when selection is active (#608)
* Do not click when selection is active

* Update sql widget.js
2024-03-01 16:16:18 +01:00
04f9613c41 Easier to customize icons on message widget (#607)
* Easier to customize icons on message widget

* Support full Psr\LogLevel messages
2024-03-01 14:36:10 +01:00
d20048de08 Refactor to loader environment setter (#605) 2024-02-26 19:11:29 +01:00
a8694a4e0e Add body message to mail (#603) 2024-02-20 10:16:27 +01:00
9321913520 Fix twig demo (#602) 2024-02-19 21:37:40 +01:00
cbab4a8f45 Avoid expanded values on MessagesCollector (#601) 2024-02-16 18:50:56 +01:00
689ecda8c1 Timeline measure params table hidden by default (#600) 2024-02-16 10:59:23 +01:00
484625c23a Check file (#599)
* Check file

* Check line
v1.20.2
2024-02-15 11:49:09 +01:00
512fb06c48 More informative tooltip (#597) 2024-02-14 09:55:28 +01:00
06ebf922cc Remove v1.20.1 2024-02-13 20:03:14 +01:00
8f99b6607e Backport https://github.com/barryvdh/laravel-debugbar/pull/1510 2024-02-13 19:55:07 +01:00
5e47525218 Revert "Fix demo PDOCollector name, and update it with 72fea42" (#595)
* Revert "Fix demo PDOCollector name, and update it with 72fea42 (#593)"

This reverts commit 43632b66d3.

* Update pdo.php
2024-02-13 19:38:06 +01:00
a1a30fc11c Revert "Make PDOCollector easy to extend (#582)" (#594)
This reverts commit 958ac08897.
2024-02-13 19:37:34 +01:00
43632b66d3 Fix demo PDOCollector name, and update it with 72fea42 (#593) 2024-02-13 16:58:59 +01:00
91f88d5e24 Fix file not exists by setting line default 1 on editor links (#592)
* Set line default 1 on editor links

* Update HasXdebugLinks.php

* Update HasXdebugLinks.php

---------

Co-authored-by: Barry vd. Heuvel <barryvdh@gmail.com>
2024-02-13 16:58:36 +01:00
72fea42726 Tweak setDuration to avoid bc break v1.20.0 2024-02-12 11:29:57 +01:00
dfde7d069b allow customization of the memory precision (#530)
currently there is no way to see the raw "peak_usage" bytes in the output. I'd love to have that number available somewhere, but I couldn't figure out how to do that.

this change is the next best thing, as it allows us to override the default precision of "0", so we can get a little more granularity into the memory usage.
2024-02-11 08:54:35 +01:00
80ad07447f Use xdebug links for messages, move to trait (#591)
* Use xdebug links for messages, move to trait

* Tweak view templates
2024-02-10 21:02:28 +01:00
d6566027f1 Added catch to promise for window.fetch wrapper to avoid "Uncaught (in promise) DOMException: The user aborted a request." errors. (#585)
Co-authored-by: Filippov Alexander <swayalex.work@gmail.com>
2024-02-10 11:03:45 +01:00
87f04a2762 normalize file paths on exceptions traces (#566)
* normalize file paths on exceptions traces

* avoid trace string when there is trace html

* normalize file path on message `cannot open the file`

* fix
2024-02-10 11:03:26 +01:00
429b6f7edc Add names to inputs (#584)
Co-authored-by: Yiannis Siantos <yiannis.siantos@porism.com>
2024-02-10 11:02:07 +01:00
958ac08897 Make PDOCollector easy to extend (#582) 2024-02-10 11:01:40 +01:00
912691590f Upgrade PDOCollector and queries widget (#581) 2024-02-10 11:00:41 +01:00
ff2b6d6346 fix open_basedir restriction error (#590) 2024-02-10 11:00:09 +01:00
d1e849c7e2 Refactor DataCollector html dumper (#578)
Co-authored-by: Barry vd. Heuvel <barryvdh@gmail.com>
2024-02-10 10:59:38 +01:00
7675af2712 Show file and line on messages (#576) 2024-02-10 10:57:15 +01:00
c13bd51cdb fix formatDuration NaNμs on timeline widget (#569) 2024-02-10 10:56:34 +01:00
7e0ef13788 Bump dev-alias to 1.20 2024-02-10 10:55:39 +01:00
cb11a0120b Update interpolate on MessagesCollector (#572) 2024-02-10 10:55:11 +01:00
bfa8941060 Fix sort (#527) 2024-02-10 10:54:03 +01:00
3ade312b58 preload formatter, avoids unexpected jumps on timeline (#568) 2024-02-10 10:53:17 +01:00
bd42d88cd8 fix highlighted-line emphasis on codeblock (#565) 2024-02-10 10:52:44 +01:00
5c355755f5 fix editor ajax template links (#570) 2024-02-10 10:49:57 +01:00
34462a1ee9 Create ObjectCountCollector for count class/objects (#571)
* Create ObjectCountCollector for count class/objects

* Added ObjectCountCollector demo
2024-02-10 10:46:40 +01:00
8db056271d Update dependencies for Symfony 7 (#589) 2024-01-25 19:41:03 +01:00
27b3c2f234 ci: Use GitHub Actions V4 (#573) 2023-10-12 18:09:55 +02:00
0d65147743 Fix code block in docs (#580) 2023-10-12 18:09:00 +02:00
03dd40a182 Fix PHP 8.2 deprecations (#579) v1.19.1 2023-10-12 10:10:52 +02:00
376ff32ee5 fix XSS in timeline (#567) 2023-09-22 13:01:00 +02:00
30f65f18f7 Fix class name missing full import (#540) v1.19.0 2023-09-19 21:53:10 +02:00
29de66d4ef HtmlVariableList support html on keys (#539) 2023-09-19 21:52:29 +02:00
27c3cc05ed Add custom trace formatter helper (#556)
* Add custom trace formatter helper

* Fix

* Add string trace helper on ExceptionsCollector
2023-09-19 21:51:44 +02:00
1d87377810 (fix) set memory baseline on MemoryCollector (#559)
* set memory baseline on MemoryCollector

* Rename method

---------

Co-authored-by: Barry vd. Heuvel <barryvdh@gmail.com>
2023-09-19 21:48:23 +02:00
ab33d08b02 Get rid of inline styles in widgets.js resulting in csp errors (#564) 2023-09-19 17:37:25 +02:00
aafb756575 (feat) memory measure option (#558) 2023-09-19 17:10:23 +02:00
47abaeaa6d add addXdebugReplacements option (#552) 2023-09-19 17:04:57 +02:00
ec7d1ae890 Remove xdebug replacements on previews (#542) 2023-09-19 17:03:05 +02:00
1b1419202f Early return when no file string (#549) 2023-09-19 17:02:06 +02:00
fdc4eec1f5 ignore demos vendor (#557) 2023-09-19 16:38:23 +02:00