Commit Graph

1035 Commits

Author SHA1 Message Date
Christian König
7222e505ba Allow addding more than one local DNS/CNAME record
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-21 11:23:54 +02:00
RD WebDesign
39f23fde76 Avoid cname loops
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-10-20 16:27:29 -03:00
RD WebDesign
31b94d122f Fix file pointer position if file was truncated
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-10-16 13:26:23 -03:00
Christian König
c14c491ea5 Add chartjs-adapter-moment.js
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-05 21:19:00 +02:00
RD WebDesign
db56914e80 Get port number directly from pihole-FTL.conf (#2371) 2022-09-22 14:36:37 -03:00
RD WebDesign
6e51ac3f85 Using htmlentities and rawurlencode on every output string
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-21 19:16:21 -03:00
RD WebDesign
2d346a1bc8 Remove all unwanted characters from $versions
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-21 19:16:21 -03:00
RD WebDesign
5c2d2f3446 Get port number directly from pihole-FTL.conf
- Remove the code using FTL portfile
- code simplification

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-21 18:59:09 -03:00
Christian König
b948f4053c Remove additional space in Cookie header
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-09-21 16:00:35 +02:00
Christian König
e944c9d6c7 Allow the root zone . to be excluded from top lists
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-09-20 16:22:23 +02:00
RD WebDesign
93db592f74 Add test to avoid PHP warning
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-17 02:16:49 -03:00
Christian König
63711dac08 Only assign if variable is set
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-09-16 16:05:04 +02:00
Christian König
148aae4735 Read DOCKER_VERSION from version file instead of env variable
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-09-16 15:24:22 +02:00
RD WebDesign
fcdde5cf57 Avoid message warnings if session was already started.
fix #2350

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-13 18:47:13 -03:00
RD WebDesign
e3b4cd9238 Fix LCARS visual and allow user selected checkbox theme
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-09 14:26:54 -03:00
RD WebDesign
d12ef014e5 Use constants in place of class constants
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-08 23:47:09 -03:00
DL6ER
c013618492 Set Samesite=Strict for PHP session cookie. The cookie is set manually to be backwards compatible with versions below PHP7.3
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-09-08 15:01:00 +02:00
Christian König
e5ce53446c Do not apply IDNA conversion to regex domains
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-09-07 21:48:03 +02:00
RD WebDesign
a55ae95330 Check if the API call was made using authentication
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-03 19:07:21 -03:00
RD WebDesign
b84c23e055 Declaring all strings to avoid warnings
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-03 17:12:10 -03:00
Adam Warner
4c8084c06c git pu 2022-09-02 22:04:22 +01:00
RD WebDesign
8aa2e52338 Never check for individual component updates on docker
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-30 15:05:57 -03:00
RD WebDesign
e63c5de10d Complementing PR 2316
- other undefined vars are still spamming the log

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-29 18:21:24 -03:00
yubiuser
775a4e1c6a Revert empty domain dot replacement (#2314) 2022-08-29 23:02:28 +02:00
RD WebDesign
d3c59d42a7 Show "Logout" link only when a password is required
Re-introducing the test, removed when the menu was updated

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-29 14:53:38 -03:00
Christian König
f4c264be86 Add special handling for the root zone on domain validation and IDNA conversion
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-28 21:56:36 +02:00
RD WebDesign
ae74023b72 Add test to avoid "Undefined Variable" warnings
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-28 16:37:56 -03:00
RD WebDesign
d50c6bfc63 New check warnings logic
Changes:
- Show warning message on docker, if a new image is available;
- Never show the warning for Nightly or Dev images;
- In docker, never show individual component update warnings;
- simplified footer (logic moved to upgrade_checker file).

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-26 17:46:07 -03:00
RD WebDesign
22a19e5403 Move all "version check" code to update_checker.php
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-26 17:46:07 -03:00
RD WebDesign
2785775049 Check versions using the new file
- change the arrays
- use a function to compare versions

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-26 17:46:07 -03:00
RD WebDesign
87334d579e Add missing parenthesis
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-24 14:53:58 -03:00
RD WebDesign
4e8cf83fcc Move inline svg symbol to external file
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-22 19:56:50 -03:00
yubiuser
c6b64ae570 Merge pull request #2301 from pi-hole/email
Remove email functionality
2022-08-21 10:11:43 +02:00
DL6ER
844e24bc76 Merge pull request #2287 from pi-hole/tweak/CSP-meta
Remove Content-Security-Policy meta tag
2022-08-21 08:17:25 +02:00
yubiuser
42a24cfcea Merge branch 'devel' into email 2022-08-20 22:50:53 +02:00
yubiuser
507d9bad90 Merge pull request #2303 from pi-hole/footer
Change docker upgrade link in footer
2022-08-20 22:49:14 +02:00
RD WebDesign
5e23f1996a Merge pull request #2298 from pi-hole/test_topmenu
Improve top right menu and sidebar
2022-08-20 17:47:09 -03:00
RD WebDesign
5b4f8d87d6 Improve pi-hole SVG icon
- keep using inline SVG to allow color change via CSS;
- Reuse the SVG icon in all instances, using SVG symbol;
- Simplify/reduce inline SVG code;

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-19 15:05:55 -03:00
Christian König
34daa633cc Change docker upgrade link in footer
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-19 15:53:11 +02:00
RD WebDesign
944ce3aa64 Tweak topbar and sidebar
- fix broken visual after initial changes;
- remove donate button from topmenu;
- re-add donate button to the sidebar and add hover color;
- remove "Ph" when collapsed;
- add icon and background to topmenu button;
- hide main menu headers (using lines as separators);
- reorder the main menu;
- adjust each theme to the new visual (CSS and HTML tweaks).
- new menu colors for LCARS theme

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-18 23:53:18 -03:00
Christian König
e32bc2d07a Remove email functionality
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-17 23:18:07 +02:00
Christian König
503fe267eb fix codespell complains
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-17 22:53:44 +02:00
Christian König
4e76c43969 Remove unused $auth
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-13 14:20:50 +02:00
Christian König
621f9c0b02 Add link to releases on discourse
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-13 11:24:08 +02:00
Christian König
17857841ab Change left hamburger menu icon to arrows
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-13 11:14:51 +02:00
RD WebDesign
836b7ab7be Fix logout link
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-13 02:07:14 -03:00
RD WebDesign
46874762d0 Different order
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-13 02:05:13 -03:00
RD WebDesign
f528829c67 Testing a shorter main menu + top menu
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-13 02:00:24 -03:00
RD WebDesign
509113296c Move login form to a new page
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-12 18:04:57 -03:00
DL6ER
6a39cc3b4a Disable Yoda style
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-12 18:55:27 +02:00