Commit Graph

185 Commits

Author SHA1 Message Date
Bartosz Sypytkowski ae6d8b1313 chore: make collab group prune grace period configurable 2024-10-30 07:47:58 +01:00
Bartosz Sypytkowski 50b49a72a8 chore: detect and re-request missing updates on the server side 2024-10-30 07:47:56 +01:00
Bartosz Sypytkowski 53b7f4c15a chore: removed appflowy history 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski 5dace2638c chore: fix clippy warnings 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski 5d0d8cf4d1 chore: fixed collab ack 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski 0032b7e08e chore: better stress test scenario 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski 80405cc43e chore: add break in cancellation of snapshot task 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski 0b7ee402ff chore: turn off separate appflowy history process 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski 0a2cb3a79e chore: add perf tests 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski f40f4b1583 chore: fix early return from redis collab update stream reader 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski 15f438ea05 chore: don't try to prune empty redis stream 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski 13d657861a chore: update stream - live and current queries 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski 21b734269c chore: more traces in collab group 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski d3553e5dfc chore: remove server sync protocol (not used anymore) 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski 854215705c chore: code cleanup 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski 3cea53cd13 chore: create method for receiving the most recent snapshot 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski b32ef04099 chore: changes to make appflowy cloud compile under the latest appflowy collab 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski dfe1b5ad28 chore: attach indexer to collab persister 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski a7713d9001 chore: basics of snapshots (unoptimized) 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski 5ef6ab1738 chore: a dirty draft of snapshot saving 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski f0b907157e chore: redis stream for awareness 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski 1d7e35c2b9 chore: collab streams 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski 82af7edc3f chore: create collab update sink and stream 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski 01f5b06905 chore: remove broadcast and introduce lease 2024-10-30 07:43:31 +01:00
Bartosz Sypytkowski 3433cad5cf chore: draft of stateless collab group 2024-10-30 07:43:31 +01:00
Nathan.fooo 9629d4cefa
chore: add limit for importing zip file (#938)
* chore: add limitation for import zip file

* chore: support upload big file

* chore: implement client api

* chore: implement client api

* chore: implement client api

* chore: update logs

* chore: check file size

* chore: last process at

* chore: set content type

* chore: fix test

* chore: try test

* chore: temporary disable test
2024-10-28 08:51:34 +08:00
Nathan.fooo 246cbd3ec4
chore: update nginx config for import (#935) 2024-10-25 16:47:29 +08:00
Nathan.fooo e738508d79
fix: Support notion database row document (#929)
* chore: fix import notion database
2024-10-24 19:04:06 +08:00
khorshuheng 16fb9584f9 fix: masked postgres password in logs 2024-10-24 00:34:31 +08:00
Khor Shu Heng 9eb1c36c92
chore: access control interface to return error instead of boolean (#914) 2024-10-21 20:20:14 +08:00
Nathan.fooo 57c44818e2
feat: Import metrics (#911)
* chore: implement metrics for import

* chore: add metrics
2024-10-20 11:05:22 +08:00
Nathan.fooo b1f37dbbf6
chore: fix petential unzip issues (#910) 2024-10-20 10:48:09 +08:00
Nathan.fooo 773f17e524
fix: import zip without root dir (#898)
* fix: import notion zip file that do not have root dir

* fix: compile
2024-10-18 00:51:53 +08:00
Nathan.fooo ffee47d0f7
chore: remove workspace and collab listener (#893) 2024-10-17 17:43:00 +08:00
Nathan.fooo 3623d9f296
chore: check file md5 before import (#895) 2024-10-17 17:18:07 +08:00
Khor Shu Heng 8ab5da4aef
fix: limit concurrency level of batch get encode collab (#892) 2024-10-17 13:29:27 +08:00
Nathan.fooo 9942e68089
chore: imported workspace should not become the latest visting workspace (#890)
* chore: imported workspace should not become the latest visting workspace

* chore: sqlx files

* chore: update test

* chore: fmt
2024-10-16 21:02:05 +08:00
Nathan.fooo d3e4a6870d
chore: template (#889)
* chore: template

* fix: auto del file lifetime

* chore: delete file if fail to write to disk

* fix: modified html

* chore: set content type

* chore: md5 content

* chore: clippy

* fix: image loaded failed

* fix: build

* chore: bump collab

---------

Co-authored-by: Kilu <lu@appflowy.io>
2024-10-16 17:39:24 +08:00
Khor Shu Heng ec124bcb46
Merge pull request #885 from AppFlowy-IO/additional-ac-config
feat: additional access control config
2024-10-16 17:00:54 +08:00
khorshuheng 383629ab1c chore: simplify not enough permission error 2024-10-16 15:10:31 +08:00
Nathan.fooo d89cbe1c8c
chore: support streaming unzip using env (#888) 2024-10-16 14:02:03 +08:00
Nathan.fooo 3c02fa253f
chore: retry import (#887)
* chore: retry import

* chore: delete temp files

* chore: bump collab
2024-10-16 12:55:53 +08:00
Nathan.fooo 2b02a8d12b
chore: bump collab (#884) 2024-10-15 15:56:14 +08:00
Nathan.fooo 1616ceaf4f
chore: use workspace deps (#880) 2024-10-14 16:02:22 +08:00
Nathan.fooo 95e8b30f11
chore: bump collab that use yrs 0.21.2 (#872)
* chore: bump collab that use yrs 0.21.2

* chore: fmt
2024-10-14 00:58:32 +08:00
Nathan.fooo bbd21dfef6
chore: import mailer (#869)
* chore: import mailer

* chore: update template

* chore: config template

* fix: add missing config parameter

* chore: update template

* chore: show error with task id

* chore: show error with task id

---------

Co-authored-by: khorshuheng <solemnpriest@gmail.com>
2024-10-13 20:08:55 +08:00
Nathan.fooo 14cfaa0bbd
chore: insert metadata after import notion zip file (#871)
* chore: insert metadata after import notion zip file

* chore: update logs
2024-10-10 22:32:02 +08:00
Khor Shu Heng 8c14612f98
feat: refactor access control to enable swapping implementation (#859) 2024-10-10 13:04:47 +08:00
Nathan.fooo 98347b81ea
fix: import notion zip file as workspace (#868)
* chore: insert content length in header

* chore: custom header

* chore: workspace name

* chore: file name

* chore: handle file name that is not utf8 encode

* chore: clippy

* fix: end of file when unzip file

* chore: docs
2024-10-09 21:27:24 +08:00
Nathan.fooo 33e63fae5c
chore: try to fix pg lock timeout (#864)
* chore: try to fix pg lock timeout

* chore: add logs for insert collab

* chore: add timeout for duplicate

* chore: timeout for pending write
2024-10-07 16:49:50 +08:00