Browse Source

Merge pull request #28 from jld3103/rebrand

Rebrand to Nextcloud Neon
pull/29/head
jld3103 2 years ago committed by GitHub
parent
commit
827f658798
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 36
      .github/workflows/dart.yml
  2. 2
      .idea/modules.xml
  3. 10
      .idea/nextcloud-neon.iml
  4. 2
      .idea/runConfigurations/Debug.xml
  5. 2
      .idea/runConfigurations/Release.xml
  6. 14
      README.md
  7. BIN
      packages/harbour/android/app/src/main/res/drawable-hdpi/android12splash.png
  8. BIN
      packages/harbour/android/app/src/main/res/drawable-hdpi/splash.png
  9. BIN
      packages/harbour/android/app/src/main/res/drawable-mdpi/android12splash.png
  10. BIN
      packages/harbour/android/app/src/main/res/drawable-mdpi/splash.png
  11. BIN
      packages/harbour/android/app/src/main/res/drawable-xhdpi/android12splash.png
  12. BIN
      packages/harbour/android/app/src/main/res/drawable-xhdpi/splash.png
  13. BIN
      packages/harbour/android/app/src/main/res/drawable-xxhdpi/android12splash.png
  14. BIN
      packages/harbour/android/app/src/main/res/drawable-xxhdpi/splash.png
  15. BIN
      packages/harbour/android/app/src/main/res/drawable-xxxhdpi/android12splash.png
  16. BIN
      packages/harbour/android/app/src/main/res/drawable-xxxhdpi/splash.png
  17. BIN
      packages/harbour/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
  18. BIN
      packages/harbour/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
  19. BIN
      packages/harbour/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
  20. BIN
      packages/harbour/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  21. BIN
      packages/harbour/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  22. 2
      packages/harbour/assets/LEGALESE.txt
  23. 1
      packages/harbour/assets/logo_harbour.svg
  24. 0
      packages/neon/.gitignore
  25. 0
      packages/neon/.metadata
  26. 0
      packages/neon/LICENSE
  27. 2
      packages/neon/README.md
  28. 0
      packages/neon/analysis_options.yaml
  29. 0
      packages/neon/android/.gitignore
  30. 2
      packages/neon/android/app/build.gradle
  31. 0
      packages/neon/android/app/proguard-rules.pro
  32. 2
      packages/neon/android/app/src/debug/AndroidManifest.xml
  33. 4
      packages/neon/android/app/src/main/AndroidManifest.xml
  34. 2
      packages/neon/android/app/src/main/kotlin/de/provokateurin/neon/MainActivity.kt
  35. BIN
      packages/neon/android/app/src/main/res/drawable-hdpi/android12splash.png
  36. BIN
      packages/neon/android/app/src/main/res/drawable-hdpi/splash.png
  37. BIN
      packages/neon/android/app/src/main/res/drawable-mdpi/android12splash.png
  38. BIN
      packages/neon/android/app/src/main/res/drawable-mdpi/splash.png
  39. 0
      packages/neon/android/app/src/main/res/drawable-night-v21/background.png
  40. 0
      packages/neon/android/app/src/main/res/drawable-night-v21/launch_background.xml
  41. 0
      packages/neon/android/app/src/main/res/drawable-night/background.png
  42. 0
      packages/neon/android/app/src/main/res/drawable-night/launch_background.xml
  43. 0
      packages/neon/android/app/src/main/res/drawable-v21/background.png
  44. 0
      packages/neon/android/app/src/main/res/drawable-v21/launch_background.xml
  45. BIN
      packages/neon/android/app/src/main/res/drawable-xhdpi/android12splash.png
  46. BIN
      packages/neon/android/app/src/main/res/drawable-xhdpi/splash.png
  47. BIN
      packages/neon/android/app/src/main/res/drawable-xxhdpi/android12splash.png
  48. BIN
      packages/neon/android/app/src/main/res/drawable-xxhdpi/splash.png
  49. BIN
      packages/neon/android/app/src/main/res/drawable-xxxhdpi/android12splash.png
  50. BIN
      packages/neon/android/app/src/main/res/drawable-xxxhdpi/splash.png
  51. 0
      packages/neon/android/app/src/main/res/drawable/background.png
  52. 0
      packages/neon/android/app/src/main/res/drawable/launch_background.xml
  53. 0
      packages/neon/android/app/src/main/res/mipmap-hdpi/app_files.png
  54. 0
      packages/neon/android/app/src/main/res/mipmap-hdpi/app_news.png
  55. 0
      packages/neon/android/app/src/main/res/mipmap-hdpi/app_notes.png
  56. BIN
      packages/neon/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
  57. 0
      packages/neon/android/app/src/main/res/mipmap-mdpi/app_files.png
  58. 0
      packages/neon/android/app/src/main/res/mipmap-mdpi/app_news.png
  59. 0
      packages/neon/android/app/src/main/res/mipmap-mdpi/app_notes.png
  60. BIN
      packages/neon/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
  61. 0
      packages/neon/android/app/src/main/res/mipmap-xhdpi/app_files.png
  62. 0
      packages/neon/android/app/src/main/res/mipmap-xhdpi/app_news.png
  63. 0
      packages/neon/android/app/src/main/res/mipmap-xhdpi/app_notes.png
  64. BIN
      packages/neon/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
  65. 0
      packages/neon/android/app/src/main/res/mipmap-xxhdpi/app_files.png
  66. 0
      packages/neon/android/app/src/main/res/mipmap-xxhdpi/app_news.png
  67. 0
      packages/neon/android/app/src/main/res/mipmap-xxhdpi/app_notes.png
  68. BIN
      packages/neon/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  69. 0
      packages/neon/android/app/src/main/res/mipmap-xxxhdpi/app_files.png
  70. 0
      packages/neon/android/app/src/main/res/mipmap-xxxhdpi/app_news.png
  71. 0
      packages/neon/android/app/src/main/res/mipmap-xxxhdpi/app_notes.png
  72. BIN
      packages/neon/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  73. 0
      packages/neon/android/app/src/main/res/raw/keep.xml
  74. 0
      packages/neon/android/app/src/main/res/values-night-v31/styles.xml
  75. 0
      packages/neon/android/app/src/main/res/values-night/styles.xml
  76. 0
      packages/neon/android/app/src/main/res/values-v31/styles.xml
  77. 0
      packages/neon/android/app/src/main/res/values/styles.xml
  78. 2
      packages/neon/android/app/src/profile/AndroidManifest.xml
  79. 0
      packages/neon/android/build.gradle
  80. 0
      packages/neon/android/gradle.properties
  81. 0
      packages/neon/android/gradle/wrapper/gradle-wrapper.properties
  82. 0
      packages/neon/android/settings.gradle
  83. 0
      packages/neon/assets/.gitignore
  84. 2
      packages/neon/assets/LEGALESE.txt
  85. 0
      packages/neon/assets/apps/files.svg
  86. 0
      packages/neon/assets/apps/news.svg
  87. 0
      packages/neon/assets/apps/notes.svg
  88. 1
      packages/neon/assets/logo_neon.svg
  89. 0
      packages/neon/assets/logo_nextcloud.svg
  90. 0
      packages/neon/flutter_native_splash.yaml
  91. 0
      packages/neon/l10n.yaml
  92. 10
      packages/neon/lib/app.dart
  93. 2
      packages/neon/lib/l10n/en.arb
  94. 2
      packages/neon/lib/l10n/localizations.dart
  95. 2
      packages/neon/lib/l10n/localizations_en.dart
  96. 16
      packages/neon/lib/main.dart
  97. 6
      packages/neon/lib/src/apps/files/app.dart
  98. 2
      packages/neon/lib/src/apps/files/blocs/browser.dart
  99. 0
      packages/neon/lib/src/apps/files/blocs/browser.rxb.g.dart
  100. 8
      packages/neon/lib/src/apps/files/blocs/files.dart
  101. Some files were not shown because too many files have changed in this diff Show More

