ISH-97
Created by Laura Hausmann
2 years ago
Feb 26 2024, 23:14 GMT+1
Updated by Laura Hausmann
2 years ago
Jun 29 2024, 01:27 GMT+2
Note filters
This issue doesn't have a description.
Avatar

Having filters configurable via the mastodon api will be difficult, as not all the options can be mapped to it. The JS codebase just returns an empty collection (when listing filters), and an error advising users to check the web interface instead (when adding filters).

Avatar

Hmm, maybe we should revamp filters altogether. The current system is split in half and kind of janky.

Avatar

Mastodon filters:

  • Title
  • Expiry (optional)
  • Context (home/lists/conversations/notifications/profiles/public timelines)
  • Action (hide with warning/hide completely)
  • Keywords (list, "whole word" toggle)

This is a superset of misskey style filters, with the only thing missing being regex. We can just support that by surrounding the filter with slashes, though.

Avatar

I definitely think we should drop both previous word mute locations and create a new table for them.

Avatar

We should also support editing the filters through the mastodon client api, unlike the js codebase, especially since it'll take a while for the frontend & web api to catch up.

Avatar

Existing filters are now handled properly, though we should ensure that expired ones are cleaned up properly.

Avatar
State: In progress → Implemented
Avatar
Released in version: v2024.1-beta1
Avatar
Released in version: v2024.1-beta1
Avatar
Released in version: v2024.1-beta1
Project
Iceshrimp.NET
Priority
High
H
Type
Feature
F
State
Implemented
I
Assignee
Laura Hausmann
Avatar
Subsystem
Backend
B
Component
Core services
C
Target version
v2024.1-beta1
V
Released in version
v2024.1-beta1
V