Commit graph

704 commits

Author SHA1 Message Date
Zack
42bf807a8e
fix: wait for a second after duplication to workspace (#930)
* fix: wait for a second after duplication to workspace

* chore: rust lint
2024-10-25 13:22:33 +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
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
9eb1c36c92
chore: access control interface to return error instead of boolean (#914) 2024-10-21 20:20:14 +08:00
Zack Fu Zi Xiang
3aabf09b21
fix: client url path 2024-10-21 14:09:01 +08:00
Zack Fu Zi Xiang
9ee04b8958
chore: publish metadata wrapper 2024-10-21 12:48:02 +08:00
khorshuheng
bd3e5acd86 chore: fix misleading metric description and method name for access control metrics 2024-10-21 10:49:25 +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
Khor Shu Heng
ba8a670101
fix: workspace invitation failure due to email case sensitivity (#904)
* fix: integration test failure due to password mismatch

* fix: workspace invitation failure due to email case sensitivity
2024-10-19 10:10:35 +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
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
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
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
Khor Shu Heng
2a15c8e4b5
feat: support appflowy web editing for document (#877) 2024-10-15 15:05:45 +08:00
Nathan.fooo
1616ceaf4f
chore: use workspace deps (#880) 2024-10-14 16:02:22 +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
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
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
3b320b0619
feat: support protobuf serialization and deserialization for CollabParams (#834) 2024-10-02 09:49:55 +08:00
khorshuheng
81c9042439 feat: send email to workspace owner when user request access 2024-10-01 11:54:55 +08:00
Khor Shu Heng
757d0e5380
fix: incorrect requester avatar url and workspace member count (#847) 2024-09-29 11:03:08 +08:00
Khor Shu Heng
47a1aae75c
feat: Endpoint for server info (#835)
* feat: provide endpoint so that client can detect server information

* feat: add server info endpoint
2024-09-29 11:01:22 +08:00
khorshuheng
6c6de08eaa fix: access not granted after approval 2024-09-26 18:19:33 +08:00
khorshuheng
813fa29253 feat: add endpoints to allow workspace owner to approve web page view request 2024-09-26 14:59:33 +08:00
Nathan.fooo
b023e2f511
chore: fix incompleted response (#841) 2024-09-24 23:50:45 +08:00
khorshuheng
89ae8e9f64 fix: update page view collab endpoint to follow naming convention 2024-09-19 13:00:07 +08:00
Khor Shu Heng
0b193e1606
feat: add endpoint for getting page view collab (#831) 2024-09-18 12:56:34 +08:00
Zack Fu Zi Xiang
a08b325e24
fix: linting 2024-09-17 23:26:10 +08:00
Zack Fu Zi Xiang
62980a780e
fix: view id 2024-09-17 14:58:36 +08:00
Zack Fu Zi Xiang
4497f0673f
Merge branch 'main' into feat/dup-refactor 2024-09-16 15:47:26 +08:00
Nathan.fooo
054fd2e7d8
chore: ignore create redis stream error when create a new group (#826) 2024-09-16 15:31:05 +08:00
Zack Fu Zi Xiang
704b8517c6
Merge branch 'main' into feat/dup-refactor 2024-09-16 15:12:40 +08:00
Zack Fu Zi Xiang
4345f8b2a5
chore: merge with main 2024-09-16 10:55:14 +08:00
khorshuheng
180db846d9 fix: filter out templates which has not been published 2024-09-16 00:05:22 +08:00
Zack Fu Zi Xiang
35786fb2d5
Merge branch 'main' into feat/workspace-invite-fields 2024-09-15 13:59:25 +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