Commit graph

328 commits

Author SHA1 Message Date
Nathan.fooo
9778843746
chore: disable history service (#985)
* chore: disable history service

* chore: fix build
2024-11-13 10:46:15 +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
Nathan.fooo
a5a5a6b59f
fix: import notion file base cases (#957) 2024-11-02 16:50:51 +08:00
Nathan.fooo
7c42cee11a
chore: Upgrade the collab library to fix the issue with importing Notion zip files that contain embedded zip attachments. (#955)
* chore: bump collab that fixs import notion zip file contains zip attachment

* chore: fix compile
2024-11-01 22:26:27 +08:00
Nathan.fooo
860a921ea5
chore: remove inline view id (#945)
* chore: remove inline view id

* test: fix test compile

* chore: logs

* chore: update test
2024-10-30 12:47:15 +08:00
Nathan.fooo
9629d4cefa
chore: add limit for importing zip file (#938)
* chore: add limitation for import zip file

* chore: support upload big file

* chore: implement client api

* chore: implement client api

* chore: implement client api

* chore: update logs

* chore: check file size

* chore: last process at

* chore: set content type

* chore: fix test

* chore: try test

* chore: temporary disable test
2024-10-28 08:51:34 +08:00
Nathan.fooo
246cbd3ec4
chore: update nginx config for import (#935) 2024-10-25 16:47:29 +08:00
Nathan.fooo
efb3d93f77
fix: resolve part csv when importing notion zip file (#932) 2024-10-25 14:45:26 +08:00
Nathan.fooo
e738508d79
fix: Support notion database row document (#929)
* chore: fix import notion database
2024-10-24 19:04:06 +08:00
Nathan.fooo
f74757e41a
chore: remove deprecate chat api endpoint and update tests (#922)
* chore: remove deprecate chat api endpoint and update tests

* chore: fix test

* chore: clippy
2024-10-24 16:46:41 +08:00
Nathan.fooo
57c44818e2
feat: Import metrics (#911)
* chore: implement metrics for import

* chore: add metrics
2024-10-20 11:05:22 +08:00
Nathan.fooo
b1f37dbbf6
chore: fix petential unzip issues (#910) 2024-10-20 10:48:09 +08:00
Nathan.fooo
15b77e63af
fix: import zip with multiple level folder (#900) 2024-10-18 09:46:17 +08:00
Nathan.fooo
6c9ab2ba7e
fix: import notion zip file that do not have root dir (#897) 2024-10-18 00:29:50 +08:00
Nathan.fooo
3623d9f296
chore: check file md5 before import (#895) 2024-10-17 17:18:07 +08:00
Nathan.fooo
ee0831e223
chore: support import notion zip file without subpages (#894) 2024-10-17 13:35:42 +08:00
Nathan.fooo
d3e4a6870d
chore: template (#889)
* chore: template

* fix: auto del file lifetime

* chore: delete file if fail to write to disk

* fix: modified html

* chore: set content type

* chore: md5 content

* chore: clippy

* fix: image loaded failed

* fix: build

* chore: bump collab

---------

Co-authored-by: Kilu <lu@appflowy.io>
2024-10-16 17:39:24 +08:00
Nathan.fooo
3c02fa253f
chore: retry import (#887)
* chore: retry import

* chore: delete temp files

* chore: bump collab
2024-10-16 12:55:53 +08:00
Nathan.fooo
22a70f241d
chore: bump collab version (#886)
* chore: bump collab version
2024-10-15 21:05:21 +08:00
Khor Shu Heng
1c51656865
chore: update casbin to version 2.5.0 (#878)
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
2024-10-15 15:56:29 +08:00
Nathan.fooo
2b02a8d12b
chore: bump collab (#884) 2024-10-15 15:56:14 +08:00
Zack
ba64963487
feat: oauth server (#866)
* feat: oauth serevr

* feat: working redirect after login

* feat: impl before sec checks

* feat: check client and url

* feat: code challenge verification

* feat: better error and nil handling from redis

* feat: use redirect in url instead

* fix: oauth refresh login

* feat: stop using javascript for parsing oauth information

* feat: oauth login redirect

* feat: remove unneeded logic

* feat: set up client secret

* feat: return error from redis json bytes instead

* chore: oauth local testing

* feat: add admin frontend to integration tests

* chore: lint and fmt

* fix: add ports for ci
2024-10-15 13:16:47 +08:00
Nathan.fooo
95e8b30f11
chore: bump collab that use yrs 0.21.2 (#872)
* chore: bump collab that use yrs 0.21.2

* chore: fmt
2024-10-14 00:58:32 +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
14cfaa0bbd
chore: insert metadata after import notion zip file (#871)
* chore: insert metadata after import notion zip file

* chore: update logs
2024-10-10 22:32:02 +08:00
Khor Shu Heng
8c14612f98
feat: refactor access control to enable swapping implementation (#859) 2024-10-10 13:04:47 +08:00
Nathan.fooo
98347b81ea
fix: import notion zip file as workspace (#868)
* chore: insert content length in header

* chore: custom header

* chore: workspace name

* chore: file name

* chore: handle file name that is not utf8 encode

* chore: clippy

* fix: end of file when unzip file

* chore: docs
2024-10-09 21:27:24 +08:00
Nathan.fooo
820db6564e
chore: create space view for imported notion zip file (#863) 2024-10-07 12:41:45 +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
11732324b5
feat: support fetching encoded collab in batch from memory (#837) 2024-10-02 10:22:40 +08:00
Khor Shu Heng
3b320b0619
feat: support protobuf serialization and deserialization for CollabParams (#834) 2024-10-02 09:49:55 +08:00
Zack Fu Zi Xiang
62980a780e
fix: view id 2024-09-17 14:58:36 +08:00
Zack Fu Zi Xiang
8523c8efcf
chore: update dep 2024-09-16 15:48:50 +08:00
Zack Fu Zi Xiang
5673faf604
chore: update deps 2024-09-16 15:15:18 +08:00
Zack Fu Zi Xiang
ad68131223
chore: update dep 2024-09-16 12:06:52 +08:00
Zack Fu Zi Xiang
4345f8b2a5
chore: merge with main 2024-09-16 10:55:14 +08:00
Nathan.fooo
4c54481d70
chore: bump collab version (#822)
* chore: bump collab version

* chore: update deps count
2024-09-14 23:59:50 +08:00
Zack Fu Zi Xiang
df66cfc6f4
chore: update dep 2024-09-13 14:51:15 +08:00
Zack Fu Zi Xiang
def42240ae
fix: update dep 2024-09-12 22:58:31 +08:00
Zack Fu Zi Xiang
f241c4a84f
chore: update dep and fix database row open 2024-09-12 21:14:24 +08:00
Zack Fu Zi Xiang
6406f42ff8
chore: update collab dep 2024-09-12 20:37:40 +08:00
Zack Fu Zi Xiang
0b5ad2162b
chore: use has document api from collab 2024-09-12 17:23:30 +08:00
Zack Fu Zi Xiang
dca438b794
chore: update dep 2024-09-12 12:17:20 +08:00
Zack Fu Zi Xiang
3be80aac20
chore: update database collab 2024-09-12 12:05:20 +08:00
Zack Fu Zi Xiang
922418b122
chore: merge with main 2024-09-12 10:09:42 +08:00
Zack Fu Zi Xiang
306faad11e
feat: use database row body 2024-09-12 01:13:07 +08:00
Nathan.fooo
1ccff73e49
chore: bump appflowy collab (#814)
* chore: bump appflowy collab

* chore: fix build
2024-09-12 00:28:26 +08:00
Nathan.fooo
cbad6f22be
chore: use rayon to do compression on client api (#813)
* chore: use rayon to do compression on client api

* chore: update client deps
2024-09-11 21:47:14 +08:00
Zack Fu Zi Xiang
cff144a857
chore: add test for duplicating doc in database row 2024-09-11 16:38:24 +08:00
Nathan.fooo
7cd88b7502
fix: batch create collab api endpoint might cause tokio runtime issue (#810)
* fix: batch create collab api endpoint might cause tokio runtime issue

* chore: remove test

* chore: clippy
2024-09-11 11:32:42 +08:00