Commit Graph

2647 Commits

Author SHA1 Message Date
DL6ER 921791da17 Merge pull request #787 from pi-hole/fix/client-tooltip
Fix clients over time tooltip height and "lag" issues
2018-07-16 21:52:05 +02:00
Mcat12 dd77a6af58 Add missing semicolon
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-07-15 16:43:14 -04:00
Mcat12 846e3e4184 Fix lag by limiting rendering to every 50ms
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-07-15 15:04:38 -04:00
Mcat12 4542a68f2f Fix y value of tooltip scaling incorrectly
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-07-15 15:04:07 -04:00
Mark Drobnak 3d0d3a9230 Merge pull request #785 from pi-hole/tweak/teleporter/regex
Add regex support for Teleporter
2018-07-15 11:56:30 -04:00
DL6ER 7c9f09db0e Directly write imported regex file to disk instead of useing bash callbacks
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-07-15 12:56:40 +02:00
DL6ER 3e4613caf0 Move function add_regex($regex) to func.php
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-07-15 12:48:46 +02:00
DL6ER 65d0c7a1d9 Also try to import legacy wildcard list if found in imported teleporter archive
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-07-14 22:25:17 +02:00
DL6ER e67695d51a Add files backed up from /etc/dnsmasq.d into a separate directory to tidy up the generated archive
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-07-14 15:46:22 +02:00
DL6ER ed8dbfd10e Show number of processed items when importing whitelist, blacklist, and regex filters
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-07-14 15:34:42 +02:00
DL6ER 50885d092a Import regex.list if requested. Don't check validity of regex filters as they are not necessarily in valid domain format
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-07-14 15:33:52 +02:00
DL6ER 6dc8bf300c Export regex.list
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-07-14 15:27:54 +02:00
Dan Schaper a85515a0bf Merge pull request #772 from pi-hole/new/regex-support
Use regex lists instead of wildcards for blocking
2018-07-14 06:12:54 -07:00
Mcat12 fbe9516cbe Fix incorrect regex removal code
If you had these in the regex list:
- example\.com
- example
- ^example.*

And you removed "example", then the list would look like this:
- \.com
- ^.*

