Mathias Mogensen
620e027c3e
feat: ai billing ( #5741 )
...
* feat: start on AI plan+billing UI
* chore: enable plan and billing
* feat: cache workspace subscription + minor fixes (#5705 )
* feat: update api from billing
* feat: add api for workspace subscription info (#5717 )
* feat: refactor and start integrating AI plans
* feat: refine UI and add business logic for AI
* feat: complete UIUX for AI and limits
* chore: remove resolved todo
* chore: localize remove addon dialog
* chore: fix spacing issue for usage
* fix: interpret subscription + usage on action
* chore: update api for billing (#5735 )
* chore: update revisions
* fix: remove subscription cache
* fix: copy improvements + use consistent dialog
* chore: update to the latest client api
* feat: support updating billing period
* Feat/ai billing cancel reason (#5752 )
* chore: add cancellation reason field
* fix: ci add one retry for concurrent sign up
* chore: merge with main
* chore: half merge
* chore: fix conflict
* chore: observer error
* chore: remove unneeded protobuf and remove unwrap
* feat: added subscription plan details
* chore: check error code and update sidebar toast
* chore: periodically check billing state
* chore: editor ai error
* chore: return file upload error
* chore: fmt
* chore: clippy
* chore: disable upload image when exceed storage limitation
* chore: remove todo
* chore: remove openai i18n
* chore: update log
* chore: update client-api to fix stream error
* chore: clippy
* chore: fix language file
* chore: disable billing UI
---------
Co-authored-by: Zack Fu Zi Xiang <speed2exe@live.com.sg>
Co-authored-by: nathan <nathan@appflowy.io>
2024-07-22 15:43:48 +08:00
Nathan.fooo
e1c68c1b72
feat: Run Local AI model in AppFlowy ( #5655 )
...
* chore: load plugin
* chore: sidecar
* chore: fix test
* chore: clippy
* chore: save chat config
* chore: arc plugin
* chore: add plugins
* chore: clippy
* chore: test streaming
* chore: config chat
* chore: stream message
* chore: response with local ai
* chore: fix compile
* chore: config ui
* chore: fix load plugin
* chore: add docs
* chore: update docs
* chore: disable local ai
* chore: fix compile
* chore: clippy
2024-06-30 17:38:39 +08:00
Mathias Mogensen
54c9d12171
feat: support switch model ( #5575 )
...
* feat: ai settings page
* chore: intergate client api
* chore: replace open ai calls
* chore: disable gen image from ai
* chore: clippy
* chore: remove learn about ai
* chore: fix wanrings
* chore: fix restart button title
* chore: remove await
* chore: remove loading indicator
---------
Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-06-25 07:59:38 +08:00
Zack
d2ca41c8f5
Remove deprecated add member ( #5611 )
...
* chore: remove deprecated add member directly
* chore: cargo clippy
* chore: cargo clippy
* chore: cargo clippy
2024-06-24 14:19:36 +08:00
Mathias Mogensen
4a126e17ce
fix: settings improvements ( #5547 )
...
* fix: user workspace bloc changed
* fix: use translate card cell style
* fix: add getworkspacemember
* fix: billing launch review
* fix: disable time field
* fix: member tooltip
* fix: remove my account description
* fix: punctuation
* fix: filter workspace font
* fix: cloud toggle
* fix: minor adjustments
* chore: disable cloud document search
* fix: improve workspace name textfield
* test: move billing test to cloud
* fix: use cache over remote
* fix: clippy and tests
* chore: amend flowy tooltip
* test: add pump and settle
* test: integration test for local auth
2024-06-17 14:30:19 +02:00
Nathan.fooo
e2ce274718
chore: polish chat UI ( #5533 )
...
* chore: adjust chat ui
* chore: clippy
2024-06-14 09:02:06 +08:00
Mathias Mogensen
4708c0f779
feat: plan+billing ( #5518 )
...
* feat: billing client
* feat: subscribe workspace default impl
* feat: added create subscription
* feat: add get workspace subs
* feat: added subscription cancellation
* feat: add workspace limits api
* fix: update client api
* feat: user billing portal
* feat: billing UI (#5455 )
* feat: plan ui
* feat: billing ui
* feat: settings plan comparison dialog
* feat: complete plan+billing ui
* feat: backend integration
* chore: cleaning
* chore: fixes after merge
* fix: dependency issue
* feat: added subscription plan cancellation information
* feat: subscription callback + canceled date
* feat: put behind feature flag
* feat: downgrade/upgrade dialogs
* feat: update limit error codes
* fix: billing refresh + downgrade dialog
* fix: some minor improvements to settings
* chore: use patch for client-api in tauri
* fix: add shared-entity to patch
* fix: compile
* ci: try to add back maximize build space step
* test: increase timeout in failing test
---------
Co-authored-by: Zack Fu Zi Xiang <speed2exe@live.com.sg>
2024-06-12 17:08:55 +02:00
Nathan.fooo
044dad1d3e
chore: bump client api ( #5217 )
...
* chore: bump client api
* chore: fix compile
* chore: fix compile
2024-04-27 21:55:12 +08:00
Nathan.fooo
9aaada961f
chore: remove unused code & update log ( #5194 )
...
* chore: remove unused code & update log
* chore: clippy
* chore: log
2024-04-24 08:47:33 +08:00
Lucas.Xu
1597f7d94c
feat: implement magic link sign in ( #5036 )
2024-04-11 16:33:28 +08:00
Zack
828f312294
feat: workspace invite ( #4827 )
...
* feat: add rename and change icon for workspace cloud api
* feat: added created at field for UserWorkspacePB
* test: added view check after creating workspace
* fix: allow new_icon to be empty string
* feat: add invitation api cloud services
* chore: cargo clippy
* chore: merge conflict
* feat: add workspace invitation test
* fix: use back old role and af role
* chore: use 1.75 channel rust toolchain
* chore: added error for test case
* chore: added ci var
* chore: cargo clippy
2024-04-11 14:47:34 +08:00
Nathan.fooo
58fb529eaa
chore: fix user awareness fetch ( #5048 )
...
* chore: fix user awareness fetch
* chore: update
* chore: update
2024-04-03 15:43:19 +08:00
Zack
3f4a409364
feat: leave workspace api ( #4942 )
...
* feat: leave workpspace event
* feat: add leave workspace event
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-03-29 16:53:59 +08:00
Zack
2af93a9bcb
feat: add support for renaming and updating the icon for workspaces ( #4806 )
2024-03-04 16:05:16 +08:00
Nathan.fooo
3b51a6e6be
chore: reload workspace when fail to load at the first time ( #4633 )
...
* chore: reload workspace when fail to load at the first time
* fix: clippy
* chore: update client api
* chore: fix wasm build
* chore: fix test
2024-02-08 23:53:05 +08:00
Zack
08938b8c70
feat: cloud workspace api ( #4469 )
...
* feat: workspace api
* feat: added cloud apis for add and delete workspace
* feat: add and delete workspace event handlers
* chore: rust fmt
* chore: save user workspace
* test: add test
* test: add test
* chore: add to gitignore
* feat: update api add name to workspace
* chore: cargo clippy and rename to create
* chore: add envrc and direnv to gitignore
* chore: change name to create workspace instead of add workspace
* chore: update client api rev
* feat: add create workspace impl
* chore: restore gitignore to original
* test: fix create workspace event test
* fix: change delete workspace input
* fix: compile
* fix: create workspace test
* feat: add error code for request payload too large
* chore: remove cargo backup files
* feat: add is async option for upload file handler
* chore: update client api version
---------
Co-authored-by: nathan <nathan@appflowy.io>
2024-02-04 05:49:45 +08:00
Nathan.fooo
c0aef8f4fe
fix: login issue ( #4546 )
...
* fix: reset server url when using appflowy cloud the first time
* refactor: set authenticator in frontend
* chore: log version
* chore: show hint when changing the server type
* chore: bump version
* chore: fix test
* chore: bump collab
2024-01-30 09:33:34 +08:00
Nathan.fooo
9500abb363
feat: workspace service in user crate ( #4373 )
...
* refactor: user manager
* feat: implement workspace service
* refactor: migrate user data when sign up
* chore: fmt
* chore: enable beta cloud
* chore: update ci
* chore: trim slash
2024-01-12 14:34:59 +08:00
Nathan.fooo
307556b7dd
refactor: deps crates ( #4362 )
...
* refactor: rename flowy-folder-deps to flowy-folder-pub
* chore: rename crates
* chore: move flowy-task to lib-infra
* chore: rename crates
* refactor: user manager dir
2024-01-11 14:42:03 +08:00
Nathan.fooo
eac878d563
fix: import document from database row ( #4295 )
...
* fix: import document from database row
* chore: update test
* chore: fix test
* chore: fix test
* chore: fix test
* chore: fix local user on appflowy cloud error
* chore: clippy
* chore: bump pubspec version
2024-01-04 08:02:12 +08:00
Nathan.fooo
69469e9989
feat: Import appflowy data ( #4236 )
...
* refactor: traits
* feat: import data
* chore: track database view
* fix: import
* refactor: collab doc state
* refactor: get collab doc state
* feat: batch create collab object
* fix: test
* ci: run docker compose if the server is not up
* chore: bump collab
* chore: update ci
* chore: update ci
* chore: update ci
* chore: implement ui
* chore: implement ui
* chore: implement ui
2023-12-29 13:02:27 +08:00
Nathan.fooo
df8409178b
refactor: remove singleton db ( #4208 )
...
* refactor: remove singleton db
* chore: fix warning
* chore: fix warning
* chore: update test
* chore: only resotre or backup when init call
* test: fix
* test: fix
* test: fix
* fix: timeout notification
* chore: rename
* chore: rename
* chore: disable test
* chore: remove log
* chore: remove log
* chore: add log
* chore: rename test functions
* chore: add test asset
* chore: bump client api
* chore: disable some tests
2023-12-27 11:42:39 +08:00
Nathan.fooo
1401ba5960
feat: anon user save ( #4185 )
...
* feat: anon user save
* chore: add missing files
* chore: remove error
2023-12-21 14:13:21 +08:00
Nathan.fooo
64aa2ba7e4
feat: open appflowy from admin web ( #4047 )
...
* feat: open appflowy from admin web
* feat: add loading indicator
2023-11-30 04:55:13 +08:00
Nathan.fooo
3e17613f54
tests: AppFlowy Cloud integration test ( #4015 )
...
* chore: save cloud ofnig
* chore: fix .a link warnings
* chore: add cloud test runner
* refactor: test folder
* ci: add test
* ci: add test
* ci: fix
* ci: fix
2023-11-28 10:54:31 +08:00
Nathan.fooo
1fad713477
feat: custom server url in application ( #3996 )
...
* chore:test
* chore: update ui
* feat: set appflowy cloud url
* chore: add self host docs
* fix: save user
* fix: sign out when authenticator not match
* fix: sign out when authenticator not match
* fix: db lock
* chore: remove unuse env file
* test: disable supabase cloud test
* test: disable supabase cloud test
* chore: fix save
2023-11-24 11:54:47 +08:00
Nathan.fooo
b9ecc7ceb6
chore: add custom folder prompt ( #3961 )
...
* chore: add custom folder prompt
* chore: zip collab db
* chore: fix test
* chore: add test
* chore: fmt
* chore: fmt
* chore: fmt
2023-11-20 20:54:47 +08:00
Nathan.fooo
8179419f8b
feat: show server url ( #3956 )
...
* chore: data folder for cloud
* chore: display server url
* chore: fix test
2023-11-17 15:38:56 +08:00
Nathan.fooo
7eb20b232a
feat: adding suffix for user data folder when current cloud type is appflowy cloud ( #3918 )
...
* fix: load database fail caused by spawning long run task
* chore: yield long run task
* chore: fmt
* chore: update client api
* feat: copy data between server
* ci: fix af cloud test
2023-11-12 18:00:07 +08:00
Nathan.fooo
1025b6d553
fix: af cloud sync auth ( #3873 )
...
* feat: open workspace
* chore: update env docs
* fix: invalid user callback
* fix: token invalid
* chore: update
* chore: update
* chore: update
* chore: fix test
* chore: fix tauri build
2023-11-05 14:00:24 +08:00
Nathan.fooo
e08a1a6974
feat: enable dispatch event using single thread ( #3828 )
...
* refactor: lib dispatch
* chore: type def
* chore: type def
* fix: local set spawn
* chore: replace tokio spawn
* chore: update log
* chore: boxed event
* chore: tauri lock
2023-10-30 12:35:06 +08:00
Nathan.fooo
48582cb718
test: Af cloud workspace member ( #3779 )
...
* chore: implement workspace memeber events
* chore: add workspace member test
* chore: fix fmt
2023-10-25 21:35:47 +08:00
Nathan.fooo
cceee80799
fix: anon user error ( #3772 )
...
* fix: anon user error
* ci: fix tests
2023-10-24 23:13:51 +08:00
Nathan.fooo
71f80be8f7
feat: save user metadata ( #3754 )
...
* feat: save user metadata
* chore: update client api
* refactor: separate test methods
* chore: save updated at
* chore: clippy
* chore: fix test
2023-10-24 20:11:06 +08:00
Mathias Mogensen
ebe112581d
feat: toggle notifications on/off ( #3672 )
2023-10-12 12:54:08 +08:00
Nathan.fooo
a59561aee3
chore: sign in with provider ( #3592 )
...
* chore: sign in with provider
* feat: implement oauth flow of appflowy cloud
* chore: rename env
* chore: fix deadlock
* fix: login bugs
* chore: clippyt
* chore: update client api
* chore: fmt
2023-10-07 09:58:44 +08:00
Nathan.fooo
7f44b181bd
feat: integrate client-api ( #3430 )
...
* chore: update client-api rev
* chore: update collab rev id
* feat: add sign_in_request and import shared entity
* feat: added to userworkspace from af_workspace
* chore: add script to update the client-api rev id
* chore: update client-api rev
* feat: add workspaces api
* feat: added check user
* chore: config
* chore: update client_api version
* chore: ws connect
* chore: ws connect
* chore: update crate versions
* chore: rename event
* chore: update client-appi
* chore: set appflowy cloud env
* chore: add env template
* chore: update env name
* docs: update docs
* fix: check_user
* feat: impl sign_in_with_url
* feat: add file storage placeholders
* chore: update client-api
* chore: disable test
* feat: impl workspace add and remove
* chore: sign up test
* feat: select cover image on upload (#3488 )
* fix: close popover after item selection in settings view (#3362 )
* fix: close popover after item selection in settings view
* fix: add missing await before closing popover
* fix: find popover container by context instead of passing controllers around
* fix: add requested changes
* feat: close text direction settings popups after selection
* fix: clean up
* fix: restore theme value dropdown as StatefulWidget
* feat: openai and stabilityai integration (#3439 )
* chore: create trait
* test: add tests
* chore: remove log
* chore: disable log
* chore: checklist ux flow redesign (#3418 )
* chore: ux flow redesign
* chore: remove unused imports
* fix: allow creation of tasks of the same name
* chore: apply code suggestions from Mathias
* fix: add padding below field title text field (#3440 )
* Fixed Issue no #3426
* Reversed the pubspec.lock mistaken update
* FIXED PADDING
* Fixed Padding issue on calender field edit popup
* chore: rename package name (#3501 )
* fix: right icon size sam as left one (#3494 )
* feat: enable removing user icon (#3487 )
* feat: enable removing user icon
* fix: generate to true
* fix: review comments
* fix: more review comments
* fix: integration test and final changes
* fix: made cursor grab and background color when hovering on Appearance Options Buttons (#3498 )
* chore: calendar UI polish (#3484 )
* chore: update calendar theming
* feat: add event popup editor
* chore: new event button redesign and add card shadows
* chore: unscheduled events button
* chore: event title text field
* fix: focus node double dispose
* chore: show popover when create new event
* test: integrate some tests for integration testing purposes
* fix: some fixes and more integration tests
* chore: add more space between font item and font menu
* feat: add reset font button in toolbar
* feat: only show text direction toolbar item when RTL is enabled
* fix: unable to change RTL of heading block
* test: add integration test for ltr/rtl mode
* chore: update inlang project settings (#3441 )
* feat: using script to update the collab source. (#3508 )
* chore: add script
* chore: update script
* chore: update bytes version
* chore: submit lock file
* chore: update test
* chore: update test
* chore: bump version
* chore: update
* ci: fix
* ci: fix
* chore: update commit id
* chore: update commit id
* chore: update commit id
* fix: is cloud enable
---------
Co-authored-by: Fu Zi Xiang <speed2exe@live.com.sg>
Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>
Co-authored-by: Vincenzo De Petris <37916223+vincendep@users.noreply.github.com>
Co-authored-by: Richard Shiue <71320345+richardshiue@users.noreply.github.com>
Co-authored-by: Aryan More <61151896+aryan-more@users.noreply.github.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Lakhan Baheti <94619783+1akhanBaheti@users.noreply.github.com>
Co-authored-by: Nitin-Poojary <70025277+Nitin-Poojary@users.noreply.github.com>
Co-authored-by: Jannes Blobel <72493222+jannesblobel@users.noreply.github.com>
2023-10-02 17:22:22 +08:00
Mathias Mogensen
4a433a3176
feat: reminder ( #3374 )
2023-10-02 15:12:24 +08:00
Zack
1c84ee1d53
feat: integrate appflowy-cloud ( #3359 )
...
* feat: draft: code dependency
* chore: update ref
* feat: signup using client_api
* feat: support auto sign_in after sign_up if already confirmed(WIP)
* chore: update collab commit id
* chore: fix compile errors
* chore: user AFServer trait to provide optional service
* chore: refactor workspace
* chore: disable aws config
* chore: return ws connect
* chore: update collab rev
* chore: fmt and clippy
* chore: fix test
* chore: update chrono version
* chore: add script to update the collab crates commit id
* chore: update
---------
Co-authored-by: nathan <nathan@appflowy.io>
2023-09-17 17:14:34 +08:00
Nathan.fooo
c652c32575
feat File storage ( #3306 )
...
* refactor: file upload
* refactor: support upload plan
* test: add tests
2023-09-01 22:27:29 +08:00
Nathan.fooo
12d6cbd46a
chore: optimize the UI if fail to open the workspace ( #3246 )
...
* chore: async load user profile
* chore: enable reset workspace
* chore: add confirm dialog
2023-08-22 00:19:15 +08:00
Nathan.fooo
a1647bee78
feat: realtime user event ( #3241 )
...
* feat: update user profile after receiving realtime user event
* chore: logout if other deivce enable encyrption
* test: fix test
* chore: fix checkbox UI
* chore: fix tauri build
* chore: fix device id
* chore: fix duplicate run appflowy
2023-08-20 14:13:54 +08:00
Nathan.fooo
de01bf70cd
fix: only encrypt if enable ( #3236 )
...
* fix: error page display issue
* fix: override document with empty data
* chore: add logs
* fix: encrypt errors
* fix: encrypt errors
2023-08-18 22:32:51 +08:00
Nathan.fooo
649b0a135a
feat: encrypt collab update ( #3215 )
...
* feat: implement encrypt and decrypt
* feat: encrypt and decrypt
* feat: update user profile with encrypt
* chore: store encryption sign
* fix: login in setting menu
* chore: show encryption account name
* chore: fix test
* ci: fix warnings
* test: enable supabase test
* chore: fix test and rename column
* fix: update user profile after set the secret
* fix: encryption with wrong secret
* fix: don't save user data if the return value of did_sign_up is err
* chore: encrypt snapshot data
* chore: refactor snapshots interface
* ci: add tests
* chore: update collab rev
2023-08-17 23:46:39 +08:00
Nathan.fooo
27b1f00e17
feat: user awareness ( #3185 )
...
* refactor: separate functions
* feat: init user awareness object
* test: create reminder event test
* docs: add documentation
2023-08-14 12:57:59 +08:00
Nathan.fooo
9063b40e06
feat: enable collaboration update synchronization between different devices ( #3169 )
...
* feat: bypass realtime event
* chore: use user device id
* chore: send realtime update
* chore: setup realtime recever
* chore: setup realtime recever
* chore: clippy
* chore: update collab rev
* chore: update realtime subscription
* chore: fix test
* chore: fmt
* test: fix flutter test
2023-08-12 17:36:31 +08:00
Nathan.fooo
3c04b72932
fix: push to sign in screen when logout ( #3127 )
...
* fix: push to sign in screen when logout
* chore: show historical login users
* chore: open historical user
* chore: show historical user
* chore: reload app widget with unique key
* chore: add tooltip for user history
2023-08-07 22:24:04 +08:00
Nathan.fooo
6f159e741b
refactor: remove shared instance KV ( #3123 )
...
* refactor: remove shared instance KV
* test: enable document test
2023-08-06 11:51:03 +08:00
Nathan.fooo
2cd88594e8
feat: migrate user data to cloud ( #3078 )
...
* refactor: weak passed-in params in handler
* refactor: rename struct
* chore: update tables
* chore: update schema
* chore: add permission
* chore: update tables
* chore: support transaction mode
* chore: workspace database id
* chore: add user workspace
* feat: return list of workspaces
* chore: add user to workspace
* feat: separate database row table
* refactor: update schema
* chore: partition table
* chore: use transaction
* refactor: dir
* refactor: collab db ref
* fix: collab db lock
* chore: rename files
* chore: add tables descriptions
* chore: update readme
* docs: update documentation
* chore: rename crate
* chore: update ref
* chore: update tests
* chore: update tests
* refactor: crate deps
* chore: update crate ref
* chore: remove unused deps
* chore: remove unused deps
* chore: update collab crate refs
* chore: replace client with transaction in pooler
* refactor: return error type
* refactor: use anyhow error in deps
* feat: supabase postgrest user signin (wip)
* fix: Cargo.toml source git deps, changed Error to anyhow::Error
* fix: uuid serialization
* chore: fix conflict
* chore: extend the response
* feat: add implementation place holders
* feat: impl get_user_workspaces
* feat: impl get_user_profile
* test: create workspace
* fix: postgrest: field names and alias
* chore: implement folder restful api
* chore: implement collab storate with restful api
* feat: added placeholders for impl: update_user_profile, check_user
* feat: impl: update_user_profile
* feat: impl: check_user
* fix: use UidResponse, add more debug info for serde serialization error
* fix: get_user_profile: use Optional<UserProfileResponse>
* chore: imple init sync
* chore: support soft delete
* feat: postgresql: add migration test
* feat: postgresql migration test: added UID display and colored output
* feat: postgresql migration test: workspace role
* feat: postgresql migration test: create shared common utils
* feat: postgresql migration test: fixed shebang
* chore: add flush_collab_update pg function
* chore: implement datbaase and document restful api
* chore: migrate to use restful api
* chore: update table schema
* chore: fix tests
* chore: remove unused code
* chore: format code
* chore: remove unused env
* fix: tauri build
* fix: tauri build
---------
Co-authored-by: Fu Zi Xiang <speed2exe@live.com.sg>
2023-07-29 09:46:24 +08:00
Nathan.fooo
f9e7b5ffa4
feat: reload UI ( #2999 )
...
* chore: reload folder
* chore: reload folder
* chore: init sync
* chore: update tables
* chore: update database
* chore: load row
* chore: update
* chore: reload row
* test: fit test
* chore: retry
* chore: support batch fetch
* chore: enable sync
* chore: sync switch
* chore: sync switch
* chore: migration user data
* chore: migrate data
* chore: migrate folder
* chore: save user email
* chore: refresh user profile
* chore: fix test
* chore: delete translation files
* test: clippy format
2023-07-14 13:37:13 +08:00