RD WebDesign
059c4f4528
Add the new "integrity check" option to debug log page
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2022-07-10 18:46:32 -03:00
RD WebDesign
718ace5d3d
Adjust debug log scroll position
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2022-06-24 23:41:56 -03:00
Christian König
7cfca502bc
Remove unused eslint compat rule
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2022-05-24 11:12:47 +02:00
RD WebDesign
316ad2147d
Fix prettier
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2022-03-14 21:07:26 -03:00
RD WebDesign
2d6a78d6cb
Improving debug log
...
- add a message to show while loading content;
- add CSS to format the loading message;
- fix yellow log color (light theme);
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2022-03-14 20:25:55 -03:00
DL6ER
0d0a8dba67
Change prettier option trailingComma from "none" to the new default "es5" (see https://prettier.io/docs/en/options.html#trailing-commas )
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-06-23 11:26:43 +02:00
XhmikosR
af47854a2d
Use prop() for the disabled attribute.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-30 10:22:35 +03:00
XhmikosR
e7eb4bef9d
Ignore the EventSource() errors
...
We have code checking for the presence of this, so it's OK to ignore these errors.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-29 17:24:28 +03:00
Paul Mannarino
256aff73a6
Replace custom httpGet() with $.ajax()" ( #1371 )
...
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com >
2020-05-25 21:59:18 +03:00
XhmikosR
ae13014565
Adapt to the new rules.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-04-10 18:34:47 +00:00
XhmikosR
704c352277
Format JS code
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-01-02 19:42:18 +02:00
DL6ER
59b04047d6
Merge pull request #1086 from pi-hole/js-license-header
...
Add missing license header
2019-12-17 15:56:31 +01:00
DL6ER
f084fa1991
Merge pull request #1091 from pi-hole/text
...
Use `text()` for the token
2019-12-17 15:49:05 +01:00
XhmikosR
f486935eb8
Use text() for the token
...
We don't need any HTML.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-17 15:57:50 +02:00
XhmikosR
689aa6afd6
Add missing license headers
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-17 10:46:36 +02:00
XhmikosR
9c1846885a
Clean up JS
...
* remove unused variables/functions
* use the dot notation
* use explicit coercion
* remove unneeded else
* use `textContent` instead of `innerHTML`
* cache a few `getElementById` calls
* fix a couple of undefined variables
* various assorted lint tweaks
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-16 20:36:40 +02:00
XhmikosR
37c849ce2b
Remove unused variables
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-07 11:49:49 +02:00
Linus
b2f9fd0211
Remove remaining absolute paths
...
Signed-off-by: Linus <wendefelix1998@gmail.com >
2019-11-18 16:13:08 +01:00
Mcat12
4d9d9dc949
Require CSRF token for debug log generation
2017-04-02 19:23:03 -04:00
DL6ER
ab974f3f03
Disable checkbox after starting generation of debug log since the action can not be changed afterwards
2017-02-23 12:22:03 +01:00
DL6ER
20ce214c9f
Add checkbox if the user wants his debug log to be uploaded automatically
2017-02-22 19:47:58 +01:00
DL6ER
71672319af
Another codacy commit
2017-02-22 18:07:12 +01:00
DL6ER
4cc917dd91
Codacy
2017-02-22 15:07:02 +01:00
DL6ER
cc13cf5e33
Internet explorer + Windows Edge compatibility
2017-02-10 12:26:20 +01:00
DL6ER
9765b38ec2
Added online debug log creator
2017-02-10 12:22:59 +01:00