Commit Graph

14 Commits (4e524218d3086e4f930e2005f1ce2d82f29e1a20)

Author SHA1 Message Date
ThibG e4d75f238b Fix URL search not returning private toots user has access to ()
ThibG 2ee5a9d9c3 Clean up OStatus-related codepaths ()
* Remove “protocol” argument and return value, as only ActivityPub is supported

* Remove FetchRemoteAccountService, only use ActivityPub::FetchRemoteAccountService

* Fix tests
ThibG 0d5f3ae331 Fix already-known remote private toots not being searchable by URL ()
* Fix already-known remote private toots not being searchable by URL

Whenever an URL search fails, and an account is provided, try getting a
private status matching that URL from database.

* Fix searching by `id` field instead of `uri`
ThibG 3595ce6325 Fix leaking private statuses the admin account follows ()
Now that the request is signed, it can return private toots. Do not leak them.
Eugen Rochko 5d3feed191
Refactor fetching of remote resources ()
Eugen Rochko b851456139
Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` ()
ThibG 915c619394 Add support for Audio activities ()
Fixes 
ThibG e13d3792f3 Make sure the poll is created before storing its id ()
* Make sure the poll is created before storing its id

* Fix updating poll results

* Support fetching Question activities from the search bar
m.b cd41c2c6ad Update resolve_url_service.rb ()
ThibG af912fb308 Allow accessing local private/DM messages by URL ()
* Allow accessing local private/DM messages by URL

(Provided the user pasting the URL is authorized to see the toot, obviously)

* Fix SearchServiceSpec tests
Surinna Curtis dc786c0cf4 Support Actors/Statuses with multiple types ()
* Add equals_or_includes_any? helper in JsonLdHelper

* Support arrays in JSON-LD type fields for actors/tags/objects.

* Spec for resolving accounts with extension types

* Style tweaks for codeclimate
Eugen Rochko f890d2a766
Support all ActivityPub actor types ()
Fix 
ThibG e573bb0990 Fix compatibility with PeerTube ()
* Support fetching objects of convertible types by URL (fixes )

* Ignore invalid hashtags
Akihiko Odaki 17cecd75ca Rename FetchRemoteResourceService to ResolveURLService ()
The service used to be named FetchRemoteResourceService resolves local
URL as well.