36
.github/workflows/dart.yml

@ -65,16 +65,16 @@ jobs:
needs: needs:
- job_001 - job_001
job_003: job_003:
name: "analyze; PKG: packages/harbour; `dart format --output=none --set-exit-if-changed --line-length 120 .`" name: "analyze; PKG: packages/neon; `dart format --output=none --set-exit-if-changed --line-length 120 .`"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Cache Pub hosted dependencies - name: Cache Pub hosted dependencies
uses: actions/cache@4504faf7e9bcf8f3ed0bc863c4e1d21499ab8ef8 uses: actions/cache@4504faf7e9bcf8f3ed0bc863c4e1d21499ab8ef8
with: with:
path: "~/.pub-cache/hosted" path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/harbour;commands:format" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon;commands:format"
restore-keys: | restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/harbour os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon
os:ubuntu-latest;pub-cache-hosted;sdk:stable os:ubuntu-latest;pub-cache-hosted;sdk:stable
os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest os:ubuntu-latest
@ -83,14 +83,14 @@ jobs:
channel: stable channel: stable
- id: checkout - id: checkout
uses: actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28 uses: actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
- id: packages_harbour_pub_upgrade - id: packages_neon_pub_upgrade
name: packages/harbour; flutter pub pub upgrade name: packages/neon; flutter pub pub upgrade
if: "always() && steps.checkout.conclusion == 'success'" if: "always() && steps.checkout.conclusion == 'success'"
working-directory: packages/harbour working-directory: packages/neon
run: flutter pub pub upgrade run: flutter pub pub upgrade
- name: "packages/harbour; dart format --output=none --set-exit-if-changed --line-length 120 ." - name: "packages/neon; dart format --output=none --set-exit-if-changed --line-length 120 ."
if: "always() && steps.packages_harbour_pub_upgrade.conclusion == 'success'" if: "always() && steps.packages_neon_pub_upgrade.conclusion == 'success'"
working-directory: packages/harbour working-directory: packages/neon
run: "dart format --output=none --set-exit-if-changed --line-length 120 ." run: "dart format --output=none --set-exit-if-changed --line-length 120 ."
needs: needs:
- job_001 - job_001
@ -275,16 +275,16 @@ jobs:
needs: needs:
- job_001 - job_001
job_010: job_010:
name: "analyze; PKG: packages/harbour; `flutter analyze`" name: "analyze; PKG: packages/neon; `flutter analyze`"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Cache Pub hosted dependencies - name: Cache Pub hosted dependencies
uses: actions/cache@4504faf7e9bcf8f3ed0bc863c4e1d21499ab8ef8 uses: actions/cache@4504faf7e9bcf8f3ed0bc863c4e1d21499ab8ef8
with: with:
path: "~/.pub-cache/hosted" path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/harbour;commands:analyze_0" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon;commands:analyze_0"
restore-keys: | restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/harbour os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon
os:ubuntu-latest;pub-cache-hosted;sdk:stable os:ubuntu-latest;pub-cache-hosted;sdk:stable
os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest os:ubuntu-latest
@ -293,14 +293,14 @@ jobs:
channel: stable channel: stable
- id: checkout - id: checkout
uses: actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28 uses: actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
- id: packages_harbour_pub_upgrade - id: packages_neon_pub_upgrade
name: packages/harbour; flutter pub pub upgrade name: packages/neon; flutter pub pub upgrade
if: "always() && steps.checkout.conclusion == 'success'" if: "always() && steps.checkout.conclusion == 'success'"
working-directory: packages/harbour working-directory: packages/neon
run: flutter pub pub upgrade run: flutter pub pub upgrade
- name: packages/harbour; flutter analyze - name: packages/neon; flutter analyze
if: "always() && steps.packages_harbour_pub_upgrade.conclusion == 'success'" if: "always() && steps.packages_neon_pub_upgrade.conclusion == 'success'"
working-directory: packages/harbour working-directory: packages/neon
run: flutter analyze run: flutter analyze
needs: needs:
- job_001 - job_001

