Commit graph

79 commits

Author SHA1 Message Date
Nathan.fooo
c80157a687
chore: support flex response layout (#1215)
* chore: support flex response layout
2025-02-06 17:32:10 +08:00
Nathan.fooo
81ee8c878a
chore: fix create upload test (#1040)
* chore: fix create upload test

* chore: fix test

* chore: fmt
2025-02-05 10:52:17 +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
9f16d040b5
chore: fix flaky test (#1135) 2025-01-07 15:12:37 +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
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
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
Zack
06dc3b3a00
feat: add option for tls mailer (#1078) 2024-12-17 13:53:32 +08:00
khorshuheng
a8c3adf166 feat: shift admin user creation responsibility to gotrue service 2024-12-08 15:01:48 +08:00
Nathan.fooo
fd98351473
chore: adjust redis env (#1003) 2024-11-17 14:26:59 +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
Zack Fu Zi Xiang
4b2eb1b1ba
feat: separate smtp username from email 2024-11-14 16:00:15 +08:00
Nathan.fooo
9778843746
chore: disable history service (#985)
* chore: disable history service

* chore: fix build
2024-11-13 10:46:15 +08:00
khorshuheng
6a34be316e fix: remove dependencies on unnecessary postgres roles 2024-10-24 16:02:12 +08:00
Nathan.fooo
bbd21dfef6
chore: import mailer (#869)
* chore: import mailer

* chore: update template

* chore: config template

* fix: add missing config parameter

* chore: update template

* chore: show error with task id

* chore: show error with task id

---------

Co-authored-by: khorshuheng <solemnpriest@gmail.com>
2024-10-13 20:08:55 +08:00
Nathan.fooo
9c0dffacef
feat: implement import notion zip file api endpoint (#840)
* chore: implement api endpoint

* chore: worker

* chore: async zip

* chore: test bulk insert

* chore: insert collab

* chore: custom task

* chore: consume un acked message

* chore: fix compile

* chore: add test

* test: update

* chore: save import record

* chore: save import record

* chore: fix ci

* chore: remove unused deps

* chore: update docker file

* chore: build worker images

* chore: use small int

* chore: use small int

* chore: rm protoc deps in runtime

* chore: move collab cache to database crate

* chore: update test

* chore: rm health api endpoint

* chore: clippy

* chore: update ci

* chore: add test

* chore: upgrade collab

* chore: clippy

* chore: update test

* chore: use custom host

* chore: config nginx

* chore: install cert
2024-10-03 22:22:29 +08:00
Khor Shu Heng
03fdcf4621
feat: option to skip s3 bucket creation (#852) 2024-10-02 09:54:46 +08:00
khorshuheng
81c9042439 feat: send email to workspace owner when user request access 2024-10-01 11:54:55 +08:00
Zack Fu Zi Xiang
53c98c8bd6
chore: use gen env var optional 2024-09-13 11:25:57 +08:00
Nathan.fooo
07d6001cf8
chore: check before write to hisotry (#809)
* chore: check before write to hisotry

* chore: clippy

* chore: clippy

* chore: calculate edit count

* chore: clippy

* chore: exit loop

* chore: exit loop

* chore: update log
2024-09-10 22:10:59 +08:00
Zack Fu Zi Xiang
943cdee7ad
Merge branch 'main' into feat/delete-user 2024-09-03 10:03:29 +08:00
Zack
b7c93362a1
Merge pull request #775 from zuckschwerdt/fix-mailer-docs
fix: add doc note for mandatory smtps
2024-09-03 09:53:10 +08:00
Zack Fu Zi Xiang
7c36c712c8
Merge branch 'main' into feat/delete-user 2024-09-02 14:46:56 +08:00
Nathan.fooo
abd96d8b56
chore: add APPFLOWY_COLLAB_REMOVE_BATCH_SIZE env to control num of co… (#779)
* chore: add APPFLOWY_COLLAB_REMOVE_BATCH_SIZE env to control num of collabs to be removed in one tick

* chore: clippy
2024-09-02 11:24:40 +08:00
Zack Fu Zi Xiang
89f2c7003b
feat: support user deletion 2024-09-02 11:14:04 +08:00
Nathan.fooo
c2a5369313
chore: set chat request timeout (#777)
* chore: set chat request timeout

* chore: clippy
2024-09-01 15:16:11 +08:00
Christian W. Zuckschwerdt
1bf315b973 fix: add doc note for mandatory smtps 2024-08-30 20:36:31 +02:00
Nathan.fooo
ab14568bbf
chore: use env to use control multiple thread runtime or not (#760) 2024-08-28 00:13:24 +08:00
Nathan.fooo
71d292ebcd
chore: add app version when querying ai configuratino (#724)
* chore: update api endpoint that accepts app version

* chore: update env

* chore: disable locai ai config test
2024-08-13 11:14:32 +08:00
Bartosz Sypytkowski
ae2a2a4fa0 chore: appflowy indexer uses appflowy ai as open ai proxy 2024-06-18 10:04:38 +02:00
Nathan.fooo
56b5c4c843
chore: disable old version history test (#604) 2024-06-04 20:41:31 +08:00
Nathan.fooo
6bb2a20888
fix: nginx ai test (#603)
* chore: add config for ai/chat

* chore: update config
2024-06-04 20:11:19 +08:00
Bartosz Sypytkowski
58e01f4e8d
fix: index documents with missing embeddings at service start (#597)
* feat: appflowy-indexer indexes documents with missing embeddings at start

* chore: add tests to check initial indexing of collabs

* chore: log user search requests and response

* fix: wrong appflowy openai api key env var name

* chore: fill openai keys for integration testing

* chore: silence flaky test
2024-06-04 16:50:06 +08:00
Nathan.fooo
da9b9d730e
chore: fix ai docker compose (#598) 2024-06-03 20:01:31 +08:00
Bartosz Sypytkowski
d3e59fa801
feat: Appflowy-indexer service and /api/search endpoint (#582)
* feat: implement appflowy-indexer and search api endpoint

* chore: store embedding content type

* chore: more descriptive messages for open ai missing key

* chore: fix sqlx errors in tests

* chore: document watcher - change plain text rendering to use depth-first scan

* chore: added nested document blocks example
2024-05-28 21:09:29 +08:00
Nathan.fooo
2fae260e4f
chore: complete text endpoints (#557)
* chore: complete text endpoints
2024-05-16 22:48:44 +08:00
Nathan.fooo
359433f14c
fix: pool timeout when there are too many put blob requests (#533)
* fix: pool timeout when there are too many put blob requests

* chore: fix clippy

* fix: dont use transaction while putting data

---------

Co-authored-by: Zack Fu Zi Xiang <speed2exe@live.com.sg>
2024-05-08 12:20:06 +08:00
Nathan.fooo
3508262d1d
chore: using env to control mailbox size (#532)
* chore: using env to control mailbox size

* chore: update logs
2024-05-07 22:15:53 +08:00
Nathan.fooo
af75e8a2c0
chore: update configuration for ai docker (#512)
* chore: update configuration for ai docker

* chore: add script to test ci docker

* chore: update docs

* chore: update docs
2024-04-30 19:37:52 +08:00
Zack Fu Zi Xiang
206c7a29ea
chore: merge with main 2024-04-29 23:35:03 +08:00
Zack Fu Zi Xiang
9a25b92e57
fix: ci and use static file for template 2024-04-29 21:25:32 +08:00
Zack Fu Zi Xiang
2305fde94d
fix: mailer workspace invite url 2024-04-29 20:17:19 +08:00
Zack Fu Zi Xiang
6e74449ab1
feat: accept workspace invite email 2024-04-29 19:40:20 +08:00
Zack Fu Zi Xiang
78247de31f
chore: set email template url to use main repo 2024-04-19 22:54:37 +08:00
Zack Fu Zi Xiang
b8d84ae6bb
chore: add confirmation url to a href 2024-04-19 22:26:52 +08:00
Nathan.fooo
f3279e9b4e
feat: implement grpc for history server (#470)
* ci: docker compose for ci

* chore: add test

* chore: imple grpc

* chore: fix test

* chore: fix ci
2024-04-16 14:10:56 +08:00
Nathan.fooo
28e0e74fd1
feat: Implement history(1) (#466)
* chore: update collab commit

* chore: collab history test

* chore: collab history test

* chore: impl redis stream

* chore: impl redis stream test

* chore: impl migration

* chore: implement history sql

* chore: add test

* chore: add test

* chore: fix test

* chore: update log and test

* chore: add xtask

* chore: clippy

* chore: impl api

* chore: add missing sqlx files

* chore: fix test

* chore: fix test
2024-04-15 09:18:19 +08:00
Nathan.fooo
c85383b21d
chore: project folder structture (#392)
* chore: docker build

* chore: update

* chore: update

* chore: test stream pubsub

* chore: fix wanrings

* chore: realtime crate

* chore: realtime crate

* chore: realtime crate

* chore: realtime crate

* chore: reanme crates

* chore: reanme crates

* chore: project structure

* chore: disable docker for collab hisotry
2024-03-22 11:24:28 +08:00
Nathan.fooo
d1c82b7811
chore: enable access control by env (#394) 2024-03-18 19:34:44 +08:00
Nathan.fooo
08693f2d72
chore: integrate appflowy ai (#388)
* chore: integrate appflowy ai

* chore: disable ai test
2024-03-16 21:43:02 +08:00