Commit Graph

70 Commits

Author SHA1 Message Date
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
Fu Zi Xiang 390fb0d328
docs: improve info on external postgres 2023-12-28 11:35:38 +08:00
Fu Zi Xiang e17a3ec92a
fix: remove strategy 2023-12-27 06:28:00 +08:00
Fu Zi Xiang 4b055d161b
fix: arm and amd arch 2023-12-27 06:25:37 +08:00
Fu Zi Xiang 1c02b3d03f
fix: gotrue dockerfile 2023-12-27 05:39:29 +08:00
Fu Zi Xiang dc6ff036b1
feat: support arm build 2023-12-27 05:15:40 +08:00
Fu Zi Xiang 689486f091
fix: latest tag 2023-12-27 03:57:38 +08:00
Fu Zi Xiang 7e7c692156
fix: github tag 2023-12-27 03:52:11 +08:00
Fu Zi Xiang 6dedb80ec0
feat: added build for gotrue image 2023-12-27 03:42:43 +08:00
Fu Zi Xiang b69ea10df0
fix: wait for pods to be ready before deletion - 2 2023-12-25 19:33:20 +08:00
Fu Zi Xiang a00b867db5
fix: wait for pods to be ready before deletion 2023-12-25 19:19:42 +08:00
Fu Zi Xiang e356e19d2c
fix: delete uploaded images 2023-12-25 18:11:50 +08:00
Fu Zi Xiang 4378063036
feat: use github sha instead of dev 2023-12-25 17:51:32 +08:00
Fu Zi Xiang 134082da3e
fix: needs image build before deplo 2023-12-25 17:11:25 +08:00
Fu Zi Xiang bcc1098424
feat: add back image build 2023-12-20 15:45:21 -08:00
Fu Zi Xiang 237cd785dc
feat: add deploy kube 2023-12-20 15:41:41 -08:00
Fu Zi Xiang 0347260028
fix: debug 1 2023-12-20 13:02:57 -08:00
Fu Zi Xiang 444f974cf2
fix: test deploy after image build 2023-12-20 12:51:09 -08:00
Fu Zi Xiang f5ea1d3a34
fix: docker image name 2023-12-20 12:32:56 -08:00
Fu Zi Xiang 654d510afc
fix: debug docker images 2023-12-20 12:20:00 -08:00
Fu Zi Xiang fc54769632
feat: test deploy kube 2023-12-20 11:12:40 -08:00
Fu Zi Xiang 00197e971f
feat: deploy dev image 2023-12-20 10:40:35 -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 fc312cc48c chore: update build admin_frontend context 2023-12-18 03:50:42 +08:00
Nathan.fooo 432faee316
chore: add logs (#182)
* chore: log html

* chore: logs
2023-11-27 08:48:17 +08:00
Nathan.fooo 58a7d17493
fix: admin frontend image (#172) 2023-11-20 21:47:40 +08:00
Nathan.fooo 3fe8e6d88a
ci: build appflowy-cloud & admin frontend docker image (#170) 2023-11-19 00:20:14 +08:00
nathan 988b3fc6bb ci: disable using appflowyinc in images test 2023-11-16 11:38:37 +08:00
nathan 35b9d76091 docs: update 2023-11-16 11:10:40 +08:00
Nathan.fooo 82bcb5e879
feat: Deployment update (#169)
* docs: add ubuntu setup guide

* feat: add docker ci

* feat: create admin frontend image

* feat: trigger push docker ci

* ci: multiple arch

* fix: build

* chore: update ci

* chore: update ci

* fix: build

* fix: build

* fix: test

* fix: database access

* fix: test

* fix: test

* chore: update

* chore: update
2023-11-16 00:29:18 +08:00
Nathan.fooo d37fbbf486
ci: vendor protoc (#152)
* ci: vendor protoc

* ci: remove protoc compiler install
2023-11-08 21:12:00 +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
Nathan.fooo f5fd264309
feat: support discord and github (#136)
* feat: support discord and github

* feat: enable discord and github oauth

* chore: update dev.env
2023-10-24 13:05:24 +08:00
Fu Zi Xiang 08967b8091
fix: deploy to test 2023-10-18 14:59:49 +08:00
nathan 7b77805d8d chore: add logs 2023-10-13 10:37:28 +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 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 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
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 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
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
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
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
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
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