Skip to content

Commit

Permalink
Merge pull request #372 from nextcloud/feature/web
Browse files Browse the repository at this point in the history
  • Loading branch information
provokateurin authored Feb 18, 2024
2 parents 7975430 + 7fe533e commit 2af17ea
Show file tree
Hide file tree
Showing 39 changed files with 12,122 additions and 106 deletions.
1 change: 1 addition & 0 deletions .cspell/nextcloud.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ partlycloudy
productname
rainshowers
replyable
requesttoken
resharing
rgdnvw
setsip
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ See [here](packages/app/README.md) for screenshots.

## Platform support

| Platform | Progress |
|-----------|--------------------|
| Android | :heavy_check_mark: |
| iOS | :construction: |
| MacOS | :construction: |
| Linux | :heavy_check_mark: |
| Windows | :rocket: |
| Web | :construction: |
| Platform | Progress |
|----------|--------------------|
| Android | :heavy_check_mark: |
| iOS | :construction: |
| MacOS | :construction: |
| Linux | :heavy_check_mark: |
| Windows | :rocket: |
| Web | :heavy_check_mark: |
2 changes: 2 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"**.openapi.json",
"**/CHANGELOG.md",
"external",
"packages/app/web/sqlite3.wasm",
"packages/app/web/sqflite_sw.js",
"packages/dynamite/dynamite/example/lib",
"packages/file_icons/lib/src/data.dart",
"packages/neon_lints/lib",
Expand Down
2 changes: 2 additions & 0 deletions packages/app/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
web/sqflite_sw.js -diff
web/sqlite3.wasm -diff
3 changes: 3 additions & 0 deletions packages/app/.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ migration:
- platform: linux
create_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c
base_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c
- platform: web
create_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c
base_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c

# User provided section

Expand Down
8 changes: 8 additions & 0 deletions packages/app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ A beautiful convergent cross-platform client for Nextcloud written in Flutter.
You can build it yourself from source or download it from the automatic build pipelines.
The app will be published on F-Droid, the Google Playstore and Flathub later on.

## Run on web

Due to CORS issues the app must be run with web security disabled.

```bash
fvm flutter run -d chrome --web-browser-flag "--disable-web-security"
```

## Screenshots

