Commit Graph

742 Commits

Author SHA1 Message Date
Khor Shu Heng eb53361a2c
fix: get page view should handle situation where last editor or document owner cannot be found (#1171) 2025-01-19 22:46:18 +08:00
Khor Shu Heng e958dda0b8
chore: remove history modules (#1174) 2025-01-19 22:45:49 +08:00
khorshuheng 6eded0fe31 fix: bucket creation failure should result in the server failing, instead of proceeding 2025-01-18 13:29:18 +08:00
Nathan.fooo ab9932a943
chore: add ai metrics (#1169) 2025-01-17 13:52:42 +08:00
Khor Shu Heng 0f7a1f41d0
feat: support disabling comments and disallow duplicate as template for published page (#1167) 2025-01-17 09:43:56 +08:00
Khor Shu Heng 14c05479b0
chore: detailed error response for get page view (#1166) 2025-01-16 09:13:56 +08:00
Khor Shu Heng 4ddb08e0eb
feat: add root view id of the created web template to duplicate published page response (#1159) 2025-01-14 10:21:54 +08:00
Nathan.fooo 688534f6bd
chore: fix chat image test (#1157)
* chore: fix chat image test

* chore: update log
2025-01-13 01:10:25 +08:00
Nathan.fooo b650e9e5fb
chore: ai writer (#1153)
* chore: ai writer

* chore: update test

* chore: update test

* chore: set env

* chore: rename

* chore: format nginx conf
2025-01-12 23:07:31 +08:00
Khor Shu Heng a5d94a09d6
feat: add publish info to publish outline items (#1156) 2025-01-12 13:08:38 +08:00
Nathan.fooo 527d91d069
chore: remove unused ai api endpoint (#1149) 2025-01-11 16:29:42 +08:00
Khor Shu Heng b9f79ef9f9
feat: add appflowy web url to server info endpoint (#1148) 2025-01-10 16:30:54 +08:00
Khor Shu Heng 832bd7f9c9
fix: children of trash views and other user's private space should not appear in search (#1146) 2025-01-10 16:30:35 +08:00
Nathan.fooo ee84464e82
chore: store blob file status (#1147)
* chore: store blob file status

* chore: fmt

* chore: fmt
2025-01-10 14:52:35 +08:00
Khor Shu Heng 0ca22f7717
fix: obtain unsearchable views before searching for embeddings (#1140) 2025-01-08 21:49:06 +08:00
Nathan.fooo b47a635cfc
chore: support async embed (#1139) 2025-01-08 16:37:17 +08:00
Nathan.fooo 2bd6da228d
chore: chat stream timeout (#1137)
* chore: increase timeout

* chore: keepalive event
2025-01-08 01:11:25 +08:00
Khor Shu Heng 48224c6fcc
Merge pull request #1131 from AppFlowy-IO/unpublish-page
feat: endpoint for unpublish page
2025-01-07 13:27:52 +08:00
Nathan.fooo 5195dae3a5
feat: Chat file metadata (#1133)
* chore: chat question metadata

* chore: update

* chore: update env

* chore: update env
2025-01-07 12:46:55 +08:00
khorshuheng ace49ef18f feat: endpoint for unpublish page 2025-01-07 12:25:48 +08:00
Nathan.fooo 49e83c6b6b
chore: format chat response (#1125)
* chore: chat response with format

* chore: update prompt

* chore: update test

* chore: update test

* chore: fix stress test

* chore: fix test

* chore: test

* chore: test

* chore: fix stress test

* chore: fix test
2025-01-06 01:19:00 +08:00
Khor Shu Heng 327e184e28
Avoid leaking private document in search endpoint (#1113)
* fix: auto patch workspace folder without space

* fix: avoid leaking private document contents in search endpoint

---------

Co-authored-by: weidong fu <nathan@appflowy.io>
2025-01-05 15:28:52 +08:00
Khor Shu Heng ab0fa6e7fc
feat: api for publish page to web (#1108) 2025-01-03 21:28:48 +08:00
Khor Shu Heng a61a5c58cc
fix: auto patch workspace folder without space (#1107) 2025-01-03 21:28:36 +08:00
Bartosz Sypytkowski cc6b58f73d chore: add metrics to redis collab stream 2025-01-03 08:44:36 +01:00
Nathan.fooo 3ee52ad8d0
chore: fix private open api key in config (#1112)
* chore: fix private open api key in config

* chore: fmt
2025-01-02 13:03:01 +08:00
khorshuheng 824d60920d Merge branch 'main' into stateless 2024-12-26 11:55:52 +08:00
Nathan.fooo c80491267b
chore: update metrics and num threads (#1102) 2024-12-26 11:55:54 +08:00
nathan 1a5c1714db Merge branch 'main' into stateless 2024-12-24 14:59:04 +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
Bartosz Sypytkowski 59e8281010 Merge branch 'main' into stateless 2024-12-23 05:21:15 +01:00
Nathan.fooo 381b02a4d0
chore: disable batch index (#1098) 2024-12-23 00:04:25 +08:00
Zack 5ea714b004
Merge pull request #1092 from AppFlowy-IO/feat/update-collab
chore: update collab
2024-12-20 20:54:10 +08:00
khorshuheng 8674c9f3ad Merge branch 'main' into stateless 2024-12-20 13:24:44 +08:00
Khor Shu Heng a68dde0252
Merge pull request #1089 from AppFlowy-IO/quick-notes-api
feat: quick note CRUD APIs
2024-12-20 12:09:26 +08:00
khorshuheng 414d721ee0 feat: quick note CRUD APIs 2024-12-20 11:11:51 +08:00
nathan 011a5b59c9 chore: rename data to doc_state 2024-12-20 10:22:08 +08:00
Zack Fu Zi Xiang 6f98894c6f
chore: version update to resolve sec issue 2024-12-20 09:37:25 +08:00
Nathan.fooo 1614474c2d
chore: check collab type before index (#1093) 2024-12-19 22:03:10 +08:00
khorshuheng 1b17c8586b Merge branch 'quick-notes-api' into stateless 2024-12-19 16:50:33 +08:00
khorshuheng 8128c2f8e5 feat: quick note CRUD APIs 2024-12-19 16:50:05 +08:00
Bartosz Sypytkowski 9d6b272656 chore: merge main into stateless branch 2024-12-19 06:52:20 +01:00
Bartosz Sypytkowski c1d94e3d17 chore: add preliminary check for enabled indexing to batch collab insert 2024-12-19 06:49:32 +01:00
Nathan.fooo ea131f0baa
chore: map ai error code (#1090) 2024-12-19 12:58:39 +08:00
Richard Shiue ecadf8e287
chore: find question message from reply message (#1085)
* chore: find question message from answer message id

* chore: sqlx

* test: fix tests

* test: fix test

* chore: apply code suggestions to 2 files
2024-12-19 00:12:53 +08:00
Nathan.fooo e758f18d75
chore: add metadata column to save embeding info (#1086) 2024-12-18 22:48:25 +08:00
Khor Shu Heng 6fa6fa00cb
chore: refactor page view APIs to write to in-memory collab group (#1083) 2024-12-18 22:47:25 +08:00
Zack c0f7b1d3a9
feat: upsert database row (#1067)
* feat: upsert database row

* feat: improve api to accept database row document payload

* feat: test case for upsert

* chore: refactor

* feat: database row doc content impl

* refactor: simplify insert row field names

* feat: folder updates for database row document

* refactor: simplify row detail return

* feat: add doc contents for database row detail

* feat: refactor database row creation

* feat: upsert database row doc modification

* feat: ignore empty string

* feat: add document similarity check

* chore: refactor to use broadcast with timeout

* feat: wrap broadcast timeout in a tokio spawn
2024-12-18 13:47:20 +08:00
Bartosz Sypytkowski d5252f4273 Merge branch 'main' into stateless 2024-12-17 18:24:17 +01:00
Nathan.fooo abf827f2a6
chore: query multiple collab embedding state (#1081)
* chore: query multiple collab embedding state

* chore: clippy
2024-12-17 23:23:43 +08:00