gotosocial/internal/processing/workers
kim d85727e184
[bugfix] check remote status permissibility (#2703)
* add more stringent checks for remote status permissibility

* add check for inreplyto of a remote status being a boost

* do not permit inReplyTo boost wrapper statuses

* change comment wording

* fix calls to NewFederator()

* add code comments for NotPermitted() and SetNotPermitted()

* improve comment

* check that existing != nil before attempting delete

* ensure replying account isn't suspended

* use a debug log instead of info. check for boost using ID

* shorten log string length. make info level

* add note that replying to boost wrapper status shouldn't be able to happen anyways

* update to use onFail() function
2024-03-04 12:30:12 +00:00
..
federate.go [bugfix] Add Actor to outgoing poll vote Create; other fixes (#2384) 2023-11-27 13:14:28 +00:00
fromclientapi_test.go [bugfix] fix possible mutex lockup during streaming code (#2633) 2024-02-20 18:07:49 +00:00
fromclientapi.go [feature] Push status edit messages into open streams (#2418) 2023-12-16 12:55:49 +01:00
fromfediapi_test.go [bugfix] check remote status permissibility (#2703) 2024-03-04 12:30:12 +00:00
fromfediapi.go use pointer for freshness window (#2614) 2024-02-09 14:24:49 +00:00
surface.go [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00
surfaceemail.go [feature] List replies policy, refactor async workers (#2087) 2023-08-09 19:14:33 +02:00
surfacenotify.go [bugfix] fix possible mutex lockup during streaming code (#2633) 2024-02-20 18:07:49 +00:00
surfacetimeline.go [bugfix] fix possible mutex lockup during streaming code (#2633) 2024-02-20 18:07:49 +00:00
wipestatus.go [feature] add support for polls + receiving federated status edits (#2330) 2023-11-08 14:32:17 +00:00
workers_test.go [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00
workers.go [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00