ThibG
cb12a2cdd3
Fix some timeouts when searching URLs by limiting some database queries ( #13253 )
...
Only look up private toots from database if the request failed because of 401,
403 or 404 errors, as those may indicate a private toot, rather than something
that isn't a toot or cannot be processed.
5 years ago
ThibG
e4d75f238b
Fix URL search not returning private toots user has access to ( #12742 )
5 years ago
ThibG
2ee5a9d9c3
Clean up OStatus-related codepaths ( #12173 )
...
* Remove “protocol” argument and return value, as only ActivityPub is supported
* Remove FetchRemoteAccountService, only use ActivityPub::FetchRemoteAccountService
* Fix tests
5 years ago
ThibG
0d5f3ae331
Fix already-known remote private toots not being searchable by URL ( #12336 )
...
* 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`
5 years ago
ThibG
3595ce6325
Fix leaking private statuses the admin account follows ( #11300 )
...
Now that the request is signed, it can return private toots. Do not leak them.
5 years ago
Eugen Rochko
5d3feed191
Refactor fetching of remote resources ( #11251 )
5 years ago
Eugen Rochko
b851456139
Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` ( #11247 )
5 years ago
ThibG
915c619394
Add support for Audio activities ( #11189 )
...
Fixes #11127
6 years ago
ThibG
e13d3792f3
Make sure the poll is created before storing its id ( #10142 )
...
* Make sure the poll is created before storing its id
* Fix updating poll results
* Support fetching Question activities from the search bar
6 years ago
m.b
cd41c2c6ad
Update resolve_url_service.rb ( #9188 )
6 years ago
ThibG
af912fb308
Allow accessing local private/DM messages by URL ( #8196 )
...
* Allow accessing local private/DM messages by URL
(Provided the user pasting the URL is authorized to see the toot, obviously)
* Fix SearchServiceSpec tests
6 years ago
Surinna Curtis
dc786c0cf4
Support Actors/Statuses with multiple types ( #7305 )
...
* 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
7 years ago
Eugen Rochko
f890d2a766
Support all ActivityPub actor types ( #6997 )
...
Fix #6973
7 years ago
ThibG
e573bb0990
Fix compatibility with PeerTube ( #6968 )
...
* Support fetching objects of convertible types by URL (fixes #6924 )
* Ignore invalid hashtags
7 years ago
Akihiko Odaki
17cecd75ca
Rename FetchRemoteResourceService to ResolveURLService ( #6328 )
...
The service used to be named FetchRemoteResourceService resolves local
URL as well.
7 years ago
ThibG
2559d9166c
Fix regression in FetchRemoteResourceService ( #5217 )
...
* Fix regression in FetchRemoteResourceService
* Update specs to match interface changes made in #5114
7 years ago
Yamagishi Kazutoshi
5f22c0189d
Add support for searching AP users ( #4599 )
...
* Add support for searching AP users
* use JsonLdHelper
7 years ago
Yamagishi Kazutoshi
96e9ed13de
Fix search (regression from #4589 ) ( #4594 )
7 years ago
Eugen Rochko
1764c32b9e
Fix #4067 - Do not make HTTP round-trip when resolving local URL ( #4160 )
7 years ago
unarist
e34c5a3503
Fix 500 errors on searching invalid URLs ( #3613 )
8 years ago
Matt Jankowski
20c37ed0f9
Add specs (and refactor) of FetchRemoteResourceService and SearchService ( #2812 )
...
* Coverage for fetch remote resource service
* Refactor fetch remote resource service
* Coverage for search service
* Refactor search service
8 years ago
Eugen Rochko
5aa3df017b
Fix full-text search query quotation, improve tag search performance with an index,
...
add ability to open status by URL from search (fix #53 )
8 years ago
Eugen Rochko
05cf086766
New API method: /api/v1/search
...
Returns accounts, statuses, hashtags arrays
8 years ago