Fu Zi Xiang
375c463566
feat: remove unneeded sudo
2023-10-06 22:42:42 +08:00
Fu Zi Xiang
096cfb8d2e
feat: upgrade to use docker with compose plugin
2023-10-06 22:31:25 +08:00
Nathan.fooo
926da912ea
chore: log level ( #104 )
2023-10-06 21:34:14 +08:00
Nathan.fooo
17093de469
chore: opti log ( #103 )
...
* chore: opti log
* chore: clippy
2023-10-06 21:04:16 +08:00
Fu Zi Xiang
bd83127519
feat: add admin frontend project
2023-10-06 18:11:15 +08:00
Nathan.fooo
9918a6fe43
chore: ws nginx config ( #100 )
2023-10-05 22:32:19 +08:00
Zack
3de367c8fe
ci: fix ( #98 )
...
* feat: use self hosted runner
* fix: bash syntax
* fix: debug github runner user
* fix: debug github runner user - 2
* fix: try again
* fix: add clean up and upgrade rust toolchain
* fix: debug PATH
* fix: temporary disable docker build
* fix: try export path
* fix: resume build
* fix: add LANG env
* fix: use the compose plugin instead
* feat: upgrade to use docker compose plugin insead
* fix: add locale to dockerfile build
* feat: revert back to github actions
* fix: upgrade to use docker compose plugin
* fix: try revert to 1.69.0
2023-10-05 17:45:08 +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
4a279bc108
chore: config nginx ( #93 )
...
* chore: config nginx
* chore: update nginx
2023-10-04 22:11:46 +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
74b583bc62
refactor: test directory ( #88 )
...
* refactor: test directory
* chore: rename
2023-10-04 16:57:15 +08:00
Nathan.fooo
cf84557ebe
feat: oauth provider ( #86 )
...
* chore: remove opener
* chore: rename method
* chore: add docs
* chore: modify env
2023-10-03 22:06:07 +08:00
Nathan.fooo
b0c213b5c0
fix: message queue ( #85 )
...
* fix: message queue
* chore: retry sink collab message
* chore: update
2023-10-02 15:28:35 +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
dependabot[bot]
93792276cf
chore: bump aes-gcm from 0.10.2 to 0.10.3 ( #77 )
...
Bumps [aes-gcm](https://github.com/RustCrypto/AEADs ) from 0.10.2 to 0.10.3.
- [Commits](https://github.com/RustCrypto/AEADs/compare/aes-gcm-v0.10.2...aes-gcm-v0.10.3 )
---
updated-dependencies:
- dependency-name: aes-gcm
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 09:27:19 +08:00
Nathan.fooo
b08a4a9016
chore: expost sign in url ( #76 )
...
* chore: expost sign in url fc
* refactor: realtime test
* chore: add logs
* chore: update
* chore: update
* chore: update
* chore: update
* chore: update
* chore: update
* chore: update
* chore: update
2023-09-26 09:26:35 +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
e3ff765137
feat: Gotrue admin api ( #74 )
...
* 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
* feat: added admin magic link generation
2023-09-23 20:06:37 +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
Nathan.fooo
cbae9493b7
chore: update collab commit id ( #71 )
2023-09-22 23:00:36 +08:00
Nathan.fooo
b0622efe08
Feat update user ( #69 )
...
* chore: update user
* refactor: token
* chore: update
2023-09-22 20:28:39 +08:00
Zack
67706f9e8e
feat: File api ( #68 )
...
* 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
2023-09-22 15:10:41 +08:00
Zack
df9c71edb2
feat: returns if user is new for both oauth and password login ( #67 )
...
* feat: returns if user is new for both oauth and password login
* test: add test for firt time sign_in and subsequent
* chore: remove uneeded use
* fix: compile
---------
Co-authored-by: nathan <nathan@appflowy.io>
2023-09-21 14:05:25 +08:00
Zack
bbc913e45f
feat: support name for oauth sign in ( #65 )
...
* feat: support name for oauth sign in
* fix: add sqlx metadata
* feat: improve api, add name modifications
* fix: add sqlx query metadata
2023-09-21 09:28:07 +08:00
Nathan.fooo
ca0813e265
refactor: ws ping ( #66 )
...
* chore: ws client
* chore: update ws ping
* chore: fix test
* chore: public funcs
* chore: fix test
* chore: check clent-api compile
2023-09-20 20:53:39 +08:00
Zack
0676db7ed6
feat: Workspace members ( #63 )
...
* fix: create user if they sign up with oauth
* feat: add workspaces_members add and remove operations
* feat: add insert workspace members
* feat: attach db ops to api ops
* refactor: separate user and workspace scope
* chore: add sqx query metadata
* chore: add 2nd registered user for testing
* ci: use valid email
* ci: fix registered password invalid
* fix: use email instead of uid
* fix: use email instead of uid sqlx query metadata
* feat: add test for workspace member
* test: added workspace add and delete with checking
* ci: fix email
2023-09-19 20:59:16 +08:00
Nathan.fooo
923a9b41fe
chore: expost entity from client-api ( #64 )
2023-09-19 11:29:02 +08:00
Zack
a201cceb9b
Merge pull request #62 from AppFlowy-IO/nginx
...
Nginx: Routing SSL and Non SSL
2023-09-19 09:38:07 +08:00
Zack
02474c80c4
Merge pull request #59 from AppFlowy-IO/entity_api
...
fix: use borrow
2023-09-19 09:34:04 +08:00
Fu Zi Xiang
7c2204f41a
fix: dev: remove appflowy_cloud as dep in docker compose
2023-09-18 21:18:58 +08:00
Fu Zi Xiang
2352f3dcab
fix: add authorize for gotrue
2023-09-18 20:57:36 +08:00
Fu Zi Xiang
79c8b9478f
feat: nginx reroute callback and verify
2023-09-18 20:49:54 +08:00
Fu Zi Xiang
73be24ad2b
fix: use borrow
2023-09-18 11:59:35 +08:00
Nathan.fooo
7ae645a7c1
test: add ws reconnect test ( #58 )
...
* test: add test
* test: add reconnect
2023-09-18 11:42:32 +08:00
Zack
6c4bbbbf7f
feat: Nginx ( #57 )
...
* feat: added nginx to docker-compose
* ci: base64 decode for cert and key
* test: fix: wrap secert with double quote
* fix: revert previous cert dir
* feat: use 443 for default https port in nginx
* fix: correct 443 (from 433)
* fix: use correct github action secrets
* fix: use docker compose force recreate
* fix: use another crt and key
* fix: use appflowy cloud crt and key
2023-09-18 11:42:18 +08:00
Nathan.fooo
8f8f6af0f9
feat: Integrate to client ( #52 )
...
* refactor: ws client
* chore: update
* chore: update
* chore: add ext_url
* chore: rename structs
* chore: add token notify
2023-09-17 12:52:44 +08:00
Nathan.fooo
d24c13692a
feat: remove actix-web deps from client_api ( #49 )
...
* chore: remove actix-web deps
* chore: fix client error
* chore: expose error
* chore: delete tests
2023-09-16 09:31:47 +08:00
Zack
3c598f178e
ci: test env docker-compose deployment ( #48 )
...
* ci: test env docker-compose deployment
* ci: test deployment
* fix: replace delimiter with pipe to avoid conflict
* fix: API_EXTERNAL_URL_TEST from secrets
* chore: remove unneeded deploy when pull request
* fix: cloud public host name/address
* chore: trigger: change to push
* chore: add ext_url for exposed gotrue auth server
2023-09-15 21:13:43 +08:00
Nathan.fooo
e9fc2af43c
feat: implement websocket client ( #47 )
...
* feat: implement websocket client
* chore: clippy
* chore: update
* chore: update env
2023-09-15 12:11:04 +08:00
Zack
7345da7c46
feat: Autorefresh ( #44 )
...
* feat: use gotrue from source instead of docker hub image
* test: fix test due to gotrue upgrade
* fix: update prod docker-compose
* chore: cargo fmt --all
* chore: cargo fmt --all
* feat: autorefresh
* test: add test case and auto refresh scenario
2023-09-15 11:21:05 +08:00
Nathan.fooo
939ea29c3b
feat: Realtime multiple conn test( #45 )
...
* chore: multiple connection with same user
* chore: connect with device id
* fix: multiple connection
* test: add more test
* chore: fmt
2023-09-15 09:59:37 +08:00
Zack
9fc2acbc35
feat: Docker/gotrue ( #43 )
...
* feat: use gotrue from source instead of docker hub image
* test: fix test due to gotrue upgrade
* fix: update prod docker-compose
* chore: cargo fmt --all
2023-09-14 20:41:04 +08:00
Zack
b3be09e264
feat: added refresh ability on server and client ( #41 )
...
* feat: added refresh ability on server and client
* fix: use refresh token for refresh and add test case
* chore: cargo fmt --all
* chore: cargo clippy
* fix: cargo clippy
* test: added async mutex for registered user for consistency
* fix: remove unneeded files
---------
Co-authored-by: nathan <nathan@appflowy.io>
2023-09-14 15:58:18 +08:00
Nathan.fooo
e03a6ce587
test: fix collab edit test ( #42 )
...
* test: fix
* chore: cargo sqlx check workspce
* chore: remove rocksdb deps
2023-09-14 14:05:15 +08:00