2
.idea/modules.xml

@ -2,7 +2,7 @@
<project version="4"> <project version="4">
<component name="ProjectModuleManager"> <component name="ProjectModuleManager">
<modules> <modules>
<module fileurl="file://$PROJECT_DIR$/.idea/nextcloud-harbour.iml" filepath="$PROJECT_DIR$/.idea/nextcloud-harbour.iml" /> <module fileurl="file://$PROJECT_DIR$/.idea/nextcloud-neon.iml" filepath="$PROJECT_DIR$/.idea/nextcloud-neon.iml" />
</modules> </modules>
</component> </component>
</project> </project>

10
.idea/nextcloud-harbour.iml → .idea/nextcloud-neon.iml

@ -22,9 +22,6 @@
<excludeFolder url="file://$MODULE_DIR$/external/openapi-generator/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/.pub" /> <excludeFolder url="file://$MODULE_DIR$/external/openapi-generator/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/.pub" />
<excludeFolder url="file://$MODULE_DIR$/external/openapi-generator/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/.dart_tool" /> <excludeFolder url="file://$MODULE_DIR$/external/openapi-generator/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/external/openapi-generator/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/build" /> <excludeFolder url="file://$MODULE_DIR$/external/openapi-generator/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/build" />
<excludeFolder url="file://$MODULE_DIR$/packages/harbour/build" />
<excludeFolder url="file://$MODULE_DIR$/packages/harbour/.pub" />
<excludeFolder url="file://$MODULE_DIR$/packages/harbour/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/packages/spec_templates/.dart_tool" /> <excludeFolder url="file://$MODULE_DIR$/packages/spec_templates/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/packages/spec_templates/.pub" /> <excludeFolder url="file://$MODULE_DIR$/packages/spec_templates/.pub" />
<excludeFolder url="file://$MODULE_DIR$/packages/spec_templates/build" /> <excludeFolder url="file://$MODULE_DIR$/packages/spec_templates/build" />
@ -44,8 +41,6 @@
<excludeFolder url="file://$MODULE_DIR$/external" /> <excludeFolder url="file://$MODULE_DIR$/external" />
<excludeFolder url="file://$MODULE_DIR$/packages/nextcloud/lib/src/clients/common" /> <excludeFolder url="file://$MODULE_DIR$/packages/nextcloud/lib/src/clients/common" />
<excludeFolder url="file://$MODULE_DIR$/packages/nextcloud/lib/src/clients/generated" /> <excludeFolder url="file://$MODULE_DIR$/packages/nextcloud/lib/src/clients/generated" />
<excludeFolder url="file://$MODULE_DIR$/packages/harbour/android/.gradle" />
<excludeFolder url="file://$MODULE_DIR$/packages/harbour/linux/flutter/ephemeral" />
<excludeFolder url="file://$MODULE_DIR$/packages/nextcloud_push_proxy/build" /> <excludeFolder url="file://$MODULE_DIR$/packages/nextcloud_push_proxy/build" />
<excludeFolder url="file://$MODULE_DIR$/packages/nextcloud_push_proxy/.dart_tool" /> <excludeFolder url="file://$MODULE_DIR$/packages/nextcloud_push_proxy/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/packages/nextcloud_push_proxy/.pub" /> <excludeFolder url="file://$MODULE_DIR$/packages/nextcloud_push_proxy/.pub" />
@ -56,6 +51,11 @@
<excludeFolder url="file://$MODULE_DIR$/.fvm/flutter_sdk/bin/cache/dart-sdk/lib/_internal/js_runtime/.dart_tool" /> <excludeFolder url="file://$MODULE_DIR$/.fvm/flutter_sdk/bin/cache/dart-sdk/lib/_internal/js_runtime/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/.fvm/flutter_sdk/bin/cache/dart-sdk/lib/_internal/js_runtime/build" /> <excludeFolder url="file://$MODULE_DIR$/.fvm/flutter_sdk/bin/cache/dart-sdk/lib/_internal/js_runtime/build" />
<excludeFolder url="file://$MODULE_DIR$/.fvm" /> <excludeFolder url="file://$MODULE_DIR$/.fvm" />
<excludeFolder url="file://$MODULE_DIR$/packages/neon/.pub" />
<excludeFolder url="file://$MODULE_DIR$/packages/neon/linux/flutter/ephemeral" />
<excludeFolder url="file://$MODULE_DIR$/packages/neon/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/packages/neon/build" />
<excludeFolder url="file://$MODULE_DIR$/packages/neon/android/.gradle" />
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />

2
.idea/runConfigurations/Debug.xml

@ -1,6 +1,6 @@
<component name="ProjectRunConfigurationManager"> <component name="ProjectRunConfigurationManager">
<configuration default="false" name="Debug" type="FlutterRunConfigurationType" factoryName="Flutter"> <configuration default="false" name="Debug" type="FlutterRunConfigurationType" factoryName="Flutter">
<option name="filePath" value="$PROJECT_DIR$/packages/harbour/lib/main.dart" /> <option name="filePath" value="$PROJECT_DIR$/packages/neon/lib/main.dart" />
<method v="2" /> <method v="2" />
</configuration> </configuration>
</component> </component>

