GoToSocial/internal/timeline
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
..
get.go [feature] Rework timeline code to make it useful for more than just statuses (#373) 2022-02-05 12:47:38 +01:00
get_test.go [bugfix] Allow self-boosting for any visibility but direct (#510) 2022-05-02 15:23:37 +02:00
index.go [feature] Rework timeline code to make it useful for more than just statuses (#373) 2022-02-05 12:47:38 +01:00
index_test.go [bugfix] Allow self-boosting for any visibility but direct (#510) 2022-05-02 15:23:37 +02:00
itemindex.go [feature] Rework timeline code to make it useful for more than just statuses (#373) 2022-02-05 12:47:38 +01:00
manager.go [feature] Rework timeline code to make it useful for more than just statuses (#373) 2022-02-05 12:47:38 +01:00
manager_test.go [bugfix] Allow self-boosting for any visibility but direct (#510) 2022-05-02 15:23:37 +02:00
preparable.go [feature] Rework timeline code to make it useful for more than just statuses (#373) 2022-02-05 12:47:38 +01:00
prepare.go [feature] Rework timeline code to make it useful for more than just statuses (#373) 2022-02-05 12:47:38 +01:00
prepareditems.go [feature] Rework timeline code to make it useful for more than just statuses (#373) 2022-02-05 12:47:38 +01:00
remove.go [feature] Rework timeline code to make it useful for more than just statuses (#373) 2022-02-05 12:47:38 +01:00
timeline.go [feature] Rework timeline code to make it useful for more than just statuses (#373) 2022-02-05 12:47:38 +01:00
timeline_test.go [feature] Rework timeline code to make it useful for more than just statuses (#373) 2022-02-05 12:47:38 +01:00
timelineable.go [feature] Rework timeline code to make it useful for more than just statuses (#373) 2022-02-05 12:47:38 +01:00