Commit Graph
601 Commits
Author SHA1 Message Date
Mcat12 b15326f7d4 Update packages to the latest versions
It seems an update to the formatter caused the license headers to get
reformatted, so that is the bulk of the changes. The other large change
is that the translate HOC function was renamed to withNamespaces.

With the license headers all getting updated, I updated the year to
2019.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-17 20:58:41 -08:00
Mcat12 97bd418ced Add support for custom components in the sidebar
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-16 22:16:48 -08:00
Mcat12 e7242fa61f Make nav items into components
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-16 22:16:11 -08:00
Mark Drobnak 3f00ac7ef6 Merge pull request #130 from pi-hole/update/font-awesome
Update to Font Awesome 5.6.3
2019-01-16 22:10:33 -08:00
Mcat12 aad70387f3 Update to Font Awesome 5.6.3
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-16 22:06:14 -08:00
Mark Drobnak 574bcc4104 Merge pull request #129 from pi-hole/tweak/default-boxed
Set the default layout to boxed
2019-01-13 17:03:28 -08:00
Mcat12 f718bfb6e0 Set the default layout to boxed
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-13 16:52:33 -08:00
Mark Drobnak 700c43c112 Merge pull request #128 from pi-hole/fix/base-path
Fix base path of router set to / instead of /admin
2019-01-12 16:09:16 -08:00
Mcat12 e885648362 Fix base path of router set to / instead of /admin
The base path of the build was set correctly to /admin, but the client
side router (react-router) was using / as the base path. Now it will use
the same base path as the build.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-12 15:41:17 -08:00
Mark Drobnak b8f16e4ae6 Merge pull request #126 from pi-hole/feature/query-log-filters
Add Query Log Filters
2019-01-08 19:48:34 -08:00
Mcat12 42efd5bc9a Fix use before definition
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-06 18:03:11 -08:00
Mcat12 5a6f829869 Update translations
This mainly adds the "Allowed" string to query-log.json and adds
Turkish.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-06 17:59:18 -08:00
Mcat12 a743085a0d Add date range filtering to the Query Log
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-06 17:48:38 -08:00
Mcat12 13fcbef1c7 Fix action button to use new status row
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-31 23:39:43 -05:00
Mcat12 c5e4086b1d Add reply filter
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-31 23:38:35 -05:00
Mcat12 f8b5071b5a Fix incorrect query type filter parsing
The value is stored as a string and must be converted to use addition.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-31 20:49:00 -05:00
Mcat12 093872acf8 Add support for blocked and allowed status filters
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-31 20:45:40 -05:00
Mcat12 c0e5b2d859 Fix incorrect filter options for dnssec
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-31 20:44:51 -05:00
Mcat12 462ee262d0 Fix blocked and unknown query coloring
Temporarily broken when status and DNSSEC were split up.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-31 20:03:03 -05:00
Mcat12 ac2a491134 Add support for status and dnssec filtering
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-31 19:40:02 -05:00
Mcat12 9575021c16 Translate "All" in Query Log filtering
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-31 19:31:17 -05:00
Mcat12 4374e73a2c Split status and DNSSEC data into separate columns
This makes searching much simpler

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-31 18:22:52 -05:00
Mcat12 078d3c87c1 Add support for client filtering
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-31 18:04:08 -05:00
Mcat12 85191960e4 Add support for domain filtering
The filtering is debounced, which means it only sends the request for
queries after the user has stopped editing the filters (300ms).

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-29 19:01:27 -05:00
Mcat12 ab70f1d104 Add support for query type filtering
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-28 20:05:26 -05:00
Mark Drobnak 27c0f6ca2c Merge pull request #124 from pi-hole/fix/history-fake-query-type
Fix some query types in fake data getting shown as "ERROR"
2018-12-24 11:41:10 -05:00
Mcat12 118a971448 Fix some query types in fake data getting shown as "ERROR"
The ERROR query type is not necessary, and the issue with fake data
generating the wrong query types is fixed.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-24 11:39:27 -05:00
Mark Drobnak fc6bc99780 Merge pull request #122 from pi-hole/fix/clear-new-dns-custom-input
Correctly clear the new DNS input when added
2018-12-24 10:24:50 -05:00
Mcat12 2263599445 Correctly clear the new DNS input when added
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-24 10:23:02 -05:00
Mark Drobnak 3ce7c63c9b Merge pull request #121 from pi-hole/feature/history-pagination
Query Log Server-Side Pagination
2018-12-24 10:05:34 -05:00
Mark Drobnak 7774cb0c02 Merge branch 'development' into feature/history-pagination 2018-12-24 10:04:05 -05:00
Mcat12 f655ae72b4 Pad empty rows to have the same height as filled rows
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-23 13:13:47 -05:00
Mark Drobnak 41b874726e Merge pull request #119 from pi-hole/tweak/cloudflare-ecs
Remove ECS designation from Cloudflare
2018-12-20 11:43:37 -05:00
Mark Drobnak e7f1350988 Remove ECS designation from Cloudflare
See pi-hole/AdminLTE#878

