Skip to content
Snippets Groups Projects
  1. Mar 21, 2022
  2. Feb 16, 2022
  3. Jan 07, 2022
    • Claire's avatar
      Fix timeline streaming stopping for multiple sessions instead of one (#17259) · bc066d89
      Claire authored
      * Fix timeline streaming stopping for multiple sessions instead of one
      
      Fixes #17256.
      
      In updating the code for a newer version of node-redis, #17183 also broke
      redis subscription management when multiple streaming clients subscribe to the
      same channel.
      
      This commit restores the redis subscription management code.
      
      * Let node-redis actually handle the subscriptions
      Unverified
      bc066d89
  4. Dec 25, 2021
  5. Oct 13, 2021
    • Sasha Sorokin's avatar
      fix(streaming): req.scopes can be nullable (#16823) · 6c88ebfd
      Sasha Sorokin authored
      When checking for required OAuth scopes, an unexpected error could
      happen due to missing (null-y) req.scopes. This commit fixes that by
      checking if req.scopes are present before checking if any required
      scopes are present, otherwise it skips that straight to rejection.
      Unverified
      6c88ebfd
  6. Sep 26, 2021
  7. May 02, 2021
  8. May 01, 2021
  9. Mar 24, 2021
  10. Nov 23, 2020
  11. Nov 12, 2020
  12. Sep 22, 2020
  13. Aug 12, 2020
  14. Aug 11, 2020
  15. Jun 24, 2020
  16. Jun 02, 2020
  17. May 10, 2020
  18. 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
  19. Jul 30, 2019
  20. Jul 15, 2019
  21. May 24, 2019
  22. May 22, 2019
  23. Mar 10, 2019
  24. Mar 08, 2019
  25. Oct 21, 2018
  26. 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.
      Unverified
      369cc5f5
  27. Oct 11, 2018
  28. 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
      Unverified
      774ac473
  29. Aug 26, 2018
  30. Aug 24, 2018
  31. Jul 14, 2018
  32. May 21, 2018
  33. 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
  34. Apr 17, 2018
  35. Dec 13, 2017
  36. 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
  37. Nov 18, 2017
Loading