Nathan.fooo
97aead5282
chore: update log ( #226 )
2023-12-19 10:53:31 +08:00
Nathan.fooo
5c1a16cec5
chore: Add sync test ( #225 )
...
* chore: resume old tests
* chore: bump collab commit id
* chore: clippy
* chore: fix audit
2023-12-19 02:56:56 +08:00
Nathan.fooo
922ef47b23
chore: add logs ( #223 )
2023-12-18 10:55:08 +08:00
nathan
46d321c969
chore: remove workspace deps on admin frontend
2023-12-18 03:28:01 +08:00
Nathan.fooo
453329dc0c
feat: try to resotre from snapshot when fail to initialize the collab in CollabStoragePlugin ( #222 )
2023-12-18 02:27:49 +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
Nathan.fooo
cd2c0a3114
fix: casbin access control ( #214 )
...
* chore: fix access control
* fix: create user update collab permissions
* chore: select workspace role it's not found in cache
* fix: encode buffer error
---------
Co-authored-by: Jiraffe7 <twajxjiraffe@gmail.com>
2023-12-16 08:27:57 +08:00
Nathan.fooo
9589054f38
refactor: sync protocol ( #203 )
...
* refactor: sync protocol
* chore: update collab rev
2023-12-11 11:27:11 +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
c0f5c2ce7e
feat: fix flaky test ( #202 )
...
* test: fix
* fix: flaky test
2023-12-09 12:48:46 +08:00
nathan
ae00984038
fix: test
2023-12-08 12:30:39 +08:00
Nathan.fooo
ee31a680b5
chore: unlimited json payload size ( #197 )
...
* chore: return ok when token is empty
* chore: remove json payload size limit
* chore: clippy
2023-12-06 14:21:11 +08:00
Nathan.fooo
f13a03bead
chore: bump up yrs ( #193 )
2023-12-04 12:34:37 +08:00
Nathan.fooo
0e2ec381df
chore: implement symmetric encrypt ( #192 )
2023-12-04 11:50:56 +08:00
Nathan.fooo
208a353fef
fix: client api - channel management ( #191 )
...
* chore: add logs
* chore: remove dropped channels
2023-12-01 10:52:54 +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
Fu Zi Xiang
0a266176c5
chore: merge with main
2023-11-29 13:01:34 +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
Fu Zi Xiang
41f1f15c59
chore: merge with main
2023-11-28 11:38:12 +08:00
Fu Zi Xiang
8984a2421c
feat: sso saml admin frontend
2023-11-28 00:39:36 +08:00
nathan
5090711272
chore: app error fmt
2023-11-28 00:33:26 +08:00
Fu Zi Xiang
c35e121ccf
feat: sso saml admin placeholders
2023-11-27 15:45:10 +08:00
Nathan.fooo
432faee316
chore: add logs ( #182 )
...
* chore: log html
* chore: logs
2023-11-27 08:48:17 +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
Fu Zi Xiang
799f3244ff
chore: cargo fmt
2023-11-22 22:49:36 +08:00
Fu Zi Xiang
39b5ca28ad
feat: dynamic load oauth login options if supported by gotrue
2023-11-22 22:45:15 +08:00
Fu Zi Xiang
b934664b8c
feat: redirect to web if login from web
2023-11-22 13:25:51 +08:00
nathan
b578c83cc9
chore: add logs
2023-11-17 12:37:59 +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
29b39f9ba3
feat: Client api url ( #162 )
...
* chore: expose client base url
2023-11-13 20:43:04 +08:00
Nathan.fooo
2e14dcf129
feat: Client api with test util feature ( #161 )
...
* chore: expose client base url
* feat: add test util feature
* ci: fix af cloud test
* ci: fix af cloud test
2023-11-12 19:44:49 +08:00
Nathan.fooo
04989e9485
feat: Upload collab limit ( #160 )
...
* chore: add logs
* feat: update upload collab limit
2023-11-12 16:03:48 +08:00
Nathan.fooo
c7e90eb24b
feat: stop recv messages when subscribe drop ( #159 )
...
* feat: stop recv messages when subscribe drop
* chore: update collab rev
* chore: fmt
2023-11-11 12:04:52 +08:00
Nathan.fooo
487bc25767
fix: subscriber drop ( #158 )
...
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
2023-11-10 13:41:12 +08:00
Fu Zi Xiang
c3814c14cc
fix: refactor and clean up test case
2023-11-09 21:55:16 +08:00
Nathan.fooo
eb633c2ba4
chore: remove subscriber when receive init message ( #156 )
2023-11-09 16:52:09 +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
d37fbbf486
ci: vendor protoc ( #152 )
...
* ci: vendor protoc
* ci: remove protoc compiler install
2023-11-08 21:12:00 +08:00
nathan
b4b8303bae
chore: remove log
2023-11-08 17:33:47 +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
Fu Zi Xiang
17044ad4f0
feat: indempotency restart for email autoconfirm and non autoconfirm
2023-11-07 00:32:28 +08:00
nathan
eb4814738b
chore: format logs
2023-11-06 20:32:23 +08:00
Nathan.fooo
507d19628b
feat: logs and debounce refresh token ( #150 )
...
* chore: rename error
* chore: debounce refresh token
* refactor: gotrue error
* feat: retry refresh token if it's failed by network error
* chore: reset token
* chore: foramt logs
2023-11-06 16:34:52 +08:00
Nathan.fooo
41e01b91fc
feat: update collab rev and fix some bugs ( #148 )
...
* chore: remove todo
* chore: update collab rev
* chore: fmt
* chore: fmt
* chore: cache collab user
* fix: internal error
* ci: fix test
* chore: update collab rev
* ci: fix
2023-11-05 22:43:20 +08:00
Nathan.fooo
5559e8cbd7
chore: update logs ( #147 )
...
* chore: update logs
* chore: update logs
* chore: update logs
* chore: update logs
2023-11-05 13:25:47 +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