Commit Graph

25 Commits

Author SHA1 Message Date
Adam Warner
fad5b4f30d Don't link to github releases if docker tag is nightly or dev
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-11-11 22:01:48 +00: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
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
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
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
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
DL6ER
6a39cc3b4a Disable Yoda style
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-12 18:55:27 +02:00
DL6ER
6ec4b8a529 Run PHP-CS-Fixer on all files
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-07 12:04:03 +02:00
RD WebDesign
2bc918ad6e Use 4 spaces to indent PHP files.
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-01 01:18:26 -03:00
Gontier Julien
85f765f1e5 Tidy the ends of some php file
Signed-off-by: Gontier Julien <gontierjulien68@gmail.com>
2022-07-14 20:24:38 +02:00
DL6ER
746df3b63f Decide whether FTL is on any custom branch by looking for "vDev" in the beginning of the version string
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-01-05 23:19:02 +01:00
DL6ER
6e6151c9cd Adding branch/version display for FTL
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-12-04 21:50:14 +01:00
DL6ER
0a7e216f97 Fix indices
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-11-03 17:00:23 +01:00
DL6ER
3783f63af8 Remove goto statement
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-10-31 21:17:37 +01:00
DL6ER
d3cbf1314e Skip updatechecker if at least one of the three files is not present
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-10-28 15:27:05 +02:00
DL6ER
86bcda8418 Use versions/branches from external file
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-10-28 13:35:21 +02:00
WaLLy3K
60b5e36c32 Check for updates every two days
Signed off by WaLLy3K <wally3k@pi-hole.net>
2017-10-12 20:54:04 +11:00
Mcat12
2b5a4d8989 Fix undefined variable $timestamp 2017-08-02 21:16:55 -04:00
DL6ER
2f218ba9eb Major overhaul of update checker - checks only every 30 minutes to reduce number of GitHub API requests 2017-06-03 16:40:25 +02:00