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

[Feature Request] Hydrus Inbox filter/query support #25

Closed
LilianBoulard opened this issue Mar 22, 2023 · 2 comments
Closed

[Feature Request] Hydrus Inbox filter/query support #25

LilianBoulard opened this issue Mar 22, 2023 · 2 comments

Comments

@LilianBoulard
Copy link

LilianBoulard commented Mar 22, 2023

Hi, I'd like to disallow importing items from the Hydrus inbox (system:inbox), but blacklisting this tag in configs.json seems to have no effect.

@funmaker funmaker changed the title Access to system tags from config [Feature Request] Hydrus Inbox filter/query support Mar 23, 2023
@funmaker
Copy link
Owner

System tags are not real tags in hydrus but a special commands that allow for querying various file metadata. They are hardcoded inside hydurs and hybooru would have to reimplement them to add support. Right now hybooru supports its own system tags such as rating, sort and order and I do not plan to add more for time being.

However PRs are welcomed. If you'd like to give it a go yourself, you probably will be interested in /server/helpers/dbImport/posts.ts to extend file metadata that is being imported and then functions applyBlacklist/applyWhitelist in /server/helpers/dbImport/index.ts for blacklist/whitelist during import and /server/controllers/posts.ts for actual searching

@funmaker
Copy link
Owner

Added in 1.10.0

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