Commit Graph

585 Commits

Author SHA1 Message Date
Nathan.fooo 0062c95067
chore: update ai config (#707) 2024-07-28 22:43:47 +08:00
Khor Shu Heng 62f32e8757 feat: return user struct instead of uuid for reaction 2024-07-27 12:55:07 +08:00
Khor Shu Heng b861f0a703 feat: endpoints for reactions on published view 2024-07-26 22:56:47 +08:00
Khor Shu Heng 122520e9f4 fix: order comments by recency 2024-07-26 16:28:35 +08:00
Zack 762e558d72
Merge pull request #702 from AppFlowy-IO/workspace-member-count
feat: improve workspace api
2024-07-26 13:35:11 +08:00
Nathan.fooo 505c11ff35
chore: update local ai endpoint (#704) 2024-07-26 11:08:08 +08:00
Zack Fu Zi Xiang fc62a079c0
chore: merge with main 2024-07-25 21:05:29 +08:00
Khor Shu Heng 69a6ac48c8 chore: use struct instead of tuple struct for GlobalComments 2024-07-25 16:09:26 +08:00
Khor Shu Heng f71ac07ae7 chore: rename GlobalCommentCreator to AFWebUser to allow potential reuse 2024-07-25 14:39:02 +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 c2a839ba8b
chore: add bytes stream error check (#697) 2024-07-22 14:04:25 +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 37a8b9bfc7
chore: add recurring interval 2024-07-19 22:43:21 +08:00
Zack Fu Zi Xiang 5a8c1daf31
chore: add shared entitity subscription plan detail 2024-07-19 21:58:40 +08:00
Zack Fu Zi Xiang 4987884b58
chore: support cancellation reason 2024-07-17 12:24:20 +08:00
Nathan.fooo 53cbe992bf
chore: remove local ai model type (#692) 2024-07-16 22:14:04 +08:00
Zack 82bbee19a5
Merge pull request #691 from AppFlowy-IO/fix-user-creation-deadlock-2
Fix user creation deadlock 2
2024-07-16 10:44:15 +08:00
Zack Fu Zi Xiang d47edf2774
chore: add mutex for test concurrent admin sign in 2024-07-16 10:09:31 +08:00
Bartosz Sypytkowski a8ed5be8d0 fix: cargo fmt 2024-07-15 19:21:10 +02:00
Bartosz Sypytkowski f5ca71e701 chore: remove pg advisory lock 2024-07-15 19:09:26 +02: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 e626917d71
chore: add billing cancellation request 2024-07-14 00:49:57 +08:00
Zack Fu Zi Xiang e0e7950ae1
chore: add try from for subscription plan 2024-07-10 18:54:39 +08:00
Zack Fu Zi Xiang 549e0ac9d7
chore: use more consistent names from stripe 2024-07-10 18:41:18 +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 f223d278b7
Merge branch 'main' into billing-support 2024-07-10 12:12:34 +08:00
Bartosz Sypytkowski 44406ccdae
chore: update yrs and appflowy-collab (#677)
* chore: update yrs and appflowy-collab

* chore: remove wasm compilation target

* chore: fixed number conversion in tests

* chore: remove wasm integration tests

---------

Co-authored-by: nathan <nathan@appflowy.io>
2024-07-10 10:10:07 +08:00
Zack Fu Zi Xiang cba2248132
chore: add clone 2024-07-09 14:42:44 +08:00
Zack Fu Zi Xiang 95b314d97e
chore: support into trait for subscription plan and recurring interval 2024-07-09 13:28:39 +08:00
Zack Fu Zi Xiang 9c3529f0ca
chore: support into trait for subscription plan and recurring interval 2024-07-09 13:23:15 +08:00
Zack Fu Zi Xiang 8b5a803d44
chore: trait support for plan and recurring interval 2024-07-09 13:07:39 +08:00
Zack Fu Zi Xiang e1e6ad0e95
chore: add from trait for subscription plan 2024-07-09 13:01:20 +08:00
Zack Fu Zi Xiang 23d1c2433b
chore: fix naming consistency 2024-07-08 14:50:52 +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
Zack Fu Zi Xiang d9b668fab0
chore: add ai response limit service error code 2024-07-03 00:34:33 +08:00
Nathan.fooo c0bc7020d9
fix: return ai stream error when service unavailable (#673) 2024-07-02 13:24:40 +08:00
Bartosz Sypytkowski 117612415f fix: make collab params deserialize from older version 2024-07-01 12:03:59 +02:00
Zack Fu Zi Xiang d06dbadc05
fix: update publish collab 2024-06-29 13:50:56 +08:00
Zack Fu Zi Xiang 395486adc3
fix: fix various publish issues 2024-06-29 11:23:23 +08:00
Bartosz Sypytkowski 71899ec792 chore: disabling indexing on workspace prunes collab embeddings 2024-06-28 09:09:18 +02:00
Bartosz Sypytkowski 6c0f4985c3
Merge pull request #645 from AppFlowy-IO/merge-indexer-collaborate
Merge indexer collaborate
2024-06-28 07:48:32 +02:00
Nathan.fooo 9884d93aa2
chore: rename function and add docs (#663) 2024-06-28 13:43:58 +08:00
Bartosz Sypytkowski 2f37f621b2 fix: collab update violating primary key 2024-06-28 07:11:33 +02:00
Bartosz Sypytkowski 9ea085d6db chore: fix cargo formatting 2024-06-28 05:40:44 +02:00
Bartosz Sypytkowski 95912e266c fix: add types removed after rebase 2024-06-28 05:40:44 +02:00
Bartosz Sypytkowski b79fe41af3 chore: moving embeddings into collabparams 2024-06-28 05:39:56 +02:00
Bartosz Sypytkowski b1ebbecc5f chore: moving appflowy indexer into appflowy cloud 2024-06-28 05:39:53 +02:00
Bartosz Sypytkowski b978033c77 fix: make search results visible for members 2024-06-26 13:03:11 +02:00
Nathan.fooo 1a22813113
chore: stop indexing when stream is not exist (#652) 2024-06-26 14:24:23 +08:00
Bartosz Sypytkowski 6592f00a20 chore: change query to use workspace directly 2024-06-25 08:07:32 +02:00
Bartosz Sypytkowski 2ff2a77465 fix: do not throw errors if indexer found document before workspace was created 2024-06-25 07:30:48 +02:00
Bartosz Sypytkowski ef27a148b9 chore: rename workspace settings disable indexing to disable search indexing in database queries 2024-06-24 10:54:42 +02: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 6262816043 chore: remove unused deps in appflowy-ai-client 2024-06-19 13:11:07 +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
Bartosz Sypytkowski 9ea4de06fd
Merge pull request #630 from AppFlowy-IO/track-ai-responses
chore: change open ai token tracking to daily basis
2024-06-18 10:04:04 +02:00
Zack 0bf33efe02
Merge pull request #629 from AppFlowy-IO/feat/publish-document
Feat/publish document
2024-06-18 14:31:17 +08:00
Bartosz Sypytkowski 9ca904f943 chore: change open ai token tracking to daily basis 2024-06-18 06:53:39 +02: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
nathan f0a32330b2 chore: fix clippy 2024-06-17 22:08:02 +08:00
nathan 5bc39729a7 chore: implement embedding api endpoint 2024-06-17 22:06:58 +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
Zack Fu Zi Xiang 233b757698
feat: add published endpoints 2024-06-15 21:47:11 +08:00
Zack Fu Zi Xiang 2ab59e79a3
feat: get published collab meta data 2024-06-15 21:20:59 +08:00