GoToSocial/internal/visibility
Adelie Paull 9265a09a65
[bugfix] Allow self-boosting for any visibility but direct (#510)
* create visibility filter for boostability and allow self-boosting for any visbility but direct messages

* add a followers-only status to local_account_2

* fix typo in comment

* add license header, unwrap errors, be explicit about non-boostable visibility settings to avoid rogue boosting from miscoded clients, use ID compare for checking if self-boosting

* add tests for statusboostable filter

* fix tests that were affected by adding a new status to the test data

* fix the rest of tests affected by adding a status to the textrig data
2022-05-02 15:23:37 +02:00
..
filter.go [bugfix] Allow self-boosting for any visibility but direct (#510) 2022-05-02 15:23:37 +02:00
filter_test.go [chore] Inboxes for iri test (#508) 2022-04-29 15:05:13 +02:00
relevantaccounts.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
statusboostable.go [bugfix] Allow self-boosting for any visibility but direct (#510) 2022-05-02 15:23:37 +02:00
statusboostable_test.go [bugfix] Allow self-boosting for any visibility but direct (#510) 2022-05-02 15:23:37 +02:00
statushometimelineable.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
statuspublictimelineable.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
statusvisible.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
statusvisible_test.go [chore] Inboxes for iri test (#508) 2022-04-29 15:05:13 +02:00