Signed-off-by: Mark Drobnak <mark.drobnak@gmail.com>
2018-12-20 11:40:03 -05:00
Mcat12 b2aa0dbaab Add more documentation and declutter render method of Query Log
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-17 20:32:10 -05:00
Mcat12 6fafd647f6 Use server-side cursor pagination in the Query Log
Also, the Query Log has been updated to use the new log format which
comes with the addition of pagination.

A new column, Reply, has been added. It holds the reply type and
response time.

Filtering and sorting are disabled until they can be reimplemented.

The translations have been updated, as a few strings were added.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-17 20:20:40 -05:00
Mark Drobnak 466dcbd862 Merge pull request #115 from pi-hole/feature/save-dns-settings
DNS Settings Page
2018-12-16 12:38:58 -05:00
Mcat12 ff9c50440a Merge branch 'development' into feature/save-dns-settings
# Conflicts:
#	make-fake-data.js
2018-12-16 11:56:02 -05:00
Mcat12 2e7c37b7fd Fill in a default conditional forwarding domain if it is empty
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-16 11:55:01 -05:00
Mark Drobnak 0eb501fdd7 Merge pull request #118 from pi-hole/fix/doughnut-chart-bugs
Fix doughnut charts acting weird when resized
2018-12-16 11:48:23 -05:00
Mark Drobnak fc8ceb2d25 Merge branch 'development' into fix/doughnut-chart-bugs 2018-12-16 11:46:35 -05:00
Mark Drobnak 88c44dfabd Merge pull request #117 from pi-hole/feature/shm-API-update
Update dashboard components to use new shared memory API data
2018-12-16 11:45:59 -05:00
Mcat12 b2f9fbe085 Fix doughnut charts acting weird when resized
The charts would start displaying data from other charts, and would have
graphical glitches. The glitches are fixed by giving the chart its own
copy of the dataset.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-16 00:08:21 -05:00
Mcat12 7bc9704587 Update dashboard components to use new shared memory API data
make-fake-data.js was put through the formatter.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-15 23:46:33 -05:00
Mcat12 f2fbccc759 Validate DNS settings, and save them when Apply is clicked
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-13 17:52:35 -05:00
Mcat12 1e672029cb Update translations
This adds some more strings to settings.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-13 17:23:22 -05:00
Mcat12 61b65a5a42 Change the "recommended" servers to "preconfigured" servers
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-13 17:11:44 -05:00
Mcat12 9be5214bed Override the no matches found message for custom upstreams
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-13 17:11:01 -05:00
Mcat12 1847a8d561 Merge new upstream inputs, reorder recommended upstreams
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-13 16:59:52 -05:00
Mcat12 dc3c9f0640 Add recommended servers to the upstream DNS input
This uses a new package: react-bootstrap-typeahead.

You can switch between the custom and recommended input types via a
toggle button.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-12-13 16:34:13 -05:00