Khor Shu Heng
8c14612f98
feat: refactor access control to enable swapping implementation ( #859 )
2024-10-10 13:04:47 +08:00
Bartosz Sypytkowski
69f7b7f6dd
chore: drop endpoints used before client version 0.5.0
2024-08-26 18:53:24 +02:00
Bartosz Sypytkowski
43f6f3bc61
chore: apply same change to other ws endpoint
2024-08-26 15:03:18 +02: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
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
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
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
66a5033d16
chore: remove component folder ( #419 )
2024-03-26 14:16:03 +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
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
Nathan.fooo
0b0a078b29
ci: fix wasm test ( #369 )
...
* ci: fix wasm test
* chore: clippy
2024-03-05 15:03:33 +08:00
Nathan.fooo
0e4442159e
chore: support client version when connect using webscoket ( #368 )
...
* chore: support client version when connect using webscoket
* chore: update tokio version
* chore: fix audit
* chore: fix wasm test
* chore: update
* chore: update
* chore: update
* chore: update
2024-03-05 07:22:56 +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
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
Nathan.fooo
5ed6a14943
chore: reduce lock required ( #353 )
...
* chore: spawn local task
* chore: spawn local task
* chore: spawn local task
* chore: spawn local task
* chore: fix test
* chore: fix test
* chore: clippy
* chore: clippy
* chore: clippy
* chore: clippy
2024-02-27 18:50:44 +08:00
Nathan.fooo
2f0f093331
refactor: access control ( #318 )
...
* refactor: dir
* chore: update
* fix: test
* chore: fix test
* chore: clippy
* chore: update config
* chore: update
2024-02-17 01:15:06 +08:00
Nathan.fooo
1a7866e651
chore: use redis to cache collab data ( #294 )
...
* chore: use redis to cache collab data
* chore: create table
* chore: use cache
* chore: period check group status
* chore: remove trait
* chore: update logs
* chore: update logs
* chore: update logs
* chore: update logs
2024-02-05 09:54:16 +08:00
Nathan.fooo
9cd1f5ab0a
feat: cache uid ( #290 )
...
* feat: cache uid
* chore: remove select uid call
* chore: break loop if mailbox close
2024-02-03 13:08:49 +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
79a02edd00
feat: notify user via websocket after profile changed ( #164 )
...
* feat: notify user via websocket after profile changed
* chore: update
* chore: update
2023-11-14 12:47:10 +08:00
Nathan.fooo
54ef875f5f
feat: notify user profile change ( #163 )
...
* feat: send user profile changes via ws
* test: add tests
2023-11-13 22:58:18 +08:00
Nathan.fooo
f626e4a3b2
chore: log for broadcast ( #154 )
...
* chore: return not found
* chore: add logs
* chore: handle ws error
* chore: add logs
* chore: add logs
* chore: ping
* chore: ping
* chore: add log
* chore: update
* chore: update
* chore: update
2023-11-09 14:24:32 +08:00
Nathan.fooo
f1dad07caa
feat: http init sync ( #151 )
...
* fix: bugs
* chore: support message type
* refactor: ws message
* feat: post realtime message
* feat: use proto to reduce message size
* ci: update
* ci: install protoc
* ci: update docker
* chore: update ci
* ci: update docker
* ci: fix
* ci: fix
* ci: fix
2023-11-08 15:41:39 +08:00
Nathan.fooo
d088fd2ec8
feat: ws frame size ( #146 )
...
* chore: update ws frame size
* chore: update
* chore: update frame size to 64 kb
* chore: fix merge
* chore: update
* chore: update collab rev
* chore: update
* chore: update
* chore: update
* chore: update
* chore: update
* chore: update ws state
* chore: update pg max connect
* chore: fix crash
2023-11-04 21:42:06 +08:00
Nathan.fooo
937e3bd9b2
fix: fix some bugs ( #145 )
...
* chore: update
* chore: pub error code
* chore: update
* chore: update
* chore: update
* chore: update
* chore: update
* chore: update max frame size
* chore: update max frame size
* chore: ws buffer size
* chore: update
2023-11-03 14:15:08 +08:00
Nathan.fooo
9c911a3a94
refactor: Error ( #143 )
...
* chore: remove api
* chore: update log
* refactor: error
* chore: fmt
* ci: fix test
* ci: fix
* chore: remove unstable
2023-11-02 17:17:34 +08:00
Nathan.fooo
49f994488a
chore: redirect url ( #134 )
...
* chore: redirect url
* chore: stop ws conn if error is auth error
* chore: add query params
* chore: fix clippy
2023-10-24 00:40:44 +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
3611c2076e
feat: update ws connect setting ( #111 )
...
* chore: update ws connect setting
* chore: remove token when token is invalid
* chore: close the ws connect when overflow happened
* fix: reset timing
* fix: reset timing
* chore: sleep if timeout not reach
* chore: sleep if timeout not reach
2023-10-12 16:51:44 +08:00
Nathan.fooo
7ae645a7c1
test: add ws reconnect test ( #58 )
...
* test: add test
* test: add reconnect
2023-09-18 11:42:32 +08:00
Nathan.fooo
939ea29c3b
feat: Realtime multiple conn test( #45 )
...
* chore: multiple connection with same user
* chore: connect with device id
* fix: multiple connection
* test: add more test
* chore: fmt
2023-09-15 09:59:37 +08:00
Nathan.fooo
b1adcc7919
test: websocket connect and then edit collab test ( #40 )
...
* refactor: realtime dir
* test: add test
* test: fix
2023-09-14 09:34:24 +08:00
Nathan.fooo
c42158b7cb
test: add ws connect test ( #39 )
...
* test: add ws connect test
* chore: format log
2023-09-13 17:04:42 +08:00
Nathan.fooo
b32fcff4d4
test: Collab handler test ( #36 )
...
* chore: implement collab requests
* test: add more tests
* chore: update scope path
2023-09-13 12:52:22 +08:00
Nathan.fooo
f0f58f98f3
feat: create collab handlers ( #34 )
...
* feat: logged user after sign up/sign in
* test: fix test
* chore: update sqlx files
* chore: add router
* chore: parser user uuid from token
2023-09-12 21:52:25 +08:00
Nathan.fooo
9ac53dca8e
chore: implement collab storage using postrges ( #31 )
...
* chore: implement collab storage using postrges
* chore: update collab rev
* chore: update .sqlx files
2023-09-12 15:36:33 +08:00
Nathan.fooo
3cd3240bfc
chore: move realtime test ( #26 )
...
* chore: fix tests
* chore: add test server
* chore: move tests
2023-09-10 19:35:29 +08:00
Nathan.fooo
f9825d4221
feat: refactor server collab ( #15 )
...
* refactor: collab storage
* chore: fix test
* chore: update sqlx version
* chore: disable realtime test
* chore: sqlx prepare
* chore: remove init.sql
2023-09-06 18:22:40 +08:00
Nathan.fooo
8b9e6584d2
feat: ws reconnect ( #5 )
...
* feat: ws reconnect
* chore: update collab rev
2023-05-10 20:54:10 +08:00
Nathan.fooo
90ae1d5fb6
Feat/ws test ( #4 )
...
* test: ws test
* test: update
* test: update
* test: sync update
* feat: ws test
2023-05-10 20:26:30 +08:00
Nathan.fooo
18e950a829
feat: ws connect ( #3 )
...
* chore: ws
* chore: build client stream
* feat: test ws connect
* ci: fix ci
2023-05-08 19:03:50 +08:00
appflowy
faacd8dd47
feat: create token crate
2023-03-15 14:41:23 +08:00
nathan
d834637d2f
feat: ws message
2023-03-14 09:34:00 +08:00
nathan
5a7e223b99
feat: support ws
2023-03-14 00:05:23 +08:00