1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-07-25 10:41:55 +02:00
Commit Graph

25 Commits

Author SHA1 Message Date
erikn69
db573c6186 Fix query error_message position (#733) 2025-02-20 12:39:14 +01:00
erikn69
89d07927a8 Fix XXS bug on query params (#732) 2025-02-20 12:39:00 +01:00
Barry vd. Heuvel
0b40a63e63 Check copy result (#678) 2024-09-10 19:39:33 +02:00
Barry vd. Heuvel
cc8f41e0bd Use zero width for copy height (#677) 2024-09-10 18:54:34 +02:00
Barry vd. Heuvel
ce4762b069 Enable copy, tweak icon (#676) 2024-09-10 17:59:08 +02:00
erikn69
ec4979077f Prevent query backtrace showing on editor link click (#667) 2024-09-06 19:37:59 +02:00
Barry vd. Heuvel
29c8b9c942 Use fetch instead of jQuery ajax (#630) 2024-03-20 13:35:41 +01:00
erikn69
9138c110eb Fix connection filter on sqls widget (#622) 2024-03-14 11:36:16 +01:00
Barry vd. Heuvel
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
Barry vd. Heuvel
8f99b6607e Backport https://github.com/barryvdh/laravel-debugbar/pull/1510 2024-02-13 19:55:07 +01:00
erikn69
912691590f Upgrade PDOCollector and queries widget (#581) 2024-02-10 11:00:41 +01:00
Thiago Guimarães
e23a98f2d6 Create feature copy query to clipboard (#352)
* Bugfix getSqlWithParams ReplacementParamsQuery

* backward compatibility

* Copy query to clipboard feature

* remove space
2017-08-17 09:17:00 +02:00
ljyf5593
9e79da3d29 fixed in ajax mode the pdo collector maybe empty (#349)
if the pdo collector is empty, the script will be throw error
2017-08-17 09:09:07 +02:00
James Johnston
5198c9ff70 Fix incorrect duplicate statement counter in PDO collector (#323)
The PDO collector assumes that the number of duplicate statements is
equal to the number of total statements minus the number of unique
statement query strings that had more than one query.  This leads to
non-sensical statements like the following:

    5 statements were executed, 4 of which were duplicated, 1 unique

when the following statements were executed.  (Assume each letter
represents a particular query)

* A
* A
* B
* C
* D

Clearly there are not 4 duplicate statements under any reasonable
interpretation.  After this code change, it would more correctly say for
the above example:

    5 statements were executed, 2 of which were duplicates, 3 unique
2017-07-11 07:19:19 +02:00
Diogo Gomes
fe53541800 change count for unique and duplicated queries (#304) 2016-11-25 11:42:32 +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
Koko Kurak
d36c9975a9 Remove meaningless hrefs 2015-06-07 19:49:32 +02:00
snowair
4ffaf077ea phpdebugbar-widgets-error is a block element
so I move it to end
2015-03-06 18:05:38 +08:00
kardagan
c6f50df94c Adding display connection name, and adding filters on connection. 2015-01-03 22:32:37 +01: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
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
7ed8f13a49 Add classes to all duplicate SQL statement rows. 2014-03-24 22:54:11 -07:00
maximebf
323415ca3f added syntax highlighting (fixed #99) 2014-03-22 22:29:09 -04:00
maximebf
2a9ce6900e refactoring of widgets and migration of collectors to AssetProvider
specialized widgets extracted from main widgets.js and into widgets/ folder
collectors using specialized widgets now implement AssetProvider
2014-03-22 15:56:02 -04:00