Zack Fu Zi Xiang
6f98894c6f
chore: version update to resolve sec issue
2024-12-20 09:37:25 +08:00
Nathan.fooo
af38efe6d9
feat: sync document through http request ( #1064 )
...
* chore: query embedding
* chore: create embeddings
* chore: apply update to editing collab
* refactor: web-update
* chore: calculate missing update the sv is not none
* chore: add test
* chore: fix audit
* chore: commit sqlx
* chore: fix client api
* test: add
* chore: clippy
* chore: fix collab drop when save
2024-12-12 14:53:07 +08:00
Nathan.fooo
ee87bb9bd6
chore: setup tokio console ( #1046 )
...
* chore: setup tokio console
* chore: setup tokio console
* chore: clippy
* chore: clippy
2024-12-06 11:33:04 +08:00
Nathan.fooo
e9c374bfe2
chore: remove wasm client api ( #989 )
...
* chore: revamp client api
* chore: fmt
2024-11-14 00:53:30 +08:00
Bartosz Sypytkowski
2af1999375
chore: added locks with timeouts ( #765 )
...
* chore: added locks with timeouts
* chore: roll back collab locks in client api
2024-08-29 16:13:27 +08:00
Nathan.fooo
cccdf76116
chore: Update client protocol sync interval ( #761 )
...
* chore: separate server/client miss update
* chore: short pull timeout
* chore: short tick interval
* chore: fix clippy
2024-08-28 14:46:55 +08:00
Nathan.fooo
ef8e6f360f
chore: try to fix ws token error ( #530 )
...
* chore: try to fix ws token error
* chore: fix compile
* chore: bump version number
* chore: update
* chore: update
* ci: fix test
2024-05-07 16:45:12 +08:00
Nathan.fooo
db23b64229
chore: broadcast check ( #485 )
...
* chore: check broadcast continuous
* chore: update log
* chore: update log
2024-04-21 19:31:24 +08:00
Nathan.fooo
1515ccdb80
chore: fix encode message ( #482 )
2024-04-21 14:23:31 +08:00
Nathan.fooo
0be4d2d5b5
ci: try to fix flaky test ( #473 )
...
* chore: update ping config
* chore: fix test
* chore: fix test
2024-04-16 18:20:36 +08:00
Nathan.fooo
b1c3d779ba
chore: reduce save collab db operations ( #455 )
...
* chore: reduce save collab db operations
* chore: clippy
* chore: add test
* chore: add test
* chore: add test
2024-04-08 14:50:51 +08:00
Nathan.fooo
b1a6338527
refactor: actix-ws ( #453 )
...
* chore: deduplicate ws message
* chore: remove retry when sending client ws message
* chore: prepare client/server actor test
2024-04-07 12:43:29 +08:00
Nathan.fooo
bdee9fa8dc
feat: add feature brotli ( #452 )
...
* feat: add feature brotli
* chore: update reqwest version
* chore: update actix-http
* chore: fix wasm build
2024-04-06 16:43:38 +08:00
nathan
1101c9d72a
chore: update logs
2024-04-02 20:10:22 +08:00
Nathan.fooo
a18b3d7886
feat: using pending to determine init sync or not ( #435 )
...
* chore: optimize sync
* chore: optimize sync
* chore: add test
* chore: update collab commit id
* chore: update
* chore: fix ci
2024-04-01 21:59:41 +08:00
Nathan.fooo
6c96d05e2f
feat: introduce custom function in casbin model that supports compari… ( #433 )
...
* feat: introduce custom function in casbin model that supports comparing role or level
* chore: update
* chore: log
* chore: log
* chore: remove cache
2024-03-31 19:54:41 +08:00
Nathan.fooo
0821c052f9
chore: enable feature log for client api ( #430 )
...
* chore: enable feature log for client api
* chore: fix ci
2024-03-30 15:39:34 +08:00
Nathan.fooo
4fc18d8615
feat: ping collab ( #424 )
...
* chore: ping
* chore: update test
* chore: fix test
* chore: ping
* ci: build cache
* chore: sync state
* chore: sync state
* tests: disable read only test
2024-03-28 21:15:14 +08:00
Nathan.fooo
cd9fc34465
refactor: crate folder ( #423 )
...
* refactor: crate folder
* chore: update docs
* chore: clippy
2024-03-28 11:06:14 +08:00
Nathan.fooo
d30cf93a1f
feat: sync protocol ( #421 )
...
* chore: send full update when it's first time to sync
* chore: update last sync at
2024-03-27 21:39:47 +08:00
Nathan.fooo
6aa05b97d3
chore: metrics for realtime edit ( #415 )
...
* refactor: separate group code from rt server
* chore: separate group state
* chore: fix test
* chore: drop group
* chore: update metrics
* chore: metrics for realtime edit
* chore: update project config
* ci: fix test
2024-03-26 13:35:13 +08:00
Nathan.fooo
d4e45efd6a
chore: bump collab commit ( #417 )
...
* chore: bump collab rev
* chore: bump collab commit
* chore: custome decode ack code
2024-03-25 16:14:49 +08:00
Nathan.fooo
51ecdd664e
chore: lower tick interval when message is empty ( #416 )
...
* chore: lower tick interval when message is empty
* chore: update logs
2024-03-24 21:34:19 +08:00
Nathan.fooo
acc13414cf
feat: sync deduplicate ( #412 )
...
* chore: update logs
* chore: update logs
* chore: deduplicate messages
* chore: optimize sync interval
* chore: fmt
* ci: test
* chore: clippy
* chore: clippy
2024-03-24 07:30:05 +08:00
Nathan.fooo
47649efe18
chore: add connect at timestamp ( #410 )
...
* chore: add connect at timestamp
* chore: fix lock issue
2024-03-23 14:00:22 +08:00
Nathan.fooo
c85383b21d
chore: project folder structture ( #392 )
...
* chore: docker build
* chore: update
* chore: update
* chore: test stream pubsub
* chore: fix wanrings
* chore: realtime crate
* chore: realtime crate
* chore: realtime crate
* chore: realtime crate
* chore: reanme crates
* chore: reanme crates
* chore: project structure
* chore: disable docker for collab hisotry
2024-03-22 11:24:28 +08:00
Nathan.fooo
a2076d4dae
chore: rename websocket crate ( #390 )
...
* chore: rename crate
* chore: rename crate
* chore: rename crate
2024-03-17 16:04:30 +08:00
Nathan.fooo
d0bdbb795c
chore: add constraits for init sync ( #384 )
2024-03-14 11:27:18 +08:00
Nathan.fooo
47e14d3b25
fix: potential duplicate init sync ( #381 )
...
* fix: potential duplicate init sync
* chore: clippy
2024-03-13 09:53:25 +08:00
Nathan.fooo
0bee7cd0df
chore: fast sync ( #377 )
...
* chore: fast sync
* chore: remove sync state
* chore: update logs
* refactor: small funcs
* chore: update logs
* chore: update logs
* chore: merge message
* chore: merge message
2024-03-10 08:11:17 +08:00
Nathan.fooo
3b0d7567da
feat: viewing collab users ( #375 )
...
* feat: return collab viewing users
* chore: fmt
* chore: add test
* chore: update logs
* chore: fix test
2024-03-09 12:15:17 +08:00
Nathan.fooo
eb79b9f5e8
chore: add realtime message test ( #374 )
...
* chore: add realtime message test
* chore: add files
* chore: add files
* chore: rename
2024-03-07 11:57:40 +08:00
Nathan.fooo
ff80014c2f
feat: Multi connect test ( #372 )
...
* chore: test multiple connect attempt
* chore: eable hash
* chore: pair message
* chore: fmt
2024-03-07 09:21:08 +08:00
Nathan.fooo
0e4442159e
chore: support client version when connect using webscoket ( #368 )
...
* chore: support client version when connect using webscoket
* chore: update tokio version
* chore: fix audit
* chore: fix wasm test
* chore: update
* chore: update
* chore: update
* chore: update
2024-03-05 07:22:56 +08:00
Nathan.fooo
2cf857bd00
feat: optimize websocket message ( #351 )
...
* chore: send multiple message
* refactor: message
* refactor: message
* fix: test
* fix: test
* fix: test
* chore: docs
* fix: test
* chore: support compress
* chore: interval retry
* chore: fix test
* chore: merge main
* chore: clippy
* chore: clippy
* ci: fix test
* chore: clippy
* chore: clippy
2024-03-02 02:53:14 +08:00
Nathan.fooo
375318774a
chore: optimize websocket connect ( #352 )
...
* chore: optimize websocket connect
* chore: fix clippy
* chore: fix clippy
* chore: fix test
* chore: fix test
2024-02-26 15:24:54 +08:00
Nathan.fooo
deffd074b9
chore: check collab before insert ( #349 )
...
* chore: check collab before insert
* chore: fix audit
* chore: speed test
* chore: add expirate duration for cache encode collab
* chore: fix test
2024-02-25 12:38:07 +08:00
Nathan.fooo
10fc8dd2fe
chore: use Redis cache for enforcer ( #348 )
...
* chore: use redis cache
* chore: use redis to cache enforce result
* fix: test
* fix: test
* fix: test
* fix: test
2024-02-24 15:45:53 +08:00
Nathan.fooo
1590e948c6
feat: Optimize sync ( #341 )
...
* chore: optimize sync
* chore: optimize sync
* chore: optimize sync
* chore: update collab rev
2024-02-22 14:18:41 +08:00
Nathan.fooo
5cd16d7544
chore: load user id and uuid when start ( #329 )
...
* chore: load user id and uuid when start
* chore: fix test
* chore: fix test
2024-02-20 05:43:33 +08:00
Nathan.fooo
29a0851f48
feat: Rate limit of ws client ( #306 )
...
* feat: implement rate limit for client
* chore: check
* chore: check
* chore: check
* chore: update
* chore: add client version
* chore: update
2024-02-08 15:11:23 +08:00
Nathan.fooo
a318d2f96d
test: wasm test ( #271 )
...
* test: wasm test
* ci: run wasm test
* fix: wasm websocket connect
* chore: add logs
* ci: fix
2024-01-24 05:51:42 +08:00
Nathan.fooo
3377e664d5
feat: create websocket crate for wasm and native ( #269 )
...
* feat: create websocket crate for wasm and native
* chore: update
* chore: replace with websocket::message
* chore: fix client api build
* chore: fix compile
* fix: ci
* refactor: add client api test crate
2024-01-23 14:25:01 +08:00
Nathan.fooo
480b7377f2
chore: client api wasm ( #262 )
...
* feat: client_api wasm
* ci: client_api wasm ci
* ci: client_api wasm ci
2024-01-17 03:20:24 +08:00
Nathan.fooo
284e2bf638
chore: compress collab data ( #249 )
...
* chore: compress collab data
* chore: custom buffer size
* chore: compression ws message
* chore: update log
* chore: update log
* chore: update client max body size
* chore: update client api
* docs: update docs
* chore: retry transaction
* chore: update timeout
* chore: stop previous loop
* chore: log ping error
* chore: log send error
* chore: log error
* chore: update log
* chore: async compress
* feat: stream payload
* chore: update load
* chore: update
* chore: update log
* chore: fix cmt
* fix: client message from http
* chore: bump collab
2024-01-10 08:05:57 +08:00
Nathan.fooo
a455c9de8e
chore: refactor logs ( #236 )
...
* chore: add logs
* chore: return ws state
* fix: init the collab from disk
2023-12-27 05:20:40 +08:00
Nathan.fooo
208a353fef
fix: client api - channel management ( #191 )
...
* chore: add logs
* chore: remove dropped channels
2023-12-01 10:52:54 +08:00
Nathan.fooo
54ef875f5f
feat: notify user profile change ( #163 )
...
* feat: send user profile changes via ws
* test: add tests
2023-11-13 22:58:18 +08:00
Nathan.fooo
c7e90eb24b
feat: stop recv messages when subscribe drop ( #159 )
...
* feat: stop recv messages when subscribe drop
* chore: update collab rev
* chore: fmt
2023-11-11 12:04:52 +08:00
Nathan.fooo
487bc25767
fix: subscriber drop ( #158 )
...
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
2023-11-10 13:41:12 +08:00