Commit Graph

14 Commits

Author SHA1 Message Date
DL6ER
6a39cc3b4a Disable Yoda style
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-12 18:55:27 +02:00
DL6ER
97a76669a2 Explicitly set blank_line_before_statement to exclude include* and require*
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-07 20:55:02 +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
a3234d1306 Replacing tabs with 4 spaces
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-01 01:28:30 -03: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
Christian König
e256b76d8e Omit blocklist
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-02-12 13:26:42 +01:00
DL6ER
2fac217943 Re-implement api.php?list actions for add, sub and get.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-26 18:40:33 +02:00
DL6ER
130c879597 Ensure gravity_last_updated values are correctly handled as integers, not as strings. This fixes #1041
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-11-07 21:39:55 +01:00
DL6ER
ba4dd33b9f Reduce nesting by inverting if statement and rearranging code.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-10-03 08:48:47 +02:00
DL6ER
32566b66b3 Use gravity updated timestamp from database. This fixes #989.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-09-02 17:25:44 +02:00
Walter
967216ca74 Signed-off-by: Walter <walter@exclusive-it.nl> 2018-05-02 20:12:15 +02:00
Walter
49190f8a62 Changed indentation from all tabs to all spaces (misread preference, my bad) 2018-05-02 11:07:28 +02:00
Walter
983966da04 Changed indentation from spaces and tabs to only tabs 2018-05-02 11:01:38 +02:00
Walter
2c2a091b03 Changes concerning the date the gravity list was last changed. Used in the webinterface dashboard as a tooltip, and now also available in the API (both PHP and FTL). Function was moved to new file /scripts/pi-hole/php/gravity.php to keep things neat and to avoid duplicate code. 2018-04-23 20:32:38 +02:00