Skip to content
Extraits de code Groupes Projets
  1. août 21, 2017
  2. août 20, 2017
  3. août 19, 2017
    • Eugen Rochko's avatar
      Improve ActivityPub/OStatus compatibility (#4632) · 412ea873
      Eugen Rochko a rédigé
      *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
  4. août 18, 2017
  5. août 17, 2017
  6. août 14, 2017
  7. août 12, 2017
    • Eugen Rochko's avatar
      ActivityPub delivery (#4566) · b7370ac8
      Eugen Rochko a rédigé
      * Deliver ActivityPub Like
      
      * Deliver ActivityPub Undo-Like
      
      * Deliver ActivityPub Create/Announce activities
      
      * Deliver ActivityPub creates from mentions
      
      * Deliver ActivityPub Block/Undo-Block
      
      * Deliver ActivityPub Accept/Reject-Follow
      
      * Deliver ActivityPub Undo-Follow
      
      * Deliver ActivityPub Follow
      
      * Deliver ActivityPub Delete activities
      
      Incidentally fix #889
      
      * Adjust BatchedRemoveStatusService for ActivityPub
      
      * Add tests for ActivityPub workers
      
      * Add tests for FollowService
      
      * Add tests for FavouriteService, UnfollowService and PostStatusService
      
      * Add tests for ReblogService, BlockService, UnblockService, ProcessMentionsService
      
      * Add tests for AuthorizeFollowService, RejectFollowService, RemoveStatusService
      
      * Add tests for BatchedRemoveStatusService
      
      * Deliver updates to a local account to ActivityPub followers
      
      * Minor adjustments
      b7370ac8
    • Eugen Rochko's avatar
  8. août 10, 2017
    • Eugen Rochko's avatar
      Handle ActivityPub follows correctly (#4571) · 81c1303c
      Eugen Rochko a rédigé
      * 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
  9. août 09, 2017
  10. août 08, 2017
    • Eugen Rochko's avatar
      Add ActivityPub inbox (#4216) · dd7ef0dc
      Eugen Rochko a rédigé
      * 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
  11. août 02, 2017
  12. juil. 31, 2017
  13. juil. 26, 2017
  14. juil. 21, 2017
  15. juil. 19, 2017
    • Eugen Rochko's avatar
      Fix webfinger retries (#4275) · 1fcdaafa
      Eugen Rochko a rédigé
      * Do not raise unretryable exceptions in ResolveRemoteAccountService
      
      * Removed fatal exceptions from ResolveRemoteAccountService
      
      Exceptions that cannot be retried should not be raised. New exception
      class for those that can be retried (Mastodon::UnexpectedResponseError)
      1fcdaafa
  16. juil. 18, 2017
  17. juil. 15, 2017
    • ThibG's avatar
      Optimize uri normalization (#4212) · 05cd3709
      ThibG a rédigé
      * Add dependency on idn-ruby to speed up URI normalization
      
      * Use normalized_host instead of normalize.host when applicable
      
      When we are only interested in the normalized host, calling normalized_host
      avoids normalizing the other components of the URI as well as creating a
      new object
      05cd3709
    • Eugen Rochko's avatar
      Improve ActivityPub representations (#3844) · 8c45cd0e
      Eugen Rochko a rédigé
      * Improve webfinger templates and make tests more flexible
      
      * Clean up AS2 representation of actor
      
      * Refactor outbox
      
      * Create activities representation
      
      * Add representations of followers/following collections, do not redirect /users/:username route if format is empty
      
      * Remove unused translations
      
      * ActivityPub endpoint for single statuses, add ActivityPub::TagManager for better
      URL/URI generation
      
      * Add ActivityPub::TagManager#to
      
      * Represent all attachments as Document instead of Image/Video specifically
      (Because for remote ones we may not know for sure)
      
      Add mentions and hashtags representation to AP notes
      
      * Add AP-resolvable hashtag URIs
      
      * Use ActiveModelSerializers for ActivityPub
      
      * Clean up unused translations
      
      * Separate route for object and activity
      
      * Adjust cc/to matrices
      
      * Add to/cc to activities, ensure announce activity embeds target status and
      not the wrapper status, add "id" to all collections
      8c45cd0e
  18. juil. 14, 2017
  19. juil. 10, 2017
  20. juil. 07, 2017
  21. juil. 06, 2017
    • Damien Erambert's avatar
      Add a setting allowing the use of system's default font in Web UI (#4033) · 18d3fa95
      Damien Erambert a rédigé
      * add a system_font_ui setting on the server
      
      * Plug the system_font_ui on the front-end
      
      * add EN/FR locales for the new setting
      
      * put Roboto after all other fonts
      
      * remove trailing whitespace so CodeClimate is happy
      
      * fix user_spec.rb
      
      * correctly write user_spect this time
      
      * slightly better way of adding the classes
      
      * add comments to the system-font stack for clarification
      
      * use .system-font for the class instead
      
      * don't use multiple lines for comments
      
      * remove trailing whitespace
      
      * use the classnames module for consistency
      
      * use `mastodon-font-sans-serif` instead of Roboto directly
      18d3fa95
  22. juin 28, 2017
  23. juin 17, 2017
    • nightpool's avatar
      Whitelist allowed classes for federated statuses (#3810) · 94d0e012
      nightpool a rédigé
      * Whitelist allowed classes for federated statuses
      
      Allowed classes are currently:
      
       - Any microformats class (h/p/u/dt/e-*)
       - the classes mention, hashtag, ellipses and invisible.
      
      this last one is somewhat suspect, but Mastodon currently uses it to render hidden link text.
      
      resolved #3790
      
      * Fix code style
      94d0e012
  24. juin 15, 2017
  25. juin 09, 2017
  26. juin 08, 2017
  27. juin 07, 2017
  28. juin 05, 2017
Chargement en cours