Commit Graph

263 Commits

Author SHA1 Message Date
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
Richard Shiue
72768a2f77
fix: app version (#1828) 2023-02-09 20:24:43 +08:00
Nathan.fooo
5f760ad578
ci: serial flutter unit test (#1814) 2023-02-07 10:48:28 +08:00
Nathan.fooo
4b605b6373
chore: update vscode task (#1790) 2023-02-03 14:13:33 +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
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
Nathan.fooo
67f07463f0
refactor: tauri folder (#1738) 2023-01-24 14:01:30 +08:00
Nathan.fooo
128bf02ffb
fix: command fail on linux system (#1731) 2023-01-20 14:02:12 +08:00
Nathan.fooo
d77c41013f
chore: build tauri from vscode launch (#1720)
* chore: build tauri from vscode launch

* fix: unit test

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-18 11:22:13 +08:00
Nathan.fooo
ceb39a4fd9
chore: add tauri build config (#1717)
Co-authored-by: nathan <nathan@appflowy.io>
2023-01-17 21:54:25 +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
37f269b08b
Chore/rename flowy sdk (#1679)
* chore: run flutter create on flowy_sdk

* chore: rename flowy-sdk to flowy-core

* chore: rename flowy_sdk to appflowy_backend

* chore: fix windows build

* chore: replace bloctest with test

Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: vedon <vedon.fu@gmail.com>
2023-01-08 12:10:53 +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
17def1ffab
chore: enable rust_unit_test on windows (#1630) 2023-01-02 12:31:31 +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
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.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
Duy Do
bb312b0a79 build: update install_linux.sh 2022-12-15 11:00:26 +07:00
ramanverma2k
6dbb08c2ae fix: move deb control file to linux_installer 2022-12-08 12:04:43 +05:30
ramanverma2k
0643e93e94 ci: refactor linux workflow & build an alternative linux package for older distributions. 2022-12-08 10:11:40 +05:30
nathan
44f9254c0a chore: add codegen crate 2022-12-01 15:17:55 +08:00
nathan
30e7323cf7 chore: delete flowy-tool 2022-12-01 14:42:09 +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
Nathan.fooo
fc10ee2d6b
Fix filter test (#1459)
* chore: move grid_view_editor.rs to view_editor folder

* chore: hide invisible rows

* fix: lock issue

* fix: flutter test potential failed

* chore: separate group tests

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-17 16:44:17 +08:00
ramanverma2k
af9b4b3922 ci: build & upload installer package for windows 2022-11-17 13:33:19 +05:30
appflowy
5156248918 ci: fix typo 2022-11-07 15:27:31 +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
e9ad705ea3
Refactor/revision compose (#1410) 2022-11-01 18:59:53 +08:00
Nathan.fooo
3bbf91ab2b
Add board group test (#1376) 2022-10-26 22:36:34 +08:00
Nathan.fooo
8dff9dc67c
chore: disable log in bloc test (#1336) 2022-10-22 20:58:33 +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
Nathan.fooo
63111927cc
chore: remove events files when run clean + rebuild all (#1284)
Co-authored-by: nathan <nathan@appflowy.io>
2022-10-15 17:15:11 +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
Ayush
238af3ed0e
Added flatpak files (#208) 2022-10-08 09:29:29 +08:00
Victor Szabo
04a7c8dc6d
fix(scripts): add libkeybinder3 to Dockerfile (#1204) 2022-10-02 20:15:53 +08:00
huyz
69ae3cba04 feat: make Rust installation prompt default to N 2022-09-23 21:59:32 -07:00
weidong fu
91469df126 chore: fix typo in install_macos.sh 2022-09-24 10:39:00 +08:00
appflowy
ca50e61762 chore: add install gitlint script & ignore body length 2022-09-22 10:50:04 +08:00
Lucas.Xu
fc0fb1c3df feat: integrate github action for windows x86_64 release 2022-09-07 22:49:57 +08:00
Sean Riley Hawkins
69e3aed6b5
Android vscode workflow (#912)
* fix: fix linux build

* Merge pull request #599 from AppFlowy-IO/refactor/grid_decode_cell_data

Refactor/grid decode cell data

* feat:  configured android vscode workflow

* chore: clean up android vscode

* fix: fixed typo

* chore: remove unused code

Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2022-09-01 12:27:09 +08:00
appflowy
c8ce8ef5c2 chore: run command in sudo mode 2022-08-31 23:00:58 +08:00
appflowy
6de77d5a5b fix: fix docker build again 2022-08-31 15:05:16 +08:00
appflowy
fb9ddff574 chore: install keybinder 2022-08-31 09:41:45 +08:00
Naughtz
1c19bee773 fix: fix actions fail 2022-08-08 17:12:27 +08:00
Nathan.fooo
dfb6ff7d04
Merge pull request #264 from texhno/main
Small fixes for `docker-compose up` command's error and warning
2022-08-03 08:19:51 +08:00
weidong fu
386ee15f1b chore: fix install script errors 2022-08-02 14:06:07 +08:00
Nathan.fooo
a47af561ab
Merge pull request #739 from Poly-Pixel/windows-dev-install-script
Add Windows development environment install script
2022-08-01 12:42:57 +08:00
Nathan.fooo
da92bcd91a
Merge pull request #746 from AppFlowy-IO/feat/fix_install_macos_sh
chore: fix instal_macos.sh download glint error
2022-07-31 20:29:05 +08:00
appflowy
67f027bf3b chore: fix instal_macos.sh download glint error 2022-07-31 20:09:41 +08:00
appflowy
af61cae182 ci: fix docker builder 2022-07-31 19:43:52 +08:00
Poly-Pixel
86799bbb96 fix: fix last command issue 2022-07-28 21:05:33 -07:00
Poly-Pixel
3caa565610 fix: fix remaining PATH issues 2022-07-28 20:04:46 -07:00
Lucas.Xu
32ee068c73 chore: resolve docker-compose.yml conflicts 2022-07-28 10:12:19 -04:00
тнomas
7a197df57c fix: Fixes docker-compose up error and warning 2022-07-28 10:12:19 -04:00
MikeWallaceDev
244549b167 fix: bah! removing duplicate code. 2022-07-25 13:37:58 -04:00
MikeWallaceDev
f993e1d076 feat: add gitlint dependency 2022-07-25 12:23:33 -04:00
MikeWallaceDev
943ce37623 feat: remove commitlint and node.js dependency 2022-07-25 12:23:33 -04:00
Poly-Pixel
89dc2f0370 fix: forgot to uncomment a line! 2022-07-24 12:34:55 -07:00
Poly-Pixel
7eb7fad336 fix: fix most PATH-related issues 2022-07-27 18:09:59 -07:00
Poly-Pixel
85850af541 feat: add windows dev environment install script 2022-07-26 18:26:44 -07:00
MikeWallaceDev
efa89866f3 fix: colors and brew install for mac
Also fixed colors for Linux.
Now displays messages in yellow so that they stick out more.
2022-07-19 13:07:25 -04:00
MikeWallaceDev
6d9c4619e4 fix: fixed flutter config variable for mac 2022-07-18 21:44:11 -04:00
MikeWallaceDev
f30f2485c6 fix: fixed colors when asking to install Rust 2022-07-18 20:08:13 -04:00
MikeWallaceDev
1cb8dbcfa4 fix: improved installation on MacOs
added MacOs install script
Removed Makefile, since we now use a bash script. This removes the dependency on make.
Removed Brewfile, since we now use a bash script
2022-07-18 15:24:25 -04:00
MikeWallaceDev
39900022db fix: improved development environment installation
moved and renamed /Makefile.toml to githooks.toml
added install script for Linux
2022-07-18 14:31:13 -04:00
Nathan.fooo
6554b8354b
Merge pull request #579 from AppFlowy-IO/feat/grid_task_runner 2022-06-29 18:28:06 +08:00
appflowy
ead305ddda chore: delete/create filter 2022-06-28 09:35:17 +08:00
appflowy
706893f6fa fix: remove shared-lib cache files 2022-06-28 09:35:17 +08:00
tsuiyuenhong
27bd4bb242 chore: fix linux(aarch64) build 2022-06-21 18:44:06 +08:00
appflowy
02754eb069 chore: print message if the dir is not empty 2022-06-19 10:55:14 +08:00
appflowy
64e43fa1f3 chore: remove rust/dart generated files 2022-06-19 10:40:55 +08:00
appflowy
824c7c0e8d refactor: clean script 2022-06-19 09:42:25 +08:00
nathan
d913bbba31 chore: update windows clean script 2022-06-16 10:45:47 +08:00
appflowy
7a7f881d23 chore: udpate the clean scripto 2022-06-16 08:30:26 +08:00
appflowy
777547229c fix: build appflowy from VS Code 2022-06-15 22:28:33 +08:00
Vincent Chan
14b012686b feat: native support for m1 mac 2022-05-30 21:12:44 +08:00
appflowy
7a7ec10085 chore: add test comand in cargo make 2022-05-27 20:26:33 +08:00
appflowy
233b9366af chore: update crates version 2022-04-28 21:16:28 +08:00
appflowy
cd14598199 chore: update archive package path 2022-04-12 08:03:39 +08:00
appflowy
a035228798 chore: release beta package 2022-04-08 20:16:38 +08:00
Nathan.fooo
03192f8d7e
Merge pull request #373 from PabloCastellano/more-docker
Multiple improvements in docker image
2022-02-24 23:25:42 +08:00
Hieu
0c9fc35cb3 ci: refactor code generation 2022-02-24 14:40:48 +07:00
Hieu
288afbe68b ci: no more sed
Fix "Bad state: Unable to generate package graph"
2022-02-23 22:02:46 +07:00
Hieu
6e1c6d7a47 fix: cargo-make platforms, mac not macos 2022-02-23 21:18:20 +07:00
Hieu
6ae8efbdfe ci: generate freezed files 2022-02-23 20:40:22 +07:00
Pablo Castellano
0b2bb33b73 fix: multiple improvements in docker image
* Reduce image size again, to 894MB
* Adjust permissions and remove need to run xhost
* Run appflowy as unprivileged user
* Add README file for more information
2022-02-23 12:28:28 +01:00
Pablo Castellano
ca0851418e chore: use docker multi-stage builds
Previous image was 7.69GB which is somewhat heavy.
Now the resulting image is 1.20GB thanks to multi-stage builds.
2022-02-21 10:06:41 +01:00
Nathan.fooo
7eada39a8b
Merge pull request #346 from PabloCastellano/docker-fix
Fix docker build
2022-02-21 10:22:11 +08:00
Pablo Castellano
23795e1b67 feat: add docker-compose data persistance 2022-02-20 11:00:01 +01:00
appflowy
cdec567cbb feat: separate develop, release, test working directory 2022-02-20 08:35:52 +08:00
appflowy
e9ba9ad149 ci: add .appflowy_dev 2022-02-20 08:06:53 +08:00
appflowy
c559c5cc6b feat: config bloc test 2022-02-19 16:48:57 +08:00
Pablo Castellano
7820c8e70d fix: also mount other required volumes in docker-compose 2022-02-17 21:43:02 +01:00
Pablo Castellano
bde597a10b fix: docker build
 The protoc-gen-dart was not installed correctly.
 You can fix that by adding "dart pub global activate protoc_plugin" to your shell's
config file.(.bashrc, .bash, etc.)
2022-02-17 21:43:02 +01:00
nathan
ceaf1ccc21 feat: fix windows build erros 2022-02-17 16:32:10 +08:00
appflowy
afd8335e95 chore: cache dart_event.dart file 2022-02-16 11:13:14 +08:00
appflowy
bf3a0b6e5b feat: add flowy_clean command to remove the build.rs cache 2022-02-15 22:37:13 +08:00
appflowy
9b8c110a66 refactor: optimize protobuf code gen process 2022-02-13 12:04:34 +08:00
appflowy
686507cd67 feat: remove cargo make pb command 2022-02-09 22:26:10 +08:00
appflowy
7cceafa432 style: fix warnings 2022-02-09 18:39:58 +08:00
appflowy
7646f984e0 refactor: generate x.proto file using build.rs 2022-02-09 09:57:03 +08:00
appflowy
30bedb337f ci: export path to CI 2022-02-09 07:32:59 +08:00
appflowy
832db73410 ci: add logs 2022-02-09 07:23:57 +08:00
appflowy
837666d36d ci: fix dart pb 2022-02-09 01:14:54 +08:00
appflowy
68b0730dda ci: disable dart pb gen 2022-02-09 00:47:43 +08:00
appflowy
15d91d3cbe ci: export path 2022-02-08 23:05:28 +08:00
appflowy
f55de1fd17 feat: install protoc-gen-dart if not installed 2022-02-08 22:42:00 +08:00
appflowy
dd3f1d0b24 ci: install protobuf code gen tool 2022-02-08 21:43:31 +08:00
appflowy
d0b02cb4fd refactor: generate dart pb files with feature flag: dart 2022-02-08 16:24:59 +08:00
appflowy
084e9c5f6f refactor: refactor some crates with http_server 2022-02-07 15:33:46 +08:00
Lays Rodrigues
177ed8d51a fix appflowy version in dockerfile
Signed-off-by: Lays Rodrigues <laysrodriguessilva@gmail.com>
2022-02-02 17:22:29 -03:00
MikeWallaceDev
e77e6d275f changed permissions from 755 to 644 2022-01-27 14:18:41 -05:00
appflowy
2fa99a563c rename flowy-core to flowy-folder that manages the workspace,app,view 2022-01-27 20:43:43 +08:00
Discreater
d5ffeb3c8a fix windows build with multiple visual studio installations 2022-01-24 00:52:39 +08:00
nathan
dccbd45a00 switch to stable channel 2022-01-23 11:34:41 +08:00
Harinandan
1c8d5a782b Merge branch 'settings-modal' of github.com:Hari-07/appflowy into settings-modal 2022-01-21 10:40:45 +05:30
Harinandan
cae691df9a Moved language generation commands in cmd to seperate lines 2022-01-21 10:40:27 +05:30
MikeWallaceDev
27f900753e Fixed a typo 2022-01-20 22:08:04 -05:00
Mike Wallace
dc05a4cc65
Merge branch 'main' into settings-modal 2022-01-20 21:38:22 -05:00
MikeWallaceDev
4da2dadf69 Fixed language generation from build script 2022-01-20 21:32:24 -05:00
Harinandan
33212df63a Fixed problem with translation key gen 2022-01-21 02:54:36 +05:30
MikeWallaceDev
584af6aa71 fixed cargo make to work on Windows 2022-01-19 22:02:16 -08:00
Mike Wallace
b239f28d10
Added Windows script for langage generation (#212) 2022-01-05 14:17:27 -05:00
appflowy
eb601932ea add backend kv store 2022-01-03 19:49:25 +08:00
Mike Wallace
cd85f3f464
Added a line to update the pacman repository database 2021-12-28 15:10:53 -05:00
Mike Wallace
bda6840523
Remove generated files (#202)
* deleted generated directory from file system

* Removed generated language files from source control
Files are now generated when building the app or by launching "Generate Language Files"

added /lib/generated/ to git .ignore
added a task to generate language files
call task from build script

* added pub get to workflow
2021-12-25 20:23:02 -05:00
Mike Wallace
e0e48f1e99
Deleted doc file, it's in the wiki now. (#198)
Move the scripts to the script folder.
2021-12-23 23:47:33 -05: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
e55b79d3e6 Merge branch 'feat/online2' 2021-12-20 15:38:41 +08:00
Mike
7a264dba6a Build system will now detect OS and pass it down to build_sdk.sh.
build_sdk.sh will now automatically choose the correct cargo-make command line based on the OS

# Conflicts:
#	frontend/scripts/build_sdk.sh
2021-12-17 22:48:07 -05:00
Mike
fc74b2b962 Build system will now detect OS and pass it down to build_sdk.sh.
build_sdk.sh will now automatically choose the correct cargo-make command line based on the OS
2021-12-17 22:31:01 -05:00
Mike
d445aeb304 Build system will now detect OS and pass it down to build_sdk.sh.
build_sdk.sh will now automatically choose the correct cargo-make command line based on the OS
2021-12-17 22:21:11 -05:00
Mike
327fa0c811 Makefile.toml
- Removed duplicate BUILD_FLAG

flutter.toml
task copy-to-product-linux now copies desktop file and icon
- Added create-release-archive task
- Implemented create-release-archive-linux. Windows and Mac remain to be done.

Added appflowy.desktop.temp file.
2021-12-17 14:34:35 -05:00
appflowy
405c618d27 rename some struct 2021-12-16 22:24:05 +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
Mike
94dc76d1a9 Fix build_sdk.sh
Fixed a typo (aarch64 -> x86)
Since I was here : Capitalized the OS names
2021-12-11 23:38:49 -05:00
appflowy
d283d29202 [flutter]: switch to stable channel 2021-12-10 14:43:57 +08:00
appflowy
29c14949cb reanme flowy-workspace to flowy-core 2021-12-10 11:20:29 +08:00
appflowy
5a89655982 setup flowy sdk server configuration 2021-12-06 08:35:17 +08:00
appflowy
ce8805aff8 fix wanrings 2021-12-04 23:54:14 +08:00
appflowy
63082418be fix generate pb issues 2021-12-04 17:31:43 +08:00
appflowy
c4088622f8 rust fmt 2021-11-29 22:01:46 +08:00
appflowy
8c54949271 rust fmt 2021-11-29 22:01:46 +08:00
appflowy
f9bfe94a6b fix flowy_tool issues 2021-11-29 20:08:02 +08:00
Alex to
172e1ab1de [Instruction] Slightly update steps of BUILD_ON_WINDOWS.md
1. doc\BUILD_ON_WINDOWS.md
  - rustup.exe with parameter to install rust without prompt
2. frontend/scripts/makefile/protobuf.toml
  - add a sub task to check if protoc is presented in PATH
2021-11-28 20:34:03 +08:00