khorshuheng
c686aa91a6
feat: add retrieve sections endpoints
2024-09-12 13:02:14 +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
Khor Shu Heng
57a30817fe
Merge pull request #811 from AppFlowy-IO/add-is-published-to-folder-struct
...
feat: add additional fields to FolderView and support different root id
2024-09-11 23:23:37 +08:00
Khor Shu Heng
abae8d2d1b
feat: Support s3 as published collab storage ( #798 )
...
* chore: remove unused published collab methods
* feat: support s3 as published collab storage
2024-09-11 20:52:33 +08:00
khorshuheng
a97c1fbf1b
feat: add additional folder view fields, allow different root id, filter invalid view
2024-09-11 17:37:55 +08:00
Zack
5bf08621de
feat: dup doc in db row ( #806 )
...
* feat: support doc in duplicated database row
* fix: use db row collab
* fix: use meta
* fix: set correct values
* feat: allow insertion of standalone view
* fix: use correct id for duplicating doc in db row
* feat: add attachment count
* fix: compile
2024-09-11 10:16:56 +08:00
Zack Fu Zi Xiang
39cb16693a
fix: compile
2024-09-10 23:42:35 +08:00
Zack Fu Zi Xiang
8766344073
feat: add attachment count
2024-09-10 23:27:19 +08:00
Zack Fu Zi Xiang
1cf858aab7
chore: merge with upstream
2024-09-10 19:41:14 +08:00
Zack Fu Zi Xiang
bf9aed5384
Merge branch 'main' into feat/dup-doc-in-db-row
2024-09-10 19:37:49 +08:00
Zack Fu Zi Xiang
9337b4aa90
chore: use database body for getting database id
2024-09-10 19:28:21 +08:00
Zack Fu Zi Xiang
936d492c4e
chore: use dbbody to replace iid
2024-09-10 19:05:14 +08:00
Zack Fu Zi Xiang
7ea6450207
chore: refactor to use database body
2024-09-10 18:53:25 +08:00
Zack Fu Zi Xiang
3c90395d46
Merge branch 'main' into feat/duplicate-relation
2024-09-10 14:42:57 +08:00
Zack Fu Zi Xiang
e22f316327
feat: partially use database body
2024-09-10 12:48:55 +08:00
Nathan.fooo
e742a9039a
chore: bump collab version ( #807 )
2024-09-10 11:18:20 +08:00
Zack Fu Zi Xiang
0dbd8fd633
chore: merge with main
2024-09-09 19:27:45 +08:00
Zack Fu Zi Xiang
28a2d269e9
chore: merge with main
2024-09-09 19:25:24 +08:00
Zack Fu Zi Xiang
3e9e865bfc
fix: use correct id for duplicating doc in db row
2024-09-09 19:22:36 +08:00
Nathan.fooo
3f59c650f4
chore: bump appflowy collab ( #805 )
...
* chore: bump appflowy collab
* chore: fix test
* chore: bump collab
2024-09-09 18:50:47 +08:00
Zack Fu Zi Xiang
572e18e88a
feat: allow insertion of standalone view
2024-09-09 18:10:12 +08:00
Zack Fu Zi Xiang
9281fbdf54
chore: add some doc about database relation
2024-09-09 17:02:13 +08:00
Zack Fu Zi Xiang
99677acd4d
fix: set correct values
2024-09-09 16:37:09 +08:00
Zack Fu Zi Xiang
41136e3a3e
Merge branch 'main' into feat/duplicate-relation
2024-09-09 16:07:42 +08:00
Zack Fu Zi Xiang
39297e23e4
fix: use meta
2024-09-09 15:58:25 +08:00
Zack Fu Zi Xiang
12d6455031
fix: use db row collab
2024-09-09 15:34:45 +08:00
Zack Fu Zi Xiang
c9479985c2
Merge branch 'main' into feat/dup-doc-in-db-row
2024-09-09 12:48:23 +08:00
Zack Fu Zi Xiang
d99687e080
feat: support doc in duplicated database row
2024-09-09 12:48:04 +08:00
khorshuheng
df14ecbfbd
fix: hide space without any published documents, allow private published
...
collab
2024-09-06 16:39:34 +08:00
Zack Fu Zi Xiang
088d8763da
chore: add related db directly to dest view instead
2024-09-06 13:18:41 +08:00
Zack Fu Zi Xiang
720731b9e4
fix: database inline view id
2024-09-06 12:02:57 +08:00
Zack Fu Zi Xiang
407b056e66
fix: update iid
2024-09-06 07:28:15 +08:00
Zack Fu Zi Xiang
f7b7686573
Merge branch 'main' into feat/duplicate-relation
2024-09-05 15:17:34 +08:00
khorshuheng
50f24a174f
fix: filter out children which the view's parent does not match the actual parent view id
2024-09-05 14:35:55 +08:00
Zack Fu Zi Xiang
42b98aeb77
chore: cargo clippy
2024-09-05 14:27:03 +08:00
Zack Fu Zi Xiang
16bebc7d2d
feat: replace related row id with duplicated row id
2024-09-05 14:20:14 +08:00
Zack Fu Zi Xiang
76d70e2288
Merge branch 'main' into feat/duplicate-relation
2024-09-05 11:19:20 +08:00
Nathan.fooo
5d356718fa
fix: using spawn_blocking in order to not block the runtime ( #793 )
...
* fix: using blocking in order to not block the runtime
* chore: increase deps count
2024-09-05 09:19:34 +08:00
Zack Fu Zi Xiang
e977cb5701
Merge branch 'main' into feat/duplicate-relation
2024-09-05 00:18:11 +08:00
Zack Fu Zi Xiang
5a2cd05f3f
feat: duplicate database for relation
2024-09-05 00:17:56 +08:00
Khor Shu Heng
348f2c8ff1
feat: add is published field to published outline response ( #790 )
2024-09-04 19:14:39 +08:00
Zack Fu Zi Xiang
fe65396f3e
feat: support row relation
2024-09-04 18:12:33 +08:00
Nathan.fooo
4e384b982e
chore: pass chat metadata ( #789 )
...
* chore: pass chat metadata
* chore: clippy
2024-09-04 17:19:39 +08:00
Zack Fu Zi Xiang
6d0a7cc95b
fix: delete user should only remove owned workspaces
2024-09-04 12:00:34 +08:00
Zack Fu Zi Xiang
7fd94d5ab7
fix: parent database id for inline doc
2024-09-03 23:36:35 +08:00
khorshuheng
a7a1a2f8a4
chore: reuse get collab folder
2024-09-03 15:40:33 +08:00
khorshuheng
e397510834
feat: add max depth to prevent excessive recursion
2024-09-03 15:28:01 +08:00
khorshuheng
56b9f9daf4
feat: published view outline endpoint
2024-09-03 15:27:59 +08:00
Zack Fu Zi Xiang
14a1382d1c
feat: call workspace delete when deleting user
2024-09-03 10:49:53 +08:00
Zack Fu Zi Xiang
7980bb04c5
chore: merge with main
2024-09-03 09:43:14 +08:00
Zack
826546c5cb
feat: duplicate published doc ( #700 )
...
* chore: test collab sync
* feat: folder view for user workspace
* feat: add private indicator
* chore: use collab cache instead
* chore: initial impl
* chore: cargo sqlx
* fix: write back to collab cache
* fix: assign page id
* fix: text map
* chore: connect api and refactor
* chore: switch to using mem storage
* fix: collab type
* feat: use group manager to manage sync
* feat: try add send command instead
* chore: add client api code
* feat: try use sink and stream from group collab
* chore: disable sync first
* fix: insert page before stopping group
* feat: add extra for view
* feat: add metadata to doc
* fix: icon
* fix: page circular dep
* fix: page circular dep
* fix: live update
* feat: database initial impl
* feat: workspace database
* chore: link database
* fix: database validation
* fix: workspace database oid
* fix: workspace database oid
* fix: specify view layout
* feat: add txn when inserting collab and rework database views
* fix: parent view id for new database
* fix: database view for folder
* fix: database ids
* fix: database row id
* fix: main database layout and write database before folder
* fix: metadata for non database main view
* chore: database in doc wip
* chore: filter visible views
* chore: use structure value instead of json
* chore: database in doc wip
* fix: remove child item push
* fix: main database view meta
* chore: rework inline database in doc
* fix: make duplicate more error forgiving
* chore: use get instead of get key value
* chore: merge with main
* feat: set max depth for folder view
* chore: update dependency counter
* chore: remove unneeded arg
* chore: simplify collab new from source
* chore: remove unneeded param
* chore: rename and doc
* feat: rework inline database and use duplicated ref
* chore: simplify params
* chore: fmt
* feat: deduplicate database wip
* fix: compatible with newer appflowy version
* fix: database views
* feat: database in doc
* chore: cargo clippy
* chore: update dockerfile rust toolchain
* fix: doc inline db parent id
* fix: database id
* fix: document data modification
* chore: minor refactor and todo
* chore: remove unneeded nesting
* fix: enforce ordering for views to add
* chore: add doc and test case for folder view
* fix: remove the need for cloning published collab
* fix: some review
* chore: move folder conversion logic
* fix: remove collab folder deps on shared entity
* chore: cargo fmt
* fix: compile
* chore: remove group manager dependency
* fix: dep count
* fix: add messages sent by server
* fix: dep count
* chore: add test for doc ref and inline doc database
* chore: cargo clippy
* chore: add more test scenarios
* chore: fix tests
* chore: get database id
* chore: update collab
* chore: add more assert and database row id checks
* fix: suggestions from review
* chore: sqlx
* fix: accumulate collab before insert
* chore: add tokio spawn blocking for encoding
* fix: reduce limit for publish collabs
---------
Co-authored-by: Bartosz Sypytkowski <b.sypytkowski@gmail.com>
Co-authored-by: nathan <nathan@appflowy.io>
2024-09-03 09:12:29 +08:00
Zack Fu Zi Xiang
25cec9982f
chore: revoke for apple user
2024-09-02 17:25:21 +08:00
Zack Fu Zi Xiang
06a5a22032
feat: delete user
2024-09-01 00:51:05 +08:00
Lucas.Xu
e7bf221ff0
feat: update built-in README for new users ( #757 )
...
* feat: add getting_started, desktop_guide and mobile_guide json
* feat: update built-in readme data
* feat: support adding database as template
* feat: support creating nested documents
* chore: refactor code
* chore: refactor code
* chore: remove println
* chore: update collab version
* feat: update built-in readme and image ref
* chore: remove template icon
* feat: use database::create_with_view to create collab
* chore: add template tests
* chore: update collab version
* chore: remove debug code
* chore: add comment
* chore: fix lint & test
* fix: code review
* fix: rust lint
* chore: update comment
* test: add default workspace test
* test: add default user workspace test
* chore: use workspace database body
* chore: fix typo and clippy
* fix: insert_folder_data_success test
* fix: insert_folder_data_success test
* feat: update content in gettting_started
* chore: update to-dos json
---------
Co-authored-by: nathan <nathan@appflowy.io>
2024-08-28 19:40:23 +08:00
Khor Shu Heng
52f33e4d85
feat: endpoint for avatar upload ( #736 )
2024-08-23 16:36:09 +08:00
Khor Shu Heng
9c8e718246
feat: Template CRUD Endpoint ( #731 )
...
* feat: template crud endpoint
* fix: clippy error
* fix: categories for related view
* fix: add created at and last updated at to template response
* feat: template api delete endpoint
* feat: include number of template count for template creator
* fix: use params instead of individual fields for template api
* fix: seach template creator by name query
* chore: simplify query
* feat: support template count limit for template homepage
2024-08-20 15:22:56 +08:00
khorshuheng
63bee6f545
Merge branch 'main' into template-category-api
2024-08-19 12:41:08 +08:00
nathan
6bca2d2f2a
chore: fix compile
2024-08-19 10:45:57 +08:00
nathan
2d7a4bde92
Merge branch 'main' into no-lock-collab
2024-08-19 10:38:07 +08:00
Nathan.fooo
d342039cfd
chore: create user awareness when creating a new user ( #728 )
...
* chore: create user awareness when creating a new user
* chore: fix client api compile
2024-08-16 16:05:15 +08:00
khorshuheng
fc56654e61
chore: use UUID value instead of ref for func arg as UUID implements Copy
2024-08-14 13:26:36 +08:00
Bartosz Sypytkowski
ef860c2d5a
chore: fix cargo fmt and clippy errors
2024-08-13 19:59:48 +02:00
Bartosz Sypytkowski
c27866fb25
chore: upgrade code to use asynchronous locks
2024-08-13 19:59:46 +02:00
Nathan.fooo
7878a018a1
chore: Update index content api ( #723 )
...
* chore: support index pdf file
* chore: fix compile
* chore: fix test
2024-08-12 15:10:49 +08:00
khorshuheng
f6e78a941f
feat: api endpoint for template categories and creators
2024-08-12 13:43:14 +08:00
Nathan.fooo
0b3949152b
feat: support chat with markdown ( #718 )
...
* chore: store metatdata
* chore: support markdown
* chore: update test
2024-08-08 13:19:19 +08:00
Nathan.fooo
a371912c61
chore: enable chat with provided context ( #713 )
...
* chore: enable chat with provided context
* chore: rename
* chore: update create chat message api endpoint
* chore: use list context
* chore: use list context
* chore: fix test
* chore: update api endpoint
* chore: rename client api function
* chore: rename client api function
* chore: expose entity
* chore: update sqlx files
* chore: update test
2024-08-05 14:06:44 +08:00
Khor Shu Heng
3b389d7911
fix: impose character limits on comment ( #712 )
2024-08-01 12:00:59 +08:00
Khor Shu Heng
ff7de66dfa
feat: add can be deleted field to GlobalComment
2024-07-29 19:32:16 +08:00
khorshuheng
422683d717
fix: order reactions by reaction type first creation date
2024-07-29 16:02:03 +08:00
Khor Shu Heng
b861f0a703
feat: endpoints for reactions on published view
2024-07-26 22:56:47 +08:00
Khor Shu Heng
122520e9f4
fix: order comments by recency
2024-07-26 16:28:35 +08:00
Zack Fu Zi Xiang
fc62a079c0
chore: merge with main
2024-07-25 21:05:29 +08:00
Khor Shu Heng
f535950643
feat: add database operations for publish comment crd
2024-07-25 13:32:43 +08:00
Khor Shu Heng
6eea93d774
feat: add create, retrieve, delete API for publish view global comment
2024-07-25 13:32:43 +08:00
Zack Fu Zi Xiang
11c1521b71
feat: improve workspace api
2024-07-25 04:19:40 +08:00
Bartosz Sypytkowski
f5ca71e701
chore: remove pg advisory lock
2024-07-15 19:09:26 +02:00
Bartosz Sypytkowski
44406ccdae
chore: update yrs and appflowy-collab ( #677 )
...
* chore: update yrs and appflowy-collab
* chore: remove wasm compilation target
* chore: fixed number conversion in tests
* chore: remove wasm integration tests
---------
Co-authored-by: nathan <nathan@appflowy.io>
2024-07-10 10:10:07 +08:00
Zack Fu Zi Xiang
00238d11c4
chore: update len limit for workspace namespace
2024-07-02 09:50:42 +08:00
Zack Fu Zi Xiang
048e2645ba
chore: longer publish name limit
2024-07-01 16:57:48 +08:00
Zack Fu Zi Xiang
395486adc3
fix: fix various publish issues
2024-06-29 11:23:23 +08:00
Bartosz Sypytkowski
a706c312b3
chore: making embeddings code compile
2024-06-28 05:40:41 +02:00
Nathan.fooo
a6539dd963
chore: shorten default write interval ( #661 )
2024-06-28 10:06:09 +08:00
Bartosz Sypytkowski
ef27a148b9
chore: rename workspace settings disable indexing to disable search indexing in database queries
2024-06-24 10:54:42 +02:00
Zack Fu Zi Xiang
c4514a9b70
fix: error message
2024-06-24 15:31:56 +08:00
Zack Fu Zi Xiang
8d27f41607
chore: allow longer publish name
2024-06-24 15:29:50 +08:00
Nathan.fooo
e33ef45d05
feat: Integrate workspace setting ( #642 )
...
* chore: update workspace setting
* chore: update workspace setting with changes
* chore: fix test
2024-06-23 15:36:32 +08:00
Nathan.fooo
c0937bfbeb
feat: support switch model ( #641 )
...
* feat: support switch model
2024-06-22 15:01:33 +08:00
Zack Fu Zi Xiang
0bf6d3bd60
feat: change doc name to publish name
2024-06-21 11:18:44 +08:00
Zack Fu Zi Xiang
b525e333f0
feat: batch unpublish
2024-06-20 12:05:12 +08:00
Zack Fu Zi Xiang
31f5c786a6
chore: merge with main
2024-06-20 11:20:16 +08:00
Zack Fu Zi Xiang
d4dd350da1
feat: batch publish item with metadata
2024-06-20 11:15:08 +08:00
Nathan.fooo
30f87457f3
feat: support uploading file with multiple part ( #625 )
...
* refactor: replace crate
* chore: remove s3-rust crate
* chore: test multiple upload
* chore: client api
* chore: client api
* chore: v1 version upload,download
* chore: fix test
* chore: fix test
* chore: remove workspace test
* chore: fix wasm build
* chore: update path
* chore: update path
* chore: rename
* chore: expose file entity
* chore: introduce client-api-entity
* chore: fix build
* chore: new url
* chore: fix test
* chore: merge main
* chore: fix clippy
2024-06-19 13:06:58 +08:00
Zack Fu Zi Xiang
6c09839728
feat: batch metadata
2024-06-19 01:30:51 +08:00
Zack Fu Zi Xiang
09828c5eea
feat: add impl for get collab info
2024-06-18 19:07:48 +08:00
Zack Fu Zi Xiang
18e9d0abae
feat: use view id
2024-06-18 18:20:05 +08:00
Bartosz Sypytkowski
d9354202cd
chore: specify chunk size for search and index
2024-06-18 11:45:33 +02:00
Bartosz Sypytkowski
0e50650aa8
chore: use appflowy ai client for embeddings in search api
2024-06-18 10:51:11 +02:00
Zack Fu Zi Xiang
236a22ac97
fix: get workspace namespace
2024-06-18 12:32:01 +08:00
Zack Fu Zi Xiang
99fc95f33a
chore: refine api
2024-06-17 22:55:04 +08:00
Zack Fu Zi Xiang
d2cb0d4486
chore: remove unneeded api
2024-06-17 21:33:36 +08:00
Zack Fu Zi Xiang
05b284f7e7
feat: client code for namespace changes
2024-06-16 14:06:04 +08:00
Zack Fu Zi Xiang
233b757698
feat: add published endpoints
2024-06-15 21:47:11 +08:00
Zack Fu Zi Xiang
2ab59e79a3
feat: get published collab meta data
2024-06-15 21:20:59 +08:00
Zack Fu Zi Xiang
de413844dc
feat: put and get published collab data
2024-06-15 14:59:18 +08:00
Zack Fu Zi Xiang
94bd62869c
feat: delete publish collab
2024-06-15 11:51:05 +08:00
Zack Fu Zi Xiang
18da7b873b
feat: publish namespace and metadata
2024-06-14 21:35:39 +08:00
Bartosz Sypytkowski
d02c7e4ea7
feat: add workspace label to search open ai token metrics
2024-06-12 08:27:37 +02:00
Bartosz Sypytkowski
0b93190cbd
chore: let prometheus track open ai tokens used on search
2024-06-12 08:20:57 +02:00
Nathan.fooo
d0467e7e2e
feat: Stream chat message ( #610 )
...
* chore: test stream
* chore: fix test
* chore: fix test
* chore: add log
* chore: fix parsing
* chore: fix parsing
* chore: fix parsing
* chore: create answer
* chore: create answer
2024-06-08 22:51:19 +08:00
Bartosz Sypytkowski
b52369de7f
feat: add workspace settings with disable indexing option ( #606 )
...
* feat: add workspace settings with disable indexing option
* chore: added api workspace settings endpoint
* chore: add workspace settings read and write to client api
* chore: add tests for workspace settings client api
* fix: enforce authorization rules on workspace settings api
* chore: fix appflowy indexer test configuration
* chore: add dotenvy to appflowy indexer tests
* chore: override appflowy indexer env vars for tests
* chore: add appflowy indexer preindex env var
2024-06-06 09:26:21 +08:00
Nathan.fooo
6bb2a20888
fix: nginx ai test ( #603 )
...
* chore: add config for ai/chat
* chore: update config
2024-06-04 20:11:19 +08:00
Bartosz Sypytkowski
58e01f4e8d
fix: index documents with missing embeddings at service start ( #597 )
...
* feat: appflowy-indexer indexes documents with missing embeddings at start
* chore: add tests to check initial indexing of collabs
* chore: log user search requests and response
* fix: wrong appflowy openai api key env var name
* chore: fill openai keys for integration testing
* chore: silence flaky test
2024-06-04 16:50:06 +08:00
Nathan.fooo
b36715dc24
chore: generate answer manually ( #594 )
...
* chore: generate answer manually
* chore: rename
* chore: return reply message id
* chore: save message
* chore: commit schema files
2024-06-03 08:06:23 +08:00
Mathias Mogensen
06272364b7
feat: get workspace member by user id ( #588 )
...
* feat: get workspace member by user id
* chore: remove unneccessary arg
2024-05-30 07:50:58 +08:00
Bartosz Sypytkowski
c4702bbbdf
feat: Workspace token usage ( #584 )
...
* feat: register open ai token usage during indexing
* feat: register open ai token usage during search
* chore: fixed open ai token usage when searching for documents
2024-05-29 16:07:56 +08:00
Khor Shu Heng
a6bcbd583f
chore: share library for authentication ( #576 )
...
* chore: share library for authentication
* fix: return error from requesting app data instead of unwrap
* fix: return internal server error when jwt secret is missing
* chore: remove argon dep from main crate
---------
Co-authored-by: nathan <nathan@appflowy.io>
2024-05-29 16:00:21 +08:00
Bartosz Sypytkowski
d3e59fa801
feat: Appflowy-indexer service and /api/search endpoint ( #582 )
...
* feat: implement appflowy-indexer and search api endpoint
* chore: store embedding content type
* chore: more descriptive messages for open ai missing key
* chore: fix sqlx errors in tests
* chore: document watcher - change plain text rendering to use depth-first scan
* chore: added nested document blocks example
2024-05-28 21:09:29 +08:00
Khor Shu Heng
93b4a1516c
feat: add postgres listeners for collab service ( #575 )
2024-05-27 09:12:32 +08:00
Nathan.fooo
559d924cd1
feat: stream chat message ( #577 )
...
* chore: save author id
* chore: stream response
* chore: stream chat message
2024-05-26 22:44:08 +08:00
Nathan.fooo
ae3e075475
chore: Integrate with client-api, update chat message ( #574 )
...
* chore: update
* chore: get chat message with next back option
* chore: update next back
* chore: return answer
* chore: return answer
* chore: return answer
* chore: update client api
* chore: fix ci
2024-05-24 15:04:50 +08:00
Nathan.fooo
05e7f1cda7
Integrate ai chat ( #569 )
...
* chore: fix compile
* chore: implement client api
* chore: implement client api
* chore: clippy
2024-05-22 11:18:07 +08:00
Khor Shu Heng
67d9fad7d7
chore: migrate collab storage to appflowy-collaborate ( #566 )
...
* chore: migrate collab storage to appflowy-collaborate
* fix: clippy error
* chore: remove handler
---------
Co-authored-by: nathan <nathan@appflowy.io>
2024-05-21 10:06:26 +08:00
Zack
ec7eb54bfc
chore: Self host improvement ( #561 )
...
* fix: remove multiple ways to specify database name
* feat: resent email for already invited user
* feat: mailer address from smtp username
* feat: allow user defined smtp port
2024-05-18 08:33:08 +08:00
Khor Shu Heng
fbdcbd6e08
chore: migrate collab actors to appflowy-collaborate ( #556 )
2024-05-17 12:22:43 +08:00
Khor Shu Heng
c79267d42a
feat: migrate collab access control to collaboration service ( #548 )
...
* feat: migrate collab access control to collaborate service
* feat: migrate workspace access control to separate crate
2024-05-15 15:24:07 +08:00
Zack Fu Zi Xiang
40369e6915
fix: remove unneeded time verification
2024-05-13 09:53:04 +08:00
Nathan.fooo
4c00ddd593
chore: Chat history ( #546 )
...
* chore: imple sql curd
* chore: update chat
* chore: select messages
* chore: update test
* chore: update schema
* chore: update
2024-05-11 20:41:21 +08:00
Zack
348217a117
fix: check is new before creating user ( #545 )
2024-05-10 16:23:15 +08:00
Khor Shu Heng
d9d874ab8a
feat: migrate collab cache to collaborate service ( #524 )
...
Co-authored-by: nathan <nathan@appflowy.io>
2024-05-09 23:12:13 +08:00
Nathan.fooo
388d38428b
chore: revamp post realtime endpoint ( #536 )
...
* chore: revamp post realtime endpoint
* chore: fix clippy
* chore: fix fmt
2024-05-08 22:06:37 +08:00
Nathan.fooo
70262a1ac4
chore: try to not block actor mailbox ( #534 )
...
* chore: add test
* chore: spawn task to handle message
* chore: update error message
2024-05-08 16:54:05 +08:00
Nathan.fooo
3508262d1d
chore: using env to control mailbox size ( #532 )
...
* chore: using env to control mailbox size
* chore: update logs
2024-05-07 22:15:53 +08:00
nathan
c30870516f
chore: update mailbox size
2024-05-07 21:21:18 +08:00
Nathan.fooo
79bb510aaf
ci: run history test ( #513 )
...
* ci: run history test
* chore: fix ci
2024-05-01 16:28:07 +08:00
Zack Fu Zi Xiang
9adf3f883c
feat: improve email workspace invitations
2024-04-30 11:07:29 +08:00
Zack Fu Zi Xiang
781448442c
feat: make email sending async
2024-04-30 01:17:23 +08:00
Zack Fu Zi Xiang
6e74449ab1
feat: accept workspace invite email
2024-04-29 19:40:20 +08:00
Nathan.fooo
7b4b9d0c10
chore: folder data check ( #496 )
...
* chore: folder data check
* chore: stop observe remote change when specific type of collaboration object override with incorrect data
* chore: commit sqlx file
2024-04-26 13:20:06 +08:00
Nathan.fooo
a0593b5502
chore: refactor return response with object id ( #494 )
...
* chore: refactor return response with object id
* chore: fix ci
* chore: fix ci
2024-04-24 12:07:54 +08:00
Nathan.fooo
5f970a625a
chore: use rust 1.77 ( #493 )
2024-04-24 10:47:18 +08:00
Nathan.fooo
efbe9c4a93
chore: move collab rt crate ( #489 )
...
* chore: create appflowy collaborate crate
* chore: remove collab-rt
* chore: fmt
* chore: main
2024-04-22 12:14:41 +08:00
Nathan.fooo
9e1c06a5af
chore: update log ( #480 )
2024-04-20 10:53:35 +08:00
Nathan.fooo
970fbaed57
feat: using transaction to write multiple records ( #477 )
...
* chore: impl batch write
* chore: update test
* chore: using save point to optimize write
* chore: update docs
* chore: fix test
* chore: increase write speed
* chore: use redis sorted set
* chore: fallback to write to disk directly when fail to queue
* chore: fix test
* chore: fix test
* chore: update log
* chore: add metrics
2024-04-19 15:22:57 +08:00
Nathan.fooo
4168d72390
chore: using redis conn for each action ( #476 )
...
* chore: batch insert
* chore: opti redis conn
* chore: fix test
2024-04-17 11:41:50 +08:00
Nathan.fooo
8ab7815740
chore: reduce pool lock ( #475 )
...
* chore: reduce pool lock
* chore: clippy
2024-04-16 20:26:26 +08:00
Nathan.fooo
4d019728ba
refactor: insert encode collab object in redis ( #469 )
...
* chore: insert collab redis cache with timestamp
* chore: add test
* chore: update expire time
* chore: update
* chore: fix test
2024-04-13 22:31:36 +08:00
Nathan.fooo
baeeb2c5ce
chore: do not wait insert to redis finish when calling get collab ( #468 )
2024-04-13 10:26:05 +08:00
Nathan.fooo
ecbc935d4b
chore: using spawn blocking ( #467 )
2024-04-13 00:08:13 +08:00
Zack
9a5636caec
chore: get collab http ( #463 )
...
* chore: get collab http
* fix: use correct version
* fix: collab url
* feat: update collab access control middleware
2024-04-12 11:08:38 +08:00
nathan
c1bbcbfdd5
chore: update mailbox size
2024-04-09 10:10:56 +08:00
Nathan.fooo
e9097107e5
chore: Disable multi thread ( #458 )
...
* chore: disable multiple thread
* chore: clippy
2024-04-09 10:07:40 +08:00
Nathan.fooo
b1c3d779ba
chore: reduce save collab db operations ( #455 )
...
* chore: reduce save collab db operations
* chore: clippy
* chore: add test
* chore: add test
* chore: add test
2024-04-08 14:50:51 +08:00
Nathan.fooo
b1a6338527
refactor: actix-ws ( #453 )
...
* chore: deduplicate ws message
* chore: remove retry when sending client ws message
* chore: prepare client/server actor test
2024-04-07 12:43:29 +08:00
Nathan.fooo
428c3feef2
chore: create default workspace database ( #454 )
...
* chore: create default workspace database
* chore: fix clppy
2024-04-06 21:04:12 +08:00
Nathan.fooo
01f1af98f5
chore: wrapper for collab ( #448 )
...
* chore: wrapper for collab
* chore: add tests
* chore: fix audit
* chore: init sync
* chore: disable wasm user test
* chore: disable encode state when start
* chore: fix test
2024-04-05 11:30:00 +08:00
Zack
8e35b06698
Merge pull request #447 from AppFlowy-IO/workspace-invite-redirect
...
fix: redirect new users to login instead of home
2024-04-04 18:42:52 +08:00
Zack Fu Zi Xiang
1e3068f846
fix: redirect new users to login instead of home
2024-04-04 18:18:24 +08:00
Nathan.fooo
40f88a6231
fix: group might not be ready to receive message ( #445 )
2024-04-04 15:13:55 +08:00
nathan
632fbc6a7d
chore: update logs
2024-04-03 20:40:58 +08:00
nathan
d822391dbc
chore: update logs for encoding collab
2024-04-03 15:02:11 +08:00
nathan
6137b6a9ab
chore: update log & stop requeue snapshot when first trying is fail
2024-04-03 13:17:22 +08:00
Nathan.fooo
5a06cb3278
feat: get collab retry ( #434 )
...
* chore: retry when fetch collab doc state
* chore: fix test
* chore: disable log
* chore: fix client api build
* chore: log
* chore: try invite and acccept
* chore: add todo
* chore: update ci
2024-04-01 09:39:02 +08:00
Nathan.fooo
6c96d05e2f
feat: introduce custom function in casbin model that supports compari… ( #433 )
...
* feat: introduce custom function in casbin model that supports comparing role or level
* chore: update
* chore: log
* chore: log
* chore: remove cache
2024-03-31 19:54:41 +08:00
Nathan.fooo
a6b1c93a84
chore: enable member to access the workspace member list ( #431 )
2024-03-30 18:29:00 +08:00
Khor Shu Heng
ccd11f0b02
refactor: make access control a separate package ( #422 )
...
Co-authored-by: nathan <nathan@appflowy.io>
2024-03-30 11:06:49 +08:00
Nathan.fooo
d77fb77a3a
feat: validate collab data before writing to disk ( #425 )
...
* chore: validate collab
* chore: update test
* chore: partition key
* chore: save collab
* chore: save collab
2024-03-29 14:55:51 +08:00
Nathan.fooo
cd9fc34465
refactor: crate folder ( #423 )
...
* refactor: crate folder
* chore: update docs
* chore: clippy
2024-03-28 11:06:14 +08:00
Nathan.fooo
d30cf93a1f
feat: sync protocol ( #421 )
...
* chore: send full update when it's first time to sync
* chore: update last sync at
2024-03-27 21:39:47 +08:00
Nathan.fooo
3e36dae50d
chore: remove collab ac cache ( #420 )
...
* chore: remove collab ac cache
* chore: update member write workspace role
* chore: fix test
* chore: clippy
2024-03-26 21:36:24 +08:00
Nathan.fooo
66a5033d16
chore: remove component folder ( #419 )
2024-03-26 14:16:03 +08:00
nathan
506ed640da
chore: update project setting
2024-03-26 09:13:43 +08:00
Nathan.fooo
d4e45efd6a
chore: bump collab commit ( #417 )
...
* chore: bump collab rev
* chore: bump collab commit
* chore: custome decode ack code
2024-03-25 16:14:49 +08:00
Nathan.fooo
4878d51c1b
chore: separate connect control ( #413 )
...
* chore: separate connect control
* chore: add tests
* chore: add tests
2024-03-24 07:30:21 +08:00
Nathan.fooo
acc13414cf
feat: sync deduplicate ( #412 )
...
* chore: update logs
* chore: update logs
* chore: deduplicate messages
* chore: optimize sync interval
* chore: fmt
* ci: test
* chore: clippy
* chore: clippy
2024-03-24 07:30:05 +08:00
Nathan.fooo
47649efe18
chore: add connect at timestamp ( #410 )
...
* chore: add connect at timestamp
* chore: fix lock issue
2024-03-23 14:00:22 +08:00
Nathan.fooo
6af8ac0f37
chore: remove realtime user trait ( #409 )
...
* chore: remove realtime user trait
* chore: fix fmt
* chore: fix clippy
2024-03-23 11:01:50 +08:00
Nathan.fooo
c015ee7c7e
fix: peer sync ( #408 )
2024-03-22 21:32:41 +08:00
Nathan.fooo
c85383b21d
chore: project folder structture ( #392 )
...
* chore: docker build
* chore: update
* chore: update
* chore: test stream pubsub
* chore: fix wanrings
* chore: realtime crate
* chore: realtime crate
* chore: realtime crate
* chore: realtime crate
* chore: reanme crates
* chore: reanme crates
* chore: project structure
* chore: disable docker for collab hisotry
2024-03-22 11:24:28 +08:00
Zack Fu Zi Xiang
7547ecd998
chore: cargo clippy
2024-03-21 18:44:43 +08:00
Zack Fu Zi Xiang
b43e8c4a61
feat: add fragment redirect for web home
2024-03-21 15:25:40 +08:00
Zack Fu Zi Xiang
528dd6ae5b
feat: email redirect to invite page
2024-03-21 14:01:48 +08:00
Zack Fu Zi Xiang
5f220ab0b0
feat: user leave workspace
2024-03-19 21:58:56 +08:00
Nathan.fooo
a31c246b67
feat: Access control group ( #395 )
...
* chore: access control for group
* chore: access control for workspace
* chore: add test
* chore: enforce group
* chore: update docs
2024-03-19 12:57:08 +08:00
Zack
ab693efd58
Merge pull request #393 from AppFlowy-IO/email-accept-invite
...
admin frontend invitation management
2024-03-18 19:37:34 +08:00
Nathan.fooo
d1c82b7811
chore: enable access control by env ( #394 )
2024-03-18 19:34:44 +08:00
Zack Fu Zi Xiang
7e7ee7cc2a
feat: workspace invite admin frontend
2024-03-18 12:33:08 +08:00
Nathan.fooo
c5112cc761
chore: use collab without gc ( #391 )
2024-03-17 17:03:05 +08:00
Zack Fu Zi Xiang
1dbffaf4f0
Merge branch 'main' into frontend-admin/user-usage
2024-03-14 17:52:20 +08:00
Zack Fu Zi Xiang
0048533914
feat: total document usage
2024-03-14 17:50:19 +08:00
Nathan.fooo
40fc18a499
feat: only enforce when permission change ( #382 )
...
* feat: only enforce when permission change
* chore: fix client api ci
* chore: fix test
* chore: fix test
2024-03-13 17:14:43 +08:00
Nathan.fooo
47e14d3b25
fix: potential duplicate init sync ( #381 )
...
* fix: potential duplicate init sync
* chore: clippy
2024-03-13 09:53:25 +08:00
Nathan.fooo
ff80014c2f
feat: Multi connect test ( #372 )
...
* chore: test multiple connect attempt
* chore: eable hash
* chore: pair message
* chore: fmt
2024-03-07 09:21:08 +08:00
Zack Fu Zi Xiang
c293929b11
feat: added tests for inviting member which has not signed up yet
2024-03-06 14:01:57 +08:00
Zack Fu Zi Xiang
9b28edb5bc
feat: use email for af workspace invitation table
2024-03-06 11:29:07 +08:00
Zack Fu Zi Xiang
e9ee0d12fa
Merge branch 'main' into workspace-invite
2024-03-04 15:47:57 +08:00
Nathan.fooo
15c03e4f85
refactor: realtime dir ( #363 )
...
* refactor: realtime dir
* chore: fmt
* chore: fix test
* chore: fix test
* chore: fix test
2024-03-04 12:53:44 +08:00