Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce packs in v2 #8

Open
ignoramous opened this issue Aug 1, 2021 · 1 comment
Open

Introduce packs in v2 #8

ignoramous opened this issue Aug 1, 2021 · 1 comment
Assignees

Comments

@ignoramous
Copy link
Contributor

Today, packs like Gambling, Porn, Dating, Social Networks are implicit maintained aloof from the configuration (shown in the simple view of the RethinkDNS configure webpage).

In v2 of the json, introduce a new field viz. packs which is a set of all packs a particular list belongs to. This supersedes the current field subg, which is to be removed from version 2.

ex:

"packs": ["facebook", "social-network"]
@ignoramous ignoramous transferred this issue from serverless-dns/serverless-dns Aug 2, 2021
@ignoramous
Copy link
Contributor Author

Ref: https://github.com/AdGuardTeam/filtersRegistry/

Filter metadata. Includes name, description, etc.

  • filterId — unique filter identifier (integer)
  • name — filter name; can be localized
  • description — filter description
  • timeAdded — time when this filter was added to the registry; milliseconds since January 1, 1970; you can exec new Date().getTime() in the browser console to get the current time
  • homepage — filter website/homepage
  • expires — filter's default expiration period
  • displayNumber — this number is used when AdGuard sorts available filters (GUI)
  • groupId — group identifier
  • subscriptionUrl — default filter subscription URL
  • tags — a list of tags
  • trustLevel — level of trust which describe allowed and permitted rules types; possible values:
    • low — only low-risk rule types are allowed; defaults to low if trust level is not configured at all
    • high — trusted third-party filter lists; some particular rules from there are still permited
    • full — all types of filter rules are allowed; only AdGuard filter lists have full trust at the moment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants