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
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
91bc8568ae
fix: unwrap
2023-11-07 11:00:37 +08:00
Fu Zi Xiang
d06f8d89b7
chore: remove unneeded print
2023-11-07 10:01:00 +08:00
Fu Zi Xiang
32390676f1
fix: user not allowed
2023-11-07 01:17:08 +08:00
Fu Zi Xiang
17044ad4f0
feat: indempotency restart for email autoconfirm and non autoconfirm
2023-11-07 00:32:28 +08:00
Fu Zi Xiang
c029759573
chore: merge with main
2023-11-06 23:54:36 +08:00
Fu Zi Xiang
a6f7198443
chore: remove unneeded binding
2023-11-06 13:54:45 +08:00
Fu Zi Xiang
b785b1a482
fix: restartable server when autoconfirm is true
2023-11-06 13:50:38 +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
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
Zack
37a759ead6
feat: Request Id ( #144 )
...
* feat: added basic monitoring stack
* docs(grafana): import steps and recommended imports
* feat(metric): api metrics
* feat(prometheus): add appflowy cloud metric scraping job
* fix: put back tracing logger
* feat: middleware for path counter
* feat: added gotrue to prometheus metrics
* feat: added nginx to prometheus metrics
* feat: added latency and result to metrics
* feat(nginx): set request id to header
* feat: added request id in nginx
* feat: simplify metric collection
* feat: added simple grafana dashboard for appflowy cloud
* feat(logging): added logging stack
* docs: improve monitoring docs
* docs: added known common issues
* feat: give persistence
* feat: add exemplars
* fix: docker compose volumes
* feat(grafana): add trace id to prometheus datasource
* feat(grafana): improve dashboard to include exemplars
* feat: request id middleware
* docs: move doc to more relevant place
* chore: clean up logs
* feat: try json fmt
* feat: remove pretty
* feat: logging use json in prod but pretty in local
2023-11-03 16:57:05 +08:00
Nathan.fooo
937e3bd9b2
fix: fix some bugs ( #145 )
...
* chore: update
* chore: pub error code
* chore: update
* chore: update
* chore: update
* chore: update
* chore: update
* chore: update max frame size
* chore: update max frame size
* chore: ws buffer size
* chore: update
2023-11-03 14:15:08 +08:00
Nathan.fooo
9c911a3a94
refactor: Error ( #143 )
...
* chore: remove api
* chore: update log
* refactor: error
* chore: fmt
* ci: fix test
* ci: fix
* chore: remove unstable
2023-11-02 17:17:34 +08:00
Zack
1cc1158d36
feat: Metrics ( #141 )
...
* feat: added basic monitoring stack
* docs(grafana): import steps and recommended imports
* feat(metric): api metrics
* feat(prometheus): add appflowy cloud metric scraping job
* fix: put back tracing logger
* feat: middleware for path counter
* feat: added gotrue to prometheus metrics
* feat: added nginx to prometheus metrics
* feat: added latency and result to metrics
* feat(nginx): set request id to header
* feat: added request id in nginx
* feat: simplify metric collection
* feat: added simple grafana dashboard for appflowy cloud
* feat(logging): added logging stack
* docs: improve monitoring docs
* docs: added known common issues
* feat: give persistence
* feat: add exemplars
* fix: docker compose volumes
* feat(grafana): add trace id to prometheus datasource
* feat(grafana): improve dashboard to include exemplars
2023-11-02 15:34:00 +08:00
Nathan.fooo
5020d4738a
feat: Integrate workspace member ( #140 )
...
* chore: update client api
* chore: return user name in the workspace memeber
* chore: optimize logs
2023-10-25 20:44:30 +08:00
Nathan.fooo
8c1c5d0cd9
feat: insert uid instead of gen it from db ( #139 )
2023-10-25 12:18:33 +08:00
Nathan.fooo
49f994488a
chore: redirect url ( #134 )
...
* chore: redirect url
* chore: stop ws conn if error is auth error
* chore: add query params
* chore: fix clippy
2023-10-24 00:40:44 +08:00
Nathan.fooo
7c503372e0
feat: client-api integration: save user meta data ( #133 )
...
* chore: update
* feat: get user workspace info
* feat: return list of workspace
* feat: return latest workspace id
* feat: latest workspace id
* test: add tests
2023-10-23 15:03:31 +08:00
Nathan.fooo
d0d2e916a7
refactor: hiding sqlx row entitis from client api ( #132 )
2023-10-22 22:10:03 +08:00
nathan
ec13239bdd
chore: update dto
2023-10-22 21:10:30 +08:00
Nathan.fooo
7a309c6f69
feat: insert user metadata ( #131 )
2023-10-22 19:21:23 +08:00
Nathan.fooo
1aba1f0cf4
feat: workspace usage test ( #129 )
...
* feat: workspace usage test
* test: add tests
2023-10-22 17:52:10 +08:00
Nathan.fooo
fe5ef43333
refactor: workspace member crud ( #128 )
...
* refactor: workspace member crud
* refactor: update user api
* test: fix test
2023-10-21 20:50:32 +08:00
Nathan.fooo
417d9f1d41
feat: cache workspace member & fix some bugs ( #127 )
...
* chore: insert collab member when inserting workspace member
* refactor: test directory
* chore: remove triggers
* test: add more test
* chore: cache workspace memeber role
* chore: update test
2023-10-20 19:43:36 +08:00
Nathan.fooo
cb9cdb9280
feat: collab permission test ( #126 )
...
* chore: check permission for collab storage proxy
* feat: add permission tests
* chore: skip log
2023-10-19 17:12:21 +08:00
Nathan.fooo
9dc7bbeee0
feat: Collab access control ( #120 )
...
* chore: check collab message with access permission
* chore: imple collab permission service
* refactor: migrations
* chore: collab member ops
* chore: collab permission
* chore: update can edit workspace collab
* chore: fix test
* feat: fetch collab members
* chore: fix test
* chore: fix client api
* chore: check permission for collab storage proxy
2023-10-17 14:00:04 +08:00
Nathan.fooo
88be0c2433
refactor: access control ( #118 )
...
* refactor: access control
* chore: fix test
2023-10-15 10:56:56 +08:00
Nathan.fooo
3e73adc82d
feat: workspace manager & test ( #117 )
...
* chore: add workspace tests
* chore: add slqx files
* feat: update workspace member role
* chore: update
2023-10-14 12:23:23 +08:00
Nathan.fooo
5c58f95f9f
feat: workspace access control ( #115 )
...
* feat: workspace access control
* feat: extact workspace id from path
* feat: create member with permission set
* chore: update sqlx files
* chore: fix cargo toml warn
* chore: clippy
2023-10-13 20:02:29 +08:00
Fu Zi Xiang
20927fc3f4
chore: merge with main
2023-10-13 12:10:28 +08:00
Fu Zi Xiang
591b66b73e
feat: auto refresh session
2023-10-13 12:08:53 +08:00
nathan
7b77805d8d
chore: add logs
2023-10-13 10:37:28 +08:00
Nathan.fooo
3611c2076e
feat: update ws connect setting ( #111 )
...
* chore: update ws connect setting
* chore: remove token when token is invalid
* chore: close the ws connect when overflow happened
* fix: reset timing
* fix: reset timing
* chore: sleep if timeout not reach
* chore: sleep if timeout not reach
2023-10-12 16:51:44 +08:00
Nathan.fooo
ef726092be
refactor: file storage ( #110 )
...
* refactor: return file id after save to disk
* test: add tests
* chore: mine type
* test: disbale two client sync test
* chore: get file with url
* refactor: client api
2023-10-11 21:36:57 +08:00
Nathan.fooo
128590652e
refactor: collab storage dir ( #108 )
2023-10-10 08:45:29 +08:00
Nathan.fooo
089b3046ab
chore: implement batch get ( #106 )
...
* chore: implement batch get
* chore: add request id and update the local_server.sh
* chore: update collab commit id
2023-10-08 23:53:16 +08:00
Nathan.fooo
a02da07627
Test deploy docker log ( #105 )
...
* chore: try to fix logs in docker
* ci: test deploy
* ci: log level
2023-10-08 21:42:25 +08:00
Nathan.fooo
17093de469
chore: opti log ( #103 )
...
* chore: opti log
* chore: clippy
2023-10-06 21:04:16 +08:00
Nathan.fooo
d3186cc07a
feat: websocket config ( #99 )
...
* chore: enable tls feature
* chore: update ws client
* chore: update ws client
* chore: expost database entities
* chore: update ws nginx config
* chore: rename error file
* chore: fix clippy
2023-10-05 17:43:50 +08:00
Nathan.fooo
c0aea377d0
test: test with dev client ( #91 )
...
* test: test with dev client
* chore: add nginx conf
* chore: fix clippy
* chore: disable docker in lint
2023-10-04 21:43:21 +08:00
Zack
583f82b7fb
refactor: collab http ( #89 )
...
* refactor: collab http
* fix: sqlx uuid in types client_api
2023-10-04 16:59:03 +08:00
Nathan.fooo
3133e5ec32
chore: try fix test ( #84 )
2023-09-30 12:36:42 +08:00
Nathan.fooo
19ee96db4a
chore: rename crate ( #82 )
2023-09-28 22:20:48 +08:00
Zack
a6eb8607c9
feat: async read for file upload ( #80 )
...
* feat: async read for file upload
* feat: async read for file download
---------
Co-authored-by: nathan <nathan@appflowy.io>
2023-09-28 14:53:41 +08:00
Nathan.fooo
b8bd53ff5c
feat: create collab sync crate ( #79 )
...
* feat: create collab sync crate
* test: add tst
* test: add test
* test: update tests
* chore: clippy
* chore: clippy
* chore: clippy
* chore: add retry when subscribe group
* chore: disable realtime test
2023-09-28 09:28:46 +08:00
Zack
ff6a8e1eaf
feat: File api ( #70 )
...
* feat: s3 minio wip
* feat: s3 minio bucket create idempotent
* feat: put storage setting into configurations
* chore: clippy lint
* feat: add setting to base config
* feat: add configuration for prod
* fix: allow use different minio host
* feat: add server file storage
* fix: add missing file
* feat: add code template
* feat: add http api
* feat: added file upload to client api
* feat: database metadata impl
* fix: added missing files
* feat: added test cases and improve impl
---------
Co-authored-by: nathan <nathan@appflowy.io>
2023-09-27 10:21:37 +08:00
Nathan.fooo
b729e3529d
chore: bump collab version ( #78 )
...
* chore: bump collab version
* chore: bump collab version
* chore: update
* chore: update
* chore: update
* chore: update tests
* chore: clippy
* chore: clippy
* chore: clippy
2023-09-26 22:52:41 +08:00
Nathan.fooo
0883ae94b8
test: sign in url test ( #75 )
...
* test: sign in url test
* fix: Tungstenite allows remote attackers to cause a denial of service
* chore: enable feature
* chore: update
2023-09-24 13:03:24 +08:00
Zack
f1a16058ce
feat: Gotrue admin api ( #73 )
...
* feat: set up admin account and auto confirm during appflowy start
* feat: client auth against gotrue whenever possible
* feat: admin add user
* feat: implement admin add user
* feat: generate registered user
* fix: enable cloud feature for client_api
* fix: test same user fix
2023-09-23 17:07:02 +08:00