-
- Downloads
Improve ActivityPub representations (#3844)
* 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
Showing
- config/locales/fr.yml 0 additions, 9 deletionsconfig/locales/fr.yml
- config/locales/he.yml 0 additions, 9 deletionsconfig/locales/he.yml
- config/locales/id.yml 0 additions, 9 deletionsconfig/locales/id.yml
- config/locales/ja.yml 0 additions, 9 deletionsconfig/locales/ja.yml
- config/locales/ko.yml 0 additions, 9 deletionsconfig/locales/ko.yml
- config/locales/no.yml 0 additions, 9 deletionsconfig/locales/no.yml
- config/locales/oc.yml 0 additions, 9 deletionsconfig/locales/oc.yml
- config/locales/pl.yml 0 additions, 9 deletionsconfig/locales/pl.yml
- config/locales/pt-BR.yml 0 additions, 9 deletionsconfig/locales/pt-BR.yml
- config/locales/pt.yml 0 additions, 9 deletionsconfig/locales/pt.yml
- config/locales/th.yml 0 additions, 9 deletionsconfig/locales/th.yml
- config/locales/tr.yml 0 additions, 9 deletionsconfig/locales/tr.yml
- config/locales/zh-CN.yml 0 additions, 9 deletionsconfig/locales/zh-CN.yml
- config/locales/zh-HK.yml 0 additions, 9 deletionsconfig/locales/zh-HK.yml
- config/routes.rb 8 additions, 8 deletionsconfig/routes.rb
- spec/controllers/accounts_controller_spec.rb 1 addition, 1 deletionspec/controllers/accounts_controller_spec.rb
- spec/controllers/api/activitypub/activities_controller_spec.rb 0 additions, 69 deletions...controllers/api/activitypub/activities_controller_spec.rb
- spec/controllers/api/activitypub/notes_controller_spec.rb 0 additions, 73 deletionsspec/controllers/api/activitypub/notes_controller_spec.rb
- spec/controllers/api/activitypub/outbox_controller_spec.rb 0 additions, 156 deletionsspec/controllers/api/activitypub/outbox_controller_spec.rb
- spec/controllers/well_known/webfinger_controller_spec.rb 18 additions, 21 deletionsspec/controllers/well_known/webfinger_controller_spec.rb
Loading
Please register or sign in to comment