From e9b5348f3eddc73fcb7180c830f9c6ada326dc18 Mon Sep 17 00:00:00 2001 From: Javed Hussein Date: Wed, 18 Aug 2021 15:25:19 -0400 Subject: [PATCH] Release 1.1.3 (#192) * PE116/ reintegrate master (#186) * fix: old wallets failing to load * fix: PST transactions not getting mined * fix: uploaded data not getting served by gateway The GraphQL api is degraded and not returning data bundles properly. We can revert back once it is stable. * ux: allow shared file viewing on mobile * Set workflow_dispatch Allows manual run of github action * Fixed some typos/grammar * Modify to AGPL3.0 * Delete LICENSE.md * task(ardrive-web): run pub update PE-116 * task(ardrive-web): use pubspec.lock from dev Co-authored-by: CDDelta Co-authored-by: CDDelta Co-authored-by: Phil Co-authored-by: foo Co-authored-by: agsuy Co-authored-by: agsuy <37564412+agsuy@users.noreply.github.com> * chore(pubspec): Restore pubsec versions on dev PE-116 * Properly handle a missing parent folder. (#188) During sync, gracefully handle the situation that an entity's parent folder is missing. This can happen temporarily while we are still retrieving data, for instance. Without this change, the sync will abort and fail, even if the parent folder is actually there and would be added in later. Co-authored-by: Daniel Kraft Co-authored-by: Ariel Melendez * task(ardrive-web): Increment version to 1.1.3 PE-153 Co-authored-by: CDDelta Co-authored-by: CDDelta Co-authored-by: Phil Co-authored-by: foo Co-authored-by: agsuy Co-authored-by: agsuy <37564412+agsuy@users.noreply.github.com> Co-authored-by: Ariel Melendez Co-authored-by: arielmelendez Co-authored-by: Daniel Kraft --- lib/blocs/sync/sync_cubit.dart | 7 +++++-- pubspec.lock | 18 +++++++++--------- pubspec.yaml | 2 +- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/lib/blocs/sync/sync_cubit.dart b/lib/blocs/sync/sync_cubit.dart index c42ed32934..34bcb3d7d3 100644 --- a/lib/blocs/sync/sync_cubit.dart +++ b/lib/blocs/sync/sync_cubit.dart @@ -469,10 +469,13 @@ class SyncCubit extends Cubit { .folderById( driveId: driveId, folderId: treeRoot.folder.parentFolderId) .map((f) => f.path) - .getSingle(); + .getSingleOrNull(); } - await updateFolderTree(treeRoot, parentPath); + if (parentPath == null) + print('Missing parent folder: ' + treeRoot.folder.parentFolderId); + else + await updateFolderTree(treeRoot, parentPath); } // Update paths of files whose parent folders were not updated. diff --git a/pubspec.lock b/pubspec.lock index 8654dd203c..d77317ea77 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -58,7 +58,7 @@ packages: name: bloc url: "https://pub.dartlang.org" source: hosted - version: "6.1.0" + version: "6.1.1" bloc_test: dependency: "direct dev" description: @@ -93,7 +93,7 @@ packages: name: build_config url: "https://pub.dartlang.org" source: hosted - version: "0.4.3" + version: "0.4.5" build_daemon: dependency: transitive description: @@ -156,7 +156,7 @@ packages: name: checked_yaml url: "https://pub.dartlang.org" source: hosted - version: "1.0.2" + version: "1.0.4" cli_util: dependency: transitive description: @@ -367,7 +367,7 @@ packages: name: gql url: "https://pub.dartlang.org" source: hosted - version: "0.12.3" + version: "0.12.4" gql_code_gen: dependency: transitive description: @@ -626,7 +626,7 @@ packages: name: path_provider url: "https://pub.dartlang.org" source: hosted - version: "1.6.24" + version: "1.6.27" path_provider_linux: dependency: transitive description: @@ -640,7 +640,7 @@ packages: name: path_provider_macos url: "https://pub.dartlang.org" source: hosted - version: "0.0.4+6" + version: "0.0.4+8" path_provider_platform_interface: dependency: transitive description: @@ -724,7 +724,7 @@ packages: name: pubspec_parse url: "https://pub.dartlang.org" source: hosted - version: "0.1.5" + version: "0.1.7" reactive_forms: dependency: "direct main" description: @@ -897,14 +897,14 @@ packages: name: timeago url: "https://pub.dartlang.org" source: hosted - version: "2.0.28" + version: "2.0.29" timing: dependency: transitive description: name: timing url: "https://pub.dartlang.org" source: hosted - version: "0.1.1+2" + version: "0.1.1+3" typed_data: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 1d113e3aaf..8164ef7852 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -13,7 +13,7 @@ publish_to: 'none' # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.1.2 +version: 1.1.3 environment: sdk: '>=2.7.0 <3.0.0'