Commit graph

429 commits

Author SHA1 Message Date
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
ab0fa6e7fc
feat: api for publish page to web (#1108) 2025-01-03 21:28:48 +08:00
Bartosz Sypytkowski
59e8281010 Merge branch 'main' into stateless 2024-12-23 05:21:15 +01: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
khorshuheng
414d721ee0 feat: quick note CRUD APIs 2024-12-20 11:11:51 +08:00
Zack Fu Zi Xiang
6f98894c6f
chore: version update to resolve sec issue 2024-12-20 09:37:25 +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
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
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
Khor Shu Heng
68881a92d5
feat: api for delete items from trash permanently (#1068) 2024-12-17 13:51:25 +08:00
Bartosz Sypytkowski
1b35326f0a Merge branch 'main' into stateless 2024-12-16 04:47:26 +01: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
Bartosz Sypytkowski
41e9302ff9 Merge branch 'main' into stateless 2024-12-12 16:00:45 +01: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
Khor Shu Heng
0a10aff86f
feat: api for moving page (#1060) 2024-12-11 17:16:59 +08:00
Zack
254bc23a6e
feat: insert database row into selected database (#1029)
* feat: insert database row into selected database

* feat: inserting database row

* feat: add impl for cell

* feat: insert row selection and mulitselection

* feat: support datetime field type

* fix: other fields like rich text

* feat: add database field server impl

* feat: add client api and tests

* feat: use to json value impl from collab

* feat: use add database cell impl from collab

* feat: update to latest collab

* chore: upgrade collab and fix tests

* chore: review issues

* fix: code review feedback

* feat: filter only allow supported field types

* feat: support more field types

* feat: support created at and last modified

* feat: add timestamp cell for created at and modified at fields

* chore: linting and formatting

* fix: add created at and last modified

* fix: ci add service dependency of appflowy cloud on admin frontend

* chore: trigger ci

* feat: add logging for admin frontend client signin

* fix: server logs if error

* fix: create admin confirmation without email

* fix: ci add service dependency of appflowy cloud on admin frontend

* fix: server logs if error

* chore: update collab
2024-12-11 15:47:29 +08:00
Nathan.fooo
ee87bb9bd6
chore: setup tokio console (#1046)
* chore: setup tokio console

* chore: setup tokio console

* chore: clippy

* chore: clippy
2024-12-06 11:33:04 +08:00
Nathan.fooo
afcd1130c3
feat: chat settings (#1044)
* feat: chat settings

* chore: fix sqlx
2024-12-05 23:30:11 +08:00
Bartosz Sypytkowski
5e7b5f87fa chore: merge branch main into stateless 2024-12-03 09:10:01 +01:00
Zack
e31928e77a
Merge pull request #1019 from AppFlowy-IO/feat/get-database-fields
feat: api to get database fields
2024-11-27 19:04:20 -08:00
Nathan.fooo
3e3bf693fd
chore: upload api endpoint for web upload (#1024)
* chore: upload api endpoint for web upload

* chore: use rust 1.78

* fix: test
2024-11-28 09:09:09 +08:00
Zack Fu Zi Xiang
7457371208
Merge branch 'main' into feat/get-database-fields 2024-11-27 18:18:34 +08:00
Khor Shu Heng
a4b598db5b
fix: remove only parent page when move to trash (#1021) 2024-11-27 13:00:58 +08:00
Zack Fu Zi Xiang
2da78b351f
feat: api to get database fields 2024-11-26 14:20:10 +08:00
Zack Fu Zi Xiang
c4d52859fb
feat: add a polling api for getting database row id updates 2024-11-24 23:24:29 +08:00
Zack Fu Zi Xiang
a6bd54f447
feat: simplify listing databases 2024-11-23 12:11:27 +08:00
Zack Fu Zi Xiang
6d4200d1e7
feat: add row details 2024-11-23 02:40:26 +08:00
Zack Fu Zi Xiang
f3a2444615
feat: list database row ids 2024-11-22 20:21:31 +08:00
Zack Fu Zi Xiang
687b5d9f6d
Merge branch 'main' into feat/search-database-by-name 2024-11-21 09:17:09 +08:00
Bartosz Sypytkowski
d0f9059f3f Merge branch 'main' into stateless 2024-11-20 08:36:28 +01:00
Khor Shu Heng
e6dbc95641
feat: api to update space (#1009) 2024-11-20 11:32:29 +08:00
Zack Fu Zi Xiang
d7478fb37a
chore: merge with main 2024-11-20 07:51:33 +08:00
Khor Shu Heng
0818cf7565
feat: api for create space (#1006) 2024-11-19 12:54:10 +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
Bartosz Sypytkowski
401cc3ad25 Merge branch 'main' into stateless 2024-11-16 07:22:34 +01:00
Nathan.fooo
e9c374bfe2
chore: remove wasm client api (#989)
* chore: revamp client api

* chore: fmt
2024-11-14 00:53:30 +08:00
Zack Fu Zi Xiang
787e6beb0d
feat: add name filtering 2024-11-12 23:48:41 +08:00
Zack
288fd59d3b
Merge pull request #975 from AppFlowy-IO/feat/last-publish-name
feat: support last publish name
2024-11-12 08:42:00 +08:00
Nathan.fooo
14adf250a8
chore: update ai api endpoint & rename structs (#953)
* chore: revmap loader type

* chore: revamp context

* chore: fix test

* chore: remove unused handler

* chore: create new chat api endpoint

* chore: add docs

* chore: clippy

* chore: fix test
2024-11-11 20:10:46 +08:00
Zack Fu Zi Xiang
c705d500ce
Merge branch 'main' into feat/last-publish-name 2024-11-10 04:42:21 +08:00
Zack
3e3e78b684
Merge pull request #842 from AppFlowy-IO/feat/list-database
feat: add database listings
2024-11-08 17:36:25 +08:00
Zack Fu Zi Xiang
a07b453c0b
feat: support last publish name 2024-11-08 17:29:02 +08:00
khorshuheng
f3604edf2e feat: api for restore all pages from trash 2024-11-08 13:52:23 +08:00
khorshuheng
d04a0d8871 feat: api for restore page from trash 2024-11-08 10:58:32 +08:00