Commit Graph

585 Commits

Author SHA1 Message Date
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
Khor Shu Heng 21bbfa828e
chore: update sqlx to 0.8 (#710)
* chore: update sqlx to 0.8

* fix: handle potential encoding error during add args

* chore: more description for SqlxArgEncodingError
2024-08-05 23:44:11 +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 3b389d7911
fix: impose character limits on comment (#712) 2024-08-01 12:00:59 +08:00
Khor Shu Heng ca6490c1ac
feat: deserialization for entities used in collab stream (#682) 2024-07-30 17:08:48 +08:00
Khor Shu Heng ff7de66dfa feat: add can be deleted field to GlobalComment 2024-07-29 19:32:16 +08:00
khorshuheng 230358fd2f fix: rename uid to uuid in AFWebUser struct for clarity 2024-07-29 16:04:54 +08:00
khorshuheng 422683d717 fix: order reactions by reaction type first creation date 2024-07-29 16:02:03 +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
Khor Shu Heng b108325c7c
Merge pull request #703 from AppFlowy-IO/reaction-endpoint
feat: endpoints for reactions on published view
2024-07-29 12:11:14 +08:00
khorshuheng ea8ca36b5b fix: share query param struct for api client and server 2024-07-29 11:36:38 +08:00