Commit Graph

268 Commits

Author SHA1 Message Date
Alex Wallen
17feea1219
fix: run integration tests on Linux (#2212)
* fix: run integration tests on Linux

* chore: add verbose flag

* fix: run tests with virtual x11 server

* fix: install network manager
2023-04-06 11:50:39 -10:00
Alex Wallen
e2009c063b
feat: Create a "view" for all database references in a document (#2083)
* feat: add archive for compression

* feat: add service to manage zipped work spaces

* feat: export service in barrel file

* feat: ignore .ephemeral directory

* feat: add first compressed workspace file

* fix: directory path was wrong

* feat: add a somewhat useful test

* fix: move to same file (delete later)

* fix: use script path vs. working directory for CI

* fix: read from asset bundle instead of file system

* fix: workaround to run integration in multiple files on desktop (flutter/flutter#101031

* feat: remove .ephemeral from .gitignore, no longer created

* feat: document test changes

* fix: lucas suggestion

* feat: mark assets as excluded in pubspec.yaml

* feat: add class for build utilities

* feat: add script runner for release builds

* feat: add build script as task in flowy project

* fix: typo in pubspec.yaml

* chore: use constants for exclude tag

* feat: add appversion as argument to build tool

* feat: use dart script in release.yml

* chore: remove task

* fix: careless error

Co-authored-by: Mihir <84044317+squidrye@users.noreply.github.com>

* feat: add translations for view of

* fix: typo in getAllDatabase

* feat: add view of database

* fix: remove unused import

* fix: use effective dart typing

* fix: insertPage marked as async, should return future

* fix: Remove multi-line string

* fix: ref can be null

* fix: unused imports caused analyzer to fail

* feat: also fix. Add empty document as option and change name to _name

* chore: move referenced database tests to empty document test file

* feat: add test utilities

* feat: add new integration test on an empty document

* feat: register test in runner

* fix: missing reference in insert_page_command

* fix: analyzer errors

---------

Co-authored-by: Mihir <84044317+squidrye@users.noreply.github.com>
2023-04-04 12:50:22 +08:00
Yijing Huang
231fd38298
chore: update to Flutter 3.7.5 (#2000)
* chore: upgrade appflowy_editor_plugins and flowy_infra

* feat(appflowy_flutter): upgrade dependence and delete unused import files

* fix(appflowy_flutter): fix SvgPicture upgrade issue

update color to colorFilter: apply mask color when the color is not null

* feat(appflowy_editor): updateflutter_svg version

* chore: flutter analyze

* chore: update to 3.7.5 in github action

* chore: update to 3.7.5 in github action(integration test)

* chore: update appflowy_editor to 0.1.2

* chore: delete appflowy_editor_test.yml under appflowy

* chore: update the flutter version in github action

* docs: update flutter badge image

* chore: update flutter version in scripts

* chore: update appflowy editor to the latest release

* chore: fix flutter analyze

* chore: update integration_test.yml

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
2023-04-04 12:48:56 +08:00
Lucas.Xu
7f11584b58
chore: sync 0.1.2 (#2135) 2023-03-30 10:09:15 +08:00
Lucas.Xu
23d0493027
chore: disable codecov temporarily (#1988) 2023-03-14 10:13:36 +08:00
Lucas.Xu
eb2476a8aa
chore: remove editor CI (#1959) 2023-03-13 09:28:27 +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
Nathan.fooo
f76d722b4c
Feat/database view (#1875)
* chore: rename structs

* chore: add todos

* chore: hidden database id

* refactor: add database folder, prepare to extract the view

* refactor: rename grid-model to datbase-model

* ci: fix warnings
2023-02-21 15:47:51 +08:00
Nathan.fooo
c1de3ba01b
ci: disable eslint (#1857) 2023-02-14 10:28:01 +08:00
Nathan.fooo
51041f6860
CI: Appflowy tauri ci (#1851)
* chore: add notification parser

* chore: rename classes to models

* refactor: add effects and reducers folder

* chore: update eslint version

* chore: run npx eslint --fix src

* fix: ParserOptions.project error by ignore linting the  .eslintrc.cjs

* ci: add tauri lint

* ci: disable ubuntu and windows tauri ci

* ci: install

---------

Co-authored-by: Annie <anqi.annie.wang@gmail.com>
2023-02-13 19:24:16 +08:00
Nathan.fooo
cbd351453d
ci: add tauri ci (#1833)
* ci: add tauri ci

* ci: update install windows scripts

* Update tauri_ci.yaml

* Update tauri_ci.yaml

* ci: update
2023-02-10 14:30:34 +08:00
Nathan.fooo
069519589e
Fix/grid group (#1787)
* ci: config rust log

* chore: rename flowy-sdk to appflowy-core

* fix: create group after editing the url

* fix: start listen on new group

* chore: add tests

* refactor: mock data

* ci: update command
2023-02-02 23:02:49 +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
vedon
ba653ff463
ci: support aarch64 (#1710) 2023-01-16 20:47:15 +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
b25db83bc0
ci: support linux dart_unit_test (#1653)
Co-authored-by: nathan <nathan@appflowy.io>
2023-01-05 15:25:30 +08:00
Nathan.fooo
c181f91175
ci: enable docker build (#1654) 2023-01-05 14:50:37 +08:00
Nathan.fooo
a07a180cc8
chore: remove duplicate command in flutter_ci.yaml 2023-01-04 17:16:09 +08:00
Nathan.fooo
e0a392db00
chore: update flutter_ci.yaml 2023-01-04 16:23:58 +08:00
nathan
b8f9da6bc7 ci: flutter ci 2023-01-04 00:08:40 +08:00
nathan
2c244203fb ci: rust coverage 2023-01-04 00:02:13 +08:00
nathan
bfd2754bda chore: update rust-toolchain 2023-01-03 23:38:57 +08:00
nathan
2ccc2d7c98 ci: remove unsupport syntax 2023-01-03 23:19:30 +08:00
nathan
52c09c863c ci: remove unsupport syntax 2023-01-03 23:13:22 +08:00
Nathan.fooo
c1880292ac
fix: rust & flutter test (#1644)
Co-authored-by: nathan <nathan@appflowy.io>
2023-01-03 23:10:11 +08:00
Nathan.fooo
0e88d643cf
fix: rust and flutter ci (#1643)
Co-authored-by: vedon <vedon.fu@gmail.com>
2023-01-03 22:55:30 +08:00
vedon
c932f63e57
Fix/windows build (#1641)
* fix: windows build & refactor release build target

* refactor: merge dart_lint and dart_test into flutter_ci

* refactor: merge rust_lint and rust_test into rust_ci

* chore: update rust_ci.yaml
2023-01-03 22:34:55 +08:00
Lucas.Xu
c05c1e191c
chore: upgrade minimum support flutter version, >= 3.3.0 (#1551)
* feat: upgrade flutter version to 3.3.0 for appflowy_editor and appflowy_editor_plugin

* feat: upgrade flutter version to 3.3.0 for appflowy

* feat: upgrade flutter version to 3.3.0 for CI

* chore: update flutter version in ci workflows

* chore: fix warnings

* chore: fix unuse import

* chore: support  cargo make dart_unit_test on windows platform

* fix: copy to sandbox errors

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-01 23:26:27 +08:00
Muhammad Rizwan
e4b07e69fa
Added : customize the color and background color of selected text (#1601)
* Added Emoji Support

* Added Color Picker for font color and background color

* chore: revert code

* feat: re-implement the color picker

* test: add test case for adding color

* test: update appflowy_editor test flag

Co-authored-by: Muhammad Rizwan <haris.arshad.2010@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2022-12-23 19:57:17 +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
Nathan.fooo
260705280f
fix: remove unused steps (#1580)
* chore: remove unused code

* chore: update pin-project version to remove rust lint warnings

* chore: fix potential test failed

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-19 10:47:40 +08:00
ramanverma2k
6dbb08c2ae fix: move deb control file to linux_installer 2022-12-08 12:04:43 +05:30
ramanverma2k
32be754eb7 fix: add libkeybinder as a dependency in deb pkg 2022-12-08 10:25:27 +05:30
ramanverma2k
0643e93e94 ci: refactor linux workflow & build an alternative linux package for older distributions. 2022-12-08 10:11:40 +05:30
Lucas.Xu
925ef48a83
fix: build macos install ci error (#1502) 2022-11-29 09:38:06 +08:00
Lucas.Xu
11a0ef319f
Merge pull request #1461 from ramanverma2k/feat_1305
ci: add .exe installer support for Windows releases #1305
2022-11-28 19:51:05 +08:00
Nathan.fooo
149c2a2725
Ci/build scripts (#1487)
* chore: rename flowy_dev name

* chore: rename tasks

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-26 22:18:39 +08:00
ramanverma2k
af9b4b3922 ci: build & upload installer package for windows 2022-11-17 13:33:19 +05:30
Lucas.Xu
8dc28e9286 fix: Windows CI error, need to install vcpkg 2022-11-07 14:49:32 +08:00
Lucas.Xu
49b2bcd20d
Merge pull request #1386 from ramanverma2k/dep-pkg_1303
feat: create deb package for linux (#1303)
2022-11-07 10:29:38 +08:00
Xavier Chrétien
a50f2a6eb9
ci: Add dmg support for MacOS and add the .dmg to the release (#1401) 2022-11-04 22:14:28 +08:00
Nathan.fooo
b0d2cdf55a
ci: Update release title (#1409)
* chore: update release title

* chore: update changelog

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-01 14:27:33 +08:00
ramanverma2k
319c358d1b ci: add postinst & postrm scripts to linux deb package 2022-10-30 12:09:20 +05:30
ramanverma2k
46a20123c1 ci: update linux deb package build workflow 2022-10-30 09:45:52 +05:30
ramanverma2k
380d921dae ci: respect debian package naming convention. 2022-10-30 09:33:06 +05:30
Lucas.Xu
10541502b8 chore: pick release/0.0.6 to main 2022-10-29 17:00:40 +08:00
ramanverma2k
2cbd74c716 feat: create deb package for linux 2022-10-27 20:05:37 +05:30
nathan
1af6c5eadc fix: bloc test errors 2022-10-23 11:52:15 +08:00
Nathan.fooo
8dff9dc67c
chore: disable log in bloc test (#1336) 2022-10-22 20:58:33 +08:00
Lucas.Xu
cb769a7213
Merge pull request #1315 from LucasXu0/fix_codecov
chore: Run appflowy editor test every time
2022-10-18 15:16:55 +07:00
Lucas.Xu
255a4e6849 chore: Run appflowy editor test every time 2022-10-18 16:16:25 +08:00
Nathan.fooo
230eb5fd55
fix: run bloc_test (#1286)
* fix: run bloc_test

* fix: dart_test ci  workflow

Co-authored-by: nathan <nathan@appflowy.io>
2022-10-15 23:34:56 +08:00
Lucas.Xu
9c7e64c502 fix: #1279 macOS package size 2022-10-14 21:10:58 +08:00
Swapnil Kumbhar
0bc0a72d8a
Code coverage for Rust (#1263)
* feat: Bumped Rust to stable-2022-04-07 (1.60.0)

* feat: Added coverage tests and report generation

* feat: Added workflow for Rust Coverage

* feat: Bumped Rust to 1.60.0 in Workflows

* test: Testing for CI

* ci: Added name and fixed path for Rust Coverage

* revert: "test: Testing for CI"

This reverts commit 049a7b1088.

* fix: Added .pub-cache to PATH, change incremental builds to zero

* test: Testing for CI

* ci: Installing protobuf compiler in CI

* revert: "test: Testing for CI"

This reverts commit 049a7b1088.

* ci: Added environment setup for dart

* test: Testing for CI

* feat: Added task to check if 'grcov' is installed

* ci: Added steps to install grcov

* test: Testing for CI

* ci: Fixed name for grcov installation step

* feat: Added cargo binaries to PATH in tests

* revert: "test: Testing for CI"

This reverts commit 24e425db66.

* revert: "test: Testing for CI"

This reverts commit a5de816bce.

* ci: Fixed a very silly failing case

* test: Created a test rust file for cov test
2022-10-11 19:54:31 +08:00
Lucas.Xu
3d014ef274
chore: update ci.yaml 2022-10-09 14:33:46 +08:00
Ishan Pandhare
47942ffadf feat: updated ci.yaml control statement 2022-10-09 11:22:37 +05:30
Ishan Pandhare
62c9108a68 feat: updated ci.yaml to support windows platform 2022-10-09 11:13:01 +05:30
Ishan Pandhare
2dd9b9767e feat: support windows platform in ci.yaml 2022-10-08 19:50:30 +05:30
Lucas.Xu
2d61581eb3 chore: flutter analyze and flutter format 2022-10-07 15:25:33 +08:00
Lucas.Xu
708afda27d
chore: delete the windows_release.yml 2022-09-08 10:33:02 +08:00
Lucas.Xu
fc0fb1c3df feat: integrate github action for windows x86_64 release 2022-09-07 22:49:57 +08:00
Lucas.Xu
d2c118ad02 chore: set paths in github actions to reduce the ci time 2022-09-02 22:02:36 +08:00
Lucas.Xu
118891923f chore: appflowy_editor 0.0.4 2022-09-02 21:33:12 +08:00
Lucas.Xu
fa22c63ac1
feat: support codecov (#970)
* feat: support codecov
2022-09-02 16:58:05 +08:00
appflowy
be1819981c fix: install keybinder 2022-09-01 11:01:52 +08:00
Lucas.Xu
b5c3b61158 fix: #955 upgrade build_resolvers to 2.0.9 2022-08-31 15:53:12 +08:00
Naughtz
6dca0fddf9
Merge branch 'main' into #692 2022-08-22 11:06:44 +08:00
Lucas.Xu
34fce3691f fix: appflowy_editor test fails 2022-08-18 17:38:04 +08:00
Lucas.Xu
556aa8c3df test: add flowy_editor_test into github workflows 2022-08-15 10:26:32 +08:00
Lucas.Xu
07ab4c2680 test: add flowy_editor_test into github workflows 2022-08-15 10:26:30 +08:00
Binlogo
2fddbce18c chore: speed up ci by respecting the cargo deps cache 2022-08-12 00:40:50 +08:00
Nathan.fooo
2853831442
Merge branch 'main' into #692 2022-08-09 13:52:19 +08:00
appflowy
d01e5a0490 chore: update flutter version in ci 2022-08-09 13:11:39 +08:00
Naughtz
fd57b0dc36 feat: install keybinder-3.0 on ubuntu 2022-08-09 10:51:21 +08:00
appflowy
a333f558f4 chore: rename flowy_board to appflowy_board 2022-08-08 10:27:58 +08:00
tsuiyuenhong
7de2f7fa49 Merge remote-tracking branch 'origin/main' into feat/flowy_editor 2022-08-03 09:04:16 +08:00
Poly-Pixel
5eb8a60f91
fix: add flutter action for access to dart 2022-07-27 10:02:22 -04:00
Poly-Pixel
0c20a7b092
fix: fix yaml syntax in rust_lint github workflow 2022-07-26 22:25:44 -04:00
appflowy
414bb75688 chore: replace Ilshidur/action-discord@0.3.2 with Ilshidur/action-discord@master 2022-07-22 09:57:20 +08:00
Lucas.Xu
7fad8ab3dc chore: run flutter test in flowy_editor_branch 2022-07-13 19:01:36 +08:00
MikeWallaceDev
3aca5a3b46 fix: continue adding "_64" to make build work 2022-07-08 11:20:42 -04:00
MikeWallaceDev
c0414a0e7e fix: fixed the ci script to correctly use 86_64 2022-07-08 10:53:29 -04:00
appflowy
48cee0b276 fix: build flowy sdk 2022-06-15 21:08:29 +08:00
appflowy
3105f30ea6 fix: build flowy sdk 2022-06-15 20:55:55 +08:00
appflowy
a0f064b15e fix: build flowy sdk 2022-06-15 20:31:28 +08:00
appflowy
68f7f25ca8 chore: fix github actions 2022-06-15 20:25:55 +08:00
Vincent Chan
14b012686b feat: native support for m1 mac 2022-05-30 21:12:44 +08:00
appflowy
aad33f6746 chore: update flutter toolchain version to flutter 3.0 2022-05-25 17:01:34 +08:00
appflowy
896123860d chore: update flutter sdk version 2022-05-25 16:45:13 +08:00
appflowy
ef2e9cb57e chore: update flutter version in ci 2022-05-25 16:10:47 +08:00
appflowy
0d40817cad chore: specify flutter version on CI 2022-05-17 16:07:36 +08:00
appflowy
10d4021d25 fix: dart unit test 2022-04-28 21:18:42 +08:00
appflowy
7e7fe41026 fix: generate en language as default 2022-04-28 20:10:12 +08:00
appflowy
006b3c3811 chore: fix unit test & warnings 2022-04-17 20:50:16 +08:00
appflowy
f4b206d196 chore: config test log 2022-04-12 11:13:35 +08:00
appflowy
df6871e777 chore: fix wanrings 2022-04-10 14:41:42 +08:00
appflowy
fbb2f49b6f chore: enable rust lint and test by remove path 2022-04-10 14:33:34 +08:00
appflowy
a035228798 chore: release beta package 2022-04-08 20:16:38 +08:00
tsuiyuenhong
65917da468 chore: use actions-cache to speed up dart & rust test. 2022-03-01 15:43:42 +08:00
tsuiyuenhong
3021bdc1af chore: use actions-cache to speed up CI. 2022-02-26 22:56:48 +08:00