Commit graph

1701 commits

Author SHA1 Message Date
Nathan.fooo
15b77e63af
fix: import zip with multiple level folder (#900) 2024-10-18 09:46:17 +08:00
ThanatosDi
7f2b080ba6
feat: parameterize the postgres password 2024-10-18 09:08:09 +08:00
Nathan.fooo
773f17e524
fix: import zip without root dir (#898)
* fix: import notion zip file that do not have root dir

* fix: compile
2024-10-18 00:51:53 +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
ffee47d0f7
chore: remove workspace and collab listener (#893) 2024-10-17 17:43:00 +08:00
Nathan.fooo
3623d9f296
chore: check file md5 before import (#895) 2024-10-17 17:18:07 +08:00
Khor Shu Heng
7d6d1fd151
chore: add access control to appflowy web related endpoint (#896) 2024-10-17 17:03:12 +08:00
Nathan.fooo
ee0831e223
chore: support import notion zip file without subpages (#894) 2024-10-17 13:35:42 +08:00
Khor Shu Heng
8ab5da4aef
fix: limit concurrency level of batch get encode collab (#892) 2024-10-17 13:29:27 +08:00
Nathan.fooo
9942e68089
chore: imported workspace should not become the latest visting workspace (#890)
* chore: imported workspace should not become the latest visting workspace

* chore: sqlx files

* chore: update test

* chore: fmt
2024-10-16 21:02:05 +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
Khor Shu Heng
ec124bcb46
Merge pull request #885 from AppFlowy-IO/additional-ac-config
feat: additional access control config
2024-10-16 17:00:54 +08:00
khorshuheng
383629ab1c chore: simplify not enough permission error 2024-10-16 15:10:31 +08:00
khorshuheng
34a7fd3633 feat: additional access control config 2024-10-16 15:10:01 +08:00
Nathan.fooo
d89cbe1c8c
chore: support streaming unzip using env (#888) 2024-10-16 14:02:03 +08:00
Zack
63739fc49c
feat: oauth login box (#874) 2024-10-16 14:00:03 +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
Khor Shu Heng
2a15c8e4b5
feat: support appflowy web editing for document (#877) 2024-10-15 15:05:45 +08:00
Khor Shu Heng
2bef2156f4
chore: add RUSTSEC-2024-0370 to ignore list (#881) 2024-10-15 14:43:13 +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
1fd57b055d
chore: update payload size for import (#883) 2024-10-14 23:17:09 +08:00
Zack
ab97b4fab2
Merge pull request #876 from AppFlowy-IO/doc/disable-sign-up
doc: add docs related to signups
2024-10-14 16:58:12 +08:00
Nathan.fooo
1616ceaf4f
chore: use workspace deps (#880) 2024-10-14 16:02:22 +08:00
Zack Fu Zi Xiang
33f02bb751
docs: disable signup 2024-10-14 13:49:49 +08:00
Zack
72d4a29d5b
Merge pull request #875 from AppFlowy-IO/fix/admin-init
fix: admin initialization
2024-10-14 13:35:02 +08:00
Zack Fu Zi Xiang
cce8616117
fix: admin initialization 2024-10-14 12:05:51 +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
Khor Shu Heng
ec2cc309bd
fix: filter private views based on parent space (#860) 2024-10-12 09:27:50 +08:00
Khor Shu Heng
2f47d07593
Merge pull request #870 from AppFlowy-IO/private-view-in-trash
fix: filter out private view in trash for folder struct
2024-10-11 09:54:39 +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
khorshuheng
3d45118da4 fix: filter out private view in trash for folder struct 2024-10-10 10:52:34 +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
Zack
a46e813e2d
Merge pull request #867 from AppFlowy-IO/feat/req-method-metrics
feat: add method for tracking request metrics
2024-10-09 11:10:15 +08:00
Zack Fu Zi Xiang
7e62e96d3b
feat: add method for tracking request metrics 2024-10-08 18:59:45 +08:00
Nathan.fooo
33e63fae5c
chore: try to fix pg lock timeout (#864)
* chore: try to fix pg lock timeout

* chore: add logs for insert collab

* chore: add timeout for duplicate

* chore: timeout for pending write
2024-10-07 16:49:50 +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
38ff1874e4
chore: using copy to improve write speed of batch collab api endpoint (#862)
* chore: using copy to improve write speed of batch collab api endpoint

* chore: insert to redis

* chore: fix compile
2024-10-07 08:58:19 +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
2ff466bb11
Merge pull request #857 from AppFlowy-IO/remove-dead-code
chore: remove publish collab related dead code
2024-10-03 12:19:07 +08:00
khorshuheng
5b799208a8 chore: remove publish collab related dead code 2024-10-03 11:05:28 +08:00
Khor Shu Heng
56f8f395fa
fix: add default serialization to owner email field (#856) 2024-10-02 22:22:25 +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
03fdcf4621
feat: option to skip s3 bucket creation (#852) 2024-10-02 09:54:46 +08:00
Khor Shu Heng
f19e9b0498
fix: allowed workspace owner only to view access request (#855) 2024-10-02 09:53:34 +08:00
Khor Shu Heng
1664fe869e
feat: send notification when access request is approved (#854) 2024-10-02 09:52:51 +08:00