At the moment you see the number of domains if you run a gravity update (pihole -g
) or via the web interface. But likely there will be more information in the webinterface in the future:
So, bitte testen und ich freue mich über Rückmeldungen:
pihole checkout core new/gravity_adlist_infos
pihole checkout web new/gravity_adlist_infos
Dieser Versuch sollte möglichst Touchscreen-kompatibel sein. Weitere Infos zu den jeweiligen Listen gibt es wenn man auf das farbige Icon klickt:
[Screenshot from 2020-12-27 20-50-41]
Ich habe die Listen nun auch zu klickbaren Links umgewandelt, damit man schneller nachschauen kann, wieso eine Liste nicht funktioniert, z.B. in diesem Fall:
[Scree…
pi-hole:devel
← pi-hole:new/gravity_adlist_infos
opened 07:11AM - 28 Dec 20 UTC
**By submitting this pull request, I confirm the following:**
- [X] I have r… ead and understood the [contributors guide](https://github.com/pi-hole/pi-hole/blob/master/CONTRIBUTING.md), as well as this entire template.
- [X] I have made only one major change in my proposed changes.
- [X] I have commented my proposed changes within the code.
- [X] I have tested my proposed changes, and have included unit tests where possible.
- [X] I am willing to help maintain this change if there are issues with it later.
- [X] I give this submission freely and claim no ownership.
- [X] It is compatible with the [EUPL 1.2 license](https://opensource.org/licenses/EUPL-1.1)
- [X] I have squashed any insignificant commits. ([`git rebase`](http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html))
---
**What does this PR aim to accomplish?:**
Add more details to adlist table, exemplary screenshots:
![Screenshot from 2020-12-31 11-23-40](https://user-images.githubusercontent.com/16748619/103406699-ec177700-4b5b-11eb-8ecd-9bc1e4e50890.png)
Local lists do not get a link as they are not available for distant clients:
![Screenshot from 2020-12-31 11-23-50](https://user-images.githubusercontent.com/16748619/103406701-ee79d100-4b5b-11eb-9f11-c19becef3866.png)
**How does this PR accomplish the above?:**
Parse new data in the `gravity.db:adlist` table stored there by https://github.com/pi-hole/pi-hole/pull/3951
**What documentation changes (if any) are needed to support this PR?:**
None
pi-hole:development
← pi-hole:new/gravity_adlist_infos
opened 07:10AM - 28 Dec 20 UTC
**By submitting this pull request, I confirm the following:**
- [X] I have r… ead and understood the [contributors guide](https://github.com/pi-hole/pi-hole/blob/master/CONTRIBUTING.md), as well as this entire template.
- [X] I have made only one major change in my proposed changes.
- [X] I have commented my proposed changes within the code.
- [X] I have tested my proposed changes, and have included unit tests where possible.
- [X] I am willing to help maintain this change if there are issues with it later.
- [X] I give this submission freely and claim no ownership.
- [X] It is compatible with the [EUPL 1.2 license](https://opensource.org/licenses/EUPL-1.1)
- [X] I have squashed any insignificant commits. ([`git rebase`](http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html))
---
**What does this PR aim to accomplish?:**
Store more gravity details in gravity.db adlist table for user display on the web interface
**How does this PR accomplish the above?:**
Store status of downloaded list (downloaded, using cache, some error,…) and number of (in-)valid domains on this list in the gravity database. This updates the gravity database to version 14.
**What documentation changes (if any) are needed to support this PR?:**
Gravity database schema changes, this needs to be accounted for in https://docs.pi-hole.net/database/gravity/groups/ in a follow-up PR.
1 Like