Commit Graph

409 Commits

Author SHA1 Message Date
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 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
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 820db6564e
chore: create space view for imported notion zip file (#863) 2024-10-07 12:41:45 +08:00
Nathan.fooo 38ff1874e4
chore: using copy to improve write speed of batch collab api endpoint (#862)
* chore: using copy to improve write speed of batch collab api endpoint

* chore: insert to redis

* chore: fix compile
2024-10-07 08:58:19 +08:00
Nathan.fooo 9c0dffacef
feat: implement import notion zip file api endpoint (#840)
* chore: implement api endpoint

* chore: worker

* chore: async zip

* chore: test bulk insert

* chore: insert collab

* chore: custom task

* chore: consume un acked message

* chore: fix compile

* chore: add test

* test: update

* chore: save import record

* chore: save import record

* chore: fix ci

* chore: remove unused deps

* chore: update docker file

* chore: build worker images

* chore: use small int

* chore: use small int

* chore: rm protoc deps in runtime

* chore: move collab cache to database crate

* chore: update test

* chore: rm health api endpoint

* chore: clippy

* chore: update ci

* chore: add test

* chore: upgrade collab

* chore: clippy

* chore: update test

* chore: use custom host

* chore: config nginx

* chore: install cert
2024-10-03 22:22:29 +08:00
Khor Shu Heng 03fdcf4621
feat: option to skip s3 bucket creation (#852) 2024-10-02 09:54:46 +08:00
Khor Shu Heng f19e9b0498
fix: allowed workspace owner only to view access request (#855) 2024-10-02 09:53:34 +08:00
Khor Shu Heng 757d0e5380
fix: incorrect requester avatar url and workspace member count (#847) 2024-09-29 11:03:08 +08:00
Khor Shu Heng 47a1aae75c
feat: Endpoint for server info (#835)
* feat: provide endpoint so that client can detect server information

* feat: add server info endpoint
2024-09-29 11:01:22 +08:00
khorshuheng 813fa29253 feat: add endpoints to allow workspace owner to approve web page view request 2024-09-26 14:59:33 +08:00
Khor Shu Heng 0b193e1606
feat: add endpoint for getting page view collab (#831) 2024-09-18 12:56:34 +08:00
Zack Fu Zi Xiang 143557e29c
fix: tests 2024-09-17 22:47:14 +08:00
Zack Fu Zi Xiang 62980a780e
fix: view id 2024-09-17 14:58:36 +08:00
Zack Fu Zi Xiang 0c1cdbed7a
fix: self referencing database 2024-09-17 10:18:47 +08:00
Zack Fu Zi Xiang 4345f8b2a5
chore: merge with main 2024-09-16 10:55:14 +08:00
Zack Fu Zi Xiang 4b59574392
chore: add specific error code for wrong invitee 2024-09-13 21:02:09 +08:00
Zack Fu Zi Xiang 78353f751f
Merge branch 'main' into feat/workspace-invite-fields 2024-09-13 19:23:45 +08:00
Nathan.fooo a4b885e13b
chore: set exp time for collab base on collab type (#820)
* chore: set exp time for collab base on collab type

* chore: fix test
2024-09-13 19:04:56 +08:00
Zack Fu Zi Xiang 11cdc862f2
feat: additional fields for workspace invitation 2024-09-13 17:43:10 +08:00
Zack Fu Zi Xiang 87ef341724
Merge branch 'main' into feat/dup-refactor 2024-09-13 14:51:40 +08:00
Zack Fu Zi Xiang 0fd23d0b9f
chore: fix tests 2024-09-13 12:19:07 +08:00
Zack Fu Zi Xiang adb9acf799
Merge branch 'main' into feat/workspace-invite-get 2024-09-13 09:25:07 +08:00
Zack Fu Zi Xiang 8dc606e68e
Merge branch 'main' into feat/dup-refactor 2024-09-12 21:18:22 +08:00
Zack Fu Zi Xiang ab715aff7a
chore: add appflowy web url config 2024-09-12 16:55:34 +08:00
Zack Fu Zi Xiang e33db6d8f7
chore: check status instead of workspace id 2024-09-12 15:12:57 +08:00
Zack Fu Zi Xiang f25066f51f
feat: add get invitation by id 2024-09-12 15:10:48 +08:00
khorshuheng c686aa91a6 feat: add retrieve sections endpoints 2024-09-12 13:02:14 +08:00
Zack Fu Zi Xiang 922418b122
chore: merge with main 2024-09-12 10:09:42 +08:00
Zack Fu Zi Xiang 306faad11e
feat: use database row body 2024-09-12 01:13:07 +08:00
Khor Shu Heng 57a30817fe
Merge pull request #811 from AppFlowy-IO/add-is-published-to-folder-struct
feat: add additional fields to FolderView and support different root id
2024-09-11 23:23:37 +08:00
khorshuheng a97c1fbf1b feat: add additional folder view fields, allow different root id, filter invalid view 2024-09-11 17:37:55 +08:00
Zack Fu Zi Xiang cff144a857
chore: add test for duplicating doc in database row 2024-09-11 16:38:24 +08:00
Nathan.fooo 7cd88b7502
fix: batch create collab api endpoint might cause tokio runtime issue (#810)
* fix: batch create collab api endpoint might cause tokio runtime issue

* chore: remove test

* chore: clippy
2024-09-11 11:32:42 +08:00
Nathan.fooo 07d6001cf8
chore: check before write to hisotry (#809)
* chore: check before write to hisotry

* chore: clippy

* chore: clippy

* chore: calculate edit count

* chore: clippy

* chore: exit loop

* chore: exit loop

* chore: update log
2024-09-10 22:10:59 +08:00
Zack Fu Zi Xiang 9337b4aa90
chore: use database body for getting database id 2024-09-10 19:28:21 +08:00
Zack Fu Zi Xiang 3c90395d46
Merge branch 'main' into feat/duplicate-relation 2024-09-10 14:42:57 +08:00
Zack Fu Zi Xiang f7244f1217
chore: use database body for tests 2024-09-10 13:12:03 +08:00
Nathan.fooo e742a9039a
chore: bump collab version (#807) 2024-09-10 11:18:20 +08:00
Zack Fu Zi Xiang 0dbd8fd633
chore: merge with main 2024-09-09 19:27:45 +08:00
Nathan.fooo 3f59c650f4
chore: bump appflowy collab (#805)
* chore: bump appflowy collab

* chore: fix test

* chore: bump collab
2024-09-09 18:50:47 +08:00
Zack Fu Zi Xiang d1635cb99c
chore: add test 2024-09-06 15:30:28 +08:00
Nathan.fooo 5d356718fa
fix: using spawn_blocking in order to not block the runtime (#793)
* fix: using blocking in order to not block the runtime

* chore: increase deps count
2024-09-05 09:19:34 +08:00
Zack Fu Zi Xiang 6d0a7cc95b
fix: delete user should only remove owned workspaces 2024-09-04 12:00:34 +08:00
Zack Fu Zi Xiang e1fc5f230e
chore: add test for doc with embedded grid 2024-09-04 00:45:01 +08:00
Nathan.fooo 5b5e561afb
chore: decode file url (#786) 2024-09-03 21:30:33 +08:00
Zack Fu Zi Xiang 7980bb04c5
chore: merge with main 2024-09-03 09:43:14 +08:00
Zack 826546c5cb
feat: duplicate published doc (#700)
* chore: test collab sync

* feat: folder view for user workspace

* feat: add private indicator

* chore: use collab cache instead

* chore: initial impl

* chore: cargo sqlx

* fix: write back to collab cache

* fix: assign page id

* fix: text map

* chore: connect api and refactor

* chore: switch to using mem storage

* fix: collab type

* feat: use group manager to manage sync

* feat: try add send command instead

* chore: add client api code

* feat: try use sink and stream from group collab

* chore: disable sync first

* fix: insert page before stopping group

* feat: add extra for view

* feat: add metadata to doc

* fix: icon

* fix: page circular dep

* fix: page circular dep

* fix: live update

* feat: database initial impl

* feat: workspace database

* chore: link database

* fix: database validation

* fix: workspace database oid

* fix: workspace database oid

* fix: specify view layout

* feat: add txn when inserting collab and rework database views

* fix: parent view id for new database

* fix: database view for folder

* fix: database ids

* fix: database row id

* fix: main database layout and write database before folder

* fix: metadata for non database main view

* chore: database in doc wip

* chore: filter visible views

* chore: use structure value instead of json

* chore: database in doc wip

* fix: remove child item push

* fix: main database view meta

* chore: rework inline database in doc

* fix: make duplicate more error forgiving

* chore: use get instead of get key value

* chore: merge with main

* feat: set max depth for folder view

* chore: update dependency counter

* chore: remove unneeded arg

* chore: simplify collab new from source

* chore: remove unneeded param

* chore: rename and doc

* feat: rework inline database and use duplicated ref

* chore: simplify params

* chore: fmt

* feat: deduplicate database wip

* fix: compatible with newer appflowy version

* fix: database views

* feat: database in doc

* chore: cargo clippy

* chore: update dockerfile rust toolchain

* fix: doc inline db parent id

* fix: database id

* fix: document data modification

* chore: minor refactor and todo

* chore: remove unneeded nesting

* fix: enforce ordering for views to add

* chore: add doc and test case for folder view

* fix: remove the need for cloning published collab

* fix: some review

* chore: move folder conversion logic

* fix: remove collab folder deps on shared entity

* chore: cargo fmt

* fix: compile

* chore: remove group manager dependency

* fix: dep count

* fix: add messages sent by server

* fix: dep count

* chore: add test for doc ref and inline doc database

* chore: cargo clippy

* chore: add more test scenarios

* chore: fix tests

* chore: get database id

* chore: update collab

* chore: add more assert and database row id checks

* fix: suggestions from review

* chore: sqlx

* fix: accumulate collab before insert

* chore: add tokio spawn blocking for encoding

* fix: reduce limit for publish collabs

---------

Co-authored-by: Bartosz Sypytkowski <b.sypytkowski@gmail.com>
Co-authored-by: nathan <nathan@appflowy.io>
2024-09-03 09:12:29 +08:00
Lucas.Xu cf1bae3ccb
chore: update getting_started icon and remove empty paragraph (#778)
* chore: update getting_started icon and remove empty paragraph

* fix: get_user_default_workspace test
2024-09-03 09:02:27 +08:00
Zack Fu Zi Xiang 6acaf69add
Merge branch 'main' into feat/delete-user 2024-09-03 02:24:58 +08:00