Khor Shu Heng
648c977c07
Merge pull request #927 from AppFlowy-IO/remove-access-control-middleware
...
chore: remove access control middleware
2024-10-28 12:16:38 +08:00
khorshuheng
a0c68d8c86
chore: remove access control middleware
2024-10-25 13:19:16 +08:00
khorshuheng
16fb9584f9
fix: masked postgres password in logs
2024-10-24 00:34:31 +08:00
khorshuheng
34a7fd3633
feat: additional access control config
2024-10-16 15:10:01 +08:00
Nathan.fooo
bbd21dfef6
chore: import mailer ( #869 )
...
* chore: import mailer
* chore: update template
* chore: config template
* fix: add missing config parameter
* chore: update template
* chore: show error with task id
* chore: show error with task id
---------
Co-authored-by: khorshuheng <solemnpriest@gmail.com>
2024-10-13 20:08:55 +08:00
Khor Shu Heng
8c14612f98
feat: refactor access control to enable swapping implementation ( #859 )
2024-10-10 13:04:47 +08:00
Khor Shu Heng
03fdcf4621
feat: option to skip s3 bucket creation ( #852 )
2024-10-02 09:54:46 +08:00
Zack Fu Zi Xiang
53c98c8bd6
chore: use gen env var optional
2024-09-13 11:25:57 +08:00
Zack Fu Zi Xiang
ab715aff7a
chore: add appflowy web url config
2024-09-12 16:55:34 +08:00
Khor Shu Heng
abae8d2d1b
feat: Support s3 as published collab storage ( #798 )
...
* chore: remove unused published collab methods
* feat: support s3 as published collab storage
2024-09-11 20:52:33 +08:00
Zack Fu Zi Xiang
89f2c7003b
feat: support user deletion
2024-09-02 11:14:04 +08:00
Bartosz Sypytkowski
43f6f3bc61
chore: apply same change to other ws endpoint
2024-08-26 15:03:18 +02:00
Nathan.fooo
a6539dd963
chore: shorten default write interval ( #661 )
2024-06-28 10:06:09 +08:00
Khor Shu Heng
c7d474c9cf
chore: allow collab persistence and edit state behaviour to be configurable ( #637 )
2024-06-23 23:19:54 +08:00
Bartosz Sypytkowski
0e50650aa8
chore: use appflowy ai client for embeddings in search api
2024-06-18 10:51:11 +02:00
Bartosz Sypytkowski
58e01f4e8d
fix: index documents with missing embeddings at service start ( #597 )
...
* feat: appflowy-indexer indexes documents with missing embeddings at start
* chore: add tests to check initial indexing of collabs
* chore: log user search requests and response
* fix: wrong appflowy openai api key env var name
* chore: fill openai keys for integration testing
* chore: silence flaky test
2024-06-04 16:50:06 +08:00
Nathan.fooo
89030c420f
chore: rename open api env name ( #591 )
2024-05-31 10:46:18 +08:00
Bartosz Sypytkowski
d3e59fa801
feat: Appflowy-indexer service and /api/search endpoint ( #582 )
...
* feat: implement appflowy-indexer and search api endpoint
* chore: store embedding content type
* chore: more descriptive messages for open ai missing key
* chore: fix sqlx errors in tests
* chore: document watcher - change plain text rendering to use depth-first scan
* chore: added nested document blocks example
2024-05-28 21:09:29 +08:00
Zack
ec7eb54bfc
chore: Self host improvement ( #561 )
...
* fix: remove multiple ways to specify database name
* feat: resent email for already invited user
* feat: mailer address from smtp username
* feat: allow user defined smtp port
2024-05-18 08:33:08 +08:00
Nathan.fooo
af75e8a2c0
chore: update configuration for ai docker ( #512 )
...
* chore: update configuration for ai docker
* chore: add script to test ci docker
* chore: update docs
* chore: update docs
2024-04-30 19:37:52 +08:00
Zack Fu Zi Xiang
9a25b92e57
fix: ci and use static file for template
2024-04-29 21:25:32 +08:00
Zack Fu Zi Xiang
73a3bafa29
ci: debug 1
2024-04-29 20:24:50 +08:00
Zack Fu Zi Xiang
6e74449ab1
feat: accept workspace invite email
2024-04-29 19:40:20 +08:00
Nathan.fooo
f3279e9b4e
feat: implement grpc for history server ( #470 )
...
* ci: docker compose for ci
* chore: add test
* chore: imple grpc
* chore: fix test
* chore: fix ci
2024-04-16 14:10:56 +08:00
Nathan.fooo
28e0e74fd1
feat: Implement history(1) ( #466 )
...
* chore: update collab commit
* chore: collab history test
* chore: collab history test
* chore: impl redis stream
* chore: impl redis stream test
* chore: impl migration
* chore: implement history sql
* chore: add test
* chore: add test
* chore: fix test
* chore: update log and test
* chore: add xtask
* chore: clippy
* chore: impl api
* chore: add missing sqlx files
* chore: fix test
* chore: fix test
2024-04-15 09:18:19 +08:00
Nathan.fooo
b1c3d779ba
chore: reduce save collab db operations ( #455 )
...
* chore: reduce save collab db operations
* chore: clippy
* chore: add test
* chore: add test
* chore: add test
2024-04-08 14:50:51 +08:00
Nathan.fooo
6c96d05e2f
feat: introduce custom function in casbin model that supports compari… ( #433 )
...
* feat: introduce custom function in casbin model that supports comparing role or level
* chore: update
* chore: log
* chore: log
* chore: remove cache
2024-03-31 19:54:41 +08:00
Nathan.fooo
acc13414cf
feat: sync deduplicate ( #412 )
...
* chore: update logs
* chore: update logs
* chore: deduplicate messages
* chore: optimize sync interval
* chore: fmt
* ci: test
* chore: clippy
* chore: clippy
2024-03-24 07:30:05 +08:00
Nathan.fooo
08693f2d72
chore: integrate appflowy ai ( #388 )
...
* chore: integrate appflowy ai
* chore: disable ai test
2024-03-16 21:43:02 +08:00
Zack Fu Zi Xiang
cccd5d5969
fix: hide admin password
2024-03-07 10:08:12 +08:00
Nathan.fooo
bf3837b44b
chore: increase max connection size of pg ( #344 )
2024-02-23 02:21:02 +08:00
Nathan.fooo
d851b303bf
refactor: async send ws message in http request ( #296 )
...
* refactor: async send ws message in http request
* chore: update
* chore: update logs
* chore: update logs
* chore: clippy
* chore: add device id in header
* chore: fix test
* chore: fix device_id
* chore: fix client id
* chore: ratelimt for client
* chore: bump collab
2024-02-06 15:21:48 +08:00
Nathan.fooo
56615e2274
chore: run with different env file ( #275 )
2024-01-29 02:26:43 +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
Fynn Petersen-Frey
a39395d90c
S3 compatiblity with garage
2023-12-28 15:54:23 +01:00
Fu Zi Xiang
04e00dea95
feat: add more initialization logs
2023-12-20 20:38:11 -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
Jiraffe7
36ef0f13b0
feat: casbin access control ( #178 )
...
* feat: casbin for access control
* fix: method to generate database url instead of ToString
* fix: hold write lock when modifying policies
* chore: fix compile
* fix: remove db constraint for lib integration tests
---------
Co-authored-by: nathan <nathan@appflowy.io>
2023-12-11 11:08:15 +08:00
Nathan.fooo
d088fd2ec8
feat: ws frame size ( #146 )
...
* chore: update ws frame size
* chore: update
* chore: update frame size to 64 kb
* chore: fix merge
* chore: update
* chore: update collab rev
* chore: update
* chore: update
* chore: update
* chore: update
* chore: update
* chore: update ws state
* chore: update pg max connect
* chore: fix crash
2023-11-04 21:42:06 +08:00
Zack
37a759ead6
feat: Request Id ( #144 )
...
* 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
* feat: request id middleware
* docs: move doc to more relevant place
* chore: clean up logs
* feat: try json fmt
* feat: remove pretty
* feat: logging use json in prod but pretty in local
2023-11-03 16:57:05 +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
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
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
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
Nathan.fooo
8b9e6584d2
feat: ws reconnect ( #5 )
...
* feat: ws reconnect
* chore: update collab rev
2023-05-10 20:54:10 +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.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
648ec41cf3
ci: fix warning
2023-03-16 21:16:46 +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