Commit graph

554 commits

Author SHA1 Message Date
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
Nathan.fooo
527d91d069
chore: remove unused ai api endpoint (#1149) 2025-01-11 16:29:42 +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
Khor Shu Heng
fa9d53461b
feat: add web guide as part of getting started guide (#1142) 2025-01-10 16:30:05 +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
Nathan.fooo
2f25a56f8c
test: update generate image in chat test (#1145) 2025-01-09 14:16:28 +08:00
Nathan.fooo
2bd6da228d
chore: chat stream timeout (#1137)
* chore: increase timeout

* chore: keepalive event
2025-01-08 01:11:25 +08:00
Nathan.fooo
9f16d040b5
chore: fix flaky test (#1135) 2025-01-07 15:12:37 +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
ab0fa6e7fc
feat: api for publish page to web (#1108) 2025-01-03 21:28:48 +08:00
Bartosz Sypytkowski
c94938ee46 chore: fix clippy errors 2024-12-27 07:52:10 +01:00
khorshuheng
3c1da30663 Merge branch 'main' into stateless 2024-12-26 11:53:41 +08:00
khorshuheng
52f9ee071e fix: sort quick notes by update time 2024-12-26 11:05:57 +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
35430c6be2 chore: remove doing snapshots in collab group periodic saves 2024-12-23 13:02:23 +01: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.fooo
a4490b96c6
chore: fix flaky test (#1094) 2024-12-19 22:16:09 +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
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
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
Khor Shu Heng
68881a92d5
feat: api for delete items from trash permanently (#1068) 2024-12-17 13:51:25 +08:00
Bartosz Sypytkowski
24deac35a1 Merge branch 'main' into stateless 2024-12-17 06:48:56 +01:00
Nathan.fooo
91c2a925bc
test: add test (#1077) 2024-12-16 16:19:41 +08:00
Bartosz Sypytkowski
1b35326f0a Merge branch 'main' into stateless 2024-12-16 04:47:26 +01:00
Nathan.fooo
ec9c38254b
chore: open ai call directly (#1074)
* chore: use open ai embedding

* chore: update test

* chore: retry

* chore: metrics

* chore: clippy

* chore: env

* chore: delete test
2024-12-15 23:29:46 +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
khorshuheng
c1c5bf7420 chore: stop writing to af_collab_member 2024-12-13 10:17:22 +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
14b2f3c985
chore: enable running stress on on self-hosted runner (#1053)
* chore: run stress test on selfhost runner

* chore: Update stress_test.yml

* chore: update env

* chore: skip stress_test when running integration test
2024-12-11 09:43:47 +08:00
Zack
7cd7ea1f9e
feat: invite to workspace email wait (#1057)
* feat: invite to workspace email wait

* feat: add option to skip email

* fix: docker compose ci mailer settings
2024-12-11 09:43:27 +08:00
Bartosz Sypytkowski
813179fdb0
chore: Remove async awaits from RealtimeServerActor (#1059)
* chore: reduce number of async await methods in connection manager

* chore: remove async handlers from rt actor
2024-12-10 15:20:28 +08:00
Bartosz Sypytkowski
66deaf3fa3
chore: move collab cache for appflowy collaborate service and add metrics (#1045)
* chore: move collab cache for appflowy collaborate service and add metrics

* chore: add histogram for measuring time spent in postgres transactions

* chore: delete blobs in chunks

* chore: bring back redis cache filling by import worker

* chore: cargo fmt

* chore: make import workspace update existing collabs

* chore: bulk insert collab deduplicate records
2024-12-06 19:55:51 +08:00
khorshuheng
0bcf1457bb fix: filter non space document from workspace's children 2024-12-06 14:32:58 +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
Bartosz Sypytkowski
9ff6f1c744
S3 collab cache (#1028)
* chore: collab cache for S3

* chore: adjust disk cache api to accomodate s3

* chore: move postgres dependent ops to disk cache

* chore: replace blob inserts from pg to s3

* chore: delete blob and collab exist now use s3

* chore: fix clippy erorrs

* chore: post rebase fixes

* chore: fix clippy warnings

* chore: fix imports

* chore: make snapshots work over S3

* chore: remove dead code

* chore: use compressed snapshots

* chore: add zstd compression

* chore: introduce collab size threshold to keep smaller collabs in postgres

* chore: remove collabs from S3 if they were put to postgres

* chore: update tests
2024-12-03 13:08:55 +08: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