Commit graph

2107 commits

Author SHA1 Message Date
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
Nathan.fooo
b4a0669361
chore: bump collab that fix import notion doucment in database row (#1065) 2024-12-11 22:48:44 +08:00
Bartosz Sypytkowski
cdf98d1a83
chore: add logging for reindexing docs after restart (#1056) 2024-12-11 17:17:29 +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
Khor Shu Heng
9141b9a2dc
Merge pull request #1062 from AppFlowy-IO/update-validator
chore: update validator crate
2024-12-11 13:48:17 +08:00
khorshuheng
719b95b94a chore: update validator crate 2024-12-11 12:33:46 +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
22887430e8
Merge pull request #1061 from AppFlowy-IO/fix-insert-batch-collab-update-cache
fix: update redis cache when inserting collabs in batches
2024-12-10 11:51:47 +01:00
Bartosz Sypytkowski
c4514ca5bf chore: add explanation 2024-12-10 10:12:33 +01:00
Bartosz Sypytkowski
9971c23749 fix: update redis cache when inserting collabs in batches 2024-12-10 10:07:54 +01: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
Khor Shu Heng
ee2ff899a3
Merge pull request #1058 from AppFlowy-IO/gotrue-admin-creation-2
fix: gotrue admin creation without email verification
2024-12-10 08:57:21 +08:00
Zack Fu Zi Xiang
1dd643f465
fix: create admin confirmation without email 2024-12-09 22:41:56 +08:00
Zack Fu Zi Xiang
a4d4e71048
fix: server logs if error 2024-12-09 21:55:35 +08:00
Zack Fu Zi Xiang
aa1285c59c
feat: add logging for admin frontend client signin 2024-12-09 21:13:57 +08:00
Zack Fu Zi Xiang
02f5d2dc64
chore: trigger ci 2024-12-09 20:59:29 +08:00
Zack Fu Zi Xiang
04d1ffdf00
Merge branch 'main' into gotrue-admin-creation-2 2024-12-09 20:54:23 +08:00
Zack Fu Zi Xiang
f1d78116b1
fix: ci add service dependency of appflowy cloud on admin frontend 2024-12-09 20:50:36 +08:00
Bartosz Sypytkowski
ce086217fd
fix: add validation to to list database row details endpoint (#1055) 2024-12-09 15:22:17 +08:00
Khor Shu Heng
b1ef53435f
Merge pull request #1034 from AppFlowy-IO/gotrue-admin-creation
feat: shift admin user creation responsibility to gotrue service
2024-12-09 14:39:18 +08:00
Khor Shu Heng
29cb70a362
fix: synchronization issue due to incorrect collab origin (#1054) 2024-12-09 14:19:00 +08:00
Khor Shu Heng
955a60d14a
Merge pull request #1049 from owenyang0/fix/smtp-on-docker
fix: add the necessary environment variables for docker-compose.yml
2024-12-08 20:56:33 +08:00
khorshuheng
a8c3adf166 feat: shift admin user creation responsibility to gotrue service 2024-12-08 15:01:48 +08:00
Nathan.fooo
a598aed5ec
chore: remove empty map when query is empty (#1050) 2024-12-07 10:20:53 +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
yangsong13
8a8385aea1 fix: add the necessary environment variables for docker-compose.yml 2024-12-06 17:29:11 +08:00
Khor Shu Heng
c9e984aa25
Merge pull request #1048 from AppFlowy-IO/filter-non-space
fix: filter non space document from workspace's children
2024-12-06 15:26:29 +08:00
khorshuheng
0bcf1457bb fix: filter non space document from workspace's children 2024-12-06 14:32:58 +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
Khor Shu Heng
f79042fcc5
Merge pull request #1043 from AppFlowy-IO/web-update-fix
fix: web update should update both disk and mem cache
2024-12-06 10:44:52 +08:00
Nathan.fooo
afcd1130c3
feat: chat settings (#1044)
* feat: chat settings

* chore: fix sqlx
2024-12-05 23:30:11 +08:00
khorshuheng
aa64b7cd6b fix: web update should update both disk and mem cache 2024-12-05 16:51:56 +08:00
Bartosz Sypytkowski
b2f8a95ec4 chore: setup new collab in the db 2024-12-05 06:29:19 +01:00
Bartosz Sypytkowski
dbc38cecd5 Merge branch 'main' into stateless 2024-12-05 05:45:24 +01:00
Zack
445d3af5fa
Merge pull request #1041 from AppFlowy-IO/feat/login-page
Feat/login page
2024-12-04 19:00:57 +08:00
Zack Fu Zi Xiang
740098ec7b
feat: use improved login page for oauth redirect 2024-12-04 14:15:14 +08:00
Zack Fu Zi Xiang
1ca701330c
feat: improve login page 2024-12-03 23:20:32 +08:00
Khor Shu Heng
522791ee6d
feat: support admin account creation for gotrue image (#1036) 2024-12-03 17:15:27 +08:00
Bartosz Sypytkowski
5e7b5f87fa chore: merge branch main into stateless 2024-12-03 09:10:01 +01:00
Bartosz Sypytkowski
a827016117
fix: set default collab s3 threshold to 8000 in appflowy cloud (#1038) 2024-12-03 14:59:05 +08:00
Nathan.fooo
016c7ed569
ci: remove test image and then check response (#1037) 2024-12-03 14:58:31 +08:00
Bartosz Sypytkowski
51bf9a85c7
chore: make collab storage switch between s3 and postgres configurable (#1035) 2024-12-03 14:09:09 +08: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
Nathan.fooo
6718a7afb1
chore: safe alloc mem for file (#1031) 2024-11-28 22:34:26 +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
Khor Shu Heng
5de2ceabe2
Merge pull request #1025 from AppFlowy-IO/fix-primary-field
fix: primary field should be unique for new database page
2024-11-28 10:19:41 +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
50586b1ea7
fix: filter database that is in trash 2024-11-27 19:53:47 +08:00