XhmikosR
4ce43a304f
utils: modernize hex functions
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-28 08:48:43 +03:00
XhmikosR
ef4f97610b
gravity: convert to vanilla JS and refactor code
...
Only the alerts are using jQuery for now
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-28 08:28:33 +03:00
XhmikosR
d3619bb5d5
interfaces: switch to vanilla JS and refactor code to reduce complexity/improve readability
...
Only the bstreeview plugin is using jQuery.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-28 08:26:06 +03:00
XhmikosR
0fa650d9bb
charts.js: refactor to reduce complexity, improve readability and performance
...
Also
* drop jQuery usage
* move inline styles to CSS when possible
* switch to `a` tags for links otherwise use `p`
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-28 07:45:11 +03:00
yubiuser
5a950a6c2d
settings-dns-records: merge DOMContentLoaded listeners ( #3538 )
2025-06-27 21:32:31 +02:00
XhmikosR
8329997242
Update xo to v1.1.1
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-27 21:19:40 +03:00
yubiuser
839e2a68b6
Drop htmlPass util since it's only used once ( #3539 )
2025-06-27 18:15:41 +02:00
yubiuser
65c957c5d3
Update prettier and regenerate package-lock.json ( #3537 )
2025-06-27 18:07:00 +02:00
yubiuser
2cdf4759fe
header: move unneeded unauthenticated assets to authenticated ( #3536 )
2025-06-27 17:59:33 +02:00
XhmikosR
4ac3fd060f
Drop htmlPass util since it's only used once
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-27 17:12:48 +03:00
XhmikosR
4750d61339
settings-dns-records: merge DOMContentLoaded listeners
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-27 17:02:56 +03:00
XhmikosR
ff3b8a1f21
Update prettier and regenerate package-lock.json
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-27 16:57:22 +03:00
XhmikosR
4aaf7fe0e6
header: move unneeded unauthenticated assets to authenticated
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-27 16:43:32 +03:00
yubiuser
ba0fb42363
settings-system : Avoid division by zero in DNS metrics ( #3533 )
2025-06-26 05:58:35 +02:00
Rob Gill
ce991b2434
settings-system : Avoid division by zero in DNS metrics
...
Don't attempt to calculate a percentage if there are no replies yet
Signed-off-by: Rob Gill <rrobgill@protonmail.com >
2025-06-26 09:09:56 +10:00
Dominik
f58e16904b
Add some color to gravity output ( #3530 )
2025-06-25 21:16:55 +02:00
yubiuser
f11ac8f944
Processs line squentially to always close the right number of <span> once we hit {COL_NC}
...
Signed-off-by: yubiuser <github@yubiuser.dev >
2025-06-24 22:32:31 +02:00
yubiuser
9618f327e4
Use mapping
...
Signed-off-by: yubiuser <github@yubiuser.dev >
2025-06-24 21:42:03 +02:00
yubiuser
9ad85da4cf
Disable eslint prettier/prettier rule for the block too keep it readable
...
Signed-off-by: yubiuser <github@yubiuser.dev >
2025-06-24 20:32:39 +02:00
yubiuser
785494e60b
Add <span> counter
...
Signed-off-by: yubiuser <github@yubiuser.dev >
2025-06-24 20:19:04 +02:00
yubiuser
b884688a84
Replace ANSI escape codes with HTML tags
...
Signed-off-by: yubiuser <github@yubiuser.dev >
2025-06-24 19:22:32 +02:00
yubiuser
4e5d4cfa8d
Add some color to gravity output
...
Signed-off-by: yubiuser <github@yubiuser.dev >
2025-06-24 15:10:42 +02:00
yubiuser
980a589e6e
Remove link to rate limit documentation which does not add further etails ( #3526 )
2025-06-22 22:23:22 +02:00
yubiuser
156a687cf5
Remove link to rate limit documentation which does not add further details
...
Signed-off-by: yubiuser <github@yubiuser.dev >
2025-06-21 22:27:46 +02:00
yubiuser
c8ddfaafbd
build(deps-dev): bump postcss from 8.5.5 to 8.5.6 ( #3524 )
2025-06-21 14:32:22 +02:00
dependabot[bot]
57056d78b1
build(deps-dev): bump postcss from 8.5.5 to 8.5.6
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.5.5 to 8.5.6.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.5.5...8.5.6 )
---
updated-dependencies:
- dependency-name: postcss
dependency-version: 8.5.6
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-21 11:00:05 +00:00
yubiuser
3cbe3c3787
groups-clients.lp: fix invalid HTML ( #3522 )
2025-06-21 08:36:45 +02:00
XhmikosR
3dd02a9db8
groups-clients.lp: fix invalid HTML
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-21 09:15:36 +03:00
XhmikosR
5efe33bbab
Abstract collapsing box to a new util
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-21 08:49:23 +03:00
XhmikosR
65e2917b74
settings-dns: expand custom servers box if it has custom servers
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-21 08:45:53 +03:00
yubiuser
30ff1cd556
Remove superfluous settings-level-expert class ( #3503 )
...
Remove superfluosus ettings-level-expert class
Signed-off-by: yubiuser <github@yubiuser.dev >
2025-06-20 21:01:07 +02:00
Dominik
a07dacab77
header_authenticated.lp: add the hostname li only if it's greater t… ( #3501 )
2025-06-20 20:38:59 +02:00
Dominik
20ddeb814c
Clarify client description priorities on the groups/client interface ( #3521 )
2025-06-20 19:58:14 +02:00
DL6ER
1d93f5d78d
Clarify client description priorities on the groups/client interface
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2025-06-20 19:39:06 +02:00
XhmikosR
aaa692dc83
footer: remove document.hidden in checkBlocking ( #3518 )
...
This is taken care of in utils.setTimer.
Fixes status not showing when opening a new tab. Previously, it was shown after the timer fired.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-19 17:03:00 +02:00
XhmikosR
64b4756640
Update chart.js to v4.5.0 ( #3516 )
...
* Update chart.js to v4.5.0
Also, switch to the minified file
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
* Update scripts/lua/header_authenticated.lp
Co-authored-by: yubiuser <github@yubiuser.dev >
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
---------
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
Co-authored-by: yubiuser <github@yubiuser.dev >
2025-06-16 15:50:47 +02:00
yubiuser
b979fff4b0
Fix a few HTML validation issues ( #3517 )
2025-06-16 11:43:35 +02:00
yubiuser
538020ee79
header: don't hide advanced info since it's always shown ( #3513 )
2025-06-16 11:38:17 +02:00
XhmikosR
8529cb067c
Fix a few HTML validation issues
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-16 09:32:51 +03:00
yubiuser
c205e230a7
Lowercase doctype ( #3515 )
2025-06-15 19:18:16 +02:00
XhmikosR
3d7f0d47df
Lowercase doctype
...
It's perfectly valid and it should result in smaller compressed size when gzip is used.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-15 08:18:36 +03:00
XhmikosR
293a84439d
header: don't hide advanced info since it's always shown
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-15 08:13:20 +03:00
yubiuser
9f2ffecbd6
build(deps): bump github/codeql-action from 3.28.19 to 3.29.0 ( #3510 )
2025-06-14 18:08:40 +02:00
yubiuser
f61710ac11
build(deps-dev): bump postcss from 8.5.4 to 8.5.5 ( #3512 )
2025-06-14 18:07:55 +02:00
dependabot[bot]
095d70333b
build(deps-dev): bump postcss from 8.5.4 to 8.5.5
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.5.4 to 8.5.5.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.5.4...8.5.5 )
---
updated-dependencies:
- dependency-name: postcss
dependency-version: 8.5.5
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-14 10:35:53 +00:00
dependabot[bot]
e41fd81800
build(deps): bump github/codeql-action from 3.28.19 to 3.29.0
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.28.19 to 3.29.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v3.28.19...v3.29.0 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.29.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-14 10:35:32 +00:00
yubiuser
6ae6222509
Sync master back into development ( #3496 )
2025-06-09 20:50:21 +02:00
yubiuser
607a42acaf
build(deps-dev): bump postcss from 8.5.3 to 8.5.4 ( #3498 )
2025-06-07 17:11:42 +02:00
yubiuser
b81422f05b
build(deps): bump github/codeql-action from 3.28.18 to 3.28.19 ( #3507 )
2025-06-07 16:33:58 +02:00
dependabot[bot]
1ad69cb62a
build(deps): bump github/codeql-action from 3.28.18 to 3.28.19
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.28.18 to 3.28.19.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v3.28.18...v3.28.19 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.28.19
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-07 10:53:58 +00:00