Skip to content
Snippets Groups Projects
  1. Sep 13, 2017
  2. Sep 12, 2017
    • ThibG's avatar
      [WiP] Whenever a remote keypair changes, unfollow them and re-subscribe to … (#4907) · f29918e7
      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
      f29918e7
    • unarist's avatar
      Add section for protocol specific information on the admin page (#4910) · af10c9fb
      unarist authored
      This PR adds section for protocol specific information, then always show
      both of OStatus and ActivityPub. Specifically, this will help admins to
      check PuSH subscription status and unsubscribe manually, even `protocol`
      has been changed.
      
      This also includes below changes:
      
      * Add `overflow: hidden` to prevent float leaking
      * Add missing fields for ActivityPub
      af10c9fb
    • Eugen Rochko's avatar
      Clean up and improve generated OpenGraph tags (#4901) · 8f8e6776
      Eugen Rochko authored
      - Return all images as og:image
      - Return videos as og:image (preview) and og:video
      - Return profile:username on profiles
      8f8e6776
  3. Sep 11, 2017
  4. Sep 10, 2017
  5. Sep 09, 2017
  6. Sep 08, 2017
    • unarist's avatar
      Refresh timeline after toot while the timeline is disconnected (#4858) · 1ae5d49a
      unarist authored
      To reflect status posting immediately, we've inserted the status into timelines directly. However, status insertion changes "latest status", and it means next timeline refresh only fetches statuses since the inserted status. This behavior is very bad for disconnected timeline and mobile views.
      
      After this patch, it refreshes timeline for disconnected timelines, instead of direct insertion.
      1ae5d49a
    • unarist's avatar
      Handle stream_entry URL correctly in ActivityPub (#4854) · a12572e0
      unarist authored
      In before, the method uses stream_entry id as status id, so replied status was wrongly selected.
      
      This PR uses StatusFinder which was introduced with `Api::Web::EmbedsController`.
      a12572e0
    • Quent-in's avatar
      i10n update OC and FR (#4849) · dabc309c
      Quent-in authored
      * Missing "navigation_bar.pins"
      
      * Missing "navigation_bar.pins"
      dabc309c
Loading