khorshuheng
a97c1fbf1b
feat: add additional folder view fields, allow different root id, filter invalid view
2024-09-11 17:37:55 +08:00
Zack Fu Zi Xiang
cff144a857
chore: add test for duplicating doc in database row
2024-09-11 16:38:24 +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
3c90395d46
Merge branch 'main' into feat/duplicate-relation
2024-09-10 14:42:57 +08:00
Zack Fu Zi Xiang
f7244f1217
chore: use database body for tests
2024-09-10 13:12:03 +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
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
d1635cb99c
chore: add test
2024-09-06 15:30:28 +08:00
Zack Fu Zi Xiang
e1fc5f230e
chore: add test for doc with embedded grid
2024-09-04 00:45:01 +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
Lucas.Xu
cf1bae3ccb
chore: update getting_started icon and remove empty paragraph ( #778 )
...
* chore: update getting_started icon and remove empty paragraph
* fix: get_user_default_workspace test
2024-09-03 09:02:27 +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
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
48b912d6cc
fix: use params directly for api that requires too many args
2024-08-19 12:51:39 +08:00
khorshuheng
63bee6f545
Merge branch 'main' into template-category-api
2024-08-19 12:41:08 +08:00
Bartosz Sypytkowski
d503905931
chore: make sync plugin work over any collab type without generics
2024-08-14 14:42:12 +02:00
khorshuheng
59e5a13ee4
fix: replace rank with priority
2024-08-14 14:17:21 +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
c27866fb25
chore: upgrade code to use asynchronous locks
2024-08-13 19:59:46 +02:00
khorshuheng
f6e78a941f
feat: api endpoint for template categories and creators
2024-08-12 13:43:14 +08:00
Khor Shu Heng
3b389d7911
fix: impose character limits on comment ( #712 )
2024-08-01 12:00:59 +08:00
Zack Fu Zi Xiang
498d98cd33
fix: ci tests
2024-07-30 11:27:35 +08:00
Zack Fu Zi Xiang
b122e845b0
fix: publish nothing test case
2024-07-30 10:42:56 +08:00
Zack Fu Zi Xiang
c185063847
fix: publish nothing should result in error
2024-07-30 09:55:29 +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
khorshuheng
b6c9f541e2
fix: delete reaction from comment SQL query should be based on comment id, not view id
2024-07-29 14:47:33 +08:00
Khor Shu Heng
62f32e8757
feat: return user struct instead of uuid for reaction
2024-07-27 12:55:07 +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
5e3f84ca3a
fix: test
2024-07-26 11:59:38 +08:00
Zack Fu Zi Xiang
fc62a079c0
chore: merge with main
2024-07-25 21:05:29 +08:00
Khor Shu Heng
69a6ac48c8
chore: use struct instead of tuple struct for GlobalComments
2024-07-25 16:09:26 +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
Zack Fu Zi Xiang
d06dbadc05
fix: update publish collab
2024-06-29 13:50:56 +08:00
Zack Fu Zi Xiang
395486adc3
fix: fix various publish issues
2024-06-29 11:23:23 +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
Zack Fu Zi Xiang
e1402a9791
fix: publish name
2024-06-21 12:05:41 +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
94af813b04
chore: cargo clippy
2024-06-20 18:12:49 +08:00
Zack Fu Zi Xiang
2696613ded
feat: add load test
2024-06-20 18:05:59 +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
Zack Fu Zi Xiang
236a22ac97
fix: get workspace namespace
2024-06-18 12:32:01 +08:00
Zack Fu Zi Xiang
de0b03d6ec
fix: debug integration test
2024-06-18 11:03:24 +08:00
Zack Fu Zi Xiang
f551db6190
fix: debug integration test
2024-06-18 10:19:54 +08:00
Zack Fu Zi Xiang
146ef9cb8c
chore: add client and test for collab workspace deletion
2024-06-17 23:05:51 +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
ae29bbe9fe
fix: published doc alias
2024-06-17 01:07:40 +08:00
Zack Fu Zi Xiang
cb74f38ac8
fix: json metadata
2024-06-16 20:41:50 +08:00
Zack Fu Zi Xiang
05b284f7e7
feat: client code for namespace changes
2024-06-16 14:06:04 +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
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
Nathan.fooo
d994b10115
chore: appflowy ai client ( #547 )
...
* chore: appflowy ai client
* chore: clippy
* chore: clippy
* chore: fix ci
* chore: disable index search
2024-05-12 09:23:32 +08:00
Nathan.fooo
359433f14c
fix: pool timeout when there are too many put blob requests ( #533 )
...
* fix: pool timeout when there are too many put blob requests
* chore: fix clippy
* fix: dont use transaction while putting data
---------
Co-authored-by: Zack Fu Zi Xiang <speed2exe@live.com.sg>
2024-05-08 12:20:06 +08:00
nathan
a9d49403ae
chore: remove unused code
2024-05-05 10:14:41 +08:00
Nathan.fooo
eba2e0d4db
ci: add test ( #516 )
...
* ci: add test
* ci: add test
* ci: add readme
* ci: update test
2024-05-02 21:30:23 +08:00
Zack Fu Zi Xiang
367d62c1dc
chore: cargo clippy
2024-04-30 12:41:56 +08:00
Zack Fu Zi Xiang
bd21e8e1a8
fix: test case when user is already in workspace
2024-04-30 11:48:24 +08:00
Khor Shu Heng
cbedbcb748
chore: patch for RUSTSEC-2024-0336 ( #503 )
2024-04-28 13:58:28 +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
54dfeb5527
chore: stop retry when current plugin is going to destory ( #495 )
2024-04-25 20:27:11 +08:00
Nathan.fooo
28e0e74fd1
feat: Implement history(1) ( #466 )
...
* chore: update collab commit
* chore: collab history test
* chore: collab history test
* chore: impl redis stream
* chore: impl redis stream test
* chore: impl migration
* chore: implement history sql
* chore: add test
* chore: add test
* chore: fix test
* chore: update log and test
* chore: add xtask
* chore: clippy
* chore: impl api
* chore: add missing sqlx files
* chore: fix test
* chore: fix test
2024-04-15 09:18:19 +08:00
Zack Fu Zi Xiang
8e27e94804
chore: replace test using invite and accept workspace
2024-04-04 00:03:36 +08:00
Nathan.fooo
a18b3d7886
feat: using pending to determine init sync or not ( #435 )
...
* chore: optimize sync
* chore: optimize sync
* chore: add test
* chore: update collab commit id
* chore: update
* chore: fix ci
2024-04-01 21:59:41 +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
Nathan.fooo
6aa05b97d3
chore: metrics for realtime edit ( #415 )
...
* refactor: separate group code from rt server
* chore: separate group state
* chore: fix test
* chore: drop group
* chore: update metrics
* chore: metrics for realtime edit
* chore: update project config
* ci: fix test
2024-03-26 13:35:13 +08:00
Nathan.fooo
c015ee7c7e
fix: peer sync ( #408 )
2024-03-22 21:32:41 +08:00
Zack Fu Zi Xiang
06192db599
chore: remove unused imports
2024-03-20 13:27:37 +08:00
Zack Fu Zi Xiang
a028f73dd3
test: add test for owner removing itself from workspace
2024-03-20 13:14:30 +08:00
Zack Fu Zi Xiang
117473d104
feat: leave workspace
2024-03-20 13:07:43 +08:00
Zack Fu Zi Xiang
5f220ab0b0
feat: user leave workspace
2024-03-19 21:58:56 +08:00
Nathan.fooo
3b0d7567da
feat: viewing collab users ( #375 )
...
* feat: return collab viewing users
* chore: fmt
* chore: add test
* chore: update logs
* chore: fix test
2024-03-09 12:15:17 +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
439a59ed2d
chore: save current progress
2024-03-03 19:06:24 +08:00
Zack Fu Zi Xiang
bc3fccfcea
chore: merge with main
2024-03-03 14:37:50 +08:00
Zack Fu Zi Xiang
f1e81d59c4
test: crud flow for workspace invites
2024-03-03 14:26:03 +08:00
Nathan.fooo
0e57de98d8
refactor: Access control ( #361 )
...
* refactor: access level
* refactor: access control
* refactor: enforce action
* refactor: collab cache
* chore: fix test
* chore: fix test
* chore: fix test
* chore: fix test
* chore: commit migration file
* chore: commit migration file
2024-03-03 12:55:12 +08:00
Zack Fu Zi Xiang
e8328fd0a4
feat: workspace invitations
2024-03-03 02:48:01 +08:00
Zack
79a0dd43c6
feat: Create workspace ( #357 )
...
* feat: initialize collab for user after workspace creation
* fix: add permission before adding new collab for new workspace
* chore: simplify logic
2024-02-29 13:02:27 +08:00
Zack Fu Zi Xiang
f8b9f623cf
feat: delete all files when workspace is deleted
2024-02-28 18:24:17 +08:00
Zack Fu Zi Xiang
7abba9d7ef
feat: add workspace icon field
2024-02-27 11:26:31 +08:00
Nathan.fooo
deffd074b9
chore: check collab before insert ( #349 )
...
* chore: check collab before insert
* chore: fix audit
* chore: speed test
* chore: add expirate duration for cache encode collab
* chore: fix test
2024-02-25 12:38:07 +08:00
Zack Fu Zi Xiang
cb715a5e58
chore: merge with main
2024-02-22 13:00:19 +08:00
Zack Fu Zi Xiang
86669dd655
chore: remove unneeded import
2024-02-22 12:57:44 +08:00
Zack Fu Zi Xiang
1c7966a486
chore: remove unneeded test
2024-02-22 12:55:49 +08:00
Zack Fu Zi Xiang
c50f872bb7
Revert "Merge pull request #328 from AppFlowy-IO/workspace-add-email"
...
This reverts commit 5e7794646a , reversing
changes made to d5869742c2 .
2024-02-22 10:48:10 +08:00
Zack Fu Zi Xiang
ca63d309f7
tests: add test for rename workspace
2024-02-22 10:42:55 +08:00
Zack Fu Zi Xiang
558d188cc4
chore: remove invalid test case
2024-02-20 17:18:38 +08:00
Zack Fu Zi Xiang
deedaae34d
feat: add test cases for inviting user
2024-02-20 01:45:03 +08:00