]> cat aescling's git repositories - mastodon.git/commit
ActivityPub: Add basic, read-only support for Outboxes, Notes, and Create/Announce...
authorEvan Minto <evan.minto@gmail.com>
Sun, 23 Apr 2017 03:21:10 +0000 (20:21 -0700)
committerEugen <eugen@zeonfederated.com>
Sun, 23 Apr 2017 03:21:10 +0000 (05:21 +0200)
commit66fd8e782182390df81f1ed46f3a04f3a01d681e
treef8f6ffb3bfc220e3e8e7efaf273e285b932f1962
parent83e35381814baf4ae5f420531d83c0450716f875
ActivityPub: Add basic, read-only support for Outboxes, Notes, and Create/Announce Activities (#2197)

* Clean up collapsible components

* Expose user Outboxes and AS2 representations of statuses

* Save work thus far.

* Fix bad merge.

* Save my work

* Clean up pagination.

* First test working.

* Add tests.

* Add Forbidden error template.

* Revert yarn.lock changes.

* Fix code style deviations and use localized instead of hardcoded English text.
25 files changed:
app/controllers/accounts_controller.rb
app/controllers/api/activitypub/activities_controller.rb [new file with mode: 0644]
app/controllers/api/activitypub/notes_controller.rb [new file with mode: 0644]
app/controllers/api/activitypub/outbox_controller.rb [new file with mode: 0644]
app/controllers/application_controller.rb
app/helpers/activitystreams2_builder_helper.rb [new file with mode: 0644]
app/models/status.rb
app/views/accounts/show.activitystreams2.rabl
app/views/activitypub/types/announce.activitystreams2.rabl [new file with mode: 0644]
app/views/activitypub/types/collection.activitystreams2.rabl [new file with mode: 0644]
app/views/activitypub/types/create.activitystreams2.rabl [new file with mode: 0644]
app/views/activitypub/types/note.activitystreams2.rabl [new file with mode: 0644]
app/views/activitypub/types/ordered_collection.activitystreams2.rabl [new file with mode: 0644]
app/views/activitypub/types/ordered_collection_page.activitystreams2.rabl [new file with mode: 0644]
app/views/api/activitypub/activities/_show_status.activitystreams2.rabl [new file with mode: 0644]
app/views/api/activitypub/activities/show_status_announce.activitystreams2.rabl [new file with mode: 0644]
app/views/api/activitypub/activities/show_status_create.activitystreams2.rabl [new file with mode: 0644]
app/views/api/activitypub/notes/show.activitystreams2.rabl [new file with mode: 0644]
app/views/api/activitypub/outbox/show.activitystreams2.rabl [new file with mode: 0644]
app/views/errors/403.html.haml [new file with mode: 0644]
config/locales/en.yml
config/routes.rb
spec/controllers/api/activitypub/activities_controller_spec.rb [new file with mode: 0644]
spec/controllers/api/activitypub/notes_controller_spec.rb [new file with mode: 0644]
spec/controllers/api/activitypub/outbox_controller_spec.rb [new file with mode: 0644]