Commit graph

1661 commits

Author SHA1 Message Date
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
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
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
Khor Shu Heng
71fdace975
Merge pull request #905 from AppFlowy-IO/fix-integration-test-due-to-cred
fix: integration test failure due to password mismatch
2024-10-18 16:52:20 +08:00
khorshuheng
51600c1e2b fix: integration test failure due to password mismatch 2024-10-18 15:22:29 +08:00
Khor Shu Heng
d482e9354b
Merge pull request #901 from ThanatosDi/feat/postgres-password-variable
feat: parameterize the postgres password
2024-10-18 13:31:08 +08:00
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