Commit Graph

5572 Commits

Author SHA1 Message Date
DL6ER
b46a8a5bb6 Address review comment
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-23 21:21:29 +02:00
DL6ER
402017798e Merge branch 'development-v6' into tweak/domain_array
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-14 16:23:31 +02:00
yubiuser
6c3d45c6eb Fix AJAX JSON data (#2744) 2023-10-13 11:02:38 +02:00
DL6ER
43c8ede674 Add "processData: false" to all JSON data we send
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-13 09:44:01 +02:00
DL6ER
1146248964 Revert "Fix AJAX JSON data (#2742)"
This reverts commit 340d373711, reversing
changes made to 1ed1efdc91.

Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-13 09:41:10 +02:00
yubiuser
2fbef7f40e Fix update logic for custom branches by comparing hashes (#2737) 2023-10-12 20:22:26 +02:00
DL6ER
340d373711 Fix AJAX JSON data (#2742) 2023-10-12 20:17:15 +02:00
RD WebDesign
1ed1efdc91 Tweak/settings (#2740) 2023-10-12 15:16:32 -03:00
Christian König
95650820dc Active Sessions are an expert's thing
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-12 12:08:33 +02:00
Christian König
1376f0a41e Show Theme Selector at basic level
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-12 10:23:56 +02:00
Christian König
45b1c66798 Add check for Docker tag
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-11 23:08:32 +02:00
Christian König
bde1396389 Fix tests
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-11 22:52:54 +02:00
Christian König
fc542f5f86 Close at the right place
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-11 22:49:22 +02:00
Christian König
5cd83cfa24 Remove duplication
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-11 22:38:25 +02:00
Christian König
d4d07f766a Fix update logic for custom branches by comparing hashes
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-11 22:04:29 +02:00
yubiuser
e4e2ffabff AdminLTE > web (#2736) 2023-10-11 21:49:53 +02:00
yubiuser
e6a257701a Change old -a -p parameters to setpassword (#2735) 2023-10-11 21:40:05 +02:00
Christian König
01366da32f adminlte > web
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-11 21:31:14 +02:00
RD WebDesign
ab5b67f9ed Change old -a -p parameters to setpassword
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-10-11 16:06:59 -03:00
DL6ER
d2701f7955 We should not use JSON.stringify() but leave escaping to AJAX itself
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-10 19:28:14 +02:00
DL6ER
d64dc0d750 Conditional HTTPS hint on login page (#2730) 2023-10-09 21:39:43 +02:00
DL6ER
e01124fb2b Update scripts/pi-hole/js/login.js
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: DL6ER <DL6ER@users.noreply.github.com>
2023-10-09 17:38:11 +02:00
RD WebDesign
48e6682165 Fix gravity output to apply the ${OVER} sequence (#2725) 2023-10-08 18:51:52 -03:00
RD WebDesign
d969adee0f Adding a final message when gravity is done
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-10-08 18:30:20 -03:00
RD WebDesign
d62077c8f1 Use a function to parse escape sequences in the text stream
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-10-08 18:01:28 -03:00
DL6ER
a5a7a4e481 Adapt to most recent FTL changes
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-08 22:59:06 +02:00
RD WebDesign
dfb76f509c Fix the gravity output to use the ${OVER} sequence
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-10-08 17:46:10 -03:00
DL6ER
eaf068c506 Show HTTPS hint on login page only when HTTPS is actually served. If it is served an a port != 443, add this port as well
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-08 19:35:02 +02:00
DL6ER
549031d204 Fix HTTPS link on login page (#2729) 2023-10-08 18:13:41 +02:00
DL6ER
de15123b4e Build HTTPS URL using Javascript to ensure we use the exact same URL the user used to get there - do not hard-code pi.hole as hostname
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-08 12:48:08 +02:00
DL6ER
d516aec5ce Give details about sucessfully added and failed items to domains, groups, lists and clients
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-08 10:56:45 +02:00
DL6ER
a6ba2a8eb8 Implement support for adding multiple domains, clients, groups, and list addresses at once
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-07 21:38:10 +02:00
RD WebDesign
79e66f198f Settings page - Fix spellcheck: accordignly => accordingly (#2727) 2023-10-07 14:49:58 -03:00
RD WebDesign
555b2ebb35 accordignly => accordingly
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-10-07 14:41:50 -03:00
Adam Warner
0f6b917ae1 Improve settings level select location (#2720) 2023-10-06 13:21:14 +01:00
yubiuser
a867c7bfe7 Bump postcss from 8.4.30 to 8.4.31 (#2722) 2023-09-30 13:24:40 +02:00
dependabot[bot]
11cc8daa92 Bump postcss from 8.4.30 to 8.4.31
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.30 to 8.4.31.
- [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.4.30...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-30 10:26:45 +00:00
DL6ER
6bf3d09ed3 Simplify theme handling (#2718) 2023-09-29 20:42:36 +02:00
Adam Warner
71214046fd Add UI-related antigravity changes (#2700) 2023-09-29 19:09:23 +01:00
RD WebDesign
7daf75044a Passing the type using the data-type attribute
Fix the "Cannot read properties of undefined" error:
- The `function editAdlist(event)` wasn't receiving any arguments,
  because every call to this function is not passing arguments, so
  `event` was undefined.

Using `data-type` attribute to pass the value and avoid the error.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-09-27 19:13:22 -03:00
DL6ER
60ed8d2352 Ensure type is transmitted when editing lists
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-09-27 21:31:03 +02:00
DL6ER
b5feb9e031 Remove theme.lua, source everything there is to know through Lua instead (pihole.webtheme() now returns a full table)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-09-26 09:55:31 +02:00
yubiuser
ab0fa4ef7c Bump postcss from 8.4.29 to 8.4.30 (#2716) 2023-09-23 13:33:13 +02:00
yubiuser
5a8a00a5d8 Bump autoprefixer from 10.4.15 to 10.4.16 (#2715) 2023-09-23 13:32:29 +02:00
dependabot[bot]
4bb1efc1a8 Bump postcss from 8.4.29 to 8.4.30
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.29 to 8.4.30.
- [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.4.29...8.4.30)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-23 10:46:58 +00:00
dependabot[bot]
db06d2de0e Bump autoprefixer from 10.4.15 to 10.4.16
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.15 to 10.4.16.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.15...10.4.16)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-23 10:46:48 +00:00
yubiuser
f0bbb4d121 Bump actions/checkout from 4.0.0 to 4.1.0 (#2711) 2023-09-23 12:08:34 +02:00
dependabot[bot]
21e32ac1c8 Bump actions/checkout from 4.0.0 to 4.1.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-23 10:04:44 +00:00
DL6ER
3a9144d3b7 Always show regex ID when available
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-09-13 17:01:45 +02:00
yubiuser
93848aae02 Bump actions/checkout from 3.6.0 to 4.0.0 (#2703) 2023-09-09 20:51:11 +02:00