This behavior is fixed.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-07-08 16:27:38 -04:00
Mark Drobnak a1b351b9af Merge pull request #783 from pi-hole/tweak/warn-privacy-level-logging
Warn if privacy level > 0 but query logging activated
2018-07-06 19:46:02 -04:00
DL6ER 25c4a0e314 Print a glowing warning when the user defines a privacy level > 0 but still has logging enabled (he can still do this, but we should tell them that the pihole.log file will still contain the full records)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-07-04 22:57:41 +02:00
Mark Drobnak c837894bb5 Add back missing < and fix typo
Signed-off-by: Mark Drobnak <newtoncat12@yahoo.com>
2018-07-01 12:03:30 -04:00
Adam Warner bd49d7f329 Merge pull request #780 from pi-hole/fix/dupeword
Remove duplicate of the word "queries" on the query log page
2018-07-01 16:44:58 +01:00
Adam Warner 342a53ed99 Remove duplicate of the word "queries" on the query log page
Signed-off-by: Adam Warner <adamw@rner.email>
2018-07-01 13:10:38 +01:00
DL6ER 7c742a426f Help: No need for a trailing ".*$" as this will match anything (so we can also just leave it off)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-07-01 12:58:46 +02:00
Mcat12 2759ec0da5 Add missing break statements
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-30 15:18:13 -04:00
DL6ER dc5ab22ff5 Show link to Pi-hole's Regex documentation
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-30 14:54:10 +02:00
DL6ER e8b2cbe698 Tag regex filters as "regex" to avoid the domain validation (otherwise regex lines could not get removed). Also ensure that deleting the first wildcard/regex does not hide the first exact blocking domain (this bug has been in since the very beginning of wildcard blocking)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-30 14:42:52 +02:00
DL6ER 4566db2a7c Use passed argument in new function add_regex()
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-30 14:30:45 +02:00
DL6ER ec0afceeed Add new button to allow both regex filters and legacy wildcards (get automatically converted to regex format)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-30 14:19:03 +02:00
Mcat12 60ca5e06fa Merge remote-tracking branch 'origin/devel' into new/regex-support 2018-06-29 23:49:28 -04:00
Mcat12 f1ea117eda Update help page for regex
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-29 23:49:10 -04:00
Mcat12 4259aada78 Don't leave a newline at the end of the regex file
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-29 23:03:01 -04:00
Mcat12 aef5f7c7ce Keep trailing newline in regex file after removal
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-28 23:16:11 -04:00
Mark Drobnak 25ead792e4 Merge pull request #777 from pi-hole/tweak/db-summary-readability
Improve readability of long term summary stats
2018-06-28 22:32:09 -04:00
Mcat12 9bc09564ba Improve readability of long term summary stats
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-25 19:44:22 -04:00
DL6ER c0da231fa6 Force reload of the regex filters in FTLDNS after having added/removed one from the dashboard
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-24 12:42:05 +02:00
DL6ER 1935544183 Directly manipulate regex.list from PHP to avoid detour over bash. This needs read/write permissions of the PHP user on "/etc/pihole/regex.list" !
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-23 15:50:19 +02:00
DL6ER 3f7246968e Review comments
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-17 20:01:46 +02:00
DL6ER a0f9a1bdb8 JavaScript allows the omission of curly braces when a block contains only one statement. However, codacy wants us to never omit curly braces around blocks, even when they are optional. This code has not been introduced in this PR, so it's not entirely clear why it has been detected in this PR...
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-17 15:11:53 +02:00
DL6ER a98df3d190 Merge branch 'devel' into new/regex-support
Signed-off-by: DL6ER <dl6er@dl6er.de>

Conflicts:
	scripts/pi-hole/js/queries.js
2018-06-17 15:04:01 +02:00
Mark Drobnak 6fd0709f72 Merge pull request #763 from pi-hole/query-log/remove_DNSSEC_extra_column
Query Log: Remove DNSSEC column
2018-06-14 20:37:37 -04:00
DL6ER 881d80b7f7 Don't append DNSSEC status if wildcard blocked
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-14 17:25:22 +02:00
Mark Drobnak f7e1a28a55 Merge pull request #769 from pi-hole/new/API/update_avail
Add "versions" endpoint ot API
2018-06-07 22:36:25 -04:00
Mark Drobnak 81b97eaf8b Merge pull request #762 from pi-hole/feature/PHP_error_display
Settings page: Display PHP errors
2018-06-07 21:43:38 -04:00
Mark Drobnak 92db9400de Merge pull request #765 from pi-hole/tweak/client-names
Use new `client-names` FTL response format
2018-06-07 21:40:19 -04:00
DL6ER 14a4095079 Refine shown message
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-07 20:44:47 +02:00
DL6ER 0e87325e25 Merge pull request #766 from pi-hole/fix/api-forward-over-time
Remove overTimeDataForwards
2018-06-07 20:40:26 +02:00
DL6ER 7f8d8fe7e2 Rename the new endpoint to "api.php?versions" and include also current and latest versions + current branches
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-07 20:21:12 +02:00
DL6ER f35f663be9 Add api.php?updatecheck endpoint
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-07 20:20:16 +02:00
DL6ER 2aef235040 Use client address if name is empty
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-07 19:05:27 +02:00
Mcat12 357da1d15a Expose both name and IP of client
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-06 18:27:55 -04:00
DL6ER d901dc29b3 Fix button label
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-06 19:26:25 +02:00
Mark Drobnak cca6e414b8 Merge pull request #767 from pi-hole/tweak/readme-links
add patreon and adjust affiliate links
2018-06-05 18:46:22 -04:00
DL6ER 36930e3834 Add regex support on the web interface
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-05 10:35:41 +02:00