Skip to content
Extraits de code Groupes Projets
  1. fév. 17, 2019
  2. déc. 29, 2018
  3. nov. 16, 2018
  4. oct. 17, 2018
    • Eugen Rochko's avatar
      Improve support for aspects/circles (#8950) · ddd30f33
      Eugen Rochko a rédigé
      * Add silent column to mentions
      
      * Save silent mentions in ActivityPub Create handler and optimize it
      
      Move networking calls out of the database transaction
      
      * Add "limited" visibility level masked as "private" in the API
      
      Unlike DMs, limited statuses are pushed into home feeds. The access
      control rules between direct and limited statuses is almost the same,
      except for counter and conversation logic
      
      * Ensure silent column is non-null, add spec
      
      * Ensure filters don't check silent mentions for blocks/mutes
      
      As those are "this person is also allowed to see" rather than "this
      person is involved", therefore does not warrant filtering
      
      * Clean up code
      
      * Use Status#active_mentions to limit returned mentions
      
      * Fix code style issues
      
      * Use Status#active_mentions in Notification
      
      And remove stream_entry eager-loading from Notification
      ddd30f33
  5. août 25, 2018
  6. mai 18, 2018
  7. mai 03, 2018
    • ThibG's avatar
      Fixes/do not override timestamps (#7336) · a2460596
      ThibG a rédigé
      * Revert "Fixes/do not override timestamps (#7331)"
      
      This reverts commit 581a5c9d.
      
      * Document Snowflake ID corner-case a bit more
      
      Snowflake IDs are used for two purposes: making object identifiers harder to
      guess and ensuring they are in chronological order. For this reason, they
      are based on the `created_at` attribute of the object.
      
      Unfortunately, inserting items with older snowflakes IDs will break the
      assumption of consumers of the paging APIs that new items will always have
      a greater identifier than the last seen one.
      
      * Add `override_timestamps` virtual attribute to not correlate snowflake ID with created_at
      a2460596
    • ThibG's avatar
      Fixes/do not override timestamps (#7331) · 581a5c9d
      ThibG a rédigé
      * Do not override timestamps for incoming toots
      
      * Remove every reference to override_timestamps
      
      Statuses are now created with the announced publishing date
      and are only pushed to timelines if that date is at most
      6 hours earlier than the time at which it is processed.
      581a5c9d
  8. mars 04, 2018
    • Eugen Rochko's avatar
      Federate pinned statuses over ActivityPub (#6610) · 9110db41
      Eugen Rochko a rédigé
      * 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
      9110db41
  9. fév. 28, 2018
    • Eugen Rochko's avatar
      Federated reports (#6570) · 41a01bec
      Eugen Rochko a rédigé
      * Fix #2176: Federated reports
      
      * UI for federated reports
      
      * Add spec for ActivityPub Flag handler
      
      * Add spec for ReportService
      41a01bec
  10. fév. 17, 2018
  11. jan. 19, 2018
  12. déc. 06, 2017
  13. oct. 17, 2017
  14. oct. 08, 2017
  15. sept. 01, 2017
  16. août 21, 2017
  17. 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
  18. 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
  19. 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
Chargement en cours