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
a18b3d7886
feat: using pending to determine init sync or not ( #435 )
...
* chore: optimize sync
* chore: optimize sync
* chore: add test
* chore: update collab commit id
* chore: update
* chore: fix ci
2024-04-01 21:59:41 +08:00
Nathan.fooo
c85383b21d
chore: project folder structture ( #392 )
...
* chore: docker build
* chore: update
* chore: update
* chore: test stream pubsub
* chore: fix wanrings
* chore: realtime crate
* chore: realtime crate
* chore: realtime crate
* chore: realtime crate
* chore: reanme crates
* chore: reanme crates
* chore: project structure
* chore: disable docker for collab hisotry
2024-03-22 11:24:28 +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
Nathan.fooo
40fc18a499
feat: only enforce when permission change ( #382 )
...
* feat: only enforce when permission change
* chore: fix client api ci
* chore: fix test
* chore: fix test
2024-03-13 17:14:43 +08:00
Nathan.fooo
3b0d7567da
feat: viewing collab users ( #375 )
...
* feat: return collab viewing users
* chore: fmt
* chore: add test
* chore: update logs
* chore: fix test
2024-03-09 12:15:17 +08:00
Nathan.fooo
0e4442159e
chore: support client version when connect using webscoket ( #368 )
...
* chore: support client version when connect using webscoket
* chore: update tokio version
* chore: fix audit
* chore: fix wasm test
* chore: update
* chore: update
* chore: update
* chore: update
2024-03-05 07:22:56 +08:00
Nathan.fooo
1590e948c6
feat: Optimize sync ( #341 )
...
* chore: optimize sync
* chore: optimize sync
* chore: optimize sync
* chore: update collab rev
2024-02-22 14:18:41 +08:00
Nathan.fooo
399f7ba2b5
chore: abort sync when the update can not apply ( #335 )
...
* chore: abort sync when the update can not apply
* chore: fix ci
2024-02-21 09:22:26 +08:00
Nathan.fooo
05c1b7b2db
feat: Stream msg ( #320 )
...
* chore: refactor group
2024-02-18 16:34:47 +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
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
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
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
ef726092be
refactor: file storage ( #110 )
...
* refactor: return file id after save to disk
* test: add tests
* chore: mine type
* test: disbale two client sync test
* chore: get file with url
* refactor: client api
2023-10-11 21:36:57 +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
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
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
3133e5ec32
chore: try fix test ( #84 )
2023-09-30 12:36:42 +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
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
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
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
939ea29c3b
feat: Realtime multiple conn test( #45 )
...
* chore: multiple connection with same user
* chore: connect with device id
* fix: multiple connection
* test: add more test
* chore: fmt
2023-09-15 09:59:37 +08:00
Nathan.fooo
e03a6ce587
test: fix collab edit test ( #42 )
...
* test: fix
* chore: cargo sqlx check workspce
* chore: remove rocksdb deps
2023-09-14 14:05:15 +08:00
Nathan.fooo
c42158b7cb
test: add ws connect test ( #39 )
...
* test: add ws connect test
* chore: format log
2023-09-13 17:04:42 +08:00
Nathan.fooo
f0f58f98f3
feat: create collab handlers ( #34 )
...
* feat: logged user after sign up/sign in
* test: fix test
* chore: update sqlx files
* chore: add router
* chore: parser user uuid from token
2023-09-12 21:52:25 +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
853f089ca0
feat: test gotrue when app start, use state for gotrue client, use go… ( #24 )
...
* feat: test gotrue when app start, use state for gotrue client, use gotrue UUID instead of BIGINT for user uid
* feat: backward compatibility with native authetication
* fix: native auth use uuid instead
* fix: sqlx preparation
* fix: sqlx metadata and unused variable
* fix: clippy
* fix: create workspace if not exist after sign in
* chore: update .sqlx with new query
* feat: query workspace
* revert: revert using i64 for user id
* fix: update sqlx queries
* fix: update .sqlx metadata
* feat: only use uuid from sqlx types, select user_profile view
* ci: add version check
* ci: add missing sqlx files
* chore: cargo fmt
2023-09-11 17:16:41 +08:00
Nathan.fooo
f964d14002
chore: kill the appflowy_cloud instance if it already exist ( #25 )
2023-09-10 12:37:08 +08:00
Nathan.fooo
7a09e1b860
chore: remove redundant sqlx command ( #22 )
...
* chore: remove redundant sqlx command
* chore: remove docker_env.sh
* chore: copy sqlx to docker
* chore update
2023-09-08 22:51:16 +08:00
Nathan.fooo
186ce6c5af
fix: run_local_server script ( #21 )
2023-09-08 20:35:06 +08:00
Zack
d4577f5e61
Feat: enrich http dto ( #20 )
...
* feat: add scripts for easier dev
* feat: add Json<T> as resp type for http server
* feat: restructure server and client shared entity
* feat: restructure server and client shared entity
* feat: use serde_repr to deserialize enum into json number
* feat: minor adjustment to results and server error
* feat: test: fix unconfirmed email message
* feat: test: add test case for existing user
* feat: test: modified api for sign_out
* feat: test: add test case pass
2023-09-08 20:01:28 +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
Nathan.fooo
e2e6d79cb0
chore: create tables ( #16 )
...
* chore: create tables
* ci: remove postgres service
* chore: separate ci
* chore: run cargo clippy with sqlx offline mode
* refactor: create docker action
* chore: rename
* chore: update table
* chore: update supabase_admin
* chore: update supabase_admin
* chore: remove create auth.jwt function
2023-09-07 10:43:10 +08:00
Nathan.fooo
f9825d4221
feat: refactor server collab ( #15 )
...
* refactor: collab storage
* chore: fix test
* chore: update sqlx version
* chore: disable realtime test
* chore: sqlx prepare
* chore: remove init.sql
2023-09-06 18:22:40 +08:00
Zack
b28d5dda4c
feat: ci: dockerize gotrue auth server ( #13 )
...
* feat: ci: dockerize gotrue auth server
* feat: build: add gotrue to docker-compose
* fix: build: docker-compose + test
* feat: ci: simplify tests
* feat: ci: add back needed services for compilation
* fix: ci: github secrets
* fix: ci: use signup
* fix: ci: add export
* fix: test: generate unique email for registration to avoid conflict
2023-09-06 14:12:39 +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
appflowy
2bc939479c
feat: document crud
2023-03-16 17:42:55 +08:00
appflowy
542bc83144
feat: change password
2023-03-13 13:10:58 +08:00
appflowy
8af290ab80
chore: update database config & fix test
2023-03-12 21:02:19 +08:00
nathan
7b706b54ce
refactor: auth
2023-03-11 22:01:25 +08:00