Commit Graph

6982 Commits

Author SHA1 Message Date
yubiuser
1fd924fcff Use label-primary for number of enabled list icon on sidebar
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-07-13 16:21:18 +02:00
yubiuser
3182af0d29 build(deps-dev): bump globals from 16.2.0 to 16.3.0 (#3561) 2025-07-12 12:27:30 +02:00
dependabot[bot]
79c99f9563 build(deps-dev): bump globals from 16.2.0 to 16.3.0
Bumps [globals](https://github.com/sindresorhus/globals) from 16.2.0 to 16.3.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v16.2.0...v16.3.0)

---
updated-dependencies:
- dependency-name: globals
  dependency-version: 16.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-12 10:26:12 +00:00
yubiuser
1671bc701d build(deps-dev): bump eslint from 9.29.0 to 9.31.0 (#3560) 2025-07-12 12:25:01 +02:00
dependabot[bot]
028491ddcc build(deps-dev): bump eslint from 9.29.0 to 9.31.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.29.0 to 9.31.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.29.0...v9.31.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.31.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-12 10:14:31 +00:00
Adam Warner
12ada30ea8 Handle pie chart item style conditionally (#3532) 2025-07-12 08:46:34 +01:00
yubiuser
41cdc9728c Show pointer only for clickable items
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-07-12 09:20:05 +02:00
yubiuser
a89fdda77e Only underline clickable legend items in pie charts
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-07-12 09:10:34 +02:00
Adam Warner
353ba2f163 charts.js: refactor to reduce complexity, improve readability and per… (#3542) 2025-07-11 23:09:54 +01:00
Adam Warner
93cb968977 Sync master back into development (#3558) 2025-07-11 21:09:01 +01:00
Adam Warner
c0a237a6de Update release.yml
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2025-07-11 21:08:15 +01:00
Adam Warner
b90361cf41 interfaces: switch to vanilla JS and refactor code to reduce complexi… (#3544) 2025-07-11 18:51:00 +01:00
Adam Warner
014ce38f87 gravity: convert to vanilla JS and refactor code (#3545) 2025-07-11 18:48:19 +01:00
Adam Warner
acc8583f43 utils: modernize hex functions (#3546) 2025-07-11 18:42:41 +01:00
Adam Warner
7207a5c20e utils: remove duplicate function and convert changeTableButtonStates to vanilla JS (#3547) 2025-07-11 18:34:12 +01:00
Adam Warner
0091f74294 taillog: convert to vanilla JS and improve things (#3550) 2025-07-11 18:28:00 +01:00
Adam Warner
e1001d6035 secondsTimeSpanToHMS: use modulo operator and padStart (#3548) 2025-07-11 18:17:58 +01:00
Adam Warner
412c15be4c Update xo to v1.1.1 (#3485) 2025-07-11 17:14:58 +01:00
yubiuser
56fdd470d9 Remove query type from domainNeeded option (#3557) 2025-07-10 06:34:11 +02:00
yubiuser
db00480088 Remove query type from domainNeeded option
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-07-09 21:27:02 +02:00
yubiuser
57372dcdb7 build(deps): bump github/codeql-action from 3.29.1 to 3.29.2 (#3556) 2025-07-05 23:05:50 +02:00
dependabot[bot]
08ff9bf21c build(deps): bump github/codeql-action from 3.29.1 to 3.29.2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.1 to 3.29.2.
- [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.29.1...v3.29.2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.29.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-05 10:13:27 +00:00
XhmikosR
9c00467a6d utils: remove duplicate function and convert changeTableButtonStates to vanilla JS
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-07-01 16:38:57 +03:00
Adam Warner
387ad34927 settings-dns: expand custom servers box if it has custom servers (#3514) 2025-06-29 12:28:48 +02:00
yubiuser
8b14367774 Make the "Add to denied/allowed domains" buttons red and green (#3551) 2025-06-28 16:33:04 +02:00
darkexplosiveqwx
a2c662e1e2 Apply red and green to "Add to domains" buttons
Signed-off-by: darkexplosiveqwx <101737077+darkexplosiveqwx@users.noreply.github.com>
2025-06-28 14:57:04 +02:00
XhmikosR
59a43c7d26 tailog: validate file URL param and guard against infinite loop
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-06-28 13:47:39 +03:00
XhmikosR
306edb2f9e tailog: convert to vanilla JS and improve performance
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-06-28 13:47:39 +03:00
yubiuser
d9c7423959 build(deps): bump github/codeql-action from 3.29.0 to 3.29.1 (#3549) 2025-06-28 12:34:36 +02:00
dependabot[bot]
fb419d37d0 build(deps): bump github/codeql-action from 3.29.0 to 3.29.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.0 to 3.29.1.
- [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.29.0...v3.29.1)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.29.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-28 10:25:00 +00:00
XhmikosR
87c098553d secondsTimeSpanToHMS: use modulo operator and padStart
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-06-28 09:05:18 +03:00
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