mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-18 13:07:35 -06:00
[feature] Federate interaction policies + Accepts; enforce policies (#3138)
* [feature] Federate interaction policies + Accepts; enforce policies * use Acceptable type * fix index * remove appendIRIStrs * add GetAccept federatingdb function * lock on object IRI
This commit is contained in:
parent
f8d399cf6a
commit
8ab2b19a94
42 changed files with 3541 additions and 254 deletions
|
|
@ -135,6 +135,9 @@ type ActivityStreamsAnnounce interface {
|
|||
// GetActivityStreamsUrl returns the "url" property if it exists, and nil
|
||||
// otherwise.
|
||||
GetActivityStreamsUrl() ActivityStreamsUrlProperty
|
||||
// GetGoToSocialApprovedBy returns the "approvedBy" property if it exists,
|
||||
// and nil otherwise.
|
||||
GetGoToSocialApprovedBy() GoToSocialApprovedByProperty
|
||||
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
|
||||
GetJSONLDId() JSONLDIdProperty
|
||||
// GetJSONLDType returns the "type" property if it exists, and nil
|
||||
|
|
@ -237,6 +240,8 @@ type ActivityStreamsAnnounce interface {
|
|||
SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty)
|
||||
// SetActivityStreamsUrl sets the "url" property.
|
||||
SetActivityStreamsUrl(i ActivityStreamsUrlProperty)
|
||||
// SetGoToSocialApprovedBy sets the "approvedBy" property.
|
||||
SetGoToSocialApprovedBy(i GoToSocialApprovedByProperty)
|
||||
// SetJSONLDId sets the "id" property.
|
||||
SetJSONLDId(i JSONLDIdProperty)
|
||||
// SetJSONLDType sets the "type" property.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue