Commit Graph

16 Commits

Author SHA1 Message Date
Mcat12
1c34345e14 Ignore false positive unused namespace in global.d.ts
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2020-04-22 09:52:19 +03:00
DL6ER
90ec438b55 Merge pull request #442 from pi-hole/new/cacheinfo
Add Settings -> Networking -> Cache tab.
2019-12-17 21:35:33 +01:00
DL6ER
0b72291e0a Use new field "sum_queries" for displaying the total queries number on the dashboard. This avoids to necessity to sum all individual query types. Furthermore (and more important), it greatly simplifies the database queries as we do not need to count the different query types indicidually.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-12-06 08:28:30 +00:00
DL6ER
01915d3aa3 Add Settings -> Networking -> Cache tab.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-12-05 14:47:59 +00:00
Dan Schaper
7410e09a1f Fixes https://github.com/pi-hole/web/pull/418#pullrequestreview-317996299
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
2019-11-16 17:55:01 -08:00
Mark Drobnak
b5193bae07 Merge branch 'development' into tweak/ClientsGraph-test-coverage 2019-07-10 13:43:25 -04:00
DL6ER
e7d0f008c3 Merge branch 'development' into feature/better-conditional-forwarding 2019-07-10 19:12:37 +02:00
Mcat12
18ac8cf526 Bring ClientsGraph up to 100% code coverage
Renamed the API type `ApiClient` to `ApiClientData` to avoid confusing
it with the class of the same name.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-06-28 21:39:30 -07:00
Mcat12
1755037ca3 Properly mock withTranslation to wrap the provided component
Also improved some test suites to use a custom render method to reduce
duplicate code. The render method provides default props and
automatically dives and casts the wrapper.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-06-27 23:01:28 -07:00
Mcat12
1a63c9ac5b Update conditional forwarding settings to new API
This updates the web interface with the changes made in pi-hole/api#176
and pi-hole/api#178. These changes enable IPv6 conditional forwarding
support.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-06-16 19:46:14 -07:00
Mcat12
3a3e675a11 Fix type errors caused by i18next update
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-05-30 21:06:16 -07:00
Mcat12
6fd96e11c6 Add TopBlockedClients component
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-05-26 18:16:05 -07:00
Mcat12
89cf5931f4 Rename TopBlocked to TopBlockedDomains
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-05-26 17:37:46 -07:00
Mcat12
49ef4d902a Add DHCP rapid commit checkbox
Requires pi-hole/api#139

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-05-04 15:20:40 -07:00
Mcat12
e304eae619 Move API type definitions to new api.d.ts file
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-24 21:08:59 -08:00
Mcat12
637d5aecab Convert more top-level js files to typescript
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-20 17:24:02 -08:00