Skip to content
Snippets Groups Projects
  1. Aug 12, 2020
  2. Aug 11, 2020
  3. Jun 24, 2020
    • ThibG's avatar
      Change streaming server to treat blank redis password as password-less auth (#14135) · ddcdddd6
      ThibG authored
      Fixes #14131
      
      Our `mastodon:setup` task defaults to a blank password rather than the
      absence of password, but some versions of Redis reject blank password
      authentication when authentication is possible without a password.
      
      The Ruby code only uses the Redis password when it's not blank, so
      do the same for the node.js part.
      ddcdddd6
  4. Jun 02, 2020
  5. May 10, 2020
  6. Jan 24, 2020
    • Ben Lubar's avatar
      minor server-sent events fixes (#12945) · 0dfba088
      Ben Lubar authored
      * Send output on the server-sent events stream immediately so the client sees that it was successfully opened even if it doesn't have any messages.
      
      Fix transparent SSE streaming for the public:local and hashtag:local stream types.
      
      * Tell caches to never store server-sent events.
      0dfba088
  7. Jul 30, 2019
  8. Jul 15, 2019
  9. May 24, 2019
  10. May 22, 2019
  11. Mar 10, 2019
  12. Mar 08, 2019
  13. Oct 21, 2018
  14. Oct 20, 2018
    • Eugen Rochko's avatar
      Check if port/socket is available before forking in Streaming API (#9023) · 369cc5f5
      Eugen Rochko authored
      Previously, the server would attempt taking port/socket in worker
      process, and if it was taken, fail, which made the master process
      create a new worker. This led to really high CPU usage if the
      streaming API was started when the port or socket were not
      available.
      
      Now, before clustering (forking) into worker processes, a test
      server is created and then removed to check if it can be done.
      369cc5f5
  15. Oct 11, 2018
  16. Oct 07, 2018
    • Eugen Rochko's avatar
      Add conversations API (#8832) · 774ac473
      Eugen Rochko authored
      * Add conversations API
      
      * Add web UI for conversations
      
      * Add test for conversations API
      
      * Add tests for ConversationAccount
      
      * Improve web UI
      
      * Rename ConversationAccount to AccountConversation
      
      * Remove conversations on block and mute
      
      * Change last_status_id to be a denormalization of status_ids
      
      * Add optimistic locking
      774ac473
  17. Aug 26, 2018
  18. Aug 24, 2018
  19. Jul 14, 2018
  20. May 21, 2018
  21. Apr 18, 2018
    • Kaito Sinclaire's avatar
      Direct messages column (#4514) · 156b916c
      Kaito Sinclaire authored
      * Added a timeline for Direct statuses
      * Lists all Direct statuses you've sent and received
      * Displayed in Getting Started
      * Streaming server support for direct TL
      
      * Changes to match other timelines in 2.0
      156b916c
  22. Apr 17, 2018
  23. Dec 13, 2017
  24. Dec 12, 2017
    • erin's avatar
      Improve error handling in streaming/index.js (#5968) · c986218c
      erin authored
      On an unhandled worker exception, we should log the exception
      and exit with nonzero status, instead of letting workers
      silently fail and restarting them in an endless loop.
      
      Note: we previously tried to handle the `'error'` signal.
      That's not a signal Node fires; my patch traps `'uncaughtException'`,
      which is what the code was _trying_ to do.
      c986218c
    • nullkal's avatar
      make it possible to stream public timelines without authorization (#5977) · cfea2821
      nullkal authored
      * make it possible to stream public timelines without authorization
      
      * Fix
      
      * Make eslint allow `value == null`
      
      * Remove redundant line
      
      * Improve style and revert .eslintrc.yml
      
      * Fix streamWsEnd
      
      * Show IP address instead of (anonymous user)
      
      * Add missing semicolon
      cfea2821
  25. Nov 18, 2017
  26. Nov 17, 2017
    • Eugen Rochko's avatar
      Lists (#5703) · 24cafd73
      Eugen Rochko authored
      * Add structure for lists
      
      * Add list timeline streaming API
      
      * Add list APIs, bind list-account relation to follow relation
      
      * Add API for adding/removing accounts from lists
      
      * Add pagination to lists API
      
      * Add pagination to list accounts API
      
      * Adjust scopes for new APIs
      
      - Creating and modifying lists merely requires "write" scope
      - Fetching information about lists merely requires "read" scope
      
      * Add test for wrong user context on list timeline
      
      * Clean up tests
      24cafd73
  27. Oct 17, 2017
  28. Sep 24, 2017
  29. Sep 04, 2017
  30. Jul 07, 2017
  31. Jun 26, 2017
  32. Jun 25, 2017
  33. Jun 23, 2017
Loading