Change ActivityPub paging to match spec. Clean up ActivityPub outbox changes. (#2410)
* Change ActivityPub paging to match spec. Clean up ActivityPub outbox changes. * Fix code style and test failures for OutboxController. * Attempt to fix CI errors.
This commit is contained in:
parent
8b5179d006
commit
122d59ac41
14 changed files with 182 additions and 110 deletions
|
@ -8,8 +8,6 @@ class Api::Activitypub::ActivitiesController < ApiController
|
|||
|
||||
# Show a status in AS2 format, as either an Announce (reblog) or a Create (post) activity.
|
||||
def show_status
|
||||
headers['Access-Control-Allow-Origin'] = '*'
|
||||
|
||||
return forbidden unless @status.permitted?
|
||||
|
||||
if @status.reblog?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue