gotosocial/cmd/gotosocial
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
..
action [bugfix] check remote status permissibility (#2703) 2024-03-04 12:30:12 +00:00
admin.go [feature] list commands for both attachment and emojis (#2121) 2023-08-23 18:01:16 +02:00
common.go [feature] Make log format configurable (#2130) 2023-08-21 19:07:55 +01:00
debug.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
main.go Make GtS reported version SemVer-compatible (#2611) 2024-02-12 11:03:56 +00:00
server.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
testrig.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00