Commit Graph

521 Commits

Author SHA1 Message Date
Zack Fu Zi Xiang deedaae34d
feat: add test cases for inviting user 2024-02-20 01:45:03 +08:00
Zack Fu Zi Xiang ce4b4c47a2
chore: cargo sqlx updates 2024-02-20 00:43:12 +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 815be08d3b
chore: metrics for access control (#326)
* chore: metrics for access control

* chore: fix test
2024-02-19 12:26:35 +08:00
Nathan.fooo f713ebedaa
chore: cache policy when load (#325) 2024-02-19 10:01:40 +08:00
Nathan.fooo c9a3cd6b1b
chore: rename dir (#324)
* chore: rename dir

* chore: clippy
2024-02-19 08:28:32 +08:00
Nathan.fooo 43b46f4259
chore: use dashmap (#322) 2024-02-19 02:59:05 +08:00
Nathan.fooo 44d2a6809f
chore: fix migration miss (#321) 2024-02-18 17:38:14 +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 263fdbafdc
Disable casbin (#313)
* chore: disable casin test

* chore: disable casin test
2024-02-09 15:07:39 +08:00
Nathan.fooo e999999694
chore: release lock asap (#312) 2024-02-09 14:59:20 +08:00
Nathan.fooo 8769ae62f7
chore: profile appflowy cloud (#311) 2024-02-09 13:49:12 +08:00
Zack Fu Zi Xiang 0b08ab34ea
chore: cargo clippy 2024-02-09 12:49:29 +08:00
Zack Fu Zi Xiang 8b271eedd5
chore: cargo clippy 2024-02-09 12:22:25 +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 8e4108a4b2
feat: add env var and docs for admin frontend 2024-02-09 01:12:17 +08:00
Zack cfe9d79ad6
Merge pull request #307 from AppFlowy-IO/admin-frontend/magic-link
Admin frontend/magic link
2024-02-08 19:31:40 +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 7428fdbe33
chore: config module 2024-02-08 14:19:57 +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 af988a066b
docs: update deployment doc 2024-02-08 12:28:20 +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
Zack 8def2bfaf3
Merge pull request #303 from AppFlowy-IO/admin-frontend-refresh-token
feat: consumes client refresh token upon login
2024-02-07 20:07:47 +08:00
Zack Fu Zi Xiang 72cea805f5
feat: consumes client refresh token upon login 2024-02-07 17:07:40 +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
Zack 5fe94e9c59
Merge pull request #297 from AppFlowy-IO/connection-lifetime
feat: added pg connection lifetime
2024-02-06 11:37:00 +08:00
Nathan.fooo 1cfb38d7a2
chore: fix pg lock (#298) 2024-02-06 08:57:10 +08:00
Zack Fu Zi Xiang f787c32a62
feat: added pg connection lifetime 2024-02-06 08:17:22 +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 44d6312d42 chore: add logs 2024-02-03 14:58:39 +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