mirror of
1
Fork 0
gotosocial/testrig
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
..
media [feature] Media attachment placeholders (#2331) 2023-11-10 19:29:26 +01:00
config.go [docs] Use human sizes for size limitations (#2706) 2024-03-01 14:47:03 +00:00
db.go [feature] add support for polls + receiving federated status edits (#2330) 2023-11-08 14:32:17 +00:00
email.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
federatingdb.go [feature] Add experimental `instance-federation-spam-filter` option (#2685) 2024-02-27 12:22:05 +00:00
federator.go [bugfix] check remote status permissibility (#2703) 2024-03-04 12:30:12 +00:00
gin.go [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
log.go [feature] Make log format configurable (#2130) 2023-08-21 19:07:55 +01:00
mediahandler.go [bugfix] process account delete side effects in serial, not in parallel (#2360) 2023-11-14 15:57:25 +01:00
oauthserver.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
processor.go [bugfix] process account delete side effects in serial, not in parallel (#2360) 2023-11-14 15:57:25 +01:00
router.go [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
storage.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
testmodels.go [feature] serdes for moved/also_known_as (#2600) 2024-02-06 09:45:46 +00:00
transportcontroller.go [bugfix] add stricter checks during all stages of dereferencing remote AS objects (#2639) 2024-02-14 12:13:38 +01:00
util.go [feature] Add experimental `instance-federation-spam-filter` option (#2685) 2024-02-27 12:22:05 +00:00