Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Progressive block #50

Open
snorkel123 opened this issue Jun 27, 2019 · 1 comment
Open

Progressive block #50

snorkel123 opened this issue Jun 27, 2019 · 1 comment

Comments

@snorkel123
Copy link

Note: for support questions, please use Gitter. This repository's issues are reserved for feature requests and bug reports.

  • Do you want to request a feature or report a bug?
    I want to submit feature

  • What is the current behavior?
    Not present

  • What is the expected behavior?
    You install chomper, than you put password on su.
    Than as you browse sites, you can add via chomper sites to blacklist.
    (but you do not allow to remove existing sites)

  • What is the motivation / use case for changing the behavior?
    Motivation is to make chomper more bullet-proof

@aniketpanjwani
Copy link
Owner

This would be tricky to implement with the block lists stored in a YAML file (as they are now), since if you can edit the YAML file, you can both add sites and remove sites.

If all block lists were stored in a local SQLite database, this would be possible. While a block is "on", you could prevent delete queries, but allow insert queries. There could be some subcommands to do these queries, e.g. "chomper add listname url" and "chomper remove listname url".

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants