Commit graph

2091 commits

Author SHA1 Message Date
Zack
c8ae099e90
feat: Auth server integration (#9)
* feat: integrate signup with gotrue auth server

* feat: added email and password sign in via auth server

* feat: added sign in scenarios and client handling

* fix: added missing files

* feat: refine api and store access token in client

* feat: impl token decode and placeholder for signout

* feat: added impl for logout with auth server

* feat: auth server dependency injection, client sign_out impl

* feat: abstract verify token, add placeholder for update endpoint

* feat: make authorization as a param of http handler request

* feat: add update_user to client of auth server

* feat: add client code and test cases for password change

* chore: rename appflowy-server to appflowy-cloud

* ci: upgrade reqwest version to fix audit issue

* ci: fix again

* ci: added gotrue env secrets

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-09-04 11:23:40 +08:00
Zack
d50de4e4d8
feat: added capability to decode supabase web token (#8) 2023-08-11 08:43:21 +08:00
Zack
58f0cdd235
feat: Client API and Integration test (#7)
* feat: change to client from test_server

* feat: change to client from test_server: register_success

* fix: use time in email for indempotency

* added rest of register test case

* feat: added client impl for login

* feat: Client: store logged token

* feat: added password change impl

* feat: remove test api, move to using Client

* chore: remove unneeded code

* chore: add client's integration test

* chore: try fix github workflow

* chore: try fix github workflow

* chore: try fix github actions - 2

* chore: try fix github actions - change rust toolchain

* chore: try fix github actions - remove name field

* chore: ci: fixed missing run key

* chore: ci: fixed missing Checkout

* chore: ci: added env settings for docker-compose

* chore: ci: added env BACKEND_VERSION for docker-compose

* chore: ci: added context . to docker-compose.yml

* chore: ci: added old dockerfiles to archive, default values in docker-compose.yml

* chore: github workflow: build server with env SQLX_OFFLINE true

* chore: remove unneeded deps

* chore: ci: try SQLX_OFFLINE export

* fix: ci: remove unneeded integration test ci, spawn server while cargo test

* fix: lint and github workflow

* fix: lint

* fix: github workflows: use workspaces instead of key

* fix: lint: use as_deref instead
2023-08-10 09:49:47 +08:00
Nathan.fooo
e65b6333b1
Feat: multi ws conn (#6)
* feat: multi conn

* fix: multi connect
2023-08-08 16:13:18 +08:00
nathan
216860237f chore: add license 2023-07-28 21:05:27 +08:00
Nathan.fooo
8b9e6584d2
feat: ws reconnect (#5)
* feat: ws reconnect

* chore: update collab rev
2023-05-10 20:54:10 +08:00
Nathan.fooo
90ae1d5fb6
Feat/ws test (#4)
* test: ws test

* test: update

* test: update

* test: sync update

* feat: ws test
2023-05-10 20:26:30 +08:00
Nathan.fooo
18e950a829
feat: ws connect (#3)
* chore: ws

* chore: build client stream

* feat: test ws connect

* ci: fix ci
2023-05-08 19:03:50 +08:00
nathan
08847fad1d chore: disable zld linker 2023-05-05 09:13:05 +08:00
Nathan.fooo
bb80fd5350
fix: redis connect (#2)
* fix: redis connect

* chore: add Readme and support no tls

* chore: cache docker build

* chore: update

* fix: fix postgres and redis connection

* chore: update port

* ci: lint
2023-05-05 00:00:02 +08:00
nathan
920e7f9564 ci: fix audit 2023-03-16 21:33:11 +08:00
nathan
648ec41cf3 ci: fix warning 2023-03-16 21:16:46 +08:00
nathan
0ce76c5a89 feat: add document test 2023-03-16 21:01:36 +08:00
appflowy
2bc939479c feat: document crud 2023-03-16 17:42:55 +08:00
appflowy
0fa6536c7a refactor: use i64 as user id 2023-03-16 11:23:42 +08:00
nathan
277b54711c feat: add snowflake 2023-03-16 09:36:49 +08:00
nathan
2b3650eb63 feat: add sled 2023-03-15 21:08:52 +08:00
appflowy
6110c69374 feat: revdb 2023-03-15 17:21:18 +08:00
appflowy
faacd8dd47 feat: create token crate 2023-03-15 14:41:23 +08:00
nathan
b2c59409b8 feat: config network 2023-03-15 10:02:37 +08:00
nathan
bbcfe33fe7 fix: request fail caused by certificate issue 2023-03-15 09:32:23 +08:00
nathan
4adfd1a75f ci: fix test 2023-03-14 14:45:53 +08:00
nathan
aca7e8737e ci: add audit 2023-03-14 10:01:05 +08:00
nathan
a8ea270547 ci: update ci 2023-03-14 09:50:01 +08:00
nathan
d9bf34ec59 ci: fmt 2023-03-14 09:36:17 +08:00
nathan
d834637d2f feat: ws message 2023-03-14 09:34:00 +08:00
nathan
db498ef5e8 feat: message payload 2023-03-14 08:51:01 +08:00
nathan
5a7e223b99 feat: support ws 2023-03-14 00:05:23 +08:00
appflowy
542bc83144 feat: change password 2023-03-13 13:10:58 +08:00
nathan
25b1f8eeb7 feat: change password 2023-03-13 09:17:14 +08:00
nathan
0a08a34a00 feat: logout 2023-03-12 22:49:18 +08:00
appflowy
8af290ab80 chore: update database config & fix test 2023-03-12 21:02:19 +08:00
nathan
2429a41b2f feat: add login test 2023-03-12 19:31:55 +08:00
nathan
508961d07d feat: register user test 2023-03-12 16:37:54 +08:00
nathan
690ea42d85 refactor: config log 2023-03-12 09:18:06 +08:00
nathan
7b706b54ce refactor: auth 2023-03-11 22:01:25 +08:00
appflowy
3012acce30 refactor: use cargo workspace 2022-02-07 15:08:49 +08:00
appflowy
205c6a953d ci: submit cargo lock file 2022-02-06 11:39:22 +08:00
appflowy
b4f03737c5 feat: update the license 2022-02-06 11:04:48 +08:00
appflowy
0bda429d93 init appflowy server 2022-02-06 10:55:48 +08:00
appflowy
a5cd5d6f6b
Initial commit 2021-06-16 21:04:54 +08:00