Commit Graph

24 Commits (1899cf5f04400f8055e45ceda941a9580b93fa1e)

Author SHA1 Message Date
Akihiko Odaki a6788662b0 Revert "Use PostgreSQL inheritance for blocks and mutes (#2520)" (#2634)
This reverts commit 5135d609b7.
8 years ago
Akihiko Odaki 5135d609b7 Use PostgreSQL inheritance for blocks and mutes (#2520) 8 years ago
YOU d0665726ca Update index.js (#2612) 8 years ago
masarakki d0ec4fb828 refactor-cores (#2308) 8 years ago
Akihiko Odaki 16cd648181 Allow to listen Unix socket (#2085)
* Allow puma to listen Unix socket

* streaming: Show the whole listening address instead of the port

Port is not always appropriate (e.g. Unix socket)

* streaming: Close server before exiting

This change especially allows to remove Unix socket before exiting.
8 years ago
178inaba dd517b9a55 Fix a bug where the hashtag could not be specified with the streaming API (#2258) 8 years ago
kuro5hin 0790aa9165 Fix streaming server worker count (#2082)
* Make sure we start at least one streaming worker, even if there's only one CPU and we're in production mode.

* Oops, let's make sure we're counting cpus right too.
8 years ago
geta6 64e1d51025 Improve streaming server with cluster (#1970) 8 years ago
Gavin Mogan 3672a799d4 Dev Tooling fixes (eslint/editorconfig) (#1398)
* Add eslint to dev dependancies so it gets installed for the repo

yarn add --dev eslint babel-eslint eslint-plugin-reac

project specific version of eslint, you can globally install eslint-cli
if you want the global runtime, or add .bin to your path

* fix eslint errors about inconsitent returns

* eslint ignore the same as git ignore. allows for eslint .

* Add editorconfig file so everyones editor will be setup to follow the same standards
8 years ago
Eugen Rochko 3618cc04ff Add heartbeat to websockets streaming API connections 8 years ago
Eugen Rochko c64a1c25c4 Fix #231 - Muting 8 years ago
Eugen Rochko 02e91a96dd Make streaming API use one pattern-matching redis pubsub connection
Refresh timelines when streaming API reconnects in the UI
8 years ago
Eugen Rochko c8252759df Add streaming API channels for local-only statuses 8 years ago
Eugen Rochko 4d2be9f432 Add unique request IDs to streaming API to improve logs 8 years ago
Eugen Rochko fb6aa7ad5c Add tracking of delay to streaming API 8 years ago
Eugen Rochko ccb8ac8573 Make the streaming API also handle websockets (because trying to get the browser EventSource interface to
work flawlessly was a nightmare). WARNING: This commit makes the web UI connect to the streaming API instead
of ActionCable like before. This means that if you are upgrading, you should set that up beforehand.
8 years ago
Eugen Rochko 8c0bc1309f Add CORS to the streaming API 8 years ago
Eugen Rochko df507f5e6e Fix streaming API queries 8 years ago
Eugen Rochko aa2fa227e9 Adding documentation for streaming API. Fixing filtering bug 8 years ago
Eugen Rochko 61ce15d94b Make node read the right .env file 8 years ago
Eugen Rochko d1a01dbbdd Add redis configuration to streaming API 8 years ago
Eugen Rochko b6c922f169 Fix potential resource leaks in streaming server 8 years ago
Eugen Rochko 1ee4a17f37 Add logging and filtering to the node.js streaming API 8 years ago
Eugen Rochko 0cfd3188b4 Add streaming API in Node.js 8 years ago