20 Commits

Author SHA1 Message Date
Jeremie Pardou-Piquemal
0057292553 Update all dependencies 2022-12-28 11:22:19 +01:00
Alan Friedman
ba33753b61
Fix Redis store 'delete' command bug 2020-09-25 07:41:22 -04:00
Jeremie Pardou-Piquemal
3f17ca707b Add lint command 2020-06-13 16:33:08 +02:00
Jérémie Pardou-Piquemal
fb7a5cf389
Store is now lazy loaded (#143) 2020-05-08 10:55:28 -04:00
Jérémie Pardou-Piquemal
a923e91bf5
Fix server code style with prettier (#136) 2020-05-07 08:25:41 -04:00
Alan Friedman
be81d7420c
Revert "Revert "Allow to launch server without Redis"" (#134)
* Revert "Revert "Allow to launch server without Redis (#119)" (#133)"

This reverts commit 18065f965215c32b4b66e13246a6a54977088518.

* Default to REDIS_URL env var for store host
2020-05-05 10:26:21 -04:00
Alan Friedman
18065f9652
Revert "Allow to launch server without Redis (#119)" (#133)
This reverts commit 2a8d3281db851d15f9402d0fe69291255c6b250b.
2020-05-05 10:03:50 -04:00
Jérémie Pardou-Piquemal
2a8d3281db
Allow to launch server without Redis (#119)
* Add nvmrc file for nvm use

* Add help to run redis store with docker

* Add Redis and memory store

* Rename dist files

* Allow to launch server without Redis

* Slit stores in their own files

* Update readme.md

Co-authored-by: Alan Friedman <d.alan.friedman@gmail.com>

* Mimic Redis API

* Move store logic in is own file

Co-authored-by: Alan Friedman <d.alan.friedman@gmail.com>
2020-05-05 08:56:14 -04:00
Alan Friedman
57691fdb2b
Cache html for one minute (#102) 2019-08-25 14:59:28 -04:00
Alan Friedman
a8f479c56e
Cache static assets for one year (#83)
* Cache static assets for one year

* Use milliseconds
2019-06-14 10:24:14 -04:00
Alan Friedman
abee36fbc7
Increase ping interval (#80) 2019-06-02 12:21:22 -04:00
Alan Friedman
e4c4176cf1
Poll for and delete inactive rooms #77 2019-05-28 08:35:18 -04:00
Alan Friedman
b5a4dcdb1f Increase ping timeout 2019-05-28 08:13:20 -04:00
Alan Friedman
76baec6b5d Send unhashed room ID 2019-05-27 21:58:56 -04:00
Alan Friedman
435e193c93 Rename actions and functions 2019-05-27 16:06:01 -04:00
Alan Friedman
409376daf0 Improve reconnect handling 2019-05-27 11:20:50 -04:00
Alan Friedman
8cd079ea8e
CORS fixes (#72)
* Add SITE_URL env var

* Debug git branch

* Set site URL to "false"

* Bug fix

* Fix CORS allowed methods

* Upgrade kcors

* Fix for API HOST in review apps

* Review app fixes

* Add bin/bash

* Refactor site URL code

* Cleanup API host
2019-05-19 16:42:30 -04:00
Alan Friedman
a6c519e2f0
Security headers (#67)
* Set test header

* Add security headers

* Update CSP to allow inline scripts and images

* Add empty string as API host value

* Add API host to CSP

* Use empty string if env var missing

* Add WSS and HTTPS protocols

* Undo app JSON change

* Set all headers in single object

* Fix typos
2019-05-19 14:27:14 -04:00
Alan Friedman
612eb522b7 Fix for displaying current commit SHA 2019-05-13 09:57:04 -04:00
Alan Friedman
4e038ec655
Add client and server source to monorepo (#65) 2019-05-13 09:39:17 -04:00