Commit Graph

595 Commits

Author SHA1 Message Date
Nathan.fooo 5278203394
chore: decode update when spawn blocking when update size exceeds the… (#769)
* chore: decode update when spawn blocking when update size exceeds the threshold size

* chore: use 1mb as threshold
2024-08-30 11:30:15 +08:00
Nathan.fooo 773efcd91a
chore: increase chat timeout (#768) 2024-08-30 09:37:22 +08:00
Nathan.fooo 54b811125e
chore: wrap spawn blocking when decoding collab (#767) 2024-08-29 22:53:33 +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
Lucas.Xu e7bf221ff0
feat: update built-in README for new users (#757)
* feat: add getting_started, desktop_guide and mobile_guide json

* feat: update built-in readme data

* feat: support adding database as template

* feat: support creating nested documents

* chore: refactor code

* chore: refactor code

* chore: remove println

* chore: update collab version

* feat: update built-in readme and image ref

* chore: remove template icon

* feat: use database::create_with_view to create collab

* chore: add template tests

* chore: update collab version

* chore: remove debug code

* chore: add comment

* chore: fix lint & test

* fix: code review

* fix: rust lint

* chore: update comment

* test: add default workspace test

* test: add default user workspace test

* chore: use workspace database body

* chore: fix typo and clippy

* fix: insert_folder_data_success test

* fix: insert_folder_data_success test

* feat: update content in gettting_started

* chore: update to-dos json

---------

Co-authored-by: nathan <nathan@appflowy.io>
2024-08-28 19:40:23 +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
Bartosz Sypytkowski 5badffc97b
chore: update yrs and appflowy collab (#759)
* chore: update yrs and appflowy collab

* chore: increased allowed number of dependencies
2024-08-27 19:58:58 +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
Zack Fu Zi Xiang 66f74f2e4b
Merge branch 'main' into gotrue-2.159.0 2024-08-27 12:55:31 +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
Zack Fu Zi Xiang 96e1463b39
fix: compatibility error 2024-08-27 11:36:51 +08:00
Zack Fu Zi Xiang eb74e095b5
fix: update for later version of gotrue 2024-08-27 10:15:20 +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 Fu Zi Xiang 6adf8f0fb2
chore: add single upload limit 2024-08-26 15:02:35 +08:00
Khor Shu Heng 52f33e4d85
feat: endpoint for avatar upload (#736) 2024-08-23 16:36:09 +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
Zack Fu Zi Xiang 3cd1ff66f4
chore: add single upload limit 2024-08-23 13:54:01 +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 2f0a705e16 fix: update updated_at fields when updating template creator and category 2024-08-19 13:06:30 +08:00
khorshuheng 0c31191586 fix: improve query indentation for template creator sqlx 2024-08-19 12:54:05 +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
nathan 2d7a4bde92 Merge branch 'main' into no-lock-collab 2024-08-19 10:38:07 +08:00
Nathan.fooo d342039cfd
chore: create user awareness when creating a new user (#728)
* chore: create user awareness when creating a new user

* chore: fix client api compile
2024-08-16 16:05:15 +08:00
khorshuheng 3481dab2bf fix: sorting order of template category and creator 2024-08-16 14:26:04 +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 f2fa4d7c22 chore: post rebase fixes 2024-08-14 05:26:38 +02:00
Bartosz Sypytkowski 66838c47e3 chore: make collab plugins work over generic collab providers 2024-08-13 19:59:48 +02:00
Bartosz Sypytkowski 320d62f46c chore: change awareness emit to trigger on update instead of on change 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 73127fb886
chore: shorten group lifetime (#726) 2024-08-13 16:20:06 +08: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
Nathan.fooo 7878a018a1
chore: Update index content api (#723)
* chore: support index pdf file

* chore: fix compile

* chore: fix test
2024-08-12 15:10:49 +08:00
khorshuheng f6e78a941f feat: api endpoint for template categories and creators 2024-08-12 13:43:14 +08:00
Khor Shu Heng ea27e87103
feat: support avatar url for publish comment and reaction endpoint (#711)
* chore: update sqlx to 0.8

* feat: support avatar url for publish comment and reaction

* chore: simplify reactions and comments ops using query as
2024-08-08 23:58:28 +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 0b3949152b
feat: support chat with markdown (#718)
* chore: store metatdata

* chore: support markdown

* chore: update test
2024-08-08 13:19:19 +08:00
Khor Shu Heng bb1c93b98a
chore: replace bincode serialization with protobuf for collab stream (#715) 2024-08-05 23:44:34 +08:00