Commit Graph

238 Commits

Author SHA1 Message Date
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