1. 30 Jul, 2019 1 commit
  2. 15 Jul, 2019 1 commit
  3. 24 May, 2019 1 commit
  4. 22 May, 2019 1 commit
  5. 10 Mar, 2019 2 commits
  6. 08 Mar, 2019 1 commit
  7. 21 Oct, 2018 1 commit
  8. 20 Oct, 2018 1 commit
    • 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
  9. 11 Oct, 2018 1 commit
  10. 07 Oct, 2018 1 commit
    • 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
  11. 26 Aug, 2018 1 commit
  12. 24 Aug, 2018 1 commit
  13. 14 Jul, 2018 1 commit
  14. 21 May, 2018 1 commit
  15. 18 Apr, 2018 1 commit
    • 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
  16. 17 Apr, 2018 1 commit
  17. 13 Dec, 2017 2 commits
  18. 12 Dec, 2017 2 commits
    • 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
  19. 18 Nov, 2017 1 commit
  20. 17 Nov, 2017 1 commit
    • 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
  21. 17 Oct, 2017 1 commit
  22. 24 Sep, 2017 1 commit
  23. 04 Sep, 2017 1 commit
  24. 07 Jul, 2017 2 commits
  25. 26 Jun, 2017 1 commit
  26. 25 Jun, 2017 3 commits
  27. 23 Jun, 2017 2 commits
  28. 20 Jun, 2017 1 commit
  29. 09 Jun, 2017 1 commit
  30. 03 Jun, 2017 1 commit
    • Clworld's avatar
      Execute PushUpdateWorker only for accounts who uses StreamingAPI just now. (#3278) · dab8fc45
      Clworld authored
      * Add redis key "subscribed:timeline:#{account.id}" to indicate active streaming API listeners exists.
      
      * Add endpoint for notification only stream.
      
      * Run PushUpdateWorker only for users uses Streaming API now.
      
      * Move close hander streamTo(Http/Ws) -> stream(Http/Ws)End (Deal with #3370)
      
      * Add stream type for stream start log message.
      dab8fc45
  31. 29 May, 2017 2 commits
  32. 28 May, 2017 1 commit