144 Commits (ffe29ce4174673cd4b19d0ef330c56e584f284e6)

Author SHA1 Message Date
Emelia Smith f6fb9b75db
Streaming: Fix BIND IPv6 handling (#31624) 2 years ago
Emelia Smith 4118688fba
Streaming: Refactor move database and redis logic into separate files (#31567) 2 years ago
Emelia Smith c245a2044e
Streaming: Refactor to use metrics.$name instead of destructuring (#31566) 2 years ago
Emelia Smith 7490019535
Fix support for IPv6 redis connections in streaming (#31229) 2 years ago
Emelia Smith c953dca1de
Streaming: use pgPool.query instead of manually acquiring & releasing a connection (#30964) 2 years ago
Emelia Smith d436696f46
Streaming: Fix incorrect type definitions (#30977) 2 years ago
Essem 54cc204473
Use WebSocketServer instead of WebSocket.Server in streaming (#30788) 2 years ago
Renaud Chaput 899eac1a92
Use modern ES syntax rather than `.call` (#29368) 2 years ago
Renaud Chaput 036f5a05e3
Convert the streaming server to ESM (#29389) 2 years ago
Emelia Smith 491dd97642
Streaming: refactor to custom Error classes (#28632) 2 years ago
Emelia Smith 881e8c113c
Refactor: fix streaming postgresql and redis typing issues (#28747) 2 years ago
Emelia Smith 3fbf01918f
Streaming: Move more methods to the utils from the main file (#28825) 2 years ago
Emelia Smith 1335083bed
Streaming: replace npmlog with pino & pino-http (#27828) 2 years ago
Emelia Smith 58830be943
Streaming: Rework websocket server initialisation & authentication code (#28631) 2 years ago
Emelia Smith 9826b7780a
Streaming: use standard cors package instead of custom implementation (#28523) 2 years ago
Emelia Smith a4de0e364b
Refactor streaming to simplify for logging change (#28056) 2 years ago
Emelia Smith 15b2d7eec5
Split streaming server from web server (#24702) 2 years ago
Renaud Chaput 774e1189d2
Change `eslint` config to autofix missing comma and indentation in JS files (#26711) 3 years ago
Emelia Smith f68d540271
Fix websocket connections being incorrectly decremented twice on errors (#27238) 3 years ago
Emelia Smith fbfceb9c77
Add additional metrics for streaming (#26945) 3 years ago
Gabriel Simmer be991f1d18
Move to ioredis for streaming (#26581) 3 years ago
Emelia Smith 6375e390af
Fix: support both DATABASE_URL and DB_PASS (#26295) 3 years ago
Emelia Smith 65096c1ccd
Change streaming `/metrics` to include additional metrics (#26299) 3 years ago
Renaud Chaput 3554c52795
Fix missing return values in streaming (#26233) 3 years ago
Claire 446821a0dc
Swap debug statements in streaming server (#26231) 3 years ago
Emelia Smith 81cdc0f972
Fix: Streaming server memory leak in HTTP EventSource cleanup (#26228) 3 years ago
Emelia Smith ddaf200c78
Refactor streaming's filtering logic & improve documentation (#26213) 3 years ago
Claire 1814990a3d
Fix wrong filters sometimes applying in streaming (#26159) 3 years ago
Emelia Smith 215081240f
Add logging of websocket send errors (#25280) 3 years ago
Emelia Smith c81f59583c
Fix logging of messages that are binary before closing their connection (#25361) 3 years ago
Emelia Smith 16dd3f08c1
Fix performance of streaming by parsing message JSON once (#25278) 3 years ago
Renaud Chaput d27216dc46
Enforce import order with ESLint (#25096) 3 years ago
Nick Schonning f22b4e556c
Add eslint-plugin-jsdoc (#24719) 3 years ago
Emelia Smith 301e03eb8c
Remove clustering from streaming API (#24655) 3 years ago
Claire 174352716a
Disable anonymous access to the streaming API (#23989) 3 years ago
Eugen Rochko be1792e1d4
Fix streaming API not being usable without `DATABASE_URL` (#23960) 3 years ago
Ramūns Usovs 0872f3e3d7
Allow streaming to connect to postgress with self-signed certs (#21431) 3 years ago
emilweth 7c45145430
fix metrics format (#23520) 3 years ago
emilweth c1b823368c
dot is not allowed (#23519) 3 years ago
Eugen Rochko c5a4d8c82d
Add information about database pool to metrics endpoint in streaming API (#23469) 3 years ago
Eugen Rochko 4cb7647516
Add database pool configuration over `DB_POOL` to streaming API (#23470) 3 years ago
Eugen Rochko 01584f03e8
Add metrics endpoint to streaming API (#23388) 3 years ago
Nick Schonning 06b68490d1
Enable eslint:recommended ruleset (#22433) 3 years ago
Claire 8c3c6dcae9
Fix filters from other users being used in the streaming service (#20719) 3 years ago
Claire cd5e98dbdb
Fix public/local timeline posts not being properly filtered (#20567) 4 years ago
Eugen Rochko e7aa2be828
Change how hashtags are normalized (#18795) 4 years ago
Claire 02851848e9
Revamp post filtering system (#18058) 4 years ago
Yamagishi Kazutoshi 5781d1db84
Fix parsing `TRUSTED_PROXY_IP` (#18051) 4 years ago
Claire f29458da1d
Fix streaming server sometimes silently dropping subscriptions (#17841) 4 years ago
Claire 6ea80ba2a2
Change streaming server error messages when failing to parse client input (#17559) 4 years ago