Zack Fu Zi Xiang
1af1b877ef
Merge branch 'main' into workspace-invite
2024-03-04 12:40:48 +08:00
John Vandenberg
63527e3cae
fix: typos ( #359 )
...
* Fix typos
* chore: solve conflict
---------
Co-authored-by: nathan <nathan@appflowy.io>
2024-03-04 11:32:42 +08:00
Zack Fu Zi Xiang
17a965a30b
chore: remove commented blocks
2024-03-04 09:11:44 +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
Nathan.fooo
2cf857bd00
feat: optimize websocket message ( #351 )
...
* chore: send multiple message
* refactor: message
* refactor: message
* fix: test
* fix: test
* fix: test
* chore: docs
* fix: test
* chore: support compress
* chore: interval retry
* chore: fix test
* chore: merge main
* chore: clippy
* chore: clippy
* ci: fix test
* chore: clippy
* chore: clippy
2024-03-02 02:53:14 +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
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
Zack Fu Zi Xiang
7abba9d7ef
feat: add workspace icon field
2024-02-27 11:26:31 +08:00
Nathan.fooo
375318774a
chore: optimize websocket connect ( #352 )
...
* chore: optimize websocket connect
* chore: fix clippy
* chore: fix clippy
* chore: fix test
* chore: fix test
2024-02-26 15:24:54 +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
Nathan.fooo
10fc8dd2fe
chore: use Redis cache for enforcer ( #348 )
...
* chore: use redis cache
* chore: use redis to cache enforce result
* fix: test
* fix: test
* fix: test
* fix: test
2024-02-24 15:45:53 +08:00
Nathan.fooo
39323d99ac
fix: potential leak ( #347 )
...
* fix: potential leak
* fix: potential leak
2024-02-24 07:40:46 +08:00
Nathan.fooo
b71e443d3f
refactor: write snapshot ( #345 )
...
* chore: increase max connection size of pg (#344 )
* chore: refactor snapshot
* chore: fix test
* chore: fix test
* chore: fix test
* chore: metric
* chore: clippy
* chore: fix test
* chore: fix test
2024-02-23 14:36:06 +08:00
Nathan.fooo
bf3837b44b
chore: increase max connection size of pg ( #344 )
2024-02-23 02:21:02 +08:00
Nathan.fooo
b73e7045dc
chore: use redis as encoded collab cache ( #342 )
2024-02-23 00:36:37 +08:00
Nathan.fooo
1590e948c6
feat: Optimize sync ( #341 )
...
* chore: optimize sync
* chore: optimize sync
* chore: optimize sync
* chore: update collab rev
2024-02-22 14:18:41 +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
ca63d309f7
tests: add test for rename workspace
2024-02-22 10:42:55 +08:00
Zack Fu Zi Xiang
446518adf6
feat: api: add rename endpoint
2024-02-22 10:31:51 +08:00
Zack Fu Zi Xiang
d1a17bbccd
Merge branch 'main' into workspace-add-email
2024-02-21 14:43:03 +08:00
Nathan.fooo
399f7ba2b5
chore: abort sync when the update can not apply ( #335 )
...
* chore: abort sync when the update can not apply
* chore: fix ci
2024-02-21 09:22:26 +08:00
Zack Fu Zi Xiang
7c49359278
chore: merge with main
2024-02-20 15:54:14 +08:00
Nathan.fooo
225887dbee
chore: remove sink lock ( #334 )
...
* chore: remove sink lock
* chore: clippy
2024-02-20 14:26:26 +08:00
Nathan.fooo
119d6abe53
chore: enable collab ac ( #333 )
2024-02-20 11:59:44 +08:00
Zack Fu Zi Xiang
4413f61f26
Merge branch 'main' into workspace-add-email
2024-02-20 10:16:58 +08:00
nathan
1b00f4ba86
chore: disable collab ac
2024-02-20 07:06:37 +08:00
Nathan.fooo
1841dc21e2
chore: flush collab base on edit count ( #330 )
2024-02-20 06:32:19 +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
deedaae34d
feat: add test cases for inviting user
2024-02-20 01:45:03 +08:00
Zack Fu Zi Xiang
f9d9977076
chore: merge with main
2024-02-20 00:40:42 +08:00
Nathan.fooo
d4f7aac93a
test: add test ( #327 )
...
* test: add test
* test: add test
* test: add test
* test: add test
* test: add test
2024-02-19 17:12:07 +08:00
Zack Fu Zi Xiang
32fe1cc24d
feat: send email and create user if adding member but member not exist
2024-02-19 15:40:36 +08:00
Nathan.fooo
43b46f4259
chore: use dashmap ( #322 )
2024-02-19 02:59:05 +08:00
Nathan.fooo
05c1b7b2db
feat: Stream msg ( #320 )
...
* chore: refactor group
2024-02-18 16:34:47 +08:00
Nathan.fooo
7f12628547
chore: use dashmap ( #319 )
2024-02-18 11:55:47 +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
Zack
e1ac591ea0
Merge pull request #310 from AppFlowy-IO/admin-frontend/self-host-env
...
Admin frontend/self host env
2024-02-09 15:15:56 +08:00
Nathan.fooo
e999999694
chore: release lock asap ( #312 )
2024-02-09 14:59:20 +08:00
Nathan.fooo
a1494f0d09
feat: Realtime metrics ( #309 )
...
* chore: add metric
* chore: add metric
* chore: clippy
* chore: clippy
* ci: set rust version
* ci: set rust version
* ci: set rust version
2024-02-09 12:02:54 +08:00
Zack Fu Zi Xiang
0665a456d2
chore: cargo fmt
2024-02-09 10:55:07 +08:00
Zack Fu Zi Xiang
4a03a3be7c
Merge branch 'main' into admin-frontend/self-host-env
2024-02-09 09:59:22 +08:00
Nathan.fooo
09664b0aaa
fix: try to fix potential cpu issue ( #308 )
2024-02-09 07:20:47 +08:00
Nathan.fooo
b1c14c8ffb
test: add ( #300 )
...
* test: add
* test: add
* chore: clippy
* chore: clippy
2024-02-09 07:10:26 +08:00
Zack Fu Zi Xiang
8626b54de8
fix: redirect users after signup via magiclink
2024-02-09 02:13:11 +08:00
Zack Fu Zi Xiang
4fd5086e85
chore: merge with main
2024-02-08 17:26:09 +08:00
Nathan.fooo
29a0851f48
feat: Rate limit of ws client ( #306 )
...
* feat: implement rate limit for client
* chore: check
* chore: check
* chore: check
* chore: update
* chore: add client version
* chore: update
2024-02-08 15:11:23 +08:00
Zack Fu Zi Xiang
c826f00e9a
Merge branch 'main' into admin-frontend/magic-link
2024-02-08 13:07:44 +08:00
Zack Fu Zi Xiang
b4fd4cea05
feat: enable login via email magic link
2024-02-08 12:03:21 +08:00
Nathan.fooo
e1307f4f5d
chore: cache within memory size ( #305 )
...
* chore: cache within memory size
* chore: update
2024-02-08 08:06:41 +08:00
Nathan.fooo
03471f3af7
chore: update feature of actix ( #304 )
...
* chore: update feature of actix
* chore: add logs
2024-02-08 02:32:25 +08:00
Nathan.fooo
fa13422a05
chore: logs ( #302 )
...
* chore: logs
* chore: logs
2024-02-07 13:00:29 +08:00
Nathan.fooo
6f2faff21f
chore: fix log ( #301 )
2024-02-07 08:15:57 +08:00
Nathan.fooo
d851b303bf
refactor: async send ws message in http request ( #296 )
...
* refactor: async send ws message in http request
* chore: update
* chore: update logs
* chore: update logs
* chore: clippy
* chore: add device id in header
* chore: fix test
* chore: fix device_id
* chore: fix client id
* chore: ratelimt for client
* chore: bump collab
2024-02-06 15:21:48 +08:00
Nathan.fooo
d497f2ab62
fix: pg lock ( #299 )
...
* chore: fix pg lock
* chore: fix pg lock
2024-02-06 13:44:39 +08:00
Nathan.fooo
1cfb38d7a2
chore: fix pg lock ( #298 )
2024-02-06 08:57:10 +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
2d8579caab
Logs for apply update ( #293 )
...
* chore: add logs
* chore: add logs
* chore: clippy
2024-02-05 01:37:28 +08:00
Nathan.fooo
d23ad1c4de
chore: fix refresh token ( #292 )
...
* chore: fix refresh token
* chore: fix wasm build
* chore: fix test
2024-02-03 16:57:00 +08:00
Nathan.fooo
4127f21792
chore: remove logs ( #291 )
...
* chore: remove logs
* chore: clippy
2024-02-03 14:50:32 +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
Nathan.fooo
12eebd673e
chore: fix potentail override the new token with old one ( #289 )
...
* chore: fix potentail override the new token with old one
* chore: log request id
2024-02-03 10:42:26 +08:00
Nathan.fooo
3f407c7b9b
chore: increate mailbox capacity ( #287 )
2024-02-03 08:17:40 +08:00
Nathan.fooo
14a146d65f
chore: add logs ( #286 )
...
* chore: add logs
* chore: add logs
* chore: add logs
2024-02-03 07:40:18 +08:00
Nathan.fooo
0875329a43
Fix ping ( #284 )
...
* fix: create document crash
* chore: fix ping
* chore: clippy
2024-02-02 09:33:48 +08:00
Zack Fu Zi Xiang
719d579363
feat: use semantic versioning instead
2024-01-30 12:52:18 +08:00
Zack Fu Zi Xiang
470ddb818c
feat: add api version as github sha and client timestamp to header
2024-01-30 12:36:31 +08:00
Nathan.fooo
199452d3b7
refactor: bear token ( #280 )
...
* refactor: bear token
* chore: fix clippy
2024-01-30 08:01:24 +08:00
Nathan.fooo
5d473ba537
chore: remove unused feature ( #277 )
...
* chore: remove unused feature
* ci: fix
2024-01-30 05:52:49 +08:00
Nathan.fooo
e1b35a1a24
feat: enable cors in nginx ( #276 )
...
* feat: enable cors in nginx
* chore: update
* chore: fix ci
2024-01-29 13:14:50 +08:00
Nathan.fooo
56615e2274
chore: run with different env file ( #275 )
2024-01-29 02:26:43 +08:00
Zack Fu Zi Xiang
f849f39133
chore: add flakes to gitignore
2024-01-28 02:01:15 +08:00
Zack Fu Zi Xiang
e690a775fd
feat: add token expiry check in token
2024-01-26 13:45:57 +08:00
Zack Fu Zi Xiang
03847be020
Merge branch 'protoc-env' into workspace-add
2024-01-25 10:40:24 +08:00
Zack Fu Zi Xiang
1b9bc1648a
fix: use proto from env if present
2024-01-25 03:41:08 +08:00
Fu Zi Xiang
0f4fe7bd7b
chore: merge with main
2024-01-24 12:17:50 +08:00
Fu Zi Xiang
d04eae91e9
feat: add optional name param for workspace creation
2024-01-24 11:58:53 +08:00
nathan
bb1029077c
refactor: template
2024-01-24 11:46:23 +08:00
Fu Zi Xiang
353065dfbf
feat: add optional name param for workspace creation
2024-01-24 11:35:44 +08:00
nathan
bb103531e2
refactor: template
2024-01-24 11:31:53 +08:00
Nathan.fooo
a318d2f96d
test: wasm test ( #271 )
...
* test: wasm test
* ci: run wasm test
* fix: wasm websocket connect
* chore: add logs
* ci: fix
2024-01-24 05:51:42 +08:00
Fu Zi Xiang
e2bf59cff4
fix: empty json string
2024-01-23 17:15:49 +08:00
Fu Zi Xiang
a683e8447e
chore: merge with main
2024-01-23 15:30:50 +08:00
Fu Zi Xiang
7c95f6556a
feat: added test case and use triggers
2024-01-23 14:48:25 +08:00
Nathan.fooo
3377e664d5
feat: create websocket crate for wasm and native ( #269 )
...
* feat: create websocket crate for wasm and native
* chore: update
* chore: replace with websocket::message
* chore: fix client api build
* chore: fix compile
* fix: ci
* refactor: add client api test crate
2024-01-23 14:25:01 +08:00
Fu Zi Xiang
27b7b8b5b8
feat: add workspace and delete workspace
2024-01-23 12:10:55 +08:00
Nathan.fooo
ee3abdb27a
chore: error for oauth ( #268 )
...
* chore: error for oauth
* chore: fmt
* chore: fmt
* chore: add error type
* chore: fix ci
2024-01-22 23:43:04 +08:00
Fu Zi Xiang
107423562d
fix: valid url before ws connect
2024-01-22 12:37:59 +08:00
Fu Zi Xiang
001abfa2ac
fix: cargo deny check advisories
2024-01-18 18:46:47 +08:00
Nathan.fooo
480b7377f2
chore: client api wasm ( #262 )
...
* feat: client_api wasm
* ci: client_api wasm ci
* ci: client_api wasm ci
2024-01-17 03:20:24 +08:00
Fu Zi Xiang
05c8080ec2
Merge branch 'main' into hander_large_blob
2024-01-15 15:15:09 +08:00
Nathan.fooo
5a353856af
chore: log ( #258 )
2024-01-15 04:04:09 +08:00
Fu Zi Xiang
1b18c82dfa
fix: set nginx 413 error as payload too large
2024-01-12 22:06:05 +08:00
Fu Zi Xiang
0f4d4e4b3c
fix: large file test case
2024-01-12 17:59:48 +08:00
Zack
615b402782
docs: Doc improvement ( #256 )
...
* feat: update docs and self host deploy configs
* feat: use default ports for dev
* feat: revamp self host
* feat: use nginx resolver
* feat: cargo fmt
* feat: ci integration test with nginx routing
* feat: cargo fmt
* feat: make docker ci use deploy env rather than dev env
* feat: update api external url for deploy test
* fix: if sqlx is set to offline dont run casbin for tests
* fix: set api external url for tests
* fix: ignore sqlx test with cfg
* fix: sqlx tests
* fix: test use env
* feat: update the docs on optional components
2024-01-12 16:01:16 +08:00