Commit Graph

6863 Commits

Author SHA1 Message Date
Adam Warner f683631afd Use proper Object methods (#3441) 2025-05-19 18:26:44 +01:00
Dominik 064154f0e6 Make use of the new format_path function to add the current page in body (#3390) 2025-05-19 19:09:24 +02:00
Adam Warner e2c55c6234 settings-level-expert: only toggle the expert elements (#3473) 2025-05-19 17:50:44 +01:00
Adam Warner 7319966210 updateFtlInfo: remove unused code (#3474) 2025-05-19 17:25:25 +01:00
Adam Warner 8c84786bca settings-advanced: drop small element (#3472) 2025-05-19 17:24:28 +01:00
XhmikosR 3a8dbe1d28 updateFtlInfo: remove unused code
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-19 18:11:48 +03:00
XhmikosR 8556b65b2e settings-level-expert: only toggle the expert elements
Show the basic ones by default. Also, reduce jQuery usage in those functions while at it.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-19 09:49:10 +03:00
XhmikosR 89bcc8ca86 settings-advanced: drop small element
Use `.small` on the wrapper element

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-19 08:33:09 +03:00
yubiuser ddf21bb459 settings-advanced.js: fix wrong role value (#3470) 2025-05-18 22:11:50 +02:00
yubiuser 329681894a settings-dhcp: drop unused lookatme-text attribute (#3469) 2025-05-18 22:03:58 +02:00
yubiuser 0d883e3be2 settings-system: remove unneeded span elements (#3468) 2025-05-18 22:03:18 +02:00
XhmikosR b32ad210fd settings-advanced.js: fix wrong role value
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-18 22:54:24 +03:00
XhmikosR 38f41e1db2 settings-dhcp: drop unused lookatme-text attribute
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-18 22:50:36 +03:00
XhmikosR 851cdf42e9 settings-system: drop unused lookatme-text attribute
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-18 22:43:36 +03:00
XhmikosR 5b1d4f6e50 settings-system: remove unneeded span elements
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-18 22:37:06 +03:00
yubiuser 53a88352c2 footer: drop redundant addAdvancedInfo() call (#3467) 2025-05-18 20:38:01 +02:00
yubiuser 7046a9f3d9 Use text()/textContent when we don't need HTML (#3464) 2025-05-18 17:18:51 +02:00
XhmikosR a2908d86d8 footer: drop redundant addAdvancedInfo() call
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-18 09:58:06 +03:00
Dominik cb6da5677f settings-api: fix wrong code (#3463) 2025-05-17 15:09:39 +02:00
yubiuser 2cfccc2de5 Bump github/codeql-action from 3.28.17 to 3.28.18 (#3465) 2025-05-17 13:09:19 +02:00
dependabot[bot] 60d947c3cf Bump github/codeql-action from 3.28.17 to 3.28.18
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.17 to 3.28.18.
- [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.17...v3.28.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-17 10:02:33 +00:00
XhmikosR 907441ca92 charts.j: use textContent when we don't need HTML
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-17 08:40:47 +03:00
XhmikosR f389c5a0ea footer: use text() when we don't need HTML
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-17 08:27:55 +03:00
XhmikosR 7b6408df6e network: use textContent when we don't need HTML
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-16 21:56:48 +03:00
Adam Warner d078d1fd09 utils: improve readability for validateIPv* functions (#3423) 2025-05-16 17:22:14 +01:00
XhmikosR a69a65d95e utils: improve readability for validateIPv* functions
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-16 11:33:34 +03:00
XhmikosR c72b7b872f settings-api: fix wrong code
`ids` is an array so `id` is the value when using a for...of loop.

Also, switch to Number.isInteger since we expect the IDs to be numbers

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-16 11:19:37 +03:00
Adam Warner a05e93bf34 utils: remove the unused objectToArray util (#3462) 2025-05-15 18:06:48 +01:00
Adam Warner 46728f90c7 Fix deprecated ready function (#3461) 2025-05-15 18:05:44 +01:00
yubiuser 29f4bff5ea settings-dns-records: fix typo (#3459) 2025-05-15 19:04:22 +02:00
Adam Warner 3d99693dd6 Hide top tables depending on privacy level (#3362) 2025-05-15 18:02:51 +01:00
Adam Warner ecb512a0ea queries: improve link to search page (#3422) 2025-05-15 18:00:31 +01:00
Adam Warner db48e5e32f sidebar: increase logo size to prevent a reflow (#3407) 2025-05-15 17:19:02 +01:00
XhmikosR c03c740710 utils: remove the unused objectToArray util
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-15 18:23:24 +03:00
XhmikosR f69df08a08 Fix deprecated ready function
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-15 18:17:31 +03:00
yubiuser 58c692ca5e settings-system: fix typo (#3460) 2025-05-15 09:41:45 +02:00
XhmikosR d219e436cb settings-system: fix typo
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-15 10:40:03 +03:00
XhmikosR b3ac3afd17 settings-dns-records: fix typo
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-15 10:38:37 +03:00
Dominik ed09c524ff Replace invalid hostname to prevent XSS (#3401) 2025-05-14 19:37:52 +02:00
Dominik ab61f8d9ba index: make tables stripped (#3438) 2025-05-14 19:35:04 +02:00
yubiuser 87667dadbf Add hint about wildcard search in advanced query filtering (#3452) 2025-05-14 19:33:52 +02:00
Dominik 37ba4f4689 scripts/js/settings-dns-records.js: fix api url base (#3456) 2025-05-14 19:18:30 +02:00
Jakob Lorenz ae8775898b scripts/js/settings-dns-records.js: fix api url base
Signed-off-by: Jakob Lorenz <onlyJak0b@mailbox.org>
2025-05-14 17:11:33 +02:00
yubiuser 53da785fe1 index.lp: remove unused classes (#3453) 2025-05-14 09:01:48 +02:00
yubiuser de1e27c782 settings-advanced: remove unused code (#3454) 2025-05-14 09:01:09 +02:00
yubiuser 9543cf1293 settings-system.js: remove unused overlay code (#3455) 2025-05-14 08:57:54 +02:00
XhmikosR 453b017905 settings-system.js: remove unused overlay code
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-13 18:43:25 +03:00
XhmikosR 3ddb41db79 settings-advanced: remove unused code
There's no such button with id=save

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-13 18:32:40 +03:00
XhmikosR 02a07d21ad index.lp: remove unused classes
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-13 18:07:59 +03:00
XhmikosR 44226e1bec Use for...of in more places
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-12 18:46:36 +03:00