Commit Graph

439 Commits

Author SHA1 Message Date
Nathan.fooo 1ccff73e49
chore: bump appflowy collab (#814)
* chore: bump appflowy collab

* chore: fix build
2024-09-12 00:28:26 +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
Nathan.fooo cbad6f22be
chore: use rayon to do compression on client api (#813)
* chore: use rayon to do compression on client api

* chore: update client deps
2024-09-11 21:47:14 +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
nathan 886376e8bd chore: update client api log 2024-09-04 22:02:37 +08:00
Nathan.fooo 5b5e561afb
chore: decode file url (#786) 2024-09-03 21:30:33 +08:00
Zack Fu Zi Xiang 292740ec58
fix: compile for release mode 2024-09-03 17:21:39 +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
Zack Fu Zi Xiang fd22e1d472
chore: preserve provider token 2024-09-02 21:13:33 +08:00
Zack Fu Zi Xiang 25cec9982f
chore: revoke for apple user 2024-09-02 17:25:21 +08:00
Zack Fu Zi Xiang 1b7f3f817c
Merge branch 'main' into feat/delete-user 2024-09-01 00:51:38 +08:00
Zack Fu Zi Xiang 06a5a22032
feat: delete user 2024-09-01 00:51:05 +08:00
Bartosz Sypytkowski 6972f9c4ab
feat: Measure sync (#772)
* chore: redesign collab sync protocol to enable injection of metric tracking

* chore: track metrics for apply update on the server side

* chore: close locks

* chore: post rebase fixes
2024-08-30 21:48:19 +08:00
Nathan.fooo 773efcd91a
chore: increase chat timeout (#768) 2024-08-30 09:37:22 +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 c9504d4081
fix: invalid message id (#762)
* chore: add logs

* chore: remove all pending message when server missing update
2024-08-28 21:05:15 +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 c8ee6b43ee
chore: try to fix inifinite sync (#756) 2024-08-27 16:41:19 +08:00
Nathan.fooo a21c55cbcc
chore: modify log level for some cases (#754)
* chore: modify log level for some cases

* chore: update logs
2024-08-27 14:57:00 +08:00
Bartosz Sypytkowski 15b2e81579
chore: enable setting up periodic sync step 1 sends from sync plugin (#738)
* chore: enable setting up periodic sync step 1 sends from sync plugin

* chore: rollback to server sending sync step 1 to response to the client

* chore: increase sync step 1 interval in tests
2024-08-27 11:55:27 +08:00
Nathan.fooo 8cc410ce65
chore: revamp get collab api request (#752)
* chore: stop retry if record is not found
2024-08-26 23:41:06 +08:00
Zack 2213132e21
Merge pull request #727 from AppFlowy-IO/create-sub-params
Create sub params
2024-08-23 16:12:00 +08:00
Nathan.fooo 50e6a41513
chore: enenforce client version (#740) 2024-08-23 11:05:53 +08:00
Nathan.fooo 1a053172c2
chore: write collab to disk after first sync step2 (#739)
* chore: write collab to disk after first sync step2

* chore: clippy

* chore: fix test & disable history plugin

* chore: upgrade appflowy collab that disbale document undo redo
2024-08-22 23:11:20 +08:00
Bartosz Sypytkowski ae3833ea91
chore: Remove last sync at (#735)
* chore: remove last sync at field

* chore: post rebase fixes

* chore: update test for missing update detection
2024-08-22 07:47:01 +08:00
Khor Shu Heng 9c8e718246
feat: Template CRUD Endpoint (#731)
* feat: template crud endpoint

* fix: clippy error

* fix: categories for related view

* fix: add created at and last updated at to template response

* feat: template api delete endpoint

* feat: include number of template count for template creator

* fix: use params instead of individual fields for template api

* fix: seach template creator by name query

* chore: simplify query

* feat: support template count limit for template homepage
2024-08-20 15:22:56 +08:00
khorshuheng 48b912d6cc fix: use params directly for api that requires too many args 2024-08-19 12:51:39 +08:00
khorshuheng 63bee6f545 Merge branch 'main' into template-category-api 2024-08-19 12:41:08 +08:00
Zack Fu Zi Xiang 8c20218e87
chore: use string instead 2024-08-16 11:29:46 +08:00
Zack Fu Zi Xiang 77da2380f7
chore: create subscription new version 2024-08-16 11:04:06 +08:00
Zack Fu Zi Xiang 87083d503a
feat: add subscription free trial 2024-08-16 10:51:59 +08:00
Zack Fu Zi Xiang fe0667ed20
feat: use subscription req struct 2024-08-16 10:40:26 +08:00
Bartosz Sypytkowski d503905931 chore: make sync plugin work over any collab type without generics 2024-08-14 14:42:12 +02:00
khorshuheng 59e5a13ee4 fix: replace rank with priority 2024-08-14 14:17:21 +08:00
khorshuheng fc56654e61 chore: use UUID value instead of ref for func arg as UUID implements Copy 2024-08-14 13:26:36 +08:00
Bartosz Sypytkowski 66838c47e3 chore: make collab plugins work over generic collab providers 2024-08-13 19:59:48 +02:00
Bartosz Sypytkowski ef860c2d5a chore: fix cargo fmt and clippy errors 2024-08-13 19:59:48 +02:00
Bartosz Sypytkowski c27866fb25 chore: upgrade code to use asynchronous locks 2024-08-13 19:59:46 +02:00
Nathan.fooo 71d292ebcd
chore: add app version when querying ai configuratino (#724)
* chore: update api endpoint that accepts app version

* chore: update env

* chore: disable locai ai config test
2024-08-13 11:14:32 +08:00
khorshuheng f6e78a941f feat: api endpoint for template categories and creators 2024-08-12 13:43:14 +08:00
Nathan.fooo d27a0cf204
chore: disable pdf option (#719)
* chore: disable pdf option

* chore: reanme
2024-08-08 23:56:33 +08:00
Nathan.fooo a371912c61
chore: enable chat with provided context (#713)
* chore: enable chat with provided context

* chore: rename

* chore: update create chat message api endpoint

* chore: use list context

* chore: use list context

* chore: fix test

* chore: update api endpoint

* chore: rename client api function

* chore: rename client api function

* chore: expose entity

* chore: update sqlx files

* chore: update test
2024-08-05 14:06:44 +08:00
Khor Shu Heng ff7de66dfa feat: add can be deleted field to GlobalComment 2024-07-29 19:32:16 +08:00
khorshuheng b6c9f541e2 fix: delete reaction from comment SQL query should be based on comment id, not view id 2024-07-29 14:47:33 +08:00
khorshuheng ea8ca36b5b fix: share query param struct for api client and server 2024-07-29 11:36:38 +08:00
Khor Shu Heng b861f0a703 feat: endpoints for reactions on published view 2024-07-26 22:56:47 +08:00
Zack Fu Zi Xiang fc62a079c0
chore: merge with main 2024-07-25 21:05:29 +08:00
Khor Shu Heng f535950643 feat: add database operations for publish comment crd 2024-07-25 13:32:43 +08:00
Khor Shu Heng 6eea93d774 feat: add create, retrieve, delete API for publish view global comment 2024-07-25 13:32:43 +08:00
Zack Fu Zi Xiang 11c1521b71
feat: improve workspace api 2024-07-25 04:19:40 +08:00
Kilu.He 47f87cee1c
feat: support publish interfaces for wasm (#654)
* feat: support publish interfaces for wasm

* fix: fmt

* feat: support sign in with url
2024-07-23 17:47:21 +08:00
Zack Fu Zi Xiang 61be7fd46c
chore: fix method 2024-07-19 23:19:00 +08:00
Zack Fu Zi Xiang bacb7c4ae6
chore: add get subscription plan details 2024-07-19 23:10:06 +08:00
Zack Fu Zi Xiang 2a145c2f8c
fix: missing payload 2024-07-15 11:37:56 +08:00
Zack Fu Zi Xiang fdc7055b76
Merge branch 'main' into billing-support-3 2024-07-15 09:22:13 +08:00
Nathan.fooo eebdbcad79
chore: add api endpoint for local ai config (#678)
* chore: add api endpoint for local ai config

* chore: fix ci

* chore: api endpoint for download local ai config

* chore: update ci

* chore: ensure client version

* chore: update test
2024-07-15 08:30:11 +08:00
Zack Fu Zi Xiang e9bdceec14
chore: billing api recurring interval 2024-07-15 00:28:45 +08:00
Zack Fu Zi Xiang 8186b3836b
chore: update api for cancel request 2024-07-14 01:12:53 +08:00
Zack Fu Zi Xiang 013653bc66
chore: improve billing api 2024-07-10 16:12:26 +08:00
Zack Fu Zi Xiang 4623077cdd
chore: add method to query status only for a workspace 2024-07-10 13:52:50 +08:00
Zack Fu Zi Xiang 8a2ba59ce8
chore: add more param for plan cancellation 2024-07-08 01:27:41 +08:00
Zack Fu Zi Xiang 430fbf845a
chore: update usage and limits api 2024-07-07 15:55:10 +08:00
Zack Fu Zi Xiang b77ac38ea3
chore: add http api for usage and limit 2024-07-06 23:33:49 +08:00
Zack Fu Zi Xiang a41344fbae
chore: configurable base billing url 2024-07-06 16:52:31 +08:00
Nathan.fooo 9884d93aa2
chore: rename function and add docs (#663) 2024-06-28 13:43:58 +08:00
Khor Shu Heng 537824e82b
chore: fix clippy linting errors and warnings (#639) 2024-06-23 23:18:38 +08:00
Nathan.fooo d61524d636
chore: client api log (#644)
* chore: update logs

* chore: support stream completion
2024-06-23 21:42:01 +08:00
Nathan.fooo 72affd99e5
chore: update logs (#643) 2024-06-23 15:40:26 +08:00
Nathan.fooo e33ef45d05
feat: Integrate workspace setting (#642)
* chore: update workspace setting

* chore: update workspace setting with changes

* chore: fix test
2024-06-23 15:36:32 +08:00
Nathan.fooo c0937bfbeb
feat: support switch model (#641)
* feat: support switch model
2024-06-22 15:01:33 +08:00
Zack Fu Zi Xiang 0bf6d3bd60
feat: change doc name to publish name 2024-06-21 11:18:44 +08:00
Zack Fu Zi Xiang 0adbf132be
chore: merge with main 2024-06-20 21:15:25 +08:00
Nathan.fooo a3af38162e
chore: fix upload filem meta key by adding parent dir as prefix (#635)
* chore: fix upload filem meta key by adding parent dir as prefix

* chore: fix test
2024-06-20 21:12:28 +08:00
Zack Fu Zi Xiang 94af813b04
chore: cargo clippy 2024-06-20 18:12:49 +08:00
Zack Fu Zi Xiang 1d57c80fa6
feat: use custome async reader 2024-06-20 17:55:52 +08:00
Zack Fu Zi Xiang ab5c7bb830
fix: try without chunk headers 2024-06-20 15:05:06 +08:00
Zack Fu Zi Xiang f7fcb66c95
fix: wasm build 2024-06-20 13:15:51 +08:00
Zack Fu Zi Xiang f2f3695cfb
chore: try use stream feature flag 2024-06-20 12:32:51 +08:00
Zack Fu Zi Xiang b525e333f0
feat: batch unpublish 2024-06-20 12:05:12 +08:00
Zack Fu Zi Xiang 31f5c786a6
chore: merge with main 2024-06-20 11:20:16 +08:00
Zack Fu Zi Xiang d4dd350da1
feat: batch publish item with metadata 2024-06-20 11:15:08 +08:00
Nathan.fooo 30f87457f3
feat: support uploading file with multiple part (#625)
* refactor: replace crate

* chore: remove s3-rust crate

* chore: test multiple upload

* chore: client api

* chore: client api

* chore: v1 version upload,download

* chore: fix test

* chore: fix test

* chore: remove workspace test

* chore: fix wasm build

* chore: update path

* chore: update path

* chore: rename

* chore: expose file entity

* chore: introduce client-api-entity

* chore: fix build

* chore: new url

* chore: fix test

* chore: merge main

* chore: fix clippy
2024-06-19 13:06:58 +08:00
Zack Fu Zi Xiang 6c09839728
feat: batch metadata 2024-06-19 01:30:51 +08:00
Zack Fu Zi Xiang 09828c5eea
feat: add impl for get collab info 2024-06-18 19:07:48 +08:00
Zack Fu Zi Xiang 18e9d0abae
feat: use view id 2024-06-18 18:20:05 +08:00
Zack Fu Zi Xiang 31b3275d8d
feat: improve interface 2024-06-18 17:07:47 +08:00
Zack Fu Zi Xiang 7530d78ab6
fix: get workspace namespace 2024-06-18 12:33:52 +08:00
Zack Fu Zi Xiang 236a22ac97
fix: get workspace namespace 2024-06-18 12:32:01 +08:00
Zack Fu Zi Xiang 99fc95f33a
chore: refine api 2024-06-17 22:55:04 +08:00
Zack Fu Zi Xiang d2cb0d4486
chore: remove unneeded api 2024-06-17 21:33:36 +08:00
Zack Fu Zi Xiang ae29bbe9fe
fix: published doc alias 2024-06-17 01:07:40 +08:00
Zack Fu Zi Xiang cb74f38ac8
fix: json metadata 2024-06-16 20:41:50 +08:00
Zack Fu Zi Xiang 05b284f7e7
feat: client code for namespace changes 2024-06-16 14:06:04 +08:00
Nathan.fooo 430e3e15c9
fix: chat stream (#620)
* chore: fix chat stream
2024-06-13 22:46:49 +08:00
Zack 9d3d28ad89
chore: move billing to client api http (#619) 2024-06-13 14:38:58 +08:00
Bartosz Sypytkowski 0109597330
Merge pull request #613 from AppFlowy-IO/normalize-paths
chore: normalize URL paths in appflowy collab server
2024-06-12 08:13:05 +02:00
Nathan.fooo ff4384fbd0
feat: translate api endpoint (#612)
* chore: support translate

* chore: support translate

* chore: update endpoint structs
2024-06-12 12:37:11 +08:00
Bartosz Sypytkowski 3721d209f2 chore: normalize URL paths in appflowy collab server 2024-06-12 06:21:56 +02:00
Nathan.fooo d0467e7e2e
feat: Stream chat message (#610)
* chore: test stream

* chore: fix test

* chore: fix test

* chore: add log

* chore: fix parsing

* chore: fix parsing

* chore: fix parsing

* chore: create answer

* chore: create answer
2024-06-08 22:51:19 +08:00
Bartosz Sypytkowski b52369de7f
feat: add workspace settings with disable indexing option (#606)
* feat: add workspace settings with disable indexing option

* chore: added api workspace settings endpoint

* chore: add workspace settings read and write to client api

* chore: add tests for workspace settings client api

* fix: enforce authorization rules on workspace settings api

* chore: fix appflowy indexer test configuration

* chore: add dotenvy to appflowy indexer tests

* chore: override appflowy indexer env vars for tests

* chore: add appflowy indexer preindex env var
2024-06-06 09:26:21 +08:00
Nathan.fooo 3f55cea9ca
chore: using json stream to deserialize data (#605)
* chore: update log

* chore: use json stream

* chore: use json stream

* chore: fix compile

* chore: fix compile
2024-06-04 22:42:27 +08:00
Nathan.fooo b36715dc24
chore: generate answer manually (#594)
* chore: generate answer manually

* chore: rename

* chore: return reply message id

* chore: save message

* chore: commit schema files
2024-06-03 08:06:23 +08:00
Nathan.fooo 1cc5b58254
chore: update client api (#593) 2024-06-02 20:20:14 +08:00
Mathias Mogensen 06272364b7
feat: get workspace member by user id (#588)
* feat: get workspace member by user id

* chore: remove unneccessary arg
2024-05-30 07:50:58 +08:00
Bartosz Sypytkowski d3e59fa801
feat: Appflowy-indexer service and /api/search endpoint (#582)
* feat: implement appflowy-indexer and search api endpoint

* chore: store embedding content type

* chore: more descriptive messages for open ai missing key

* chore: fix sqlx errors in tests

* chore: document watcher - change plain text rendering to use depth-first scan

* chore: added nested document blocks example
2024-05-28 21:09:29 +08:00
Nathan.fooo 559d924cd1
feat: stream chat message (#577)
* chore: save author id

* chore: stream response

* chore: stream chat message
2024-05-26 22:44:08 +08:00
Nathan.fooo ae3e075475
chore: Integrate with client-api, update chat message (#574)
* chore: update

* chore: get chat message with next back option

* chore: update next back

* chore: return answer

* chore: return answer

* chore: return answer

* chore: update client api

* chore: fix ci
2024-05-24 15:04:50 +08:00
Nathan.fooo 4eb1e6bceb
chore: generate history using redis steam (#570)
* chore: combine test

* chore: add snapshot test

* chore: add test
2024-05-23 07:57:20 +08:00
Nathan.fooo 05e7f1cda7
Integrate ai chat (#569)
* chore: fix compile

* chore: implement client api

* chore: implement client api

* chore: clippy
2024-05-22 11:18:07 +08:00
Nathan.fooo 5f126375ed
chore: separate client api (#567) 2024-05-21 12:20:15 +08:00
Kilu.He 27cb3d01d5
feat: add get user workspace (#526)
* feat: add get user workspace

* feat: support batch get collab

* fix: decode batch collab

* fix: modified the method of batch_get_collab to post

* fix: modified a private function for batch collab

* fix: warning
2024-05-21 10:08:09 +08:00
Nathan.fooo 2fae260e4f
chore: complete text endpoints (#557)
* chore: complete text endpoints
2024-05-16 22:48:44 +08:00
Nathan.fooo 4c00ddd593
chore: Chat history (#546)
* chore: imple sql curd

* chore: update chat

* chore: select messages

* chore: update test

* chore: update schema

* chore: update
2024-05-11 20:41:21 +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
Bartosz Sypytkowski 47e6f1e8b1
Update Yrs and AppFlowy-Collab (#518)
* chore: updated collab dependencies to v0.2

* chore: update collab to v0.2 and yrs to v0.18

* chore: pinned collab to specific revision

* chore: fix clippy errors

* chore: update commit id

---------

Co-authored-by: nathan <nathan@appflowy.io>
2024-05-06 11:30:02 +08:00
Nathan.fooo 5bebc6a2b2
chore: Integrate appflowy ai (#504)
* chore: remove client api

* chore: add summarize row test

* chore: merge main

* chore: fix ci

* chore: update docker compose file
2024-04-29 22:23:40 +08:00
Nathan.fooo 7b4b9d0c10
chore: folder data check (#496)
* chore: folder data check

* chore: stop observe remote change when specific type of collaboration object override with incorrect data

* chore: commit sqlx file
2024-04-26 13:20:06 +08:00
Nathan.fooo 54dfeb5527
chore: stop retry when current plugin is going to destory (#495) 2024-04-25 20:27:11 +08:00
Nathan.fooo a0593b5502
chore: refactor return response with object id (#494)
* chore: refactor return response with object id

* chore: fix ci

* chore: fix ci
2024-04-24 12:07:54 +08:00
Nathan.fooo 5f970a625a
chore: use rust 1.77 (#493) 2024-04-24 10:47:18 +08:00
Nathan.fooo 842e3d14e5
chore: remove collab state check (#487)
* chore: remove collab ping

* chore: fix tst

* chore: cacel previous actiont
2024-04-22 11:56:22 +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 0de64f4f71
chore: enable multiple thread of collab-rt crate (#484) 2024-04-21 19:09:16 +08:00
Nathan.fooo 1515ccdb80
chore: fix encode message (#482) 2024-04-21 14:23:31 +08:00
Nathan.fooo 123484c864
chore: sync missing update from vector (#481) 2024-04-20 20:50:16 +08:00
Nathan.fooo 9e1c06a5af
chore: update log (#480) 2024-04-20 10:53:35 +08:00
Nathan.fooo 4d36f7e9e6
chore: fix potential sync issue (#474)
* chore: retry for handle message

* chore: retry when tring to lock the collab
2024-04-16 20:07:47 +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
Kilu.He 5041f9f164
feat: support subscribe token (#464)
* feat: support subscribe token

* feat: support get collab

* feat: support browser rule for get collab

* fix: update collab version
2024-04-15 14:46:30 +08:00
Zack 9a5636caec
chore: get collab http (#463)
* chore: get collab http

* fix: use correct version

* fix: collab url

* feat: update collab access control middleware
2024-04-12 11:08:38 +08:00
Lucas.Xu 85ac96a24b chore: add comment for sign_in_with_magic_link 2024-04-10 11:07:14 +08:00
Lucas.Xu 09469e86ca feat: expose magic link api 2024-04-10 10:15:50 +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 4c00236069 chore: enable logs in client api 2024-04-07 16:31:56 +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.fooo 01f1af98f5
chore: wrapper for collab (#448)
* chore: wrapper for collab

* chore: add tests

* chore: fix audit

* chore: init sync

* chore: disable wasm user test

* chore: disable encode state when start

* chore: fix test
2024-04-05 11:30:00 +08:00
nathan aa4df32f6d chore: update logs 2024-04-04 09:47:40 +08:00
Zack Fu Zi Xiang 8e27e94804
chore: replace test using invite and accept workspace 2024-04-04 00:03:36 +08:00
Nathan.fooo c77329ea11
chore: encode collab with validate check (#439)
* chore: bump collab

* chore: fix test

* chore: fix test
2024-04-03 09:07:35 +08:00
Nathan.fooo 12d72fa233
chore: client api init sync (#438)
* chore: implement init sync for sync plugin

* chore: bump collab

* chore: bump collab

* chore: fix test
2024-04-02 23:08:15 +08:00
nathan 1101c9d72a chore: update logs 2024-04-02 20:10:22 +08:00
Nathan.fooo fbadca759a
chore: retry with exponentail back off (#437) 2024-04-02 09:24:23 +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 5a06cb3278
feat: get collab retry (#434)
* chore: retry when fetch collab doc state

* chore: fix test

* chore: disable log

* chore: fix client api build

* chore: log

* chore: try invite and acccept

* chore: add todo

* chore: update ci
2024-04-01 09:39:02 +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 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