From b9fc0a7372d1bd455a8c20ddd8d9749d7b760abe Mon Sep 17 00:00:00 2001 From: Adrian Margineanu Date: Thu, 10 Sep 2020 16:42:39 +0300 Subject: [PATCH 1/5] add subgroup field in User class --- lib/authentication/model/user.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/authentication/model/user.dart b/lib/authentication/model/user.dart index 81d1e1a06..3146855c0 100644 --- a/lib/authentication/model/user.dart +++ b/lib/authentication/model/user.dart @@ -11,6 +11,7 @@ class User { String year; String series; String group; + String subgroup; int permissionLevel; @@ -23,6 +24,7 @@ class User { this.year, this.series, this.group, + this.subgroup, int permissionLevel}) : this.permissionLevel = permissionLevel ?? 0; From ac18ea29046bcde875c54407bfaa836b0dae1044 Mon Sep 17 00:00:00 2001 From: Adrian Margineanu Date: Thu, 10 Sep 2020 16:56:44 +0300 Subject: [PATCH 2/5] Fix the subgroup field in the provider --- lib/authentication/service/auth_provider.dart | 12 +++++++-- pubspec.lock | 26 +++++++++---------- 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/lib/authentication/service/auth_provider.dart b/lib/authentication/service/auth_provider.dart index adb3902b5..141f1e826 100644 --- a/lib/authentication/service/auth_provider.dart +++ b/lib/authentication/service/auth_provider.dart @@ -29,12 +29,14 @@ extension DatabaseUser on User { String year; String series; String group; + String subgroup; if (snap.data.containsKey('class')) { degree = snap.data['class']['degree']; domain = snap.data['class']['domain']; year = snap.data['class']['year']; series = snap.data['class']['series']; group = snap.data['class']['group']; + subgroup = snap.data['class']['subgroup']; } return User( @@ -46,6 +48,7 @@ extension DatabaseUser on User { year: year, series: series, group: group, + subgroup: subgroup, permissionLevel: snap.data['permissionLevel']); } @@ -56,6 +59,7 @@ extension DatabaseUser on User { if (year != null) classInfo['year'] = year; if (series != null) classInfo['series'] = series; if (group != null) classInfo['group'] = group; + if (subgroup != null) classInfo['subgroup'] = subgroup; return { 'name': {'first': firstName, 'last': lastName}, @@ -342,6 +346,8 @@ class AuthProvider with ChangeNotifier { filter.localizedLevelNames[3][LocaleProvider.localeString]); String group = info.getIfPresent( filter.localizedLevelNames[4][LocaleProvider.localeString]); + String subgroup = info.getIfPresent( + filter.localizedLevelNames[5][LocaleProvider.localeString]); if (email == null || email == '') { AppToast.show(S.of(context).errorInvalidEmail); @@ -362,7 +368,8 @@ class AuthProvider with ChangeNotifier { AppToast.show(S.of(context).errorMissingLastName); return false; } - if (!await AppValidator.isStrongPassword(password: password, context: context)) { + if (!await AppValidator.isStrongPassword( + password: password, context: context)) { return false; } @@ -388,7 +395,8 @@ class AuthProvider with ChangeNotifier { domain: domain, year: year, series: series, - group: group); + group: group, + subgroup: subgroup); DocumentReference ref = Firestore.instance.collection('users').document(user.uid); diff --git a/pubspec.lock b/pubspec.lock index e48ae615a..3cc9072a7 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -35,7 +35,7 @@ packages: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.5.0-nullsafety" + version: "2.4.2" auto_size_text: dependency: "direct main" description: @@ -63,7 +63,7 @@ packages: name: boolean_selector url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety" + version: "2.0.0" cached_network_image: dependency: "direct main" description: @@ -84,14 +84,14 @@ packages: name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety" + version: "1.1.3" clock: dependency: transitive description: name: clock url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety" + version: "1.0.1" cloud_firestore: dependency: "direct main" description: @@ -196,7 +196,7 @@ packages: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety" + version: "1.1.0" firebase: dependency: "direct main" description: @@ -391,7 +391,7 @@ packages: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.10-nullsafety" + version: "0.12.9" meta: dependency: transitive description: @@ -454,7 +454,7 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety" + version: "1.7.0" path_provider: dependency: transitive description: @@ -606,7 +606,7 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety" + version: "1.7.0" sqflite: dependency: transitive description: @@ -620,21 +620,21 @@ packages: name: stack_trace url: "https://pub.dartlang.org" source: hosted - version: "1.10.0-nullsafety" + version: "1.9.5" stream_channel: dependency: transitive description: name: stream_channel url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety" + version: "2.0.0" string_scanner: dependency: transitive description: name: string_scanner url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety" + version: "1.0.5" synchronized: dependency: transitive description: @@ -648,14 +648,14 @@ packages: name: term_glyph url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety" + version: "1.1.0" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.19-nullsafety" + version: "0.2.18" time: dependency: transitive description: From 371c019e0603ca7e1bf6f68c4fe24bab39a73364 Mon Sep 17 00:00:00 2001 From: Adrian Margineanu Date: Sun, 13 Sep 2020 13:51:28 +0300 Subject: [PATCH 3/5] Fix flutter version --- pubspec.lock | 759 --------------------------------------------------- 1 file changed, 759 deletions(-) delete mode 100644 pubspec.lock diff --git a/pubspec.lock b/pubspec.lock deleted file mode 100644 index 3cc9072a7..000000000 --- a/pubspec.lock +++ /dev/null @@ -1,759 +0,0 @@ -# Generated by pub -# See https://dart.dev/tools/pub/glossary#lockfile -packages: - _fe_analyzer_shared: - dependency: transitive - description: - name: _fe_analyzer_shared - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.3" - analyzer: - dependency: transitive - description: - name: analyzer - url: "https://pub.dartlang.org" - source: hosted - version: "0.39.4" - archive: - dependency: transitive - description: - name: archive - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.13" - args: - dependency: transitive - description: - name: args - url: "https://pub.dartlang.org" - source: hosted - version: "1.6.0" - async: - dependency: "direct main" - description: - name: async - url: "https://pub.dartlang.org" - source: hosted - version: "2.4.2" - auto_size_text: - dependency: "direct main" - description: - name: auto_size_text - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.0" - basic_utils: - dependency: "direct main" - description: - name: basic_utils - url: "https://pub.dartlang.org" - source: hosted - version: "1.9.3" - black_hole_flutter: - dependency: transitive - description: - name: black_hole_flutter - url: "https://pub.dartlang.org" - source: hosted - version: "0.2.10" - boolean_selector: - dependency: transitive - description: - name: boolean_selector - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" - cached_network_image: - dependency: "direct main" - description: - name: cached_network_image - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" - characters: - dependency: transitive - description: - name: characters - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.0-nullsafety.2" - charcode: - dependency: transitive - description: - name: charcode - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.3" - clock: - dependency: transitive - description: - name: clock - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.1" - cloud_firestore: - dependency: "direct main" - description: - name: cloud_firestore - url: "https://pub.dartlang.org" - source: hosted - version: "0.13.4" - cloud_firestore_platform_interface: - dependency: transitive - description: - name: cloud_firestore_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.0" - cloud_firestore_web: - dependency: transitive - description: - name: cloud_firestore_web - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.1" - collection: - dependency: transitive - description: - name: collection - url: "https://pub.dartlang.org" - source: hosted - version: "1.15.0-nullsafety.2" - color: - dependency: transitive - description: - name: color - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.1" - convert: - dependency: transitive - description: - name: convert - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.1" - crypto: - dependency: transitive - description: - name: crypto - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.4" - csslib: - dependency: transitive - description: - name: csslib - url: "https://pub.dartlang.org" - source: hosted - version: "0.16.1" - cupertino_icons: - dependency: "direct main" - description: - name: cupertino_icons - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.3" - dart_style: - dependency: transitive - description: - name: dart_style - url: "https://pub.dartlang.org" - source: hosted - version: "1.3.3" - dartx: - dependency: "direct overridden" - description: - name: dartx - url: "https://pub.dartlang.org" - source: hosted - version: "0.5.0" - datetime_picker_formfield: - dependency: "direct main" - description: - name: datetime_picker_formfield - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.0" - dynamic_theme: - dependency: "direct main" - description: - name: dynamic_theme - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.1" - expandable: - dependency: "direct main" - description: - name: expandable - url: "https://pub.dartlang.org" - source: hosted - version: "4.1.2" - fake_async: - dependency: transitive - description: - name: fake_async - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.0" - firebase: - dependency: "direct main" - description: - name: firebase - url: "https://pub.dartlang.org" - source: hosted - version: "7.2.1" - firebase_analytics: - dependency: "direct main" - description: - name: firebase_analytics - url: "https://pub.dartlang.org" - source: hosted - version: "5.0.11" - firebase_auth: - dependency: "direct main" - description: - name: firebase_auth - url: "https://pub.dartlang.org" - source: hosted - version: "0.15.5+2" - firebase_auth_platform_interface: - dependency: transitive - description: - name: firebase_auth_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.7" - firebase_auth_web: - dependency: "direct main" - description: - name: firebase_auth_web - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.2" - firebase_core: - dependency: "direct main" - description: - name: firebase_core - url: "https://pub.dartlang.org" - source: hosted - version: "0.4.4+2" - firebase_core_platform_interface: - dependency: transitive - description: - name: firebase_core_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.4" - firebase_core_web: - dependency: transitive - description: - name: firebase_core_web - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.1+2" - firebase_storage: - dependency: "direct main" - description: - name: firebase_storage - url: "https://pub.dartlang.org" - source: hosted - version: "3.1.3" - flutter: - dependency: "direct main" - description: flutter - source: sdk - version: "0.0.0" - flutter_cache_manager: - dependency: transitive - description: - name: flutter_cache_manager - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.3" - flutter_colorpicker: - dependency: "direct main" - description: - name: flutter_colorpicker - url: "https://pub.dartlang.org" - source: hosted - version: "0.3.4" - flutter_launcher_icons: - dependency: "direct dev" - description: - name: flutter_launcher_icons - url: "https://pub.dartlang.org" - source: hosted - version: "0.7.4" - flutter_launcher_name: - dependency: "direct dev" - description: - name: flutter_launcher_name - url: "https://pub.dartlang.org" - source: hosted - version: "0.0.1" - flutter_localizations: - dependency: "direct main" - description: flutter - source: sdk - version: "0.0.0" - flutter_native_splash: - dependency: "direct dev" - description: - name: flutter_native_splash - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.9" - flutter_test: - dependency: "direct dev" - description: flutter - source: sdk - version: "0.0.0" - flutter_web_plugins: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" - glob: - dependency: transitive - description: - name: glob - url: "https://pub.dartlang.org" - source: hosted - version: "1.2.0" - html: - dependency: transitive - description: - name: html - url: "https://pub.dartlang.org" - source: hosted - version: "0.14.0+3" - http: - dependency: transitive - description: - name: http - url: "https://pub.dartlang.org" - source: hosted - version: "0.12.0+4" - http_parser: - dependency: transitive - description: - name: http_parser - url: "https://pub.dartlang.org" - source: hosted - version: "3.1.3" - image: - dependency: transitive - description: - name: image - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.12" - intl: - dependency: transitive - description: - name: intl - url: "https://pub.dartlang.org" - source: hosted - version: "0.16.1" - intl_translation: - dependency: "direct dev" - description: - name: intl_translation - url: "https://pub.dartlang.org" - source: hosted - version: "0.17.9" - js: - dependency: transitive - description: - name: js - url: "https://pub.dartlang.org" - source: hosted - version: "0.6.1+1" - json_annotation: - dependency: transitive - description: - name: json_annotation - url: "https://pub.dartlang.org" - source: hosted - version: "3.0.1" - logging: - dependency: transitive - description: - name: logging - url: "https://pub.dartlang.org" - source: hosted - version: "0.11.4" - matcher: - dependency: transitive - description: - name: matcher - url: "https://pub.dartlang.org" - source: hosted - version: "0.12.9" - meta: - dependency: transitive - description: - name: meta - url: "https://pub.dartlang.org" - source: hosted - version: "1.3.0-nullsafety.2" - mockito: - dependency: "direct dev" - description: - name: mockito - url: "https://pub.dartlang.org" - source: hosted - version: "4.1.1" - nested: - dependency: transitive - description: - name: nested - url: "https://pub.dartlang.org" - source: hosted - version: "0.0.4" - node_interop: - dependency: transitive - description: - name: node_interop - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.3" - node_io: - dependency: transitive - description: - name: node_io - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.1+2" - oktoast: - dependency: "direct main" - description: - name: oktoast - url: "https://pub.dartlang.org" - source: hosted - version: "2.3.1+1" - package_config: - dependency: transitive - description: - name: package_config - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.0" - package_info: - dependency: "direct main" - description: - name: package_info - url: "https://pub.dartlang.org" - source: hosted - version: "0.4.0+13" - path: - dependency: transitive - description: - name: path - url: "https://pub.dartlang.org" - source: hosted - version: "1.7.0" - path_provider: - dependency: transitive - description: - name: path_provider - url: "https://pub.dartlang.org" - source: hosted - version: "1.6.5" - path_provider_macos: - dependency: transitive - description: - name: path_provider_macos - url: "https://pub.dartlang.org" - source: hosted - version: "0.0.4" - path_provider_platform_interface: - dependency: transitive - description: - name: path_provider_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.1" - pedantic: - dependency: "direct dev" - description: - name: pedantic - url: "https://pub.dartlang.org" - source: hosted - version: "1.9.0" - petitparser: - dependency: transitive - description: - name: petitparser - url: "https://pub.dartlang.org" - source: hosted - version: "2.4.0" - pie_chart: - dependency: "direct main" - description: - name: pie_chart - url: "https://pub.dartlang.org" - source: hosted - version: "3.1.1" - platform: - dependency: transitive - description: - name: platform - url: "https://pub.dartlang.org" - source: hosted - version: "2.2.1" - plugin_platform_interface: - dependency: "direct dev" - description: - name: plugin_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.2" - positioned_tap_detector: - dependency: "direct main" - description: - name: positioned_tap_detector - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.3" - preferences: - dependency: "direct main" - description: - name: preferences - url: "https://pub.dartlang.org" - source: hosted - version: "5.1.0" - provider: - dependency: "direct dev" - description: - name: provider - url: "https://pub.dartlang.org" - source: hosted - version: "4.0.4" - pub_semver: - dependency: transitive - description: - name: pub_semver - url: "https://pub.dartlang.org" - source: hosted - version: "1.4.3" - quiver: - dependency: "direct main" - description: - name: quiver - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.3" - recase: - dependency: "direct main" - description: - name: recase - url: "https://pub.dartlang.org" - source: hosted - version: "3.0.0" - resource: - dependency: transitive - description: - name: resource - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.6" - rxdart: - dependency: transitive - description: - name: rxdart - url: "https://pub.dartlang.org" - source: hosted - version: "0.24.0" - shared_preferences: - dependency: transitive - description: - name: shared_preferences - url: "https://pub.dartlang.org" - source: hosted - version: "0.5.6+1" - shared_preferences_macos: - dependency: transitive - description: - name: shared_preferences_macos - url: "https://pub.dartlang.org" - source: hosted - version: "0.0.1+5" - shared_preferences_platform_interface: - dependency: transitive - description: - name: shared_preferences_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.1" - shared_preferences_web: - dependency: transitive - description: - name: shared_preferences_web - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.2+3" - sky_engine: - dependency: transitive - description: flutter - source: sdk - version: "0.0.99" - source_span: - dependency: transitive - description: - name: source_span - url: "https://pub.dartlang.org" - source: hosted - version: "1.7.0" - sqflite: - dependency: transitive - description: - name: sqflite - url: "https://pub.dartlang.org" - source: hosted - version: "1.2.1" - stack_trace: - dependency: transitive - description: - name: stack_trace - url: "https://pub.dartlang.org" - source: hosted - version: "1.9.5" - stream_channel: - dependency: transitive - description: - name: stream_channel - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" - string_scanner: - dependency: transitive - description: - name: string_scanner - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.5" - synchronized: - dependency: transitive - description: - name: synchronized - url: "https://pub.dartlang.org" - source: hosted - version: "2.2.0" - term_glyph: - dependency: transitive - description: - name: term_glyph - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.0" - test_api: - dependency: transitive - description: - name: test_api - url: "https://pub.dartlang.org" - source: hosted - version: "0.2.18" - time: - dependency: transitive - description: - name: time - url: "https://pub.dartlang.org" - source: hosted - version: "1.3.0" - time_machine: - dependency: transitive - description: - name: time_machine - url: "https://pub.dartlang.org" - source: hosted - version: "0.9.12" - timetable: - dependency: "direct main" - description: - name: timetable - url: "https://pub.dartlang.org" - source: hosted - version: "0.2.0" - typed_data: - dependency: transitive - description: - name: typed_data - url: "https://pub.dartlang.org" - source: hosted - version: "1.3.0-nullsafety.2" - url_launcher: - dependency: "direct main" - description: - name: url_launcher - url: "https://pub.dartlang.org" - source: hosted - version: "5.4.2" - url_launcher_macos: - dependency: transitive - description: - name: url_launcher_macos - url: "https://pub.dartlang.org" - source: hosted - version: "0.0.1+4" - url_launcher_platform_interface: - dependency: transitive - description: - name: url_launcher_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.6" - url_launcher_web: - dependency: transitive - description: - name: url_launcher_web - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.1+1" - uuid: - dependency: transitive - description: - name: uuid - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.4" - validators: - dependency: "direct main" - description: - name: validators - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0+1" - vector_math: - dependency: transitive - description: - name: vector_math - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.0-nullsafety.2" - watcher: - dependency: transitive - description: - name: watcher - url: "https://pub.dartlang.org" - source: hosted - version: "0.9.7+13" - xml: - dependency: transitive - description: - name: xml - url: "https://pub.dartlang.org" - source: hosted - version: "3.6.1" - yaml: - dependency: transitive - description: - name: yaml - url: "https://pub.dartlang.org" - source: hosted - version: "2.2.0" -sdks: - dart: ">=2.10.0-0.0.dev <2.10.0" - flutter: ">=1.12.13+hotfix.4 <2.0.0" From c92e2c27b92aa5b9181f9fc590f39bd06dbdf7c8 Mon Sep 17 00:00:00 2001 From: Adrian Margineanu Date: Sun, 13 Sep 2020 13:51:28 +0300 Subject: [PATCH 4/5] Fix flutter version --- pubspec.lock | 273 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 203 insertions(+), 70 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index 3cc9072a7..654a12f7e 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,14 +7,14 @@ packages: name: _fe_analyzer_shared url: "https://pub.dartlang.org" source: hosted - version: "1.0.3" + version: "7.0.0" analyzer: dependency: transitive description: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "0.39.4" + version: "0.39.17" archive: dependency: transitive description: @@ -35,7 +35,7 @@ packages: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.4.2" + version: "2.5.0-nullsafety" auto_size_text: dependency: "direct main" description: @@ -56,21 +56,42 @@ packages: name: black_hole_flutter url: "https://pub.dartlang.org" source: hosted - version: "0.2.10" + version: "0.2.13" boolean_selector: dependency: transitive description: name: boolean_selector url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.1.0-nullsafety" + build: + dependency: transitive + description: + name: build + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.0" + built_collection: + dependency: transitive + description: + name: built_collection + url: "https://pub.dartlang.org" + source: hosted + version: "4.3.2" + built_value: + dependency: transitive + description: + name: built_value + url: "https://pub.dartlang.org" + source: hosted + version: "7.1.0" cached_network_image: dependency: "direct main" description: name: cached_network_image url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.3.2+1" characters: dependency: transitive description: @@ -84,35 +105,49 @@ packages: name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.1.3" + version: "1.2.0-nullsafety" + cli_util: + dependency: transitive + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0" clock: dependency: transitive description: name: clock url: "https://pub.dartlang.org" source: hosted - version: "1.0.1" + version: "1.1.0-nullsafety" cloud_firestore: dependency: "direct main" description: name: cloud_firestore url: "https://pub.dartlang.org" source: hosted - version: "0.13.4" + version: "0.13.7" cloud_firestore_platform_interface: dependency: transitive description: name: cloud_firestore_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.1.2" cloud_firestore_web: dependency: transitive description: name: cloud_firestore_web url: "https://pub.dartlang.org" source: hosted - version: "0.1.1" + version: "0.1.1+2" + code_builder: + dependency: transitive + description: + name: code_builder + url: "https://pub.dartlang.org" + source: hosted + version: "3.4.1" collection: dependency: transitive description: @@ -140,14 +175,14 @@ packages: name: crypto url: "https://pub.dartlang.org" source: hosted - version: "2.1.4" + version: "2.1.5" csslib: dependency: transitive description: name: csslib url: "https://pub.dartlang.org" source: hosted - version: "0.16.1" + version: "0.16.2" cupertino_icons: dependency: "direct main" description: @@ -161,7 +196,7 @@ packages: name: dart_style url: "https://pub.dartlang.org" source: hosted - version: "1.3.3" + version: "1.3.6" dartx: dependency: "direct overridden" description: @@ -189,56 +224,77 @@ packages: name: expandable url: "https://pub.dartlang.org" source: hosted - version: "4.1.2" + version: "4.1.4" fake_async: dependency: transitive description: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.1.0-nullsafety" + file: + dependency: transitive + description: + name: file + url: "https://pub.dartlang.org" + source: hosted + version: "5.2.1" firebase: dependency: "direct main" description: name: firebase url: "https://pub.dartlang.org" source: hosted - version: "7.2.1" + version: "7.3.0" firebase_analytics: dependency: "direct main" description: name: firebase_analytics url: "https://pub.dartlang.org" source: hosted - version: "5.0.11" + version: "5.0.16" + firebase_analytics_platform_interface: + dependency: transitive + description: + name: firebase_analytics_platform_interface + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + firebase_analytics_web: + dependency: transitive + description: + name: firebase_analytics_web + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" firebase_auth: dependency: "direct main" description: name: firebase_auth url: "https://pub.dartlang.org" source: hosted - version: "0.15.5+2" + version: "0.15.5+3" firebase_auth_platform_interface: dependency: transitive description: name: firebase_auth_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "1.1.7" + version: "1.1.8" firebase_auth_web: dependency: "direct main" description: name: firebase_auth_web url: "https://pub.dartlang.org" source: hosted - version: "0.1.2" + version: "0.1.3+1" firebase_core: dependency: "direct main" description: name: firebase_core url: "https://pub.dartlang.org" source: hosted - version: "0.4.4+2" + version: "0.4.5" firebase_core_platform_interface: dependency: transitive description: @@ -259,19 +315,33 @@ packages: name: firebase_storage url: "https://pub.dartlang.org" source: hosted - version: "3.1.3" + version: "3.1.6" + fixnum: + dependency: transitive + description: + name: fixnum + url: "https://pub.dartlang.org" + source: hosted + version: "0.10.11" flutter: dependency: "direct main" description: flutter source: sdk version: "0.0.0" + flutter_blurhash: + dependency: transitive + description: + name: flutter_blurhash + url: "https://pub.dartlang.org" + source: hosted + version: "0.5.0" flutter_cache_manager: dependency: transitive description: name: flutter_cache_manager url: "https://pub.dartlang.org" source: hosted - version: "1.1.3" + version: "1.4.2" flutter_colorpicker: dependency: "direct main" description: @@ -285,7 +355,7 @@ packages: name: flutter_launcher_icons url: "https://pub.dartlang.org" source: hosted - version: "0.7.4" + version: "0.7.5" flutter_launcher_name: dependency: "direct dev" description: @@ -335,21 +405,21 @@ packages: name: http url: "https://pub.dartlang.org" source: hosted - version: "0.12.0+4" + version: "0.12.2" http_parser: dependency: transitive description: name: http_parser url: "https://pub.dartlang.org" source: hosted - version: "3.1.3" + version: "3.1.4" image: dependency: transitive description: name: image url: "https://pub.dartlang.org" source: hosted - version: "2.1.12" + version: "2.1.14" intl: dependency: transitive description: @@ -363,14 +433,14 @@ packages: name: intl_translation url: "https://pub.dartlang.org" source: hosted - version: "0.17.9" + version: "0.17.10+1" js: dependency: transitive description: name: js url: "https://pub.dartlang.org" source: hosted - version: "0.6.1+1" + version: "0.6.2" json_annotation: dependency: transitive description: @@ -391,7 +461,7 @@ packages: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.9" + version: "0.12.10-nullsafety" meta: dependency: transitive description: @@ -405,7 +475,7 @@ packages: name: mockito url: "https://pub.dartlang.org" source: hosted - version: "4.1.1" + version: "4.1.2" nested: dependency: transitive description: @@ -419,63 +489,77 @@ packages: name: node_interop url: "https://pub.dartlang.org" source: hosted - version: "1.0.3" + version: "1.1.1" node_io: dependency: transitive description: name: node_io url: "https://pub.dartlang.org" source: hosted - version: "1.0.1+2" + version: "1.1.1" + octo_image: + dependency: transitive + description: + name: octo_image + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0" oktoast: dependency: "direct main" description: name: oktoast url: "https://pub.dartlang.org" source: hosted - version: "2.3.1+1" + version: "2.3.2" package_config: dependency: transitive description: name: package_config url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.9.3" package_info: dependency: "direct main" description: name: package_info url: "https://pub.dartlang.org" source: hosted - version: "0.4.0+13" + version: "0.4.3" path: dependency: transitive description: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.7.0" + version: "1.8.0-nullsafety" path_provider: dependency: transitive description: name: path_provider url: "https://pub.dartlang.org" source: hosted - version: "1.6.5" + version: "1.6.14" + path_provider_linux: + dependency: transitive + description: + name: path_provider_linux + url: "https://pub.dartlang.org" + source: hosted + version: "0.0.1+2" path_provider_macos: dependency: transitive description: name: path_provider_macos url: "https://pub.dartlang.org" source: hosted - version: "0.0.4" + version: "0.0.4+3" path_provider_platform_interface: dependency: transitive description: name: path_provider_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "1.0.1" + version: "1.0.3" pedantic: dependency: "direct dev" description: @@ -489,7 +573,7 @@ packages: name: petitparser url: "https://pub.dartlang.org" source: hosted - version: "2.4.0" + version: "3.1.0" pie_chart: dependency: "direct main" description: @@ -504,6 +588,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.2.1" + platform_detect: + dependency: transitive + description: + name: platform_detect + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.0" plugin_platform_interface: dependency: "direct dev" description: @@ -524,21 +615,28 @@ packages: name: preferences url: "https://pub.dartlang.org" source: hosted - version: "5.1.0" + version: "5.2.1" + process: + dependency: transitive + description: + name: process + url: "https://pub.dartlang.org" + source: hosted + version: "3.0.13" provider: dependency: "direct dev" description: name: provider url: "https://pub.dartlang.org" source: hosted - version: "4.0.4" + version: "4.3.2+2" pub_semver: dependency: transitive description: name: pub_semver url: "https://pub.dartlang.org" source: hosted - version: "1.4.3" + version: "1.4.4" quiver: dependency: "direct main" description: @@ -559,103 +657,124 @@ packages: name: resource url: "https://pub.dartlang.org" source: hosted - version: "2.1.6" + version: "2.1.7" rxdart: dependency: transitive description: name: rxdart url: "https://pub.dartlang.org" source: hosted - version: "0.24.0" + version: "0.24.1" shared_preferences: dependency: transitive description: name: shared_preferences url: "https://pub.dartlang.org" source: hosted - version: "0.5.6+1" + version: "0.5.10" + shared_preferences_linux: + dependency: transitive + description: + name: shared_preferences_linux + url: "https://pub.dartlang.org" + source: hosted + version: "0.0.2+2" shared_preferences_macos: dependency: transitive description: name: shared_preferences_macos url: "https://pub.dartlang.org" source: hosted - version: "0.0.1+5" + version: "0.0.1+10" shared_preferences_platform_interface: dependency: transitive description: name: shared_preferences_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "1.0.1" + version: "1.0.4" shared_preferences_web: dependency: transitive description: name: shared_preferences_web url: "https://pub.dartlang.org" source: hosted - version: "0.1.2+3" + version: "0.1.2+7" sky_engine: dependency: transitive description: flutter source: sdk version: "0.0.99" + source_gen: + dependency: transitive + description: + name: source_gen + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.6" source_span: dependency: transitive description: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.7.0" + version: "1.8.0-nullsafety" sqflite: dependency: transitive description: name: sqflite url: "https://pub.dartlang.org" source: hosted - version: "1.2.1" + version: "1.3.1+1" + sqflite_common: + dependency: transitive + description: + name: sqflite_common + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2+1" stack_trace: dependency: transitive description: name: stack_trace url: "https://pub.dartlang.org" source: hosted - version: "1.9.5" + version: "1.10.0-nullsafety" stream_channel: dependency: transitive description: name: stream_channel url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.1.0-nullsafety" string_scanner: dependency: transitive description: name: string_scanner url: "https://pub.dartlang.org" source: hosted - version: "1.0.5" + version: "1.1.0-nullsafety" synchronized: dependency: transitive description: name: synchronized url: "https://pub.dartlang.org" source: hosted - version: "2.2.0" + version: "2.2.0+2" term_glyph: dependency: transitive description: name: term_glyph url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.2.0-nullsafety" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.18" + version: "0.2.19-nullsafety" time: dependency: transitive description: @@ -669,14 +788,14 @@ packages: name: time_machine url: "https://pub.dartlang.org" source: hosted - version: "0.9.12" + version: "0.9.13" timetable: dependency: "direct main" description: name: timetable url: "https://pub.dartlang.org" source: hosted - version: "0.2.0" + version: "0.2.7" typed_data: dependency: transitive description: @@ -690,35 +809,42 @@ packages: name: url_launcher url: "https://pub.dartlang.org" source: hosted - version: "5.4.2" + version: "5.5.3" + url_launcher_linux: + dependency: transitive + description: + name: url_launcher_linux + url: "https://pub.dartlang.org" + source: hosted + version: "0.0.1+1" url_launcher_macos: dependency: transitive description: name: url_launcher_macos url: "https://pub.dartlang.org" source: hosted - version: "0.0.1+4" + version: "0.0.1+7" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "1.0.6" + version: "1.0.8" url_launcher_web: dependency: transitive description: name: url_launcher_web url: "https://pub.dartlang.org" source: hosted - version: "0.1.1+1" + version: "0.1.3+2" uuid: dependency: transitive description: name: uuid url: "https://pub.dartlang.org" source: hosted - version: "2.0.4" + version: "2.2.2" validators: dependency: "direct main" description: @@ -739,21 +865,28 @@ packages: name: watcher url: "https://pub.dartlang.org" source: hosted - version: "0.9.7+13" + version: "0.9.7+15" + xdg_directories: + dependency: transitive + description: + name: xdg_directories + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.2" xml: dependency: transitive description: name: xml url: "https://pub.dartlang.org" source: hosted - version: "3.6.1" + version: "4.5.0" yaml: dependency: transitive description: name: yaml url: "https://pub.dartlang.org" source: hosted - version: "2.2.0" + version: "2.2.1" sdks: dart: ">=2.10.0-0.0.dev <2.10.0" - flutter: ">=1.12.13+hotfix.4 <2.0.0" + flutter: ">=1.20.0 <2.0.0" From 5d604510e8f4b159ce3164cf5b7a1576318cb804 Mon Sep 17 00:00:00 2001 From: Adrian Margineanu Date: Sun, 13 Sep 2020 17:53:41 +0300 Subject: [PATCH 5/5] Fix the version --- lib/generated/l10n.dart | 1 - pubspec.yaml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/generated/l10n.dart b/lib/generated/l10n.dart index d7584ded5..d7b42c5e9 100644 --- a/lib/generated/l10n.dart +++ b/lib/generated/l10n.dart @@ -1,7 +1,6 @@ // GENERATED CODE - DO NOT MODIFY BY HAND import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; - import 'intl/messages_all.dart'; // ************************************************************************** diff --git a/pubspec.yaml b/pubspec.yaml index 22de286ab..a0435b1e6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ description: A mobile application for students at ACS UPB. # 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: 0.5.3+1 +version: 0.5.4+1 environment: sdk: ">=2.6.0 <3.0.0"