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
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
Zack
a30745f1c4
feat: Admin frontend/refactor ( #130 )
...
* feat: refactor frontend components
* chore: remove unused files
* chore(build): add static asset
2023-10-22 12:02:16 +08:00
Zack
d8c0107489
feat: Portainer ( #123 )
...
* feat: add portainer to docker compose for monitoring
* feat: add portainer docker compose dev
* feat: add portainer init password
2023-10-19 10:36:26 +08:00
Zack
d6c0b7780b
feat: Minio web nginx ( #122 )
...
* feat: add minio web UI
* fix: minio redirect url
* fix: simplify minio config
2023-10-18 13:35:19 +08:00
Zack
d638c01763
feat: added oauth login for admin ( #119 )
...
* doc: added deployment guide for appflowy cloud
* feat: added oauth login for admin
* feat: specify redirect_url
* feat: implemented google oauth
* fix: default value for redirect_to
* fix: add check for location hash
2023-10-17 10:21:06 +08:00
Fu Zi Xiang
99bd0a8689
feat: use volume mounting to set initial servers
2023-10-12 23:49:45 +08:00
Fu Zi Xiang
9ff3a830d9
feat: use pgadmin as recommended from official
2023-10-12 23:39:58 +08:00
Fu Zi Xiang
b3471991ff
fix: reverse proxy for pgadmin
2023-10-12 17:14:59 +08:00
Zack
119adf53e4
feat: Pgadmin ( #112 )
...
* feat: added pgadmi
* feat: add pgadmin to nginx config for reverse proxy
2023-10-12 16:39:13 +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
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
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
79c8b9478f
feat: nginx reroute callback and verify
2023-09-18 20:49:54 +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
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
8d11d7b6cf
feat: support external oauth ( #35 )
...
* feat: support external oauth
* chore: cargo fmt
* doc: add docs for google oauth2
* fix: use btree map and get for oauth
* feat: client to open url for oauth login
* feat: add test case for oauth not available
* feat: add placeholder for sign_in_url
* fix: use
* feat: client sign up with url
* feat: add sign_in_with_url simple test
* fix: use url fragments and string split
* fix: test case and gotrue error handling
* fix: return error and remove unwrap
* chore: remove unused file not in module tree
* fix: test cases
* chore: add cfg feature cloud to isolate dependencies
2023-09-13 21:08:13 +08:00
Zack
da03009004
feat: use apply server migration when server starts ( #30 )
...
* feat: use apply server migration when server starts
* fix: add docs and fix local run
* feat: refactor migration
* feat: local build server wait on gotrue
* fix: add back sqlx commands
* fix: add migrations directory
* fix: try SQLX_OFFLINE=true
* test: fix rustlint
* chore: clippy fmt
---------
Co-authored-by: nathan <nathan@appflowy.io>
2023-09-12 15:12:08 +08:00
Zack
36499be26c
docs: test + deploy + environmental variables ( #14 )
...
* doc: test + deploy + environmental variables
* doc: local dev and testing(WIP)
* dev: set up local testing
* fix: ci: add DATABASE_URL env
* chore: update .env
* ci: fix
* dev: docker-compose-dev.yml
* ci: update
* ci: test env
* ci: add services
* ci: add services
* ci: update port
* ci: rename ci.yaml to rustlint.yaml
* ci: test
* ci: simplify tests
* ci: use cargo sqlx commands directly
* ci: fix: registered user
* ci: fix: test registered user creation
* ci: fix: test registered user creation - 2
* ci: fix: debug docker ci
* ci: fix: docker integration registered user
* ci: fix: docker integration registered user
---------
Co-authored-by: nathan <nathan@appflowy.io>
2023-09-07 15:29:39 +08:00