Commit Graph

163 Commits

Author SHA1 Message Date
Nathan.fooo
0068c7e731
fix: compile errors (#2310) 2023-04-21 17:02:26 +08:00
Nathan.fooo
e1c8135f5d
refactor: folder with yrs
* feat: try using folder2

* feat: update

* feat: implement handlers

* fix: compile errors

* chore: add unsafe send + sync

* feat: remove unsafe impl

* fix: replace folder with foler2

* chore: dart compile errors

* test: fix test

* test: fix test

* test: bypass existing tests

* feat: open latest view

* chore: fix dart warnings

* chore: config notification

* fix: folder notification  bugs

* fix: doesn't open the new view after creating

* chore: rename struct

* refactor: user id

* test: fix test

* chore: remove unused user_id

* fix: fix read workspace views

* chore: rename appflowy data folder

* chore: update ref

* fix: tauri build
2023-04-04 08:41:16 +08:00
Nathan.fooo
0f3c6d6a04
Feat/appflowy tauri 3 (#1914) 2023-03-03 20:38:31 +08:00
Nathan.fooo
61fd608200
Feat/view map database (#1885)
* refactor: rename structs

* chore: read database id from view

* chore: fix open database error because of create a database view for database id

* chore: fix tests

* chore: rename datbase id to view id in flutter

* refactor: move grid and board to database view folder

* refactor: rename functions

* refactor: move calender to datbase view folder

* refactor: rename app_flowy to appflowy_flutter

* chore: reanming

* chore: fix freeze gen

* chore: remove todos

* refactor: view process events

* chore: add link database test

* chore: just open view if there is opened database
2023-02-26 16:27:17 +08:00
Lucas.Xu
72e155f5b9
feat: add open ai key to database (#1852)
* feat: add open ai key to database

* chore: refactor code
2023-02-14 10:04:36 +08:00
Nathan.fooo
6bb1c4e89c
feat: run rustfmt with custom defined fmt configuration (#1848)
* chore: update rustfmt

* chore: apply rustfmt format
2023-02-13 09:29:49 +08:00
Nathan.fooo
e2496e734c
docs: udpate user events (#1846) 2023-02-13 08:21:25 +08:00
Nathan.fooo
71022ed934
fix: potential async errors (#1772) 2023-01-31 19:30:48 +08:00
Nathan.fooo
5b07656295
Feat/database view (#1765)
* chore: rename flowy-database to flowy-sqlite

* refactor: rename flowy-grid to flowy-database

* refactor: rename grid to database

* refactor: rename GridEvent to DatabaseEvent

* refactor: rename grid_id to database_id

* refactor: rename dart code
2023-01-31 08:28:31 +08:00
Nathan.fooo
0d8adaa921
Feat/http server adapt (#1754) 2023-01-30 11:11:19 +08:00
Nathan.fooo
7a750e5255
chore: listen backend notification from Tauri (#1743) 2023-01-27 17:17:51 +08:00
Nathan.fooo
347245aaa1
Refactor/dart notification (#1740)
* refactor: notification send

* refactor: rename dart-notify to flowy-notification

* ci: fix clippy wanrings

* ci: fix rust code converage
2023-01-26 15:40:23 +08:00
abichinger
d36aea648c
feat: save menu appearance (#1707)
* feat: save menu offset and menu visibility

* refactor: remove collapsedNotifier
2023-01-18 14:30:39 +08:00
Nathan.fooo
f64346c955
Feat/tauri (#1716)
* feat: support tauri desktop

* chore: support call flowy sdk command

* chore: switch to svelte

* chore: gen js protobuf

* chore: import js protobuf

* chore: call flowy sdk handler

* chore: update scipts

* chore: create index.ts

* chore: track files

* chore: gen ts event

* chore: replace application icon

* chore: migrate to react

* chore: fix wanrings

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-17 16:27:17 +08:00
Nathan.fooo
6a36bcd31d
chore: add sqlite feature flag (#1683)
* chore: add sqlite feature flag

* chore: fix clippy warings

* ci: fix clippy

* chore: add rev file persistence

* ci: fix clippy

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-12 13:09:08 +08:00
Nathan.fooo
d4946f1194
chore: cell data operation (#1656)
* chore: get all cells for specific field

* chore: auto format clippy wanrings

* chore: get cells for specific field type
2023-01-05 21:27:21 +08:00
Nathan.fooo
e9f8796809
fix: update the cell content if input is not valid data (#1652)
Co-authored-by: nathan <nathan@appflowy.io>
2023-01-05 19:29:19 +07:00
Nathan.fooo
17def1ffab
chore: enable rust_unit_test on windows (#1630) 2023-01-02 12:31:31 +08:00
nathan
9cd83d02a9 fix: send dart notification 2023-01-01 22:48:28 +08:00
Nathan.fooo
aa5f052ecf
Refactor/crate directory (#1621)
* chore: fix wanrings

* chore: remove protobuf ref in flowy-error-code

* chore: remove protobuf ref in lib-ws

* refactor: remove protobuf trait in flowy http model

* refactor: remove flowy-error-code crate

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-30 11:16:47 +08:00
nathan
ce86227da3 chore: delete log 2022-12-20 14:45:51 +08:00
Lucas.Xu
5d7008edd7
feat: Customize the storage folder path (#1538)
* feat: support customize folder path

* feat: add l10n and optimize the logic

* chore: code refactor

* feat: add file read/write permission for macOS

* fix: add toast for restoring path

* feat: fetch apps and show them

* feat: fetch apps and show them

* feat: implement select document logic

* feat: l10n and add select item callback

* feat: add space between tile

* chore: move file exporter to settings

* chore: update UI

* feat: support customizing folder when launching the app

* feat: auto register after customizing folder

* feat: l10n

* feat: l10n

* chore: reinitialize flowy sdk when calling init_sdk

* chore: remove flowysdk const keyword to make sure it can be rebuild

* chore: clear kv values when user logout

* chore: replace current workspace id key in kv.db

* feat: add config.name as a part of seesion_cache_key

* feat: support open folder when launching

* chore: fix some bugs

* chore: dart fix & flutter analyze

* chore: wrap 'sign up with ramdom user' as interface

* feat: dismiss settings view after changing the folder

* fix: read kv value after initializaing with new path

* chore: remove user_id prefix from current workspace key

* fix: move open latest view action to bloc

* test: add test utils for integration tests

* chore: move integration_test to its parent directory

* test: add integration_test ci

* test: switch to B from A, then switch to A again

* chore: fix warings and format code and fix tests

* chore: remove comment out codes

* chore: rename some properties name and optimize the logic

* chore: abstract logic of settings file exporter widget to cubit

* chore: abstract location customizer view from file system view

* chore: abstract settings page index to enum type

* chore: remove the redundant underscore

* test: fix integration test error

* chore: enable integration test for windows and ubuntu

* feat: abstract file picker as service and mock it under integration test

* chore: fix bloc test

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-20 11:14:42 +08:00
Richard Shiue
442dfe7ef8
feat: switch between light and dark theme based on system settings (#1523)
* feat: allow listening to system for light/dark theme

* chore: implement UI for theme mode setting

* chore: fix translations
2022-12-08 14:21:11 +08:00
nathan
44f9254c0a chore: add codegen crate 2022-12-01 15:17:55 +08:00
nathan
96c427e869 refactor: rename flowy-dispatch structs 2022-12-01 09:26:16 +08:00
Richard Shiue
eb35fb25af
feat: initial steps to allow changing the app font (#1433)
* feat: initial steps to allow customizing app font

* chore: remove unnecessary factory constructor
2022-11-16 14:40:30 +08:00
Nathan.fooo
dd1dcba599
chore: return user setting (#1438) 2022-11-11 17:24:10 +08:00
Nathan.fooo
882d5535e6
Extract protobuf structs from flowy-sync crate (#1425)
* refactor: extract data model from flowy-sync crate

* chore: rename lib-infra features
2022-11-08 21:13:28 +08:00
appflowy
130c5f8e6e refactor: reanme flowy-grid-data-model to grid-rev-model 2022-11-08 14:12:13 +08:00
Nathan.fooo
170bbb6db0
test: add home bloc test (#1371) 2022-10-26 11:09:51 +08:00
appflowy
908d005737 refactor: add setting documentation and support save key/value in setting 2022-09-28 11:44:44 +08:00
appflowy
f841587c27 chore: add log 2022-08-15 22:40:54 +08:00
Ian Su
d56e8c7673 fix: add icon_url in migration 2022-08-08 22:19:05 +08:00
Ian Su
4eccdf3d28 feat: save icon into db 2022-08-06 22:38:03 +08:00
appflowy
8e18d3a937 chore: reanme flowy-user crate 2022-07-19 14:40:56 +08:00
appflowy
91418df940 chore: fix test errors 2022-07-04 16:38:35 +08:00
appflowy
8963561355 chore: rm flowy-user-data-model crate 2022-07-04 15:55:48 +08:00
appflowy
8a0709ca23 chore: add new event to update user name 2022-07-04 11:00:56 +08:00
appflowy
957b83ecd5 chore: refactor user listenr 2022-07-04 10:59:08 +08:00
appflowy
ce73da8212 chore: update user name with UserService 2022-07-03 16:52:06 +08:00
appflowy
5345c668bb chore: ignore proto files 2022-06-17 16:51:18 +08:00
appflowy
ed138abcc3 chore: provider default for FlowyConfig propertis 2022-06-17 11:27:00 +08:00
appflowy
16e1387a8e chore: add description for FlowyConfig 2022-06-17 11:19:49 +08:00
appflowy
736f21ef8a refactor: remove the protobuf's model folder 2022-06-16 08:21:31 +08:00
appflowy
94276d438d chore: ignore rust's protobuf crate 2022-06-15 19:58:18 +08:00
appflowy
4b71c474e4 refactor: separate proto file from src folder 2022-06-15 19:40:18 +08:00
appflowy
f8ec4b3e24 refactor: replace object with object's revision entity 2022-06-14 20:47:30 +08:00
appflowy
b282a14b58 chore: add sync feature 2022-04-14 21:57:00 +08:00
appflowy
f4b206d196 chore: config test log 2022-04-12 11:13:35 +08:00
appflowy
82840e1201 chore: replace uuid with nanoid 2022-04-11 15:27:03 +08:00
appflowy
b1d87d95cf chore: remove unuse crates 2022-03-19 16:23:34 +08:00
appflowy
11ceb96f65 feat: return rows and fields 2022-03-05 17:52:25 +08:00
appflowy
49807a0b57 feat: config grid db 2022-03-04 18:13:17 +08:00
appflowy
6078e46d3d refactor: rename structs 2022-02-25 23:30:02 +08:00
appflowy
ed9a48fc1c chore: rename struct property 2022-02-24 23:19:41 +08:00
appflowy
06967d8057 fix: path issue on windows 2022-02-17 20:10:29 +08:00
appflowy
cd013529d4 chore: write dart_event file 2022-02-16 11:05:43 +08:00
appflowy
0933935071 refactor: add code_gen crate 2022-02-15 22:18:34 +08:00
appflowy
4b63170e56 refactor: read cache proto info 2022-02-09 18:17:06 +08:00
appflowy
7646f984e0 refactor: generate x.proto file using build.rs 2022-02-09 09:57:03 +08:00
appflowy
d0b02cb4fd refactor: generate dart pb files with feature flag: dart 2022-02-08 16:24:59 +08:00
appflowy
9135b92a39 refactor: generate the pb files using build.rs 2022-02-08 14:36:59 +08:00
appflowy
0c6903f793 refactor: refactor some crates with http_server 2022-02-07 15:34:46 +08:00
appflowy
e9ba1e1886 fix: fallback to supported locale if easy_localization doesn't support device locale 2022-02-05 21:50:49 +08:00
MikeWallaceDev
5519dcd525 refactor: language settings to remove applanguage enum
Fixes: #290
app now uses Locale directly
list of languages is now generated from EasyLocalization
2022-02-04 20:09:41 -05:00
appflowy
1c2c1e6250 save theme setting 2022-01-28 18:38:13 +08:00
appflowy
8449f736e7 add user appearance setting 2022-01-28 18:38:09 +08:00
MikeWallaceDev
e77e6d275f changed permissions from 755 to 644 2022-01-27 14:18:41 -05:00
appflowy
bba8f8ae01 fix fmt and clippy warnings 2022-01-24 17:56:58 +08:00
appflowy
a9eec5baed solver conflicts 2022-01-24 17:32:40 +08:00
appflowy
24c1817c8d config web socket 2022-01-24 16:27:40 +08:00
nathan
cfb589dda1 fix format and clippy warnings 2022-01-23 12:14:00 +08:00
appflowy
324dc53e5f add folder migration & add folder unit test 2022-01-19 16:00:11 +08:00
appflowy
3964508cd8 add flowy-sync crate 2022-01-14 16:25:41 +08:00
appflowy
dac86ef857 refactor flowy-core pb 2022-01-13 14:48:41 +08:00
appflowy
718613de42 flowy-net impl http and local server 2022-01-13 11:15:31 +08:00
appflowy
e7aad4045b remove flowy-user unuse files 2022-01-11 13:34:45 +08:00
appflowy
855d396122 refactor cloud service triat 2022-01-10 23:45:59 +08:00
appflowy
1e0cef41a9 init server with dispatcher's runtime 2022-01-09 11:17:48 +08:00
appflowy
287698be9e enable local ws 2022-01-09 11:17:38 +08:00
appflowy
9ca2d60f3f correct the document delta by removing unnecessary op 2022-01-06 12:55:30 +08:00
appflowy
96f6a1d37c remove unuse code 2022-01-04 22:44:52 +08:00
appflowy
152cb17701 fix bugs 2022-01-03 19:50:08 +08:00
appflowy
adce96f15b fix generate pb bugs 2021-12-21 14:00:42 +08:00
appflowy
d9421f70a0 refactor backend directory 2021-12-21 14:00:41 +08:00
appflowy
ef491f4276 mv lib-sqlite to rust-lib 2021-12-20 14:26:26 +08:00
appflowy
936e133624 rename crates 2021-12-19 21:29:33 +08:00
appflowy
1744938a51 fix bugs 2021-12-18 00:23:26 +08:00
appflowy
013d8f753a refactor errors 2021-12-14 18:20:07 +08:00
appflowy
72a8f7a9e3 mv websocket to flowy-net crate 2021-12-14 15:31:44 +08:00
appflowy
5b7e6690f8 test sync 2021-12-13 22:46:35 +08:00
appflowy
31086ad4df add mock server 2021-12-13 13:55:44 +08:00
appflowy
df432d11c3 add flowy-net crate 2021-12-12 21:48:52 +08:00
appflowy
dfa9c04f5a mv kv to flowy-database 2021-12-12 21:18:23 +08:00
appflowy
90e3ba14f1 mv server's DocManager to flowy_collaboration crate 2021-12-12 12:41:16 +08:00
appflowy
d3bfca10e9 refactor backend editor 2021-12-11 17:48:39 +08:00
appflowy
d80061461b add flowy-collaboration crate 2021-12-11 13:47:16 +08:00
appflowy
aeb448c4de mock websocket 2021-12-10 22:18:44 +08:00
appflowy
45d9a0918f add user_id in revision 2021-12-10 11:22:21 +08:00
appflowy
3fa0f97e74 add pb generation log 2021-12-10 11:22:14 +08:00