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
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
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
Nathan.fooo
b1c14c8ffb
test: add ( #300 )
...
* test: add
* test: add
* chore: clippy
* chore: clippy
2024-02-09 07:10:26 +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
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
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
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
Zack Fu Zi Xiang
f849f39133
chore: add flakes to gitignore
2024-01-28 02:01:15 +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.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
b10c85c8aa
chore: use utils from client api test util
2024-01-23 16:01:36 +08:00
Fu Zi Xiang
a683e8447e
chore: merge with main
2024-01-23 15:30:50 +08:00
Fu Zi Xiang
59d07040fc
fix: make unique user creation public
2024-01-23 15:19:19 +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
3907374cd1
fix: ws connect test with expired token
2024-01-22 13:19:15 +08:00
Fu Zi Xiang
107423562d
fix: valid url before ws connect
2024-01-22 12:37:59 +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
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
Nathan.fooo
79702b1ced
feat: stream create list of collab ( #253 )
2024-01-11 09:28:28 +08:00
Zack
97d1bb532c
feat: revamp storage api ( #251 )
...
* feat: revamp storage api
* feat: client api add method to generate url
* feat: remove some unused deps
* feat: upgrade deps
* feat: add mime to resp
2024-01-11 00:32:11 +08:00
Nathan.fooo
284e2bf638
chore: compress collab data ( #249 )
...
* chore: compress collab data
* chore: custom buffer size
* chore: compression ws message
* chore: update log
* chore: update log
* chore: update client max body size
* chore: update client api
* docs: update docs
* chore: retry transaction
* chore: update timeout
* chore: stop previous loop
* chore: log ping error
* chore: log send error
* chore: log error
* chore: update log
* chore: async compress
* feat: stream payload
* chore: update load
* chore: update
* chore: update log
* chore: fix cmt
* fix: client message from http
* chore: bump collab
2024-01-10 08:05:57 +08:00
Nathan.fooo
8e38ae7b69
refactor: remove rust-s3, sqlx from client-api ( #245 )
...
* refactor: remove rust-s3, sqlx from client-api
* chore: fmt
* chore: add ci check
* chore: add ci check
* chore: add ci check
2024-01-05 06:12:01 +08:00
Nathan.fooo
c5fe447250
feat: bump collab ( #243 )
...
* chore: bump collab
* chore: bump collab
* chore: bump collab
2024-01-03 08:40:26 +08:00
Nathan.fooo
6d0612ffaf
feat: encode batch create collab data as binary ( #242 )
2024-01-03 06:07:21 +08:00
Nathan.fooo
b48bf402c7
chore: set client max boby size ( #241 )
...
* chore: set client max boby size
* chore: fix clippy
2024-01-03 03:22:45 +08:00
Nathan.fooo
4d113425fe
feat: override collab when create ( #234 )
...
* feat: override collab when create
* chore: clippy
* chore: fmt
2023-12-25 09:40:32 +08:00
Nathan.fooo
a07cc0b903
feat: Insert multiple collab ( #233 )
...
* chore: remove panic hook
* chore: support insert multiple collabs
2023-12-25 02:03:41 +08:00
Zack
a7b259ad20
feat: use only env var for appflowy cloud ( #224 )
...
* feat: use only env var for appflowy cloud
* fix: jwt local testing
* fix: security audit
* feat: update docker deploy configs
* fix: test utils dotenvy
* fix: test try sqlx offline
* fix: add gotrue configs for appflowy
* fix: redis uri in docker
2023-12-19 08:45:42 +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
69ed6ff4e8
feat: create snapshot for collab ( #221 )
2023-12-17 13:38:55 +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
Nathan.fooo
c0f5c2ce7e
feat: fix flaky test ( #202 )
...
* test: fix
* fix: flaky test
2023-12-09 12:48:46 +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
nathan
cdb80bf13a
chore: fmt
2023-11-28 01:29:01 +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
39b5ca28ad
feat: dynamic load oauth login options if supported by gotrue
2023-11-22 22:45:15 +08:00