Commit Graph

8 Commits (abc5548cca42dd87926c7c3d4b42b59a7e306eb8)

Author SHA1 Message Date
Eugen Rochko 78fa926ed5
Add remote interaction dialog for toots ()
* Add remote interaction dialog for toots

* Change AuthorizeFollow into AuthorizeInteraction, support statuses

* Update brakeman.ignore

* Adjust how interaction buttons are display on public pages

* Fix tests
Eugen Rochko 28bd4b9800
Serialize webfinger XML with Ox instead of Nokogiri ()
25ms -> 0.5ms
Eugen Rochko 42bcbd36b7 Remove rabl dependency ()
* Remove rabl dependency

* Replicate old Oj configuration
Yamagishi Kazutoshi e5c0aa6493 Send short account URL to remote instance (regression from ) ()
* Send short account URL to remote instance (regression from )

Resolve 

* remove format: 'json'
Eugen Rochko 8c45cd0e36 Improve ActivityPub representations ()
* Improve webfinger templates and make tests more flexible

* Clean up AS2 representation of actor

* Refactor outbox

* Create activities representation

* Add representations of followers/following collections, do not redirect /users/:username route if format is empty

* Remove unused translations

* ActivityPub endpoint for single statuses, add ActivityPub::TagManager for better
URL/URI generation

* Add ActivityPub::TagManager#to

* Represent all attachments as Document instead of Image/Video specifically
(Because for remote ones we may not know for sure)

Add mentions and hashtags representation to AP notes

* Add AP-resolvable hashtag URIs

* Use ActiveModelSerializers for ActivityPub

* Clean up unused translations

* Separate route for object and activity

* Adjust cc/to matrices

* Add to/cc to activities, ensure announce activity embeds target status and
not the wrapper status, add "id" to all collections
Evan Minto e595ccb294 Add ActivityPub Actor id to WebFinger JSON. ()
ThibG fe43991d02 Add author/actor URI to the list of webfinger aliases ()
This fixes outbound salmon requests to remote GNU Social instances
Matt Jankowski 137100dcf3 Clean up well-known routes/controllers ()
* Add request spec for host meta route returning xml

* Add routing spec for xrd routes

* Update well-known routes

* Move webfinger and host-meta actions to their own controllers