For more screenshots see `./screenshots/`.
Expand Down
2 changes: 1 addition & 1 deletion packages/app/flutter_native_splash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ flutter_native_splash:
icon_background_color: "#ffffff"
icon_background_color_dark: "#202020"
ios: false
web: false
web: true
74 changes: 53 additions & 21 deletions packages/app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.2.3"
dev_build:
dependency: transitive
description:
name: dev_build
sha256: e5d575f3de4b0e5f004e065e1e2d98fa012d634b61b5855216b5698ed7f1e443
url: "https://pub.dev"
source: hosted
version: "0.16.4+3"
dynamic_color:
dependency: transitive
description:
Expand Down Expand Up @@ -252,10 +260,10 @@ packages:
dependency: transitive
description:
name: ffi
sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878"
sha256: "493f37e7df1804778ff3a53bd691d8692ddf69702cf4c1c1096a2e41b4779e21"
url: "https://pub.dev"
source: hosted
version: "2.1.0"
version: "2.1.2"
file:
dependency: transitive
description:
Expand Down Expand Up @@ -386,10 +394,10 @@ packages:
dependency: transitive
description:
name: flutter_markdown
sha256: "30088ce826b5b9cfbf9e8bece34c716c8a59fa54461dcae1e4ac01a94639e762"
sha256: "21b085a1c185e46701373866144ced56cfb7a0c33f63c916bb8fe2d0c1491278"
url: "https://pub.dev"
source: hosted
version: "0.6.18+3"
version: "0.6.19"
flutter_material_design_icons:
dependency: "direct dev"
description:
Expand Down Expand Up @@ -846,26 +854,26 @@ packages:
dependency: transitive
description:
name: permission_handler
sha256: "3c84d49f0a5e1915364707159ab71f11b3b8a429532176d3a6248a45718ad4f9"
sha256: "74e962b7fad7ff75959161bb2c0ad8fe7f2568ee82621c9c2660b751146bfe44"
url: "https://pub.dev"
source: hosted
version: "11.2.1"
version: "11.3.0"
permission_handler_android:
dependency: transitive
description:
name: permission_handler_android
sha256: a5ebaa420cee8fd880ef10dedd42c6b3f493e7dbe27d7e0a7e1798669373082a
sha256: "1acac6bae58144b442f11e66621c062aead9c99841093c38f5bcdcc24c1c3474"
url: "https://pub.dev"
source: hosted
version: "12.0.4"
version: "12.0.5"
permission_handler_apple:
dependency: transitive
description:
name: permission_handler_apple
sha256: "6ca25ee52518a8a26e80aaefe3c71caf6e2dfd809c1b20900d0882df6faed36e"
sha256: bdafc6db74253abb63907f4e357302e6bb786ab41465e8635f362ee71fd8707b
url: "https://pub.dev"
source: hosted
version: "9.3.1"
version: "9.4.0"
permission_handler_html:
dependency: transitive
description:
Expand All @@ -878,10 +886,10 @@ packages:
dependency: transitive
description:
name: permission_handler_platform_interface
sha256: "5c43148f2bfb6d14c5a8162c0a712afe891f2d847f35fcff29c406b37da43c3c"
sha256: "23dfba8447c076ab5be3dee9ceb66aad345c4a648f0cac292c77b1eb0e800b78"
url: "https://pub.dev"
source: hosted
version: "4.1.0"
version: "4.2.0"
permission_handler_windows:
dependency: transitive
description:
Expand Down Expand Up @@ -922,6 +930,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.7.4"
pool:
dependency: transitive
description:
name: pool
sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a"
url: "https://pub.dev"
source: hosted
version: "1.5.1"
process:
dependency: transitive
description:
Expand All @@ -930,6 +946,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "5.0.2"
process_run:
dependency: transitive
description:
name: process_run
sha256: cad2c57a34f8313a4182e34e31e0b2f12972eef3d0930cdc7ab3240bb8cad380
url: "https://pub.dev"
source: hosted
version: "0.14.1+3"
provider:
dependency: transitive
description:
Expand Down Expand Up @@ -1150,14 +1174,22 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.3.2+1"
sqflite_common_ffi_web:
dependency: transitive
description:
name: sqflite_common_ffi_web
sha256: "0c2921454d2e4a227675fb952be9fef916cf65fb9e9b606b54cfdf080d3e9450"
url: "https://pub.dev"
source: hosted
version: "0.4.2+3"
sqlite3:
dependency: transitive
description:
name: sqlite3
sha256: c4a4c5a4b2a32e2d0f6837b33d7c91a67903891a5b7dbe706cf4b1f6b0c798c5
sha256: "072128763f1547e3e9b4735ce846bfd226d68019ccda54db4cd427b12dfdedc9"
url: "https://pub.dev"
source: hosted
version: "2.3.0"
version: "2.4.0"
stack_trace:
dependency: transitive
description:
Expand Down Expand Up @@ -1290,10 +1322,10 @@ packages:
dependency: transitive
description:
name: url_launcher_android
sha256: "507dc655b1d9cb5ebc756032eb785f114e415f91557b73bf60b7e201dfedeb2f"
sha256: d4ed0711849dd8e33eb2dd69c25db0d0d3fdc37e0a62e629fe32f57a22db2745
url: "https://pub.dev"
source: hosted
version: "6.2.2"
version: "6.3.0"
url_launcher_ios:
dependency: transitive
description:
Expand Down Expand Up @@ -1322,10 +1354,10 @@ packages:
dependency: transitive
description:
name: url_launcher_platform_interface
sha256: a932c3a8082e118f80a475ce692fde89dc20fddb24c57360b96bc56f7035de1f
sha256: "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029"
url: "https://pub.dev"
source: hosted
version: "2.3.1"
version: "2.3.2"
url_launcher_web:
dependency: transitive
description:
Expand Down Expand Up @@ -1418,10 +1450,10 @@ packages:
dependency: transitive
description:
name: web
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
sha256: "4188706108906f002b3a293509234588823c8c979dc83304e229ff400c996b05"
url: "https://pub.dev"
source: hosted
version: "0.3.0"
version: "0.4.2"
webdriver:
dependency: transitive
description:
Expand Down Expand Up @@ -1511,5 +1543,5 @@ packages:
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.2.3 <4.0.0"
dart: ">=3.3.0-279.1.beta <4.0.0"
flutter: ">=3.16.6"
Binary file added packages/app/web/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/app/web/icons/Icon-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/app/web/icons/Icon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2af17ea

Please sign in to comment.