Commit graph

594 commits

Author SHA1 Message Date
Zack Fu Zi Xiang
855cc58ad8
fix: add invalid character error for publish namespace 2024-10-29 15:49:39 +08:00
Zack Fu Zi Xiang
a6af0300ee
feat: add specific error code for invalid publish names 2024-10-29 09:48:24 +08:00
Zack Fu Zi Xiang
fdc889f73e
feat: handle duplicated publish names for a workspace 2024-10-28 17:58:14 +08:00
Zack
348a73685e
Merge pull request #940 from AppFlowy-IO/feat/custom-namespace-v2
feat: delete default view for workspace
2024-10-28 15:46:13 +08:00
Zack Fu Zi Xiang
ca33dfb304
chore: change to use enforce action instead 2024-10-28 14:36:41 +08:00
Zack Fu Zi Xiang
f701abd2a7
feat: delete default view for workspace 2024-10-28 13:32:41 +08:00
Khor Shu Heng
648c977c07
Merge pull request #927 from AppFlowy-IO/remove-access-control-middleware
chore: remove access control middleware
2024-10-28 12:16:38 +08:00
Zack Fu Zi Xiang
0fe7d8def7
chore: merge with main 2024-10-28 09:46:31 +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
Zack Fu Zi Xiang
e29d5d058d
Merge branch 'main' into feat/custom-namespace-change-publish-name 2024-10-27 13:31:45 +08:00
khorshuheng
3c0258b42a feat: add publish info to template home page 2024-10-25 17:30:56 +08:00
khorshuheng
a0c68d8c86 chore: remove access control middleware 2024-10-25 13:19:16 +08:00
Zack Fu Zi Xiang
b775aa9d4c
feat: patching of publish name 2024-10-24 22:06:52 +08:00
Khor Shu Heng
3247c8c9c6
Merge pull request #925 from AppFlowy-IO/masked-postgres-password
fix: masked postgres password in logs
2024-10-24 17:41:25 +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
khorshuheng
3169277830 feat: add section timestamp to get favorite/recent/trash endpoints 2024-10-24 12:22:21 +08:00
khorshuheng
16fb9584f9 fix: masked postgres password in logs 2024-10-24 00:34:31 +08:00
khorshuheng
23e1da2910 feat: add publish info to list templates 2024-10-23 17:26:32 +08:00
khorshuheng
ee9e335152 feat: add publish info to template 2024-10-22 17:29:20 +08:00
Khor Shu Heng
b7076d4f7e
feat: enforce access control on workspace level CRUD (#915) 2024-10-22 14:49:28 +08:00
Khor Shu Heng
9eb1c36c92
chore: access control interface to return error instead of boolean (#914) 2024-10-21 20:20:14 +08:00
Zack Fu Zi Xiang
9ee04b8958
chore: publish metadata wrapper 2024-10-21 12:48:02 +08:00
Nathan.fooo
2f715c3136
feat: custom completion prompt (#906)
* feat: custom completion prompt

* chore: custom prompt
2024-10-20 14:27:41 +08:00
Zack
60c589bd9c
feat: CRUD interface for custom namespace (#882)
* feat: listing all published_info

* fix: add sqlx files

* feat: add additional fields for publish info

* feat: get and set default publish info

* chore: cargo sqlx prepare

* fix: cargo clippy

* fix: test case exe order

* chore: cargo sqlx

* feat: get info and meta from workspace namespace

* chore: cargo sqlx

* feat: add original doc info for published view

* chore: log all publish endpoints

* fix: default values for publish info extra fields

* feat: move namespace restriction to gateway
2024-10-19 10:09:54 +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
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
3c02fa253f
chore: retry import (#887)
* chore: retry import

* chore: delete temp files

* chore: bump collab
2024-10-16 12:55:53 +08:00
Khor Shu Heng
2a15c8e4b5
feat: support appflowy web editing for document (#877) 2024-10-15 15:05:45 +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
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 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
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
khorshuheng
5b799208a8 chore: remove publish collab related dead code 2024-10-03 11:05:28 +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