pi-hole / api

The Pi-hole API
Other
162 stars 22 forks source link

Use the domain_audit table for top domain audit filter #215

Closed AzureMarker closed 5 years ago

AzureMarker commented 5 years ago

The domain audit data has been moved to the gravity database: pi-hole/pi-hole#2832

Extra features are added to the repository for future endpoints to add domains to the audit list.

codecov[bot] commented 5 years ago

Codecov Report

Merging #215 into development will increase coverage by 0.14%. The diff coverage is 74.6%.

Impacted file tree graph

@@               Coverage Diff               @@
##           development     #215      +/-   ##
===============================================
+ Coverage        69.24%   69.38%   +0.14%     
===============================================
  Files               91       92       +1     
  Lines             6262     6360      +98     
  Branches          1155     1163       +8     
===============================================
+ Hits              4336     4413      +77     
- Misses             983      998      +15     
- Partials           943      949       +6
Impacted Files Coverage Δ
src/env/config/file_locations.rs 58.1% <ø> (+0.41%) :arrow_up:
src/env/file.rs 87.5% <ø> (-0.74%) :arrow_down:
src/ftl/memory_model/domain.rs 54.16% <25%> (ø) :arrow_up:
src/services/domain_audit/repository.rs 69.23% <69.23%> (ø)
src/routes/stats/top_domains.rs 68.94% <83.33%> (+1.53%) :arrow_up:
src/routes/stats/database/top_domains_db.rs 82.37% <84.61%> (+1.28%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c91ceb6...f4fee01. Read the comment docs.