Commit Graph

151 Commits (77897cd24cbf9802bd000c88ab3c7bfb6714f968)

Author SHA1 Message Date
renovate[bot] 0f7f257139
Update Yarn to v4.1.1 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] dc4427dc9b
Update devDependencies (non-major) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Renaud Chaput 899eac1a92
Use modern ES syntax rather than `.call` ()
Renaud Chaput 036f5a05e3
Convert the streaming server to ESM ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Emelia Smith 491dd97642
Streaming: refactor to custom Error classes ()
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 581f14e56f
Update yarn to version 4.1.0 ()
Emelia Smith 881e8c113c
Refactor: fix streaming postgresql and redis typing issues ()
renovate[bot] 61a0ec69fc
chore(deps): update devdependencies (non-major) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
renovate[bot] 62001b5a31
Update dependency jsdom to v24 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Emelia Smith 3fbf01918f
Streaming: Move more methods to the utils from the main file ()
Emelia Smith 1335083bed
Streaming: replace npmlog with pino & pino-http ()
Emelia Smith 58830be943
Streaming: Rework websocket server initialisation & authentication code ()
Renaud Chaput 923fc83190
Improve `lint-staged` config ()
Emelia Smith 9826b7780a
Streaming: use standard cors package instead of custom implementation ()
Christian Winther 01df9f1abb
install "wget" in streaming Dockerfile ()
Michael Stanclift c40cfc5d09
Fix apt cache not being properly utilized in Dockerfile ()
Emelia Smith a4de0e364b
Refactor streaming to simplify for logging change ()
Emelia Smith 4949b6da58
Fix streaming eslint configuration ()
Michael Stanclift a80530d1df
Dockerfile rewrite based on Ruby image with performance optimizations and size reduction, dedicated Streaming image ()
Co-authored-by: “Michael <“mx@vmstan.com>
Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
renovate[bot] 73ab080608
Update dependency jsdom to v23 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] 1ee3314f58
Update dependency @types/npmlog to v7 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] 998f068499
Update Yarn to v4.0.2 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Emelia Smith 15b2d7eec5
Split streaming server from web server ()
Renaud Chaput 774e1189d2
Change `eslint` config to autofix missing comma and indentation in JS files ()
Emelia Smith f68d540271
Fix websocket connections being incorrectly decremented twice on errors ()
Emelia Smith fbfceb9c77
Add additional metrics for streaming ()
Gabriel Simmer be991f1d18
Move to ioredis for streaming ()
Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
Emelia Smith 6375e390af
Fix: support both DATABASE_URL and DB_PASS ()
Emelia Smith 65096c1ccd
Change streaming `/metrics` to include additional metrics ()
Renaud Chaput 3554c52795
Fix missing return values in streaming ()
Claire 446821a0dc
Swap debug statements in streaming server ()
Emelia Smith 81cdc0f972
Fix: Streaming server memory leak in HTTP EventSource cleanup ()
Emelia Smith ddaf200c78
Refactor streaming's filtering logic & improve documentation ()
Claire 1814990a3d
Fix wrong filters sometimes applying in streaming ()
Emelia Smith 215081240f
Add logging of websocket send errors ()
Emelia Smith c81f59583c
Fix logging of messages that are binary before closing their connection ()
Emelia Smith 16dd3f08c1
Fix performance of streaming by parsing message JSON once ()
Renaud Chaput d27216dc46
Enforce import order with ESLint ()
Nick Schonning f22b4e556c
Add eslint-plugin-jsdoc ()
Emelia Smith 301e03eb8c
Remove clustering from streaming API ()
Claire 174352716a
Disable anonymous access to the streaming API ()
Eugen Rochko be1792e1d4
Fix streaming API not being usable without `DATABASE_URL` ()
Ramūns Usovs 0872f3e3d7
Allow streaming to connect to postgress with self-signed certs ()
emilweth 7c45145430
fix metrics format ()
emilweth c1b823368c
dot is not allowed ()
Eugen Rochko c5a4d8c82d
Add information about database pool to metrics endpoint in streaming API ()
Eugen Rochko 4cb7647516
Add database pool configuration over `DB_POOL` to streaming API ()
Add connection timeout of 15s
Eugen Rochko 01584f03e8
Add metrics endpoint to streaming API ()
Nick Schonning 06b68490d1
Enable eslint:recommended ruleset ()
* Enable ESLint recommended ruleset

* Disable failing ESLint recommended rules

* Remove rules shadowed by eslint:recommended
Claire 8c3c6dcae9
Fix filters from other users being used in the streaming service ()