Commit Graph

148 Commits (32184e3f042e09efda88431e2cdaf39c2de1d49b)

Author SHA1 Message Date
Emelia Smith 9a46329fbd
Streaming: add development logging of database queries (#32945) 1 month ago
Emelia Smith b23ff050ac
Fix missing or incorrect cache-control headers for Streaming server (#32551) 3 months ago
Matt Jankowski 5405bdd344
Remove unused E2EE messaging code (#31193) 3 months ago
Emelia Smith 9ba81eae3e
Streaming: Improve Redis connection options handling (#31623) 4 months ago
Emelia Smith f6fb9b75db
Streaming: Fix BIND IPv6 handling (#31624) 4 months ago
Emelia Smith 4118688fba
Streaming: Refactor move database and redis logic into separate files (#31567) 4 months ago
Emelia Smith c245a2044e
Streaming: Refactor to use metrics.$name instead of destructuring (#31566) 4 months ago
Emelia Smith 7490019535
Fix support for IPv6 redis connections in streaming (#31229) 5 months ago
Emelia Smith c953dca1de
Streaming: use pgPool.query instead of manually acquiring & releasing a connection (#30964) 6 months ago
Emelia Smith d436696f46
Streaming: Fix incorrect type definitions (#30977) 6 months ago
Essem 54cc204473
Use WebSocketServer instead of WebSocket.Server in streaming (#30788) 6 months ago
Renaud Chaput 899eac1a92
Use modern ES syntax rather than `.call` (#29368) 10 months ago
Renaud Chaput 036f5a05e3
Convert the streaming server to ESM (#29389)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
10 months ago
Emelia Smith 491dd97642
Streaming: refactor to custom Error classes (#28632)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
10 months ago
Emelia Smith 881e8c113c
Refactor: fix streaming postgresql and redis typing issues (#28747) 11 months ago
Emelia Smith 3fbf01918f
Streaming: Move more methods to the utils from the main file (#28825) 11 months ago
Emelia Smith 1335083bed
Streaming: replace npmlog with pino & pino-http (#27828) 12 months ago
Emelia Smith 58830be943
Streaming: Rework websocket server initialisation & authentication code (#28631) 12 months ago
Emelia Smith 9826b7780a
Streaming: use standard cors package instead of custom implementation (#28523) 1 year ago
Emelia Smith a4de0e364b
Refactor streaming to simplify for logging change (#28056) 1 year ago
Emelia Smith 15b2d7eec5
Split streaming server from web server (#24702) 1 year ago
Renaud Chaput 774e1189d2
Change `eslint` config to autofix missing comma and indentation in JS files (#26711) 1 year ago
Emelia Smith f68d540271
Fix websocket connections being incorrectly decremented twice on errors (#27238) 1 year ago
Emelia Smith fbfceb9c77
Add additional metrics for streaming (#26945) 1 year ago
Gabriel Simmer be991f1d18
Move to ioredis for streaming (#26581)
Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
1 year ago
Emelia Smith 6375e390af
Fix: support both DATABASE_URL and DB_PASS (#26295) 1 year ago
Emelia Smith 65096c1ccd
Change streaming `/metrics` to include additional metrics (#26299) 1 year ago
Renaud Chaput 3554c52795
Fix missing return values in streaming (#26233) 1 year ago
Claire 446821a0dc
Swap debug statements in streaming server (#26231) 1 year ago
Emelia Smith 81cdc0f972
Fix: Streaming server memory leak in HTTP EventSource cleanup (#26228) 1 year ago
Emelia Smith ddaf200c78
Refactor streaming's filtering logic & improve documentation (#26213) 1 year ago
Claire 1814990a3d
Fix wrong filters sometimes applying in streaming (#26159) 1 year ago
Emelia Smith 215081240f
Add logging of websocket send errors (#25280) 2 years ago
Emelia Smith c81f59583c
Fix logging of messages that are binary before closing their connection (#25361) 2 years ago
Emelia Smith 16dd3f08c1
Fix performance of streaming by parsing message JSON once (#25278) 2 years ago
Renaud Chaput d27216dc46
Enforce import order with ESLint (#25096) 2 years ago
Nick Schonning f22b4e556c
Add eslint-plugin-jsdoc (#24719) 2 years ago
Emelia Smith 301e03eb8c
Remove clustering from streaming API (#24655) 2 years ago
Claire 174352716a
Disable anonymous access to the streaming API (#23989) 2 years ago
Eugen Rochko be1792e1d4
Fix streaming API not being usable without `DATABASE_URL` (#23960) 2 years ago
Ramūns Usovs 0872f3e3d7
Allow streaming to connect to postgress with self-signed certs (#21431) 2 years ago
emilweth 7c45145430
fix metrics format (#23520) 2 years ago
emilweth c1b823368c
dot is not allowed (#23519) 2 years ago
Eugen Rochko c5a4d8c82d
Add information about database pool to metrics endpoint in streaming API (#23469) 2 years ago
Eugen Rochko 4cb7647516
Add database pool configuration over `DB_POOL` to streaming API (#23470)
Add connection timeout of 15s
2 years ago
Eugen Rochko 01584f03e8
Add metrics endpoint to streaming API (#23388) 2 years ago
Nick Schonning 06b68490d1
Enable eslint:recommended ruleset (#22433)
* Enable ESLint recommended ruleset

* Disable failing ESLint recommended rules

* Remove rules shadowed by eslint:recommended
2 years ago
Claire 8c3c6dcae9
Fix filters from other users being used in the streaming service (#20719) 2 years ago
Claire cd5e98dbdb
Fix public/local timeline posts not being properly filtered (#20567)
* Fix streaming server using wrong property name for matching filters

Late in the PR, the `filter_results` property has been renamed to `filtered`,
but the change has not been reflected in the streaming server code.

* Fix filter_action attribute being an integer instead of a string
2 years ago
Eugen Rochko e7aa2be828
Change how hashtags are normalized (#18795)
* Change how hashtags are normalized

* Fix tests
3 years ago