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
7fda6119e1
chore: cargo clippy
2024-04-08 18:42:11 +08:00
Zack Fu Zi Xiang
227e93c2ec
chore: sqlx offline files
2024-03-20 13:22:12 +08:00
Zack Fu Zi Xiang
5fa6ccdcdb
feat: workspace invitation view shared and accept
2024-03-18 15:59:07 +08:00
Zack Fu Zi Xiang
dab3b5861f
chore: cargo sqlx prepare
2024-03-14 18:12:31 +08:00
Zack Fu Zi Xiang
dca443affc
chore: add sqlx files
2024-03-06 11:29:21 +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
70f2db7a7f
chore: add missing sqlx files
2024-03-04 09:49:15 +08:00
Zack Fu Zi Xiang
e8328fd0a4
feat: workspace invitations
2024-03-03 02:48:01 +08:00
Zack Fu Zi Xiang
33028a7895
fix: add missing files
2024-02-27 11:36:27 +08:00
Zack Fu Zi Xiang
7abba9d7ef
feat: add workspace icon field
2024-02-27 11:26:31 +08:00
Zack Fu Zi Xiang
ba989e64f3
feat: added rename workspace
2024-02-22 11:13:37 +08:00
Zack Fu Zi Xiang
ad0f477505
revert to workspace-add-email
2024-02-22 11:09:50 +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
446518adf6
feat: api: add rename endpoint
2024-02-22 10:31:51 +08:00
Zack Fu Zi Xiang
4413f61f26
Merge branch 'main' into workspace-add-email
2024-02-20 10:16:58 +08:00
Nathan.fooo
5cd16d7544
chore: load user id and uuid when start ( #329 )
...
* chore: load user id and uuid when start
* chore: fix test
* chore: fix test
2024-02-20 05:43:33 +08:00
Zack Fu Zi Xiang
ce4b4c47a2
chore: cargo sqlx updates
2024-02-20 00:43:12 +08:00
Zack Fu Zi Xiang
81054fe12a
chore: show workspaces now shows shared workspaces
2024-01-28 02:08:39 +08:00
Zack Fu Zi Xiang
f849f39133
chore: add flakes to gitignore
2024-01-28 02:01:15 +08:00
Fu Zi Xiang
353065dfbf
feat: add optional name param for workspace creation
2024-01-24 11:35:44 +08:00
Fu Zi Xiang
7c95f6556a
feat: added test case and use triggers
2024-01-23 14:48:25 +08:00
Fu Zi Xiang
27b7b8b5b8
feat: add workspace and delete workspace
2024-01-23 12:10:55 +08:00
Zack
97d1bb532c
feat: revamp storage api ( #251 )
...
* feat: revamp storage api
* feat: client api add method to generate url
* feat: remove some unused deps
* feat: upgrade deps
* feat: add mime to resp
2024-01-11 00:32:11 +08:00
Nathan.fooo
69ed6ff4e8
feat: create snapshot for collab ( #221 )
2023-12-17 13:38:55 +08:00
Zack
24ab19f2a5
feat: use sqlx row stream to load collab policy ( #217 )
...
* feat: use sqlx row stream to load collab policy
* fix: access control object type
2023-12-17 11:24:51 +08:00
Nathan.fooo
b39621e389
refactor: reduce select all workspace memebers call ( #216 )
...
* refactor: reduce select all workspace memebers call
* chore: docker build
* refactor: move tests
* chore: expose enforcer on tests
* refactor: update workspace member when recv pg notification
* chore: update test
* chore: commit sqlx file
2023-12-17 02:46:05 +08:00
Zack
377d7ad8f7
opti: Select all collab members ( #215 )
...
* feat: use af member stream for populating policies
* fix: add missing sqlx files
* chore: removed unused function
2023-12-16 13:02:37 +08:00
Jiraffe7
36ef0f13b0
feat: casbin access control ( #178 )
...
* feat: casbin for access control
* fix: method to generate database url instead of ToString
* fix: hold write lock when modifying policies
* chore: fix compile
* fix: remove db constraint for lib integration tests
---------
Co-authored-by: nathan <nathan@appflowy.io>
2023-12-11 11:08:15 +08:00
Nathan.fooo
62abd8abbf
feat: return request id to client api ( #186 )
...
* docs: update
* chore: add logs
* chore: test
* feat: return request id to the client
* feat: print request id in client api
* fix: lock table when creating new user
2023-11-30 07:40:52 +08:00
Nathan.fooo
58ffae16b1
feat: enable create default documents for user when sign up ( #184 )
...
* chore: send collab with interval
* feat: create workspace template
2023-11-29 06:11:20 +08:00
Zack
3890f5d306
feat: User deletion ( #177 )
...
* feat: database trigger for hard delete of user
* feat: clean delete user data
* feat: hard delete when admin deletes
2023-11-27 01:07:45 +08:00
Nathan.fooo
5020d4738a
feat: Integrate workspace member ( #140 )
...
* chore: update client api
* chore: return user name in the workspace memeber
* chore: optimize logs
2023-10-25 20:44:30 +08:00
Nathan.fooo
8c1c5d0cd9
feat: insert uid instead of gen it from db ( #139 )
2023-10-25 12:18:33 +08:00
Nathan.fooo
7c503372e0
feat: client-api integration: save user meta data ( #133 )
...
* chore: update
* feat: get user workspace info
* feat: return list of workspace
* feat: return latest workspace id
* feat: latest workspace id
* test: add tests
2023-10-23 15:03:31 +08:00
Nathan.fooo
7a309c6f69
feat: insert user metadata ( #131 )
2023-10-22 19:21:23 +08:00
Nathan.fooo
1aba1f0cf4
feat: workspace usage test ( #129 )
...
* feat: workspace usage test
* test: add tests
2023-10-22 17:52:10 +08:00
Nathan.fooo
fe5ef43333
refactor: workspace member crud ( #128 )
...
* refactor: workspace member crud
* refactor: update user api
* test: fix test
2023-10-21 20:50:32 +08:00
Nathan.fooo
417d9f1d41
feat: cache workspace member & fix some bugs ( #127 )
...
* chore: insert collab member when inserting workspace member
* refactor: test directory
* chore: remove triggers
* test: add more test
* chore: cache workspace memeber role
* chore: update test
2023-10-20 19:43:36 +08:00
Nathan.fooo
cb9cdb9280
feat: collab permission test ( #126 )
...
* chore: check permission for collab storage proxy
* feat: add permission tests
* chore: skip log
2023-10-19 17:12:21 +08:00
Nathan.fooo
9dc7bbeee0
feat: Collab access control ( #120 )
...
* chore: check collab message with access permission
* chore: imple collab permission service
* refactor: migrations
* chore: collab member ops
* chore: collab permission
* chore: update can edit workspace collab
* chore: fix test
* feat: fetch collab members
* chore: fix test
* chore: fix client api
* chore: check permission for collab storage proxy
2023-10-17 14:00:04 +08:00
Nathan.fooo
88be0c2433
refactor: access control ( #118 )
...
* refactor: access control
* chore: fix test
2023-10-15 10:56:56 +08:00
Nathan.fooo
3e73adc82d
feat: workspace manager & test ( #117 )
...
* chore: add workspace tests
* chore: add slqx files
* feat: update workspace member role
* chore: update
2023-10-14 12:23:23 +08:00
Nathan.fooo
5c58f95f9f
feat: workspace access control ( #115 )
...
* feat: workspace access control
* feat: extact workspace id from path
* feat: create member with permission set
* chore: update sqlx files
* chore: fix cargo toml warn
* chore: clippy
2023-10-13 20:02:29 +08:00
nathan
a61b439fcf
chore: run sqlx prepare
2023-10-13 11:34:22 +08:00
Nathan.fooo
ef726092be
refactor: file storage ( #110 )
...
* refactor: return file id after save to disk
* test: add tests
* chore: mine type
* test: disbale two client sync test
* chore: get file with url
* refactor: client api
2023-10-11 21:36:57 +08:00
Nathan.fooo
089b3046ab
chore: implement batch get ( #106 )
...
* chore: implement batch get
* chore: add request id and update the local_server.sh
* chore: update collab commit id
2023-10-08 23:53:16 +08:00
Zack
583f82b7fb
refactor: collab http ( #89 )
...
* refactor: collab http
* fix: sqlx uuid in types client_api
2023-10-04 16:59:03 +08:00
Zack
a6eb8607c9
feat: async read for file upload ( #80 )
...
* feat: async read for file upload
* feat: async read for file download
---------
Co-authored-by: nathan <nathan@appflowy.io>
2023-09-28 14:53:41 +08:00
Zack
ff6a8e1eaf
feat: File api ( #70 )
...
* feat: s3 minio wip
* feat: s3 minio bucket create idempotent
* feat: put storage setting into configurations
* chore: clippy lint
* feat: add setting to base config
* feat: add configuration for prod
* fix: allow use different minio host
* feat: add server file storage
* fix: add missing file
* feat: add code template
* feat: add http api
* feat: added file upload to client api
* feat: database metadata impl
* fix: added missing files
* feat: added test cases and improve impl
---------
Co-authored-by: nathan <nathan@appflowy.io>
2023-09-27 10:21:37 +08:00