* chore: update
* feat: get user workspace info
* feat: return list of workspace
* feat: return latest workspace id
* feat: latest workspace id
* test: add tests
* chore: insert collab member when inserting workspace member
* refactor: test directory
* chore: remove triggers
* test: add more test
* chore: cache workspace memeber role
* chore: update test
* 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
* 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
* 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
* chore: cargo fmt --all
* feat: autorefresh
* test: add test case and auto refresh scenario
* feat: added refresh ability on server and client
* fix: use refresh token for refresh and add test case
* chore: cargo fmt --all
* chore: cargo clippy
* fix: cargo clippy
* test: added async mutex for registered user for consistency
* fix: remove unneeded files
---------
Co-authored-by: nathan <nathan@appflowy.io>
* 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