Commit graph

43 commits

Author SHA1 Message Date
Khor Shu Heng
b8d8007f26
fix: issue:991 unable to import from Notion when using minio (#1203) 2025-02-05 09:55:56 +08:00
khorshuheng
616293aa31 feat: add appflowy web to docker compose 2025-01-24 21:37:10 +08:00
khorshuheng
a352b36eb9 feat: issue#1173 allow admin frontend to be served on a different path 2025-01-24 11:32:43 +08:00
Khor Shu Heng
3e59d41c23
fix: allow device-id as header (#1176) 2025-01-19 22:46:57 +08:00
Khor Shu Heng
0f7a1f41d0
feat: support disabling comments and disallow duplicate as template for published page (#1167) 2025-01-17 09:43:56 +08:00
Nathan.fooo
b650e9e5fb
chore: ai writer (#1153)
* chore: ai writer

* chore: update test

* chore: update test

* chore: set env

* chore: rename

* chore: format nginx conf
2025-01-12 23:07:31 +08:00
khorshuheng
1756a3bff7 fix: add cors for nginx gotrue configuration 2025-01-12 00:16:33 +08:00
khorshuheng
f063c6ec1f fix: nginx conf to allow localhost:3000 to access api endpoint 2025-01-09 01:00:21 +08:00
Khor Shu Heng
18e10dc644
chore: allow nginx conf to be more easily configurable (#1129) 2025-01-06 13:30:45 +08:00
Nathan.fooo
246cbd3ec4
chore: update nginx config for import (#935) 2024-10-25 16:47:29 +08:00
Nathan.fooo
1fd57b055d
chore: update payload size for import (#883) 2024-10-14 23:17:09 +08:00
Nathan.fooo
9c0dffacef
feat: implement import notion zip file api endpoint (#840)
* chore: implement api endpoint

* chore: worker

* chore: async zip

* chore: test bulk insert

* chore: insert collab

* chore: custom task

* chore: consume un acked message

* chore: fix compile

* chore: add test

* test: update

* chore: save import record

* chore: save import record

* chore: fix ci

* chore: remove unused deps

* chore: update docker file

* chore: build worker images

* chore: use small int

* chore: use small int

* chore: rm protoc deps in runtime

* chore: move collab cache to database crate

* chore: update test

* chore: rm health api endpoint

* chore: clippy

* chore: update ci

* chore: add test

* chore: upgrade collab

* chore: clippy

* chore: update test

* chore: use custom host

* chore: config nginx

* chore: install cert
2024-10-03 22:22:29 +08:00
Zack Fu Zi Xiang
faf27fe25c
fix: set proxy request buffering off 2024-06-20 20:31:00 +08:00
Zack Fu Zi Xiang
4b282cd230
chore: set client_max_body_size 2024-06-20 19:27:58 +08:00
Zack Fu Zi Xiang
0aa10d93c7
chore: try add nginx config 2024-06-20 18:57:26 +08:00
Nathan.fooo
6bb2a20888
fix: nginx ai test (#603)
* chore: add config for ai/chat

* chore: update config
2024-06-04 20:11:19 +08:00
Zack Fu Zi Xiang
49fe92c725
fix: nginx optional resolution for ai service 2024-06-03 09:56:22 +08:00
Nathan.fooo
c491f1a560
chore: fix ci (#549)
* chore: fix ci
2024-05-12 21:02:28 +08:00
Nathan.fooo
5bebc6a2b2
chore: Integrate appflowy ai (#504)
* chore: remove client api

* chore: add summarize row test

* chore: merge main

* chore: fix ci

* chore: update docker compose file
2024-04-29 22:23:40 +08:00
Nathan.fooo
e1b35a1a24
feat: enable cors in nginx (#276)
* feat: enable cors in nginx

* chore: update

* chore: fix ci
2024-01-29 13:14:50 +08:00
Fu Zi Xiang
994e99e7d0
fix: optional services 2024-01-15 21:44:07 +08:00
Zack
615b402782
docs: Doc improvement (#256)
* feat: update docs and self host deploy configs

* feat: use default ports for dev

* feat: revamp self host

* feat: use nginx resolver

* feat: cargo fmt

* feat: ci integration test with nginx routing

* feat: cargo fmt

* feat: make docker ci use deploy env rather than dev env

* feat: update api external url for deploy test

* fix: if sqlx is set to offline dont run casbin for tests

* fix: set api external url for tests

* fix: ignore sqlx test with cfg

* fix: sqlx tests

* fix: test use env

* feat: update the docs on optional components
2024-01-12 16:01:16 +08:00
Nathan.fooo
284e2bf638
chore: compress collab data (#249)
* chore: compress collab data

* chore: custom buffer size

* chore: compression ws message

* chore: update log

* chore: update log

* chore: update client max body size

* chore: update client api

* docs: update docs

* chore: retry transaction

* chore: update timeout

* chore: stop previous loop

* chore: log ping error

* chore: log send error

* chore: log error

* chore: update log

* chore: async compress

* feat: stream payload

* chore: update load

* chore: update

* chore: update log

* chore: fix cmt

* fix: client message from http

* chore: bump collab
2024-01-10 08:05:57 +08:00
Nathan.fooo
6d0612ffaf
feat: encode batch create collab data as binary (#242) 2024-01-03 06:07:21 +08:00
Nathan.fooo
b48bf402c7
chore: set client max boby size (#241)
* chore: set client max boby size

* chore: fix clippy
2024-01-03 03:22:45 +08:00
Fu Zi Xiang
4f6323312f
feat: update optional component of deployment 2023-12-11 23:06:15 -08:00
Fu Zi Xiang
b934664b8c
feat: redirect to web if login from web 2023-11-22 13:25:51 +08:00
Fu Zi Xiang
61527f723b
feat: allow headers to passed to gotrue for redirect_to 2023-11-22 12:45:49 +08:00
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
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
ebc2e7ebf6
feat: nginx add gotrue path rewrite (#121)
* feat: nginx add gotrue path rewrite

* fix: prefix gotrue for gotrue url
2023-10-17 13:58:31 +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
9ff3a830d9
feat: use pgadmin as recommended from official 2023-10-12 23:39:58 +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
8023efae97
feat: add admin frontend project (#102)
* feat: add admin frontend project

* feat: session token WIP

* feat: session token WIP - 2

* feat: session token and dev ease

* feat: added logout

* extractor for access token

* feat: added funtionality to show all users

* feat: show user list on frontend

* feat: user details

* fix: remove unneeded print statements

* chore: enable back to docker-compose.yml

* fix: integration tests

* feat: added redis session

* feat: change to session management using redis

* feat: add email to display at home page

* feat: added logging, logout

* feat: use redirect temporary

* feat: added add user by email

* feat: added add user set password web ui

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-10-11 22:17:41 +08:00
Nathan.fooo
9918a6fe43
chore: ws nginx config (#100) 2023-10-05 22:32:19 +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
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
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