* chore: test collab sync
* feat: folder view for user workspace
* feat: add private indicator
* chore: use collab cache instead
* chore: initial impl
* chore: cargo sqlx
* fix: write back to collab cache
* fix: assign page id
* fix: text map
* chore: connect api and refactor
* chore: switch to using mem storage
* fix: collab type
* feat: use group manager to manage sync
* feat: try add send command instead
* chore: add client api code
* feat: try use sink and stream from group collab
* chore: disable sync first
* fix: insert page before stopping group
* feat: add extra for view
* feat: add metadata to doc
* fix: icon
* fix: page circular dep
* fix: page circular dep
* fix: live update
* feat: database initial impl
* feat: workspace database
* chore: link database
* fix: database validation
* fix: workspace database oid
* fix: workspace database oid
* fix: specify view layout
* feat: add txn when inserting collab and rework database views
* fix: parent view id for new database
* fix: database view for folder
* fix: database ids
* fix: database row id
* fix: main database layout and write database before folder
* fix: metadata for non database main view
* chore: database in doc wip
* chore: filter visible views
* chore: use structure value instead of json
* chore: database in doc wip
* fix: remove child item push
* fix: main database view meta
* chore: rework inline database in doc
* fix: make duplicate more error forgiving
* chore: use get instead of get key value
* chore: merge with main
* feat: set max depth for folder view
* chore: update dependency counter
* chore: remove unneeded arg
* chore: simplify collab new from source
* chore: remove unneeded param
* chore: rename and doc
* feat: rework inline database and use duplicated ref
* chore: simplify params
* chore: fmt
* feat: deduplicate database wip
* fix: compatible with newer appflowy version
* fix: database views
* feat: database in doc
* chore: cargo clippy
* chore: update dockerfile rust toolchain
* fix: doc inline db parent id
* fix: database id
* fix: document data modification
* chore: minor refactor and todo
* chore: remove unneeded nesting
* fix: enforce ordering for views to add
* chore: add doc and test case for folder view
* fix: remove the need for cloning published collab
* fix: some review
* chore: move folder conversion logic
* fix: remove collab folder deps on shared entity
* chore: cargo fmt
* fix: compile
* chore: remove group manager dependency
* fix: dep count
* fix: add messages sent by server
* fix: dep count
* chore: add test for doc ref and inline doc database
* chore: cargo clippy
* chore: add more test scenarios
* chore: fix tests
* chore: get database id
* chore: update collab
* chore: add more assert and database row id checks
* fix: suggestions from review
* chore: sqlx
* fix: accumulate collab before insert
* chore: add tokio spawn blocking for encoding
* fix: reduce limit for publish collabs
---------
Co-authored-by: Bartosz Sypytkowski <b.sypytkowski@gmail.com>
Co-authored-by: nathan <nathan@appflowy.io>
* chore: update
* chore: get chat message with next back option
* chore: update next back
* chore: return answer
* chore: return answer
* chore: return answer
* chore: update client api
* chore: fix ci
* docs: update
* chore: add logs
* chore: test
* feat: return request id to the client
* feat: print request id in client api
* fix: lock table when creating new user
* 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>
* 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
* 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
* 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