Skip to content

Commit 38c3e70

Browse files
speed2exeappflowy
andauthored
feat: initial file upload api (#4299)
* feat: initial file upload api * feat: initial file upload api * fix: add pb index * feat: remove file name * feat: read everything to mem * feat: revamp object storage * chore: cargo format * chore: update deps * feat: revised implementations and style * chore: use deploy env instead * chore: use deploy env instead * chore: use deploy env instead * refactor: move logic to handler to manager * fix: format issues * fix: cargo clippy * chore: cargo check tauri * fix: debug docker integration test * fix: debug docker integration test * fix: debug docker integration test gotrue * fix: debug docker integration test docker compose version * fix: docker scripts * fix: cargo fmt * fix: add sleep after docker compose up --------- Co-authored-by: nathan <[email protected]>
1 parent 15cb1b5 commit 38c3e70

File tree

30 files changed

+757
-403
lines changed

30 files changed

+757
-403
lines changed

.github/workflows/flutter_ci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,9 @@ jobs:
248248
working-directory: AppFlowy-Cloud
249249
run: |
250250
docker compose down -v --remove-orphans
251-
docker pull appflowyinc/appflowy_cloud:latest
251+
docker compose pull
252252
docker compose up -d
253+
sleep 10
253254

254255
- name: Checkout source code
255256
uses: actions/checkout@v2
@@ -298,6 +299,7 @@ jobs:
298299
export DISPLAY=:99
299300
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
300301
sudo apt-get install network-manager
302+
docker ps -a
301303
flutter test integration_test/cloud/cloud_runner.dart -d Linux --coverage
302304
shell: bash
303305

.github/workflows/rust_ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ jobs:
104104

105105
- name: clippy rust-lib
106106
run: cargo clippy --all-targets -- -D warnings
107-
working-directory: frontend/rust-lib
107+
working-directory: frontend/rust-lib

frontend/appflowy_tauri/src-tauri/Cargo.lock

Lines changed: 85 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/appflowy_tauri/src-tauri/Cargo.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ rust-version = "1.57"
1414
tauri-build = { version = "1.5", features = [] }
1515

1616
[workspace.dependencies]
17-
anyhow = "1.0.75"
17+
anyhow = "1.0"
1818
tracing = "0.1.40"
1919
bytes = "1.5.0"
2020
serde = "1.0.108"
@@ -35,7 +35,7 @@ lru = "0.12.0"
3535
serde_json.workspace = true
3636
serde.workspace = true
3737
tauri = { version = "1.5", features = ["clipboard-all", "fs-all", "shell-open"] }
38-
tauri-utils = "1.5"
38+
tauri-utils = "1.5.2"
3939
bytes.workspace = true
4040
tracing.workspace = true
4141
lib-dispatch = { path = "../../rust-lib/lib-dispatch", features = ["use_serde"] }
@@ -74,7 +74,3 @@ collab-database = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev
7474
collab-plugins = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "3c2cb055e47ec9d6bff3d3aeb2a476b85d02cb80" }
7575
collab-user = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "3c2cb055e47ec9d6bff3d3aeb2a476b85d02cb80" }
7676
collab-entity = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "3c2cb055e47ec9d6bff3d3aeb2a476b85d02cb80" }
77-
78-
79-
80-

frontend/rust-lib/Cargo.lock

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/rust-lib/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ flowy-storage = { workspace = true, path = "flowy-storage" }
5959
collab-integrate = { workspace = true, path = "collab-integrate" }
6060
flowy-ai = { workspace = true, path = "flowy-ai" }
6161
flowy-date = { workspace = true, path = "flowy-date" }
62-
anyhow = "1.0.75"
62+
anyhow = "1.0"
6363
tracing = "0.1.40"
6464
bytes = "1.5.0"
6565
serde_json = "1.0.108"

0 commit comments

Comments
 (0)