1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-16 13:00:42 +01:00

766 Commits

Author SHA1 Message Date
Barry vd. Heuvel
a1a30fc11c
Revert "Make PDOCollector easy to extend (#582)" (#594)
This reverts commit 958ac088972b64c96776c145da6940024b6d2592.
2024-02-13 19:37:34 +01:00
erikn69
43632b66d3
Fix demo PDOCollector name, and update it with 72fea42 (#593) 2024-02-13 16:58:59 +01:00
Fred
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
Barry vd. Heuvel
72fea42726 Tweak setDuration to avoid bc break v1.20.0 2024-02-12 11:29:57 +01:00
Andrew Brown
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
Barry vd. Heuvel
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
Filippov Alexander
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
angeljqv
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
Yiannis Siantos
429b6f7edc
Add names to inputs (#584)
Co-authored-by: Yiannis Siantos <yiannis.siantos@porism.com>
2024-02-10 11:02:07 +01:00
parallels999
958ac08897
Make PDOCollector easy to extend (#582) 2024-02-10 11:01:40 +01:00
erikn69
912691590f
Upgrade PDOCollector and queries widget (#581) 2024-02-10 11:00:41 +01:00
erikn69
ff2b6d6346
fix open_basedir restriction error (#590) 2024-02-10 11:00:09 +01:00
erikn69
d1e849c7e2
Refactor DataCollector html dumper (#578)
Co-authored-by: Barry vd. Heuvel <barryvdh@gmail.com>
2024-02-10 10:59:38 +01:00
erikn69
7675af2712
Show file and line on messages (#576) 2024-02-10 10:57:15 +01:00
erikn69
c13bd51cdb
fix formatDuration NaNμs on timeline widget (#569) 2024-02-10 10:56:34 +01:00
Barry vd. Heuvel
7e0ef13788
Bump dev-alias to 1.20 2024-02-10 10:55:39 +01:00
erikn69
cb11a0120b
Update interpolate on MessagesCollector (#572) 2024-02-10 10:55:11 +01:00
kriss
bfa8941060
Fix sort (#527) 2024-02-10 10:54:03 +01:00
erikn69
3ade312b58
preload formatter, avoids unexpected jumps on timeline (#568) 2024-02-10 10:53:17 +01:00
erikn69
bd42d88cd8
fix highlighted-line emphasis on codeblock (#565) 2024-02-10 10:52:44 +01:00
erikn69
5c355755f5
fix editor ajax template links (#570) 2024-02-10 10:49:57 +01:00
erikn69
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
v-noskov
8db056271d
Update dependencies for Symfony 7 (#589) 2024-01-25 19:41:03 +01:00
erikn69
27b3c2f234
ci: Use GitHub Actions V4 (#573) 2023-10-12 18:09:55 +02:00
Pedro Xavier
0d65147743
Fix code block in docs (#580) 2023-10-12 18:09:00 +02:00
erikn69
03dd40a182
Fix PHP 8.2 deprecations (#579) v1.19.1 2023-10-12 10:10:52 +02:00
erikn69
376ff32ee5
fix XSS in timeline (#567) 2023-09-22 13:01:00 +02:00
William Desportes
30f65f18f7
Fix class name missing full import (#540) v1.19.0 2023-09-19 21:53:10 +02:00
parallels999
29de66d4ef
HtmlVariableList support html on keys (#539) 2023-09-19 21:52:29 +02:00
parallels999
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
erikn69
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
Yannik Sembritzki
ab33d08b02
Get rid of inline styles in widgets.js resulting in csp errors (#564) 2023-09-19 17:37:25 +02:00
erikn69
aafb756575
(feat) memory measure option (#558) 2023-09-19 17:10:23 +02:00
angeljqv
47abaeaa6d
add addXdebugReplacements option (#552) 2023-09-19 17:04:57 +02:00
erikn69
ec7d1ae890
Remove xdebug replacements on previews (#542) 2023-09-19 17:03:05 +02:00
erikn69
1b1419202f
Early return when no file string (#549) 2023-09-19 17:02:06 +02:00
erikn69
fdc4eec1f5
ignore demos vendor (#557) 2023-09-19 16:38:23 +02:00
erikn69
8eed152a9f
Fix pdo demo (#560) 2023-09-19 16:22:47 +02:00
Yannik Sembritzki
3395b7f6e8
Fix content security policy by upgrading jquery (fixes #529) (#561) 2023-09-19 16:05:27 +02:00
Yannik Sembritzki
61d4cad24b
Fix content security policy failure due to <script> tags without nonce generated by HtmlDumper (#563) 2023-09-19 16:04:51 +02:00
erikn69
1bee671914
(fix) Stop event propagation on editor link click (#550) 2023-09-09 01:01:51 +02:00
erikn69
8f6045d465
Add SymfonyMailCollector (#554)
* Add SymfonyMailCollector

* add examples for SymfonyMailCollector
2023-09-09 00:00:50 +02:00
erikn69
17ec0485bd
ci: Use GitHub Actions V3 (#553) 2023-08-27 15:34:49 +02:00
erikn69
8ed07eb4f0
Support editors when php.ini not available (#543) 2023-08-18 19:41:05 +02:00
erikn69
48c36d158b
Fix multiple replacement on the same path (#541) 2023-08-18 19:40:10 +02:00
Yağızhan
ae41159aa0
Update README.md (#535) 2023-08-18 19:38:24 +02:00
erikn69
bd269abe69
Fix link highlight on hover (#545) 2023-08-18 19:37:34 +02:00
erikn69
847216e605
bump jquery to v3.7.1 (#548) 2023-08-18 19:37:15 +02:00
Stefan Schramm
dff80cdb1c
Fix PHP 8.2 deprecations (#531)
* Fix deprecation: Use of "parent" in callables is deprecated

* Fix deprecations in tests

Creation of dynamic properties is deprecated since php 8.2
2023-08-18 19:36:53 +02:00
erikn69
4a2075b7ce
bump highlitght.js to v11.8.0 (#547) 2023-08-18 19:36:21 +02:00