Commit Graph

191 Commits

Author SHA1 Message Date
Nathan.fooo d77fb77a3a
feat: validate collab data before writing to disk (#425)
* chore: validate collab

* chore: update test

* chore: partition key

* chore: save collab

* chore: save collab
2024-03-29 14:55:51 +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 c015ee7c7e
fix: peer sync (#408) 2024-03-22 21:32:41 +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
Lucas.Xu ab9496c248
fix: collab origin issue (#402)
* fix: collab origin issue

* chore: fix lint

* chore: upgrade collab

---------

Co-authored-by: nathan <nathan@appflowy.io>
2024-03-20 20:37:45 +08:00
Zack Fu Zi Xiang 52be8855ee
chore: add empty json payload 2024-03-20 14:04:56 +08:00
Zack Fu Zi Xiang 117473d104
feat: leave workspace 2024-03-20 13:07:43 +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 e408073448
chore: send after prev finish (#385) 2024-03-14 15:13:21 +08:00
Nathan.fooo d0bdbb795c
chore: add constraits for init sync (#384) 2024-03-14 11:27:18 +08:00
Nathan.fooo 40fc18a499
feat: only enforce when permission change (#382)
* feat: only enforce when permission change

* chore: fix client api ci

* chore: fix test

* chore: fix test
2024-03-13 17:14:43 +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
Zack Fu Zi Xiang 300e33671b
feat: simplify with sign in url 2024-03-08 13:09:44 +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
Zack Fu Zi Xiang 9b28edb5bc
feat: use email for af workspace invitation table 2024-03-06 11:29:07 +08:00
Nathan.fooo 9ddf32971f
fix: underflow (#370) 2024-03-05 15:21:45 +08:00
Zack Fu Zi Xiang 36c0181032
Merge branch 'main' into workspace-invite-2 2024-03-05 09:34:35 +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
Zack Fu Zi Xiang c3a27e4158
fix: nginx as proxy add empty payload 2024-03-04 21:09:44 +08:00
Zack Fu Zi Xiang e9ee0d12fa
Merge branch 'main' into workspace-invite 2024-03-04 15:47:57 +08:00
Nathan.fooo 15c03e4f85
refactor: realtime dir (#363)
* refactor: realtime dir

* chore: fmt

* chore: fix test

* chore: fix test

* chore: fix test
2024-03-04 12:53:44 +08:00
Zack Fu Zi Xiang 17a965a30b
chore: remove commented blocks 2024-03-04 09:11:44 +08:00
Zack Fu Zi Xiang bc3fccfcea
chore: merge with main 2024-03-03 14:37:50 +08:00
Zack Fu Zi Xiang f1e81d59c4
test: crud flow for workspace invites 2024-03-03 14:26:03 +08:00
Nathan.fooo 0e57de98d8
refactor: Access control (#361)
* refactor: access level

* refactor: access control

* refactor: enforce action

* refactor: collab cache

* chore: fix test

* chore: fix test

* chore: fix test

* chore: fix test

* chore: commit migration file

* chore: commit migration file
2024-03-03 12:55:12 +08:00
Zack Fu Zi Xiang e8328fd0a4
feat: workspace invitations 2024-03-03 02:48:01 +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 5ed6a14943
chore: reduce lock required (#353)
* chore: spawn local task

* chore: spawn local task

* chore: spawn local task

* chore: spawn local task

* chore: fix test

* chore: fix test

* chore: clippy

* chore: clippy

* chore: clippy

* chore: clippy
2024-02-27 18:50:44 +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
Zack Fu Zi Xiang ba989e64f3
feat: added rename workspace 2024-02-22 11:13:37 +08:00
Zack Fu Zi Xiang ad0f477505
revert to workspace-add-email 2024-02-22 11:09:50 +08:00
Zack Fu Zi Xiang c50f872bb7
Revert "Merge pull request #328 from AppFlowy-IO/workspace-add-email"
This reverts commit 5e7794646a, reversing
changes made to d5869742c2.
2024-02-22 10:48:10 +08:00
Zack Fu Zi Xiang ca63d309f7
tests: add test for rename workspace 2024-02-22 10:42:55 +08:00
Zack Fu Zi Xiang 446518adf6
feat: api: add rename endpoint 2024-02-22 10:31:51 +08:00
Zack Fu Zi Xiang d1a17bbccd
Merge branch 'main' into workspace-add-email 2024-02-21 14:43:03 +08:00
Nathan.fooo 399f7ba2b5
chore: abort sync when the update can not apply (#335)
* chore: abort sync when the update can not apply

* chore: fix ci
2024-02-21 09:22:26 +08:00
Zack Fu Zi Xiang 4413f61f26
Merge branch 'main' into workspace-add-email 2024-02-20 10:16:58 +08:00