161 Commits

Author SHA1 Message Date
Lonnie Ezell
9f90ffe7c8
Merge pull request #842 from natanfelles/toolbarloader
Let the browser know that the toolbarloader is a javascript file
2017-11-25 14:30:52 -06:00
Christoph Potas
18a942bf58
~ fix some event listener not working after adding toolbar content to body
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
2017-11-24 10:32:46 +01:00
Natan Felles
2c3836c05c
Let the browser know that the toolbarloader is a javascript file 2017-11-23 19:44:55 -02:00
Lonnie Ezell
66c85156e2
New config tab for the debug toolbar. Would like it to become a place to warn about potential errors or misconfigurations, also. 2017-11-17 00:15:44 -06:00
Lonnie Ezell
25adfa70ca
Added icons to debug toolbar, and started work on responsive toolbar. 2017-11-15 23:56:35 -06:00
Lonnie Ezell
66e1fee506
Allow toolbar buttons to be hidden when they have no data. 2017-11-15 22:58:41 -06:00
Lonnie Ezell
60fddd003b
Move toolbar buttons to opposite side in preparation for design refactor. 2017-11-15 00:10:25 -06:00
Lonnie Ezell
55779d9d54
Toolbar cleanup. Fixes #773 2017-11-14 22:54:38 -06:00
Lonnie Ezell
0b3deb194a Merge branch 'debug_bar_file' of git://github.com/gustavojm/CodeIgniter4 into gustavojm-debug_bar_file 2017-11-14 22:29:05 -06:00
Natan Felles
bbfe4c70e3
Update PHPDocs 2017-11-04 05:49:12 -02:00
Natan Felles
89e43f37e5
Correct order of nodes on hideHints() 2017-10-26 03:04:55 -02:00
gustavojm
609e6543e7
moved event handler clossure to a method in CodeIgniter\Debug\Toolbar class 2017-10-26 01:08:18 -03:00
gustavojm
c66229a71e
ciDebugBar gets initialized by toolbarloader.js.php, not here anymore 2017-10-26 00:08:54 -03:00
gustavojm
97e9f28e09
stripped the trailing / in site_url
if $indexPage = index.php in App.php the toolbar will be loaded from
index.php/?debugbar generating a HTTP 301 redirect
2017-10-25 23:46:52 -03:00
Natan Felles
a9904893d8
Now we can write PHP in the toolbar loader 2017-10-25 22:54:10 -02:00
gustavojm
df9de3c121
fixing commit 2017-10-25 01:18:05 -03:00
gustavojm
1f78c89f4a Debug Toolbar loaded via AJAX, working fine 2017-10-25 01:01:45 -03:00
Lonnie Ezell
d072ec9301 Merge pull request #767 from natanfelles/views_hints
Views hints
2017-10-24 11:19:47 -05:00
Natan Felles
7c4f7974d0
Remove unnecessary hideHints() on page load 2017-10-19 15:58:07 -02:00
Natan Felles
72d8d57925
Determine Hints state on page load 2017-10-19 14:54:48 -02:00
Natan Felles
7ad433b735
Avoid toogle hints break if nodeElement is null 2017-10-19 14:35:16 -02:00
Christoph Potas
019077a5a3
~ replace finding comments with xpath
~ use finding on every click to react to ajax changes

Signed-off-by: Christoph Potas <christoph286@googlemail.com>
2017-10-18 15:41:51 +02:00
Christoph Potas
49bdda6e25
~ update names for codeigniter style guide
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
2017-10-18 14:45:47 +02:00
Christoph Potas
8647bce1d4
~ fix start/end position calculation -> using also the comment position
~ fix skipping end element if we want to include it to the view

Signed-off-by: Christoph Potas <christoph286@googlemail.com>
2017-10-17 11:06:03 +02:00
Christoph Potas
784d11a98c
~ use comments instead of divs for debug-view
~ reimplement toogleviewhints for dynamic add/remove of tags on valid positions

Signed-off-by: Christoph Potas <christoph286@googlemail.com>
2017-10-16 08:52:16 +02:00
Lonnie Ezell
967750ee4c
Handle DB error codes (or any codes above the HTTP range). #734 2017-10-15 22:47:02 -05:00
Natan Felles
b669dc3eca Merge branch 'develop' into views_hints 2017-10-13 01:13:37 -03:00
Lonnie Ezell
0364a8a49e
Use the correct shorthand so we can show parameters in Route Collector. Fixes #762 2017-10-11 22:55:06 -05:00
Natan Felles
95a75e24b0
Revert showTab logic due to tabs do not close on click 2017-10-10 02:40:04 -03:00
Natan Felles
4bc20e83f1
Remove unused .ci-action from toolbar styles 2017-10-10 01:49:41 -03:00
Natan Felles
ea5ab8df0c
Turn hasLabel to false by default and always show label if it is true 2017-10-10 01:48:23 -03:00
Natan Felles
d3231d20ca
Toogle views hints (if enabled) by default ci-label 2017-10-10 01:43:10 -03:00
Natan Felles
33b7967982
Remove toogle view hints button and show label only if it hasLabel 2017-10-10 01:41:08 -03:00
Natan Felles
f861452831
Show Views label with badge on Toolbar but without a tab 2017-10-10 01:39:04 -03:00
Natan Felles
3e2dc1c7b6
Add hasLabel in BaseCollector. For actions without a tab 2017-10-10 01:34:26 -03:00
Lonnie Ezell
05a7a9e85a Merge pull request #759 from natanfelles/views_hints
Add debug views hints
2017-10-08 22:17:19 -05:00
Natan Felles
80b5041b8e
Do not display view hints if Toolbar filter is turned off 2017-10-08 12:41:26 -03:00
Lonnie Ezell
490a31c761
Logging of exceptions 2017-10-08 00:23:44 -05:00
Lonnie Ezell
77bbeae827
Move DatabaseException into the Database namespace. 2017-10-07 23:46:24 -05:00
Lonnie Ezell
24c18f2047
A little bit of cleanup on the Exceptions class. It was feeling messy. I still think there is more to do here... 2017-10-07 23:31:39 -05:00
Lonnie Ezell
6af5f1f618
Get correct error code when exception happens. Fixes #733 #751 2017-10-07 22:47:21 -05:00
Natan Felles
2fcbcfbea7
Make toolbar view btn can be active on load 2017-10-07 16:32:05 -03:00
Natan Felles
f0e1adff65
Add debug views hints 2017-10-07 00:46:16 -03:00
Lonnie Ezell
77fe5d6c6b
Tests in place. Simplified testing by including injectMock in main CodeIgniter\Config\Services file. 2017-10-05 00:07:18 -05:00
Lonnie Ezell
f71b0e093f
A simple Events collector for the Toolbar. Fixes #84 2017-09-06 23:37:53 -05:00
Lonnie Ezell
3a97a095aa
Give the toolbar fresh copies of parser so we don't hit wrong path issues. Fixes #704 2017-09-06 22:46:11 -05:00
Lonnie Ezell
a9a332250e
Tweaks to the toolbar, bigger fonts, badges for buttons 2017-08-27 00:20:29 -05:00
Abdul Malik Ikhsan
88f8dfb7fa
count() usage improvement: replace with empty() when possible, assign to variable on loop 2017-08-08 08:19:29 +07:00
Lonnie Ezell
d7c26d7ce2 Merge pull request #634 from natanfelles/debug-toolbar
Move Debug Toolbar to Page Bottom
2017-07-27 21:28:02 -05:00
Natan Felles
c0e20ccbfc
Add z-index 10000 to debug-bar 2017-07-27 15:44:06 -03:00