Commit graph

55 commits

Author SHA1 Message Date
Nathan
1634d17dd4 chore: ai server error propagrate 2025-03-16 19:35:19 +08:00
Nathan.fooo
1c38cdd23f
chore: Increase timeout (#1253)
* chore: increase timeout for chat

* chore: new error code

* chore: lint
2025-02-26 16:37:07 +08:00
khorshuheng
84f529c0a0 feat: api to add block to the end of document 2025-02-20 15:34:58 +08:00
khorshuheng
20e25d5da7 chore: add better error message for get member failure 2025-02-13 10:32:19 +08:00
khorshuheng
9c4eeffca5 feat: create page with initial data 2025-02-12 16:59:35 +08:00
khorshuheng
5d8efac751 chore: simplify access control implementation 2025-02-07 21:13:45 +08:00
Nathan.fooo
4ed5b367ea
chore: return model with metedata (#1208)
* chore: return model with metedata

* chore: add error code
2025-02-03 17:05:15 +08:00
Nathan.fooo
fe6d11eb25
Appflowy ai purchase (#1205)
* chore: api endpoint

* chore: clippy

* chore: add new api endpoint

* chore: add auth

* chore: add error code
2025-01-31 10:43:35 +08:00
Nathan
4a26572a4e chore: ai image response error code 2025-01-22 02:06:43 +08:00
Nathan.fooo
1131818eb7
fix: support index document in the background, fix stack overflow when calling rayon::spawn (#1099)
* chore: batch index

* chore: format log

* chore: index workspace

* chore: fix stack overflow

* chore: background index

* chore: clippy

* chore: filter tasks

* chore: clippy

* chore: add metrics

* chore: fix test
2024-12-24 14:30:17 +08:00
Nathan.fooo
ea131f0baa
chore: map ai error code (#1090) 2024-12-19 12:58:39 +08:00
Nathan.fooo
2ab1e94b99
chore: create embed in background (#1071)
* refactor: create indexer scheduler

* refactor: replace current calls

* chore: use rayon thread pool

* chore: index unindexed collab using thread pool

* chore: index collab when write to disk

* chore: add test

* chore: add test

* chore: add test

* chore: fix client api deps

* chore: chat with document test

* chore: fix test

* chore: clippy

* chore: update test
2024-12-15 12:29:51 +08:00
Nathan.fooo
af38efe6d9
feat: sync document through http request (#1064)
* chore: query embedding

* chore: create embeddings

* chore: apply update to editing collab

* refactor: web-update

* chore: calculate missing update the sv is not none

* chore: add test

* chore: fix audit

* chore: commit sqlx

* chore: fix client api

* test: add

* chore: clippy

* chore: fix collab drop when save
2024-12-12 14:53:07 +08:00
khorshuheng
719b95b94a chore: update validator crate 2024-12-11 12:33:46 +08:00
Nathan.fooo
655f13bc27
chore: search and chat (#999)
* chore: add test for search and chat

* chore: update test

* chore: update test

* chore: update ci

* chore: fix security audio

* chore: multiple core docker build

* chore: multiple core docker build

* chore: update ci

* chore: update model setting

* chore: test ci

* chore: use tiktoken to calcualte token length

* chore: remove env

* chore: use spawn_blocking with condition

* chore: docs

* chore: clippy

* chore: clippy

* chore: docker logs

* chore: pass message id

* chore: clippy
2024-11-16 14:52:12 +08:00
Nathan.fooo
06a6ea2985
chore: retry upload file when get s3 service error (#993)
* chore: retry upload file when get s3 service error

* chore: ingore upload payload error
2024-11-14 14:39:36 +08:00
Nathan.fooo
91b0c50722
chore: remove logs (#986) 2024-11-13 13:59:23 +08:00
Zack Fu Zi Xiang
855cc58ad8
fix: add invalid character error for publish namespace 2024-10-29 15:49:39 +08:00
Zack Fu Zi Xiang
a6af0300ee
feat: add specific error code for invalid publish names 2024-10-29 09:48:24 +08:00
Zack Fu Zi Xiang
fdc889f73e
feat: handle duplicated publish names for a workspace 2024-10-28 17:58:14 +08:00
Zack Fu Zi Xiang
0fe7d8def7
chore: merge with main 2024-10-28 09:46:31 +08:00
Nathan.fooo
9629d4cefa
chore: add limit for importing zip file (#938)
* chore: add limitation for import zip file

* chore: support upload big file

* chore: implement client api

* chore: implement client api

* chore: implement client api

* chore: update logs

* chore: check file size

* chore: last process at

* chore: set content type

* chore: fix test

* chore: try test

* chore: temporary disable test
2024-10-28 08:51:34 +08:00
Zack Fu Zi Xiang
920cc69729
feat: add more cases to disambiguate update custom namespace error 2024-10-25 14:48:09 +08:00
Nathan.fooo
f74757e41a
chore: remove deprecate chat api endpoint and update tests (#922)
* chore: remove deprecate chat api endpoint and update tests

* chore: fix test

* chore: clippy
2024-10-24 16:46:41 +08:00
Zack
60c589bd9c
feat: CRUD interface for custom namespace (#882)
* feat: listing all published_info

* fix: add sqlx files

* feat: add additional fields for publish info

* feat: get and set default publish info

* chore: cargo sqlx prepare

* fix: cargo clippy

* fix: test case exe order

* chore: cargo sqlx

* feat: get info and meta from workspace namespace

* chore: cargo sqlx

* feat: add original doc info for published view

* chore: log all publish endpoints

* fix: default values for publish info extra fields

* feat: move namespace restriction to gateway
2024-10-19 10:09:54 +08:00
khorshuheng
383629ab1c chore: simplify not enough permission error 2024-10-16 15:10:31 +08:00
Nathan.fooo
1616ceaf4f
chore: use workspace deps (#880) 2024-10-14 16:02: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
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
df66cfc6f4
chore: update dep 2024-09-13 14:51:15 +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
khorshuheng
56b9f9daf4 feat: published view outline endpoint 2024-09-03 15:27:59 +08:00
Zack Fu Zi Xiang
89f2c7003b
feat: support user deletion 2024-09-02 11:14:04 +08:00
Zack Fu Zi Xiang
96e1463b39
fix: compatibility error 2024-08-27 11:36:51 +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
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
Khor Shu Heng
3b389d7911
fix: impose character limits on comment (#712) 2024-08-01 12:00:59 +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
Zack Fu Zi Xiang
395486adc3
fix: fix various publish issues 2024-06-29 11:23:23 +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
05b284f7e7
feat: client code for namespace changes 2024-06-16 14:06:04 +08: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
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
Khor Shu Heng
cbedbcb748
chore: patch for RUSTSEC-2024-0336 (#503) 2024-04-28 13:58:28 +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
Zack Fu Zi Xiang
ca8dcdfd55
fix: error message remove code 2024-04-22 11:28:30 +08:00
Zack Fu Zi Xiang
182fefdcd7
feat: add file storage limit error code 2024-04-06 18:18:17 +08:00