- Aug 22, 2018
-
-
Eugen Rochko authored
* Fix URI not being sufficiently validated with prefetched JSON * Add additional id validation to OStatus documents, when possible
-
- May 16, 2018
-
-
Akihiko Odaki authored
An explicit error allows user agents to know the error and Sidekiq to retry.
-
- May 14, 2018
-
-
Wiktor authored
Updates account `uri` field on each call to `update_account` instead of only once during `create_account` to mirror the same behavior in OStatus `ResolveAccountService` class [0]. ActivityPub accounts are identified using `@username` and `@domain` pair instead of URI since #6842. This fixes #7479: a bug when the account identified by `@username` and `@domain` changes its URI. [0]: https://github.com/tootsuite/mastodon/blob/03b69ebc450efc07246bd64204276941b7ede3fc/app/services/resolve_account_service.rb#L121
-
- May 12, 2018
-
-
ThibG authored
When an ActivityPub Announce is processed and the boosted toot is not known, fetch it on behalf of one of the booster's followers. This is to allow fetching self-boosts of previously-unknown private toots. If fetching on behalf of a user fails, try fetching it anonymously: the selected follower of a boosting user may be banned by the boosted toot's author.
-
- May 08, 2018
-
-
Surinna Curtis authored
-
- May 07, 2018
-
-
Eugen Rochko authored
* Store actor type in database * Add bot nameplate to web UI, add setting to preferences, API, AP Fix #7365 * Fix code style issues
-
- May 05, 2018
-
-
Eugen Rochko authored
* Fix handling of malformed ActivityPub payloads when URIs are nil * Gracefully handle JSON-LD canonicalization failures
-
- May 02, 2018
-
-
Eugen Rochko authored
Fix #7265
-
Surinna Curtis authored
* 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
-
- Apr 14, 2018
-
-
Eugen Rochko authored
* Add bio fields - Fix #3211 - Fix #232 - Fix #121 * Display bio fields in web UI * Fix output of links and missing fields * Federate bio fields over ActivityPub as PropertyValue * Improve how the fields are stored, add to Edit profile form * Add rel=me to links in fields Fix #121
-
- Apr 12, 2018
-
-
Eugen Rochko authored
* Ensure SynchronizeFeaturedCollectionWorker is unique and clean up Fix #7041 * Fix code style issue
-
- Apr 03, 2018
-
-
Nolan Lawson authored
-
- Apr 02, 2018
-
-
Eugen Rochko authored
Fix #6973
-
- Apr 01, 2018
-
-
David Underwood authored
Federate custom emojis with accounts
-
- Mar 20, 2018
-
-
Eugen Rochko authored
See also: #6837, #6667
-
- Mar 04, 2018
-
-
Eugen Rochko authored
* Federate pinned statuses over ActivityPub * Display pinned toots in web UI Fix #6117 * Fix migration * Fix tests * Update outbox_serializer.rb * Update remove_serializer.rb * Update add_serializer.rb * Update fetch_featured_collection_service.rb
-
- Jan 15, 2018
-
-
puckipedia authored
-
- Jan 08, 2018
-
-
Eugen Rochko authored
* Fix actors accepting invalid URI schemes or different host between URI and URL * Fix statuses accepting invalid URI scheme or different host to actor * Adjust tests to new requirements * Improve readability of mismatching_origin?/invalid_origin? methods
-
- Jan 02, 2018
-
-
Eugen Rochko authored
* Fix #6140 - Update moved-to property when it's removed too * Remove trailing whitespace
-
- Dec 06, 2017
-
-
Yamagishi Kazutoshi authored
-
- Nov 30, 2017
-
-
Eugen Rochko authored
* Add semi-support for Video/Image objects in ActivityPub Video and Image objects will create corresponding status records with manually crafted text contents (title + URL) * Extract html-url-finding logic into JsonLdHelper * Fallback to id when url missing, extract supported object types
-
- Nov 19, 2017
-
-
abcang authored
-
- Nov 18, 2017
-
-
Eugen Rochko authored
* Serialize moved accounts into REST and ActivityPub APIs * Parse federated moved accounts from ActivityPub * Add note about moved accounts to public profiles * Add moved account message to web UI * Fix code style issues
-
- Oct 29, 2017
-
-
ThibG authored
-
- Oct 08, 2017
-
-
Eugen Rochko authored
-
Eugen Rochko authored
- Rename Mastodon::TimestampIds into Mastodon::Snowflake for clarity - Skip for statuses coming from inbox, aka delivered in real-time - Skip for statuses that claim to be from the future
-
- Oct 04, 2017
-
-
ThibG authored
The whole point of verified_webfinger? is to check the WebFinger-discoverable URI maps back to the known author URI. This was not actually verified if the first Webfinger request was not a redirection.
-
- Oct 03, 2017
-
-
Akihiko Odaki authored
Additionally, ActivityPub::FetchRemoteStatusService no longer parses activities. OStatus::Activity::Creation no longer delegates to ActivityPub because the provided ActivityPub representations are not signed while OStatus representations are.
-
Eugen Rochko authored
Signed-off-by:
Eugen Rochko <eugen@zeonfederated.com>
-
- Sep 25, 2017
-
-
Eugen Rochko authored
-
- Sep 19, 2017
-
-
Eugen Rochko authored
* Fix incomplete account records being read - Put account processing into redis lock - Do not save until record is complete * Fix spaces
-
- Sep 13, 2017
-
-
ThibG authored
* Make RefollowWorker ActivityPub-only to avoid potential identifier mismatches * Don't call RefollowWorker on new accounts
-
Eugen Rochko authored
-
- Sep 12, 2017
-
-
ThibG authored
* Whenever a remote keypair changes, unfollow them and re-subscribe to them In Mastodon (it could be different for other OStatus or AP-enabled software), a keypair change is indicative of whole user (or instance) data loss. In this situation, the “new” user might be different, and almost certainly has an empty followers list. In this case, Mastodon instances will disagree on follower lists, leading to unreliable delivery and “shadow followers”, that is users believed by a remote instance to be followers, without the affected user knowing. Drawbacks of this change are: 1. If an user legitimately changes public key for some reason without losing data (not possible in Mastodon at the moment), they will have their remote followers unsubscribed/re-subscribed needlessly. 2. Depending of the number of remote followers, this may generate quite some traffic. 3. If the user change is an attempt at usurpation, the remote followers will unknowingly follow the usurper. Note that this is *not* a change of behavior, Mastodon already behaves like that, although delivery might be unreliable, and the usurper would not have known the former user's followers. * Rename ResubscribeWorker to RefollowWorker * Process followers in batches
-
- Sep 09, 2017
-
-
Eugen Rochko authored
-
- Sep 08, 2017
-
-
Eugen Rochko authored
-
- Sep 04, 2017
-
-
Eugen Rochko authored
- Fix assumption that `url` is always a string. Handle it if it's an array of strings, array of objects, object, or string, both for accounts and for objects - `sharedInbox` is actually supposed to be under `endpoints`, handle both cases and adjust the serializer
-
- Sep 02, 2017
-
-
Eugen Rochko authored
Using _: property names is discouraged, as in the future, canonicalization may throw an error when encountering that instead of discarding it silently like it does now. We are defining some ActivityStreams properties which we expect to land in ActivityStreams eventually, to ensure that future versions of Mastodon will remain compatible with this even once that happens. Those would be `locked`, `sensitive` and `Hashtag` We are defining a custom context inline for some properties which we do not expect to land in any other context. `atomUri`, `inReplyToAtomUri` and `conversation` are part of the custom defined OStatus context.
- Aug 31, 2017
-
-
unarist authored
* Don't process ActivityPub payload if signature is invalid * Fix style issue
-