Filter by account #80

Open
opened 2020-06-15 15:54:39 +00:00 by kemonine · 7 comments
Member

Environment

  • Installation type:
    • OTP
    • From source
  • Pleroma version: 2.0.6-stable
  • Operating system: (Docker) alpine:latest
  • PostgreSQL version (postgres -V): 11.x

Bug description

Mastodon-FE filters do not take author into account when filtering. If I'd like to filter '@user@foo.bar' from the Home TL (or similar with filters available) the filter rules will NOT match on author (or any other fields that aren't the main post). This makes it impossible to filter users from TL's that are also in lists.

Proposed: have an ability to filter by author / poster so users can be filtered from individual TLs

### Environment * Installation type: - [ ] OTP - [X] From source * Pleroma version: 2.0.6-stable * Operating system: (Docker) alpine:latest * PostgreSQL version (`postgres -V`): 11.x ### Bug description Mastodon-FE filters do not take author into account when filtering. If I'd like to filter '@user@foo.bar' from the Home TL (or similar with filters available) the filter rules will NOT match on author (or any other fields that aren't the main post). This makes it impossible to filter users from TL's that are also in lists. Proposed: have an ability to filter by author / poster so users can be filtered from individual TLs
Owner

How is this different from a mute? I think I misunderstand what the goal is here, sorry!

How is this different from a mute? I think I misunderstand what the goal is here, sorry!
Author
Member

I don't want the account muted globally, just in a specific timeline (my Home TL in particular).

I have the user(s) in other lists and want them filtered from the Home TL to help keep my Home TL more on point and less of a 'firehose'.

If I add the user to the filters on the Home TL it's not filtering on the user id (@foo@bar.baz for example) and I'm still seeing their posts.

I don't want the account muted globally, just in a specific timeline (my Home TL in particular). I have the user(s) in other lists and want them filtered from the Home TL to help keep my Home TL more on point and less of a 'firehose'. If I add the user to the filters on the Home TL it's not filtering on the user id (@foo@bar.baz for example) and I'm still seeing their posts.
Owner

By filters do you mean the regex on the home timeline or "Mastodon Filters™" (which we don't really have an interface for yet)?

By filters do you mean the regex on the home timeline or "Mastodon Filters™" (which we don't really have an interface for yet)?
Author
Member

The regex on the Home TL

filters

The regex on the Home TL ![filters](/attachments/120e199d-1ed3-46ca-88c4-756582833f88)
Owner

Moved to MastoFE then as it's done there.

Also regex filter will only match against the post content so it can only filter mentions. Could you give an example of the regex that you're using? I think it should be something like user@domain\.tld as the @ for mention might not match because of the HTML formatting.

Moved to MastoFE then as it's done there. Also regex filter will only match against the post content so it can only filter mentions. Could you give an example of the regex that you're using? I think it should be something like `user@domain\.tld` as the `@` for mention might not match because of the HTML formatting.
Author
Member

I'm currently using @user@domain.tld for the matches and I was hoping to be able to match on the author attribute of a post instead of the content.

Is that something that could be setup as a possible feature for a future update?

I'm currently using ```@user@domain.tld``` for the matches and I was hoping to be able to match on the author attribute of a post instead of the content. Is that something that could be setup as a possible feature for a future update?
Owner

Not really, there is muting a user but that works for the whole feed and IIRC pleroma-fe is the only one which allows to have muted posts/notifications be collapsed on one line.

The reason for this is mostly because MastoFE is a distribution of Glitch-Soc's frontend and has no developers working on it (I basically only package it).

Not really, there is muting a user but that works for the whole feed and IIRC pleroma-fe is the only one which allows to have muted posts/notifications be collapsed on one line. The reason for this is mostly because MastoFE is a distribution of Glitch-Soc's frontend and has no developers working on it (I basically only package it).
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
3 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/mastofe#80
No description provided.