Skip to content
Snippets Groups Projects
  1. Sep 25, 2017
  2. Sep 19, 2017
    • Akihiko Odaki's avatar
      Introduce OStatus::TagManager (#5008) · bb4d005a
      Akihiko Odaki authored
      bb4d005a
    • Eugen Rochko's avatar
      Custom emoji (#4988) · 81cec35d
      Eugen Rochko authored
      * Custom emoji
      
      - In OStatus: `<link rel="emoji" name="coolcat" href="http://..." />`
      - In ActivityPub: `{ type: "Emoji", name: ":coolcat:", href: "http://..." }`
      - In REST API: Status object includes `emojis` array (`shortcode`, `url`)
      - Domain blocks with reject media stop emojis
      - Emoji file up to 50KB
      - Web UI handles custom emojis
      - Static pages render custom emojis as `<img />` tags
      
      Side effects:
      
      - Undo #4500 optimization, as I needed to modify it to restore
        shortcode handling in emojify()
      - Formatter#plaintext should now make sure stripped out line-breaks
        and paragraphs are replaced with newlines
      
      * Fix emoji at the start not being converted
      81cec35d
  3. Sep 18, 2017
  4. Sep 14, 2017
  5. Sep 04, 2017
    • Eugen Rochko's avatar
      Fix some ActivityPub JSON bugs (#4796) · 9b50a9dd
      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
      9b50a9dd
  6. Sep 02, 2017
    • Eugen Rochko's avatar
      Make "unfollow" undo pending outgoing follow request too (#4781) · d3b67461
      Eugen Rochko authored
      * Make "unfollow" undo pending outgoing follow request too
      
      * Add cancel button to web UI when awaiting follow request approval
      
      * Make the hourglass button do the cancelling
      d3b67461
    • Eugen Rochko's avatar
      Define missing JSON-LD properties (#4767) · 1b5806b7
      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.
      1b5806b7
  7. Sep 01, 2017
  8. Aug 30, 2017
  9. Aug 28, 2017
  10. Aug 26, 2017
  11. Aug 22, 2017
    • unarist's avatar
      Fix bugs which OStatus accounts may detected as ActivityPub ready (#4662) · d63de55e
      unarist authored
      * Fallback to OStatus in FetchAtomService
      
      * Skip activity+json link if that activity is Person without inbox
      * If unsupported activity was detected and all other URLs failed, retry with ActivityPub-less Accept header
      
      * Allow mention to OStatus account in ActivityPub
      
      * Don't update profile with inbox-less Person object
      d63de55e
  12. Aug 21, 2017
  13. Aug 20, 2017
  14. Aug 19, 2017
    • Eugen Rochko's avatar
      Improve ActivityPub/OStatus compatibility (#4632) · 412ea873
      Eugen Rochko authored
      *Note: OStatus URIs are invalid for ActivityPub. But we have them for
      as long as we want to keep old OStatus-sourced content and as long as
      we remain OStatus-compatible.*
      
      - In Announce handling, if object URI is not a URL, fallback to object URL
      - Do not use specialized ThreadResolveWorker, rely on generalized handling
      - When serializing notes, if parent's URI is not a URL, use parent's URL
      412ea873
  15. Aug 18, 2017
  16. Aug 17, 2017
  17. Aug 14, 2017
  18. Aug 10, 2017
    • Eugen Rochko's avatar
      Handle ActivityPub follows correctly (#4571) · 81c1303c
      Eugen Rochko authored
      * Handle ActivityPub follows correctly
      
      ActivityPub follows are follow-requests. Always require an Accept.
      If account is not locked, auto-accept.
      
      * Handle ActivityPub Accept/Reject-Follow
      
      * Fix wrong method
      
      * Fix wrong class
      81c1303c
  19. Aug 08, 2017
    • Eugen Rochko's avatar
      Add ActivityPub inbox (#4216) · dd7ef0dc
      Eugen Rochko authored
      * Add ActivityPub inbox
      
      * Handle ActivityPub deletes
      
      * Handle ActivityPub creates
      
      * Handle ActivityPub announces
      
      * Stubs for handling all activities that need to be handled
      
      * Add ActivityPub actor resolving
      
      * Handle conversation URI passing in ActivityPub
      
      * Handle content language in ActivityPub
      
      * Send accept header when fetching actor, handle JSON parse errors
      
      * Test for ActivityPub::FetchRemoteAccountService
      
      * Handle public key and icon/image when embedded/as array/as resolvable URI
      
      * Implement ActivityPub::FetchRemoteStatusService
      
      * Add stubs for more interactions
      
      * Undo activities implemented
      
      * Handle out of order activities
      
      * Hook up ActivityPub to ResolveRemoteAccountService, handle
      Update Account activities
      
      * Add fragment IDs to all transient activity serializers
      
      * Add tests and fixes
      
      * Add stubs for missing tests
      
      * Add more tests
      
      * Add more tests
      dd7ef0dc
Loading