Commit graph

2129 commits

Author SHA1 Message Date
Fu Zi Xiang
0ef6095481
feat: added funtionality to show all users 2023-10-10 16:11:49 +08:00
Fu Zi Xiang
b2450419eb
extractor for access token 2023-10-10 14:37:12 +08:00
Fu Zi Xiang
427612b11f
feat: added logout 2023-10-10 13:02:41 +08:00
Fu Zi Xiang
a293bd34ee
feat: session token and dev ease 2023-10-10 12:30:57 +08:00
Fu Zi Xiang
4a407ada33
chore: merge with main 2023-10-10 10:09:56 +08:00
Nathan.fooo
128590652e
refactor: collab storage dir (#108) 2023-10-10 08:45:29 +08:00
Fu Zi Xiang
307fc1390c
feat: session token WIP - 2 2023-10-10 02:23:40 +08:00
Nathan.fooo
ad5b5b631d
feat: Set token from external (#107)
* chore: set token

* chore: set token

* chore: update

* chore: rm log
2023-10-09 23:07:34 +08:00
Fu Zi Xiang
827b79e15c
feat: session token WIP 2023-10-09 17:07:16 +08:00
Fu Zi Xiang
c71665e57b
chore: merge with main 2023-10-09 09:44:20 +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
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