2
.idea/runConfigurations/Release.xml

@ -1,7 +1,7 @@
<component name="ProjectRunConfigurationManager"> <component name="ProjectRunConfigurationManager">
<configuration default="false" name="Release" type="FlutterRunConfigurationType" factoryName="Flutter"> <configuration default="false" name="Release" type="FlutterRunConfigurationType" factoryName="Flutter">
<option name="additionalArgs" value="--release" /> <option name="additionalArgs" value="--release" />
<option name="filePath" value="$PROJECT_DIR$/packages/harbour/lib/main.dart" /> <option name="filePath" value="$PROJECT_DIR$/packages/neon/lib/main.dart" />
<method v="2" /> <method v="2" />
</configuration> </configuration>
</component> </component>

14
README.md

@ -1,10 +1,10 @@
# nextcloud-harbour # nextcloud-neon
A beautiful convergent cross-platform client for Nextcloud written in Flutter. A beautiful convergent cross-platform client for Nextcloud written in Flutter.
See [here](./packages/harbour/README.md) for screenshots and other material regarding the app. See [here](packages/neon/README.md) for screenshots and other material regarding the app.
This repository not only contains the Harbour app, but also a Nextcloud client written in Dart. This repository not only contains the Neon app, but also a Nextcloud client written in Dart.
The client will replace https://github.com/jld3103/dart-nextcloud which is an older unmaintained client I wrote some time ago. The client will replace https://github.com/jld3103/dart-nextcloud which is an older unmaintained client I wrote some time ago.
The development of this app and client just started, there will be a lot of changes and new features coming soon. The development of this app and client just started, there will be a lot of changes and new features coming soon.
@ -13,7 +13,7 @@ Additional documentation is very much appreciated. If you find something that yo
## Features ## Features
There are a lot of planned features that still need help. Go [here](https://github.com/jld3103/nextcloud-harbour/issues?q=is%3Aopen+is%3Aissue+label%3Afeature) and grab an issue to work on. There are a lot of planned features that still need help. Go [here](https://github.com/jld3103/nextcloud-neon/issues?q=is%3Aopen+is%3Aissue+label%3Afeature) and grab an issue to work on.
Even if a new feature is not listed yet, please open an issue. Even if a new feature is not listed yet, please open an issue.
- :heavy_check_mark: Fully supported - :heavy_check_mark: Fully supported
@ -23,9 +23,9 @@ Even if a new feature is not listed yet, please open an issue.
| App | Status | | App | Status |
|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------| |----------|----------------------------------------------------------------------------------------------------------------------------------------------------------|
| Files | :white_check_mark: [See here](https://github.com/jld3103/nextcloud-harbour/issues?q=is%3Aopen+is%3Aissue+label%3A%22harbour%3A+files%22+label%3Afeature) | | Files | :white_check_mark: [See here](https://github.com/jld3103/nextcloud-neon/issues?q=is%3Aopen+is%3Aissue+label%3A%22neon%3A+files%22+label%3Afeature) |
| Notes | :heavy_check_mark: | | Notes | :heavy_check_mark: |
| News | :white_check_mark: [See here](https://github.com/jld3103/nextcloud-harbour/issues?q=is%3Aopen+is%3Aissue+label%3Afeature+label%3A%22harbour%3A+news%22) | | News | :white_check_mark: [See here](https://github.com/jld3103/nextcloud-neon/issues?q=is%3Aopen+is%3Aissue+label%3Afeature+label%3A%22neon%3A+news%22) |
| Contacts | :rocket: | | Contacts | :rocket: |
| Calendar | :rocket: | | Calendar | :rocket: |
| Tasks | :rocket: | | Tasks | :rocket: |
@ -34,7 +34,7 @@ Even if a new feature is not listed yet, please open an issue.
## Platform support ## Platform support
Except for web, Harbour should run on all supported Flutter platforms in the future. Except for web, Neon should run on all supported Flutter platforms in the future.
Right now this is not the case, only Android and Linux are supported and tested, but this can easily be extended to other platforms. Right now this is not the case, only Android and Linux are supported and tested, but this can easily be extended to other platforms.
The features and problems of all platforms should be considered when implementing new features. The features and problems of all platforms should be considered when implementing new features.

BIN
packages/harbour/android/app/src/main/res/drawable-hdpi/android12splash.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

BIN
packages/harbour/android/app/src/main/res/drawable-hdpi/splash.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

BIN
packages/harbour/android/app/src/main/res/drawable-mdpi/android12splash.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

BIN
packages/harbour/android/app/src/main/res/drawable-mdpi/splash.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

BIN
packages/harbour/android/app/src/main/res/drawable-xhdpi/android12splash.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

BIN
packages/harbour/android/app/src/main/res/drawable-xhdpi/splash.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

BIN
packages/harbour/android/app/src/main/res/drawable-xxhdpi/android12splash.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

BIN
packages/harbour/android/app/src/main/res/drawable-xxhdpi/splash.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

BIN
packages/harbour/android/app/src/main/res/drawable-xxxhdpi/android12splash.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

BIN
packages/harbour/android/app/src/main/res/drawable-xxxhdpi/splash.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

BIN
packages/harbour/android/app/src/main/res/mipmap-hdpi/ic_launcher.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

BIN
packages/harbour/android/app/src/main/res/mipmap-mdpi/ic_launcher.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

BIN
packages/harbour/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

BIN
packages/harbour/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

BIN
packages/harbour/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

2
packages/harbour/assets/LEGALESE.txt

@ -1,2 +0,0 @@
Copyright © 2022, Kate Döen
Under BSD-3 license

1
packages/harbour/assets/logo_harbour.svg

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" id="mdi-ferry" viewBox="0 0 24 24"><path fill="#f37736" d="M6,6H18V9.96L12,8L6,9.96M3.94,19H4C5.6,19 7,18.12 8,17C9,18.12 10.4,19 12,19C13.6,19 15,18.12 16,17C17,18.12 18.4,19 20,19H20.05L21.95,12.31C22.03,12.06 22,11.78 21.89,11.54C21.76,11.3 21.55,11.12 21.29,11.04L20,10.62V6C20,4.89 19.1,4 18,4H15V1H9V4H6A2,2 0 0,0 4,6V10.62L2.71,11.04C2.45,11.12 2.24,11.3 2.11,11.54C2,11.78 1.97,12.06 2.05,12.31M20,21C18.61,21 17.22,20.53 16,19.67C13.56,21.38 10.44,21.38 8,19.67C6.78,20.53 5.39,21 4,21H2V23H4C5.37,23 6.74,22.65 8,22C10.5,23.3 13.5,23.3 16,22C17.26,22.65 18.62,23 20,23H22V21H20Z" /></svg>

Before

Width:  |  Height:  |  Size: 638 B

0
packages/harbour/.gitignore → packages/neon/.gitignore vendored

0
packages/harbour/.metadata → packages/neon/.metadata

0
packages/harbour/LICENSE → packages/neon/LICENSE

2
packages/harbour/README.md → packages/neon/README.md

@ -1,4 +1,4 @@
# harbour # neon
A beautiful convergent cross-platform client for Nextcloud written in Flutter. A beautiful convergent cross-platform client for Nextcloud written in Flutter.

0
packages/harbour/analysis_options.yaml → packages/neon/analysis_options.yaml

0
packages/harbour/android/.gitignore → packages/neon/android/.gitignore vendored

2
packages/harbour/android/app/build.gradle → packages/neon/android/app/build.gradle

@ -42,7 +42,7 @@ android {
} }
defaultConfig { defaultConfig {
applicationId "de.provokateurin.harbour" applicationId "de.provokateurin.neon"
minSdkVersion 19 minSdkVersion 19
targetSdkVersion flutter.targetSdkVersion targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger() versionCode flutterVersionCode.toInteger()

0
packages/harbour/android/app/proguard-rules.pro → packages/neon/android/app/proguard-rules.pro vendored

2
packages/harbour/android/app/src/debug/AndroidManifest.xml → packages/neon/android/app/src/debug/AndroidManifest.xml

@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.provokateurin.harbour"> package="de.provokateurin.neon">
<!-- Flutter needs it to communicate with the running application <!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc. to allow setting breakpoints, to provide hot reload, etc.
--> -->

4
packages/harbour/android/app/src/main/AndroidManifest.xml → packages/neon/android/app/src/main/AndroidManifest.xml

@ -1,10 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.provokateurin.harbour"> package="de.provokateurin.neon">
<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.INTERNET"/>
<application <application
android:label="Harbour" android:label="Neon"
android:name="${applicationName}" android:name="${applicationName}"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:usesCleartextTraffic="true"> android:usesCleartextTraffic="true">

2
packages/harbour/android/app/src/main/kotlin/de/provokateurin/harbour/MainActivity.kt → packages/neon/android/app/src/main/kotlin/de/provokateurin/neon/MainActivity.kt

@ -1,4 +1,4 @@
package de.provokateurin.harbour package de.provokateurin.neon
import io.flutter.embedding.android.FlutterActivity import io.flutter.embedding.android.FlutterActivity

BIN
packages/neon/android/app/src/main/res/drawable-hdpi/android12splash.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
packages/neon/android/app/src/main/res/drawable-hdpi/splash.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
packages/neon/android/app/src/main/res/drawable-mdpi/android12splash.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

BIN
packages/neon/android/app/src/main/res/drawable-mdpi/splash.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

0
packages/harbour/android/app/src/main/res/drawable-night-v21/background.png → packages/neon/android/app/src/main/res/drawable-night-v21/background.png

Before

Width:  |  Height:  |  Size: 70 B

After

Width:  |  Height:  |  Size: 70 B

0
packages/harbour/android/app/src/main/res/drawable-night-v21/launch_background.xml → packages/neon/android/app/src/main/res/drawable-night-v21/launch_background.xml

0
packages/harbour/android/app/src/main/res/drawable-night/background.png → packages/neon/android/app/src/main/res/drawable-night/background.png

Before

Width:  |  Height:  |  Size: 70 B

After

Width:  |  Height:  |  Size: 70 B

0
packages/harbour/android/app/src/main/res/drawable-night/launch_background.xml → packages/neon/android/app/src/main/res/drawable-night/launch_background.xml

0
packages/harbour/android/app/src/main/res/drawable-v21/background.png → packages/neon/android/app/src/main/res/drawable-v21/background.png

Before

Width:  |  Height:  |  Size: 68 B

After

Width:  |  Height:  |  Size: 68 B

0
packages/harbour/android/app/src/main/res/drawable-v21/launch_background.xml → packages/neon/android/app/src/main/res/drawable-v21/launch_background.xml

BIN
packages/neon/android/app/src/main/res/drawable-xhdpi/android12splash.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
packages/neon/android/app/src/main/res/drawable-xhdpi/splash.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
packages/neon/android/app/src/main/res/drawable-xxhdpi/android12splash.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
packages/neon/android/app/src/main/res/drawable-xxhdpi/splash.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
packages/neon/android/app/src/main/res/drawable-xxxhdpi/android12splash.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

BIN
packages/neon/android/app/src/main/res/drawable-xxxhdpi/splash.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

0
packages/harbour/android/app/src/main/res/drawable/background.png → packages/neon/android/app/src/main/res/drawable/background.png

Before

Width:  |  Height:  |  Size: 68 B

After

Width:  |  Height:  |  Size: 68 B

0
packages/harbour/android/app/src/main/res/drawable/launch_background.xml → packages/neon/android/app/src/main/res/drawable/launch_background.xml

0
packages/harbour/android/app/src/main/res/mipmap-hdpi/app_files.png → packages/neon/android/app/src/main/res/mipmap-hdpi/app_files.png

Before

Width:  |  Height:  |  Size: 499 B

After

Width:  |  Height:  |  Size: 499 B

0
packages/harbour/android/app/src/main/res/mipmap-hdpi/app_news.png → packages/neon/android/app/src/main/res/mipmap-hdpi/app_news.png

Before

Width:  |  Height:  |  Size: 602 B

After

Width:  |  Height:  |  Size: 602 B

0
packages/harbour/android/app/src/main/res/mipmap-hdpi/app_notes.png → packages/neon/android/app/src/main/res/mipmap-hdpi/app_notes.png

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
packages/neon/android/app/src/main/res/mipmap-hdpi/ic_launcher.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

0
packages/harbour/android/app/src/main/res/mipmap-mdpi/app_files.png → packages/neon/android/app/src/main/res/mipmap-mdpi/app_files.png

Before

Width:  |  Height:  |  Size: 337 B

After

Width:  |  Height:  |  Size: 337 B

0
packages/harbour/android/app/src/main/res/mipmap-mdpi/app_news.png → packages/neon/android/app/src/main/res/mipmap-mdpi/app_news.png

Before

Width:  |  Height:  |  Size: 377 B

After

Width:  |  Height:  |  Size: 377 B

0
packages/harbour/android/app/src/main/res/mipmap-mdpi/app_notes.png → packages/neon/android/app/src/main/res/mipmap-mdpi/app_notes.png

Before

Width:  |  Height:  |  Size: 939 B

After

Width:  |  Height:  |  Size: 939 B

BIN
packages/neon/android/app/src/main/res/mipmap-mdpi/ic_launcher.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

0
packages/harbour/android/app/src/main/res/mipmap-xhdpi/app_files.png → packages/neon/android/app/src/main/res/mipmap-xhdpi/app_files.png

Before

Width:  |  Height:  |  Size: 583 B

After

Width:  |  Height:  |  Size: 583 B

0
packages/harbour/android/app/src/main/res/mipmap-xhdpi/app_news.png → packages/neon/android/app/src/main/res/mipmap-xhdpi/app_news.png

Before

Width:  |  Height:  |  Size: 624 B

After

Width:  |  Height:  |  Size: 624 B

0
packages/harbour/android/app/src/main/res/mipmap-xhdpi/app_notes.png → packages/neon/android/app/src/main/res/mipmap-xhdpi/app_notes.png

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
packages/neon/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

0
packages/harbour/android/app/src/main/res/mipmap-xxhdpi/app_files.png → packages/neon/android/app/src/main/res/mipmap-xxhdpi/app_files.png

Before

Width:  |  Height:  |  Size: 843 B

After

Width:  |  Height:  |  Size: 843 B

0
packages/harbour/android/app/src/main/res/mipmap-xxhdpi/app_news.png → packages/neon/android/app/src/main/res/mipmap-xxhdpi/app_news.png

Before

Width:  |  Height:  |  Size: 910 B

After

Width:  |  Height:  |  Size: 910 B

0
packages/harbour/android/app/src/main/res/mipmap-xxhdpi/app_notes.png → packages/neon/android/app/src/main/res/mipmap-xxhdpi/app_notes.png

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
packages/neon/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

0
packages/harbour/android/app/src/main/res/mipmap-xxxhdpi/app_files.png → packages/neon/android/app/src/main/res/mipmap-xxxhdpi/app_files.png

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
packages/harbour/android/app/src/main/res/mipmap-xxxhdpi/app_news.png → packages/neon/android/app/src/main/res/mipmap-xxxhdpi/app_news.png

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

0
packages/harbour/android/app/src/main/res/mipmap-xxxhdpi/app_notes.png → packages/neon/android/app/src/main/res/mipmap-xxxhdpi/app_notes.png

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
packages/neon/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

0
packages/harbour/android/app/src/main/res/raw/keep.xml → packages/neon/android/app/src/main/res/raw/keep.xml

0
packages/harbour/android/app/src/main/res/values-night-v31/styles.xml → packages/neon/android/app/src/main/res/values-night-v31/styles.xml

0
packages/harbour/android/app/src/main/res/values-night/styles.xml → packages/neon/android/app/src/main/res/values-night/styles.xml

0
packages/harbour/android/app/src/main/res/values-v31/styles.xml → packages/neon/android/app/src/main/res/values-v31/styles.xml

0
packages/harbour/android/app/src/main/res/values/styles.xml → packages/neon/android/app/src/main/res/values/styles.xml

2
packages/harbour/android/app/src/profile/AndroidManifest.xml → packages/neon/android/app/src/profile/AndroidManifest.xml

@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.provokateurin.harbour"> package="de.provokateurin.neon">
<!-- Flutter needs it to communicate with the running application <!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc. to allow setting breakpoints, to provide hot reload, etc.
--> -->

0
packages/harbour/android/build.gradle → packages/neon/android/build.gradle

0
packages/harbour/android/gradle.properties → packages/neon/android/gradle.properties

0
packages/harbour/android/gradle/wrapper/gradle-wrapper.properties → packages/neon/android/gradle/wrapper/gradle-wrapper.properties vendored

0
packages/harbour/android/settings.gradle → packages/neon/android/settings.gradle

0
packages/harbour/assets/.gitignore → packages/neon/assets/.gitignore vendored

2
packages/neon/assets/LEGALESE.txt

@ -0,0 +1,2 @@
Copyright © 2022, jld3103
Under BSD-3 license

0
packages/harbour/assets/apps/files.svg → packages/neon/assets/apps/files.svg

Before

Width:  |  Height:  |  Size: 225 B

After

Width:  |  Height:  |  Size: 225 B

0
packages/harbour/assets/apps/news.svg → packages/neon/assets/apps/news.svg

Before

Width:  |  Height:  |  Size: 581 B

After

Width:  |  Height:  |  Size: 581 B

0
packages/harbour/assets/apps/notes.svg → packages/neon/assets/apps/notes.svg

Before

Width:  |  Height:  |  Size: 407 B

After

Width:  |  Height:  |  Size: 407 B

1
packages/neon/assets/logo_neon.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" id="mdi-cable-data" viewBox="0 0 24 24"><path fill="#f37736" d="M7.05 3.5C5.68 4.88 5.68 7.1 7.05 8.47L15.54 16.95C16.12 17.54 16.12 18.5 15.54 19.07C14.95 19.66 14 19.66 13.41 19.07L9.17 14.83L10.23 13.77L6.7 10.23L6.34 10.59L4.93 9.17C4.54 8.78 3.91 8.78 3.5 9.17L2.1 10.59C1.71 11 1.71 11.61 2.1 12L3.5 13.41L3.16 13.77L6.7 17.3L7.76 16.24L12 20.5C13.37 21.85 15.58 21.85 16.95 20.5C18.32 19.12 18.32 16.9 16.95 15.54L8.46 7.05C7.88 6.46 7.88 5.5 8.46 4.93C9.05 4.34 10 4.34 10.59 4.93L14.83 9.17L13.77 10.23L17.3 13.77L17.66 13.41L19.07 14.83C19.46 15.22 20.1 15.22 20.5 14.83L21.9 13.41C22.29 13 22.29 12.39 21.9 12L20.5 10.59L20.84 10.23L17.3 6.7L16.24 7.76L12 3.5C10.63 2.15 8.42 2.15 7.05 3.5M2.81 11.29L4.22 9.88L5.64 11.29L4.22 12.71M18.36 12.71L19.78 11.29L21.19 12.71L19.78 14.12Z" /></svg>

After

Width:  |  Height:  |  Size: 842 B

0
packages/harbour/assets/logo_nextcloud.svg → packages/neon/assets/logo_nextcloud.svg

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

0
packages/harbour/flutter_native_splash.yaml → packages/neon/flutter_native_splash.yaml

0
packages/harbour/l10n.yaml → packages/neon/l10n.yaml

10
packages/harbour/lib/app.dart → packages/neon/lib/app.dart

@ -1,21 +1,21 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_native_splash/flutter_native_splash.dart'; import 'package:flutter_native_splash/flutter_native_splash.dart';
import 'package:flutter_rx_bloc/flutter_rx_bloc.dart'; import 'package:flutter_rx_bloc/flutter_rx_bloc.dart';
import 'package:harbour/src/harbour.dart'; import 'package:neon/src/neon.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'package:rxdart/rxdart.dart'; import 'package:rxdart/rxdart.dart';
class HarbourApp extends StatefulWidget { class NeonApp extends StatefulWidget {
const HarbourApp({ const NeonApp({
super.key, super.key,
}); });
@override @override
State<HarbourApp> createState() => _HarbourAppState(); State<NeonApp> createState() => _NeonAppState();
} }
// ignore: prefer_mixin // ignore: prefer_mixin
class _HarbourAppState extends State<HarbourApp> with WidgetsBindingObserver { class _NeonAppState extends State<NeonApp> with WidgetsBindingObserver {
final _navigatorKey = GlobalKey<NavigatorState>(); final _navigatorKey = GlobalKey<NavigatorState>();
NextcloudTheme? _userTheme; NextcloudTheme? _userTheme;

2
packages/harbour/lib/l10n/en.arb → packages/neon/lib/l10n/en.arb

@ -1,6 +1,6 @@
{ {
"@@locale": "en", "@@locale": "en",
"appName": "Nextcloud Harbour", "appName": "Nextcloud Neon",
"loginAccountAlreadyExists": "The account you are trying to add already exists", "loginAccountAlreadyExists": "The account you are trying to add already exists",
"loginAgain": "Login again", "loginAgain": "Login again",
"loginOpenAgain": "Open again", "loginOpenAgain": "Open again",

2
packages/harbour/lib/l10n/localizations.dart → packages/neon/lib/l10n/localizations.dart

@ -92,7 +92,7 @@ abstract class AppLocalizations {
/// No description provided for @appName. /// No description provided for @appName.
/// ///
/// In en, this message translates to: /// In en, this message translates to:
/// **'Nextcloud Harbour'** /// **'Nextcloud Neon'**
String get appName; String get appName;
/// No description provided for @loginAccountAlreadyExists. /// No description provided for @loginAccountAlreadyExists.

2
packages/harbour/lib/l10n/localizations_en.dart → packages/neon/lib/l10n/localizations_en.dart

@ -5,7 +5,7 @@ class AppLocalizationsEn extends AppLocalizations {
AppLocalizationsEn([String locale = 'en']) : super(locale); AppLocalizationsEn([String locale = 'en']) : super(locale);
@override @override
String get appName => 'Nextcloud Harbour'; String get appName => 'Nextcloud Neon';
@override @override
String get loginAccountAlreadyExists => 'The account you are trying to add already exists'; String get loginAccountAlreadyExists => 'The account you are trying to add already exists';

16
packages/harbour/lib/main.dart → packages/neon/lib/main.dart

@ -4,8 +4,8 @@ import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart'; import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'package:flutter_native_splash/flutter_native_splash.dart'; import 'package:flutter_native_splash/flutter_native_splash.dart';
import 'package:harbour/app.dart'; import 'package:neon/app.dart';
import 'package:harbour/src/harbour.dart'; import 'package:neon/src/neon.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'package:shared_preferences/shared_preferences.dart'; import 'package:shared_preferences/shared_preferences.dart';
@ -27,7 +27,7 @@ Future main() async {
await Global.init(); await Global.init();
final platform = getHarbourPlatform(); final platform = getNeonPlatform();
await platform.init?.call(); await platform.init?.call();
@ -60,7 +60,7 @@ Future main() async {
Provider<Env?>( Provider<Env?>(
create: (final _) => env, create: (final _) => env,
), ),
Provider<HarbourPlatform>( Provider<NeonPlatform>(
create: (final _) => platform, create: (final _) => platform,
), ),
Provider<GlobalOptions>( Provider<GlobalOptions>(
@ -76,17 +76,17 @@ Future main() async {
create: (final _) => allAppImplementations, create: (final _) => allAppImplementations,
), ),
], ],
child: const HarbourApp(), child: const NeonApp(),
), ),
); );
} }
HarbourPlatform getHarbourPlatform() { NeonPlatform getNeonPlatform() {
if (Platform.isAndroid) { if (Platform.isAndroid) {
return AndroidHarbourPlatform(); return AndroidNeonPlatform();
} }
if (Platform.isLinux) { if (Platform.isLinux) {
return LinuxHarbourPlatform(); return LinuxNeonPlatform();
} }
throw UnimplementedError('No implementation for platform ${Platform.operatingSystem} found'); throw UnimplementedError('No implementation for platform ${Platform.operatingSystem} found');

6
packages/harbour/lib/src/apps/files/app.dart → packages/neon/lib/src/apps/files/app.dart

@ -11,11 +11,11 @@ import 'package:file_picker/file_picker.dart';
import 'package:filesize/filesize.dart'; import 'package:filesize/filesize.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_rx_bloc/flutter_rx_bloc.dart'; import 'package:flutter_rx_bloc/flutter_rx_bloc.dart';
import 'package:harbour/src/apps/files/blocs/browser.dart';
import 'package:harbour/src/harbour.dart';
import 'package:image_picker/image_picker.dart'; import 'package:image_picker/image_picker.dart';
import 'package:intersperse/intersperse.dart'; import 'package:intersperse/intersperse.dart';
import 'package:material_design_icons_flutter/material_design_icons_flutter.dart'; import 'package:material_design_icons_flutter/material_design_icons_flutter.dart';
import 'package:neon/src/apps/files/blocs/browser.dart';
import 'package:neon/src/neon.dart';
import 'package:nextcloud/nextcloud.dart'; import 'package:nextcloud/nextcloud.dart';
import 'package:path/path.dart' as p; import 'package:path/path.dart' as p;
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
@ -39,7 +39,7 @@ class FilesApp extends AppImplementation<FilesBloc, FilesAppSpecificOptions> {
FilesApp( FilesApp(
final SharedPreferences sharedPreferences, final SharedPreferences sharedPreferences,
final RequestManager requestManager, final RequestManager requestManager,
final HarbourPlatform platform, final NeonPlatform platform,
) : super( ) : super(
'files', 'files',
(final context) => AppLocalizations.of(context).filesName, (final context) => AppLocalizations.of(context).filesName,

2
packages/harbour/lib/src/apps/files/blocs/browser.dart → packages/neon/lib/src/apps/files/blocs/browser.dart

@ -1,6 +1,6 @@
import 'dart:async'; import 'dart:async';
import 'package:harbour/src/harbour.dart'; import 'package:neon/src/neon.dart';
import 'package:nextcloud/nextcloud.dart'; import 'package:nextcloud/nextcloud.dart';
import 'package:rx_bloc/rx_bloc.dart'; import 'package:rx_bloc/rx_bloc.dart';
import 'package:rxdart/rxdart.dart'; import 'package:rxdart/rxdart.dart';

0
packages/harbour/lib/src/apps/files/blocs/browser.rxb.g.dart → packages/neon/lib/src/apps/files/blocs/browser.rxb.g.dart

8
packages/harbour/lib/src/apps/files/blocs/files.dart → packages/neon/lib/src/apps/files/blocs/files.dart

@ -2,9 +2,9 @@ import 'dart:async';
import 'dart:io'; import 'dart:io';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:harbour/src/apps/files/app.dart'; import 'package:neon/src/apps/files/app.dart';
import 'package:harbour/src/apps/files/blocs/browser.dart'; import 'package:neon/src/apps/files/blocs/browser.dart';
import 'package:harbour/src/harbour.dart'; import 'package:neon/src/neon.dart';
import 'package:nextcloud/nextcloud.dart'; import 'package:nextcloud/nextcloud.dart';
import 'package:open_file/open_file.dart'; import 'package:open_file/open_file.dart';
import 'package:path/path.dart' as p; import 'package:path/path.dart' as p;
@ -212,7 +212,7 @@ class FilesBloc extends $FilesBloc {
final FilesAppSpecificOptions options; final FilesAppSpecificOptions options;
final RequestManager _requestManager; final RequestManager _requestManager;
final NextcloudClient client; final NextcloudClient client;
final HarbourPlatform _platform; final NeonPlatform _platform;
late final browser = getNewFilesBrowserBloc(); late final browser = getNewFilesBrowserBloc();
final _uploadQueue = Queue(); final _uploadQueue = Queue();

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save