29 Commits

Author SHA1 Message Date
James Addison
1c278ad268 Add HOST environment variable to configure websocket-server bind address 2021-01-04 17:43:39 +00:00
Kevin Jahns
3dad772dfe simplify getYDoc approach 2020-10-18 18:34:49 +02:00
Duane Johnson
70905bc7a0 Keep persistence object signature
- consolidate getYDoc, findOrCreateDoc
- rename findOrCreateDoc to getOrInitDoc
- rename persistence.getYDoc to getOrCreateDoc
2020-10-10 12:55:41 -06:00
Duane Johnson
576db4267e Add persistence-synced Y.Doc accessor functions 2020-10-08 15:00:26 -06:00
Kevin Jahns
b6bb04a405 put encoder in block to scope it from ping interval handler #30 2020-10-04 12:25:12 +02:00
Brian E. Granger
7533057249 Add clearInterval calls to clean up closure. 2020-10-03 14:30:22 -07:00
Kevin Jahns
7d5517b714 Export docs - fixes #27 2020-08-11 21:53:42 +02:00
Mansehej Singh
a7d805cf43 Fix callback request error logging 2020-07-30 02:44:33 +05:30
Mansehej Singh
7d8d9a4a45 Serialize Yjs type before callback 2020-07-30 02:43:36 +05:30
Mansehej Singh
fe0c51375a Change isCallbackSet from function call to Boolean constant 2020-07-30 02:30:44 +05:30
Mansehej Singh
adfb8724be Implement http based callback 2020-07-12 20:53:52 +05:30
Kevin Jahns
f6943f33af Fix YPERSISTENCE -- allowing y-leveldb persistence 2020-07-10 02:40:03 +02:00
Kevin Jahns
01d8c2a3f5 bump y-protocols for better event handling 2020-06-05 04:11:14 +02:00
Kevin Jahns
68d00c0a92 support query parameters 2020-02-18 15:17:27 -06:00
Kevin Jahns
8e858858ba fix lib0 import in bin/server 2020-01-13 16:55:21 +01:00
Kevin Jahns
dbfce63d6f cjs module 2020-01-13 15:51:35 +01:00
Kevin Jahns
2fa8113e86 fix bin/utils to use require 2019-09-30 10:36:49 +02:00
Kevin Jahns
683313409d setPersistence in bin/utils 2019-09-30 10:28:52 +02:00
Kevin Jahns
f09e4b91ab make ws-server opts optional 2019-09-18 15:16:29 +02:00
Kevin Jahns
dcd6e4c772 allow to disable gc in server 2019-09-18 15:13:09 +02:00
Kevin Jahns
953aa592fe reconnect when no message received in a long time 2019-08-02 00:24:08 +02:00
Kevin Jahns
2e92786bf0 handle unexpected disconnect flow 2019-05-20 14:12:35 +02:00
Kevin Jahns
fb18c6ce30 implement new awareness protocol 2019-05-19 21:06:08 +02:00
Kevin Jahns
e8647afafc update to work with Yjs@13.0.0-82 2019-05-07 14:07:40 +02:00
Kevin Jahns
d4e731fb4a server chatches send errors and checks if the connection is still alive 2019-04-28 17:36:20 +02:00
Kevin Jahns
e819493fe1 add readme 2019-04-28 02:38:41 +02:00
Kevin Jahns
7e481b70e8 separate server into two reusable modules 2019-04-27 00:23:10 +02:00
Kevin Jahns
01519447ca compatible with yjs@v13-79 2019-04-24 08:07:37 +02:00
Kevin Jahns
9208e699e2 init 2019-03-30 11:09:58 +01:00