From f2595c1b50d2127966ff846ede1199d2006a8e0f Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Fri, 19 Mar 2021 12:50:07 +0100 Subject: [PATCH 01/11] update build.yml --- .github/workflows/build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bfb5d62..b5d72dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,3 +62,15 @@ jobs: with: name: android-stream-chat-v1 path: packages/stream_chat_v1/build/app/outputs/apk/release/app-release.apk + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@v1 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-east-1 + - name: Upload APK + run: | + cp packages/stream_chat_v1/build/app/outputs/apk/release/app-release.apk flutter-sample-app.apk + aws s3 cp flutter-sample-app.apk s3://${{ secrets.AWS_S3_BUCKET }} --sse AES256 + + From a84f880e71034a12f110020017be8dc3a364427b Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Fri, 19 Mar 2021 13:09:43 +0100 Subject: [PATCH 02/11] update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b5d72dd..8b4f688 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -70,7 +70,7 @@ jobs: aws-region: us-east-1 - name: Upload APK run: | - cp packages/stream_chat_v1/build/app/outputs/apk/release/app-release.apk flutter-sample-app.apk + cp build/app/outputs/apk/release/app-release.apk flutter-sample-app.apk aws s3 cp flutter-sample-app.apk s3://${{ secrets.AWS_S3_BUCKET }} --sse AES256 From b830f354165d869bf3d92ffeda124bb5fae1741d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Vel=C3=A1squez=20L=C3=B3pez?= Date: Sun, 28 Mar 2021 17:06:05 -0500 Subject: [PATCH 03/11] fix image state when start chatting --- packages/chatty/lib/ui/profile_verify/profile_verify_cubit.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/chatty/lib/ui/profile_verify/profile_verify_cubit.dart b/packages/chatty/lib/ui/profile_verify/profile_verify_cubit.dart index 2593f36..cc82668 100644 --- a/packages/chatty/lib/ui/profile_verify/profile_verify_cubit.dart +++ b/packages/chatty/lib/ui/profile_verify/profile_verify_cubit.dart @@ -27,8 +27,8 @@ class ProfileVerifyCubit extends Cubit { final ProfileSignInUseCase _profileSignInUseCase; void startChatting() async { - emit(ProfileState(null, loading: true)); final file = state.file; + emit(ProfileState(file, loading: true)); final name = nameController.text; await _profileSignInUseCase.verify(ProfileInput( imageFile: file, From 0b2959f7929e84ec7b1d81ad7d65b5dc6cdd85fc Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Tue, 30 Mar 2021 10:37:07 +0200 Subject: [PATCH 04/11] bump version --- packages/stream_chat_v1/pubspec.yaml | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/packages/stream_chat_v1/pubspec.yaml b/packages/stream_chat_v1/pubspec.yaml index f0e9e65..4bc3ee2 100644 --- a/packages/stream_chat_v1/pubspec.yaml +++ b/packages/stream_chat_v1/pubspec.yaml @@ -1,7 +1,7 @@ name: example description: A new Flutter project. publish_to: 'none' -version: 1.5.0 +version: 1.5.1 environment: sdk: ">=2.2.2 <3.0.0" @@ -10,16 +10,8 @@ dependencies: flutter_app_badger: ^1.1.2 flutter: sdk: flutter - stream_chat_flutter: - git: - url: https://github.com/GetStream/stream-chat-flutter.git - ref: develop - path: packages/stream_chat_flutter - stream_chat_persistence: - git: - url: https://github.com/GetStream/stream-chat-flutter.git - ref: develop - path: packages/stream_chat_persistence + stream_chat_flutter: ^1.5.0 + stream_chat_persistence: ^1.5.0 flutter_local_notifications: ^2.0.2 flutter_svg: ^0.19.3 flutter_secure_storage: ^3.3.5 @@ -28,18 +20,6 @@ dependencies: streaming_shared_preferences: ^1.0.2 lottie: ^0.7.0+1 -dependency_overrides: - stream_chat: - git: - url: https://github.com/GetStream/stream-chat-flutter.git - ref: develop - path: packages/stream_chat - stream_chat_flutter_core: - git: - url: https://github.com/GetStream/stream-chat-flutter.git - ref: develop - path: packages/stream_chat_flutter_core - dev_dependencies: flutter_launcher_icons: ^0.8.1 test: any From c37af63e555a51e5dc28df6c4dbdc99c6f2f114e Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Tue, 30 Mar 2021 11:06:16 +0200 Subject: [PATCH 05/11] update action --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 473947c..e5c6c1c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,7 +57,7 @@ jobs: - run: | flutter pub get - name: Copy production config - run: echo ${{ secrets.PRODUCTION_CONFIG }} > lib/app_config.dart + run: echo '${{ secrets.PRODUCTION_CONFIG }}' > lib/app_config.dart - name: Build run: | flutter build apk From 7e82f213b3948da21c33bc1234190a0329b26e11 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Tue, 30 Mar 2021 11:15:06 +0200 Subject: [PATCH 06/11] update action --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5c6c1c..cf50e8c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,7 +57,9 @@ jobs: - run: | flutter pub get - name: Copy production config - run: echo '${{ secrets.PRODUCTION_CONFIG }}' > lib/app_config.dart + env: + PRODUCTION_CONFIG: ${{ secrets.PRODUCTION_CONFIG }} + run: echo "${{ PRODUCTION_CONFIG }}" > lib/app_config.dart - name: Build run: | flutter build apk From b42cd713770065e6ba7863e51abd4b3a5dd46de8 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Tue, 30 Mar 2021 11:17:43 +0200 Subject: [PATCH 07/11] update action --- .github/workflows/build.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cf50e8c..d1b5b99 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,9 +57,7 @@ jobs: - run: | flutter pub get - name: Copy production config - env: - PRODUCTION_CONFIG: ${{ secrets.PRODUCTION_CONFIG }} - run: echo "${{ PRODUCTION_CONFIG }}" > lib/app_config.dart + run: echo "${{ secrets.PRODUCTION_CONFIG }}" > lib/app_config.dart - name: Build run: | flutter build apk From 061e1cc16ce91aa2fba89ce0c57069dde29c4214 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Tue, 30 Mar 2021 11:27:05 +0200 Subject: [PATCH 08/11] update action --- .github/workflows/build.yml | 2 +- packages/stream_chat_v1/pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d1b5b99..4cd4204 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: run: | flutter pub get - name: Copy production config - run: echo ${{ secrets.PRODUCTION_CONFIG }} > lib/app_config.dart + run: echo "${{ secrets.PRODUCTION_CONFIG }}" > lib/app_config.dart - name: Build and release env: MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} diff --git a/packages/stream_chat_v1/pubspec.yaml b/packages/stream_chat_v1/pubspec.yaml index 4bc3ee2..a77b679 100644 --- a/packages/stream_chat_v1/pubspec.yaml +++ b/packages/stream_chat_v1/pubspec.yaml @@ -1,7 +1,7 @@ name: example description: A new Flutter project. publish_to: 'none' -version: 1.5.1 +version: 1.5.2 environment: sdk: ">=2.2.2 <3.0.0" From 6f6c57b6b1c4c7521f325092681f43dde9f895c7 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Tue, 30 Mar 2021 12:04:58 +0200 Subject: [PATCH 09/11] update fastlane --- packages/stream_chat_v1/ios/fastlane/Fastfile | 2 +- packages/stream_chat_v1/pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/stream_chat_v1/ios/fastlane/Fastfile b/packages/stream_chat_v1/ios/fastlane/Fastfile index 4ddcc99..91aacbf 100644 --- a/packages/stream_chat_v1/ios/fastlane/Fastfile +++ b/packages/stream_chat_v1/ios/fastlane/Fastfile @@ -1,4 +1,4 @@ -fastlane_version "2.162.0" +fastlane_version "2.179.0" default_platform :ios before_all do diff --git a/packages/stream_chat_v1/pubspec.yaml b/packages/stream_chat_v1/pubspec.yaml index a77b679..5d47cca 100644 --- a/packages/stream_chat_v1/pubspec.yaml +++ b/packages/stream_chat_v1/pubspec.yaml @@ -1,7 +1,7 @@ name: example description: A new Flutter project. publish_to: 'none' -version: 1.5.2 +version: 1.5.3 environment: sdk: ">=2.2.2 <3.0.0" From 7bf3a7449cbf30ecb2ba1334d07d979fe6a04c45 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Tue, 30 Mar 2021 12:15:42 +0200 Subject: [PATCH 10/11] update fastlane --- packages/stream_chat_v1/ios/Gemfile.lock | 88 +++++++++++++++--------- 1 file changed, 56 insertions(+), 32 deletions(-) diff --git a/packages/stream_chat_v1/ios/Gemfile.lock b/packages/stream_chat_v1/ios/Gemfile.lock index dc0ee04..d4fa45b 100644 --- a/packages/stream_chat_v1/ios/Gemfile.lock +++ b/packages/stream_chat_v1/ios/Gemfile.lock @@ -1,27 +1,28 @@ GEM remote: https://rubygems.org/ specs: - CFPropertyList (3.0.2) + CFPropertyList (3.0.3) addressable (2.7.0) public_suffix (>= 2.0.2, < 5.0) + artifactory (3.0.15) atomos (0.1.3) - aws-eventstream (1.1.0) - aws-partitions (1.380.0) - aws-sdk-core (3.109.1) + aws-eventstream (1.1.1) + aws-partitions (1.437.0) + aws-sdk-core (3.113.1) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.239.0) aws-sigv4 (~> 1.1) jmespath (~> 1.0) - aws-sdk-kms (1.39.0) - aws-sdk-core (~> 3, >= 3.109.0) + aws-sdk-kms (1.43.0) + aws-sdk-core (~> 3, >= 3.112.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.83.0) - aws-sdk-core (~> 3, >= 3.109.0) + aws-sdk-s3 (1.93.0) + aws-sdk-core (~> 3, >= 3.112.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.1) - aws-sigv4 (1.2.2) + aws-sigv4 (1.2.3) aws-eventstream (~> 1, >= 1.0.2) - babosa (1.0.3) + babosa (1.0.4) claide (1.0.3) colored (1.2) colored2 (3.1.2) @@ -29,24 +30,28 @@ GEM highline (~> 1.7.2) declarative (0.0.20) declarative-option (0.1.0) - digest-crc (0.6.1) - rake (~> 13.0) + digest-crc (0.6.3) + rake (>= 12.0.0, < 14.0.0) domain_name (0.5.20190701) unf (>= 0.0.5, < 1.0.0) dotenv (2.7.6) - emoji_regex (3.0.0) - excon (0.76.0) - faraday (1.0.1) + emoji_regex (3.2.2) + excon (0.79.0) + faraday (1.3.0) + faraday-net_http (~> 1.0) multipart-post (>= 1.2, < 3) + ruby2_keywords faraday-cookie_jar (0.0.7) faraday (>= 0.8.0) http-cookie (~> 1.0.0) + faraday-net_http (1.0.1) faraday_middleware (1.0.0) faraday (~> 1.0) - fastimage (2.2.0) - fastlane (2.162.0) + fastimage (2.2.3) + fastlane (2.179.0) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.3, < 3.0.0) + artifactory (~> 3.0) aws-sdk-s3 (~> 1.0) babosa (>= 1.0.3, < 2.0.0) bundler (>= 1.12.0, < 3.0.0) @@ -67,6 +72,7 @@ GEM jwt (>= 2.1.0, < 3) mini_magick (>= 4.9.4, < 5.0.0) multipart-post (~> 2.0.0) + naturally (~> 2.2) plist (>= 3.1.0, < 4.0.0) rubyzip (>= 2.0.0, < 3.0.0) security (= 0.1.3) @@ -90,20 +96,35 @@ GEM representable (~> 3.0) retriable (>= 2.0, < 4.0) signet (~> 0.12) - google-cloud-core (1.5.0) + google-apis-core (0.3.0) + addressable (~> 2.5, >= 2.5.1) + googleauth (~> 0.14) + httpclient (>= 2.8.1, < 3.0) + mini_mime (~> 1.0) + representable (~> 3.0) + retriable (>= 2.0, < 4.0) + rexml + signet (~> 0.14) + webrick + google-apis-iamcredentials_v1 (0.2.0) + google-apis-core (~> 0.1) + google-apis-storage_v1 (0.3.0) + google-apis-core (~> 0.1) + google-cloud-core (1.6.0) google-cloud-env (~> 1.0) google-cloud-errors (~> 1.0) - google-cloud-env (1.3.3) + google-cloud-env (1.5.0) faraday (>= 0.17.3, < 2.0) - google-cloud-errors (1.0.1) - google-cloud-storage (1.29.1) + google-cloud-errors (1.1.0) + google-cloud-storage (1.31.0) addressable (~> 2.5) digest-crc (~> 0.4) - google-api-client (~> 0.33) + google-apis-iamcredentials_v1 (~> 0.1) + google-apis-storage_v1 (~> 0.1) google-cloud-core (~> 1.2) googleauth (~> 0.9) mini_mime (~> 1.0) - googleauth (0.13.1) + googleauth (0.16.0) faraday (>= 0.17.3, < 2.0) jwt (>= 1.4, < 3.0) memoist (~> 0.16) @@ -115,28 +136,30 @@ GEM domain_name (~> 0.5) httpclient (2.8.3) jmespath (1.4.0) - json (2.3.1) + json (2.5.1) jwt (2.2.2) memoist (0.16.2) - mini_magick (4.10.1) - mini_mime (1.0.2) + mini_magick (4.11.0) + mini_mime (1.0.3) multi_json (1.15.0) multipart-post (2.0.0) nanaimo (0.3.0) - naturally (2.2.0) + naturally (2.2.1) os (1.1.1) - plist (3.5.0) + plist (3.6.0) public_suffix (4.0.6) - rake (13.0.1) + rake (13.0.3) representable (3.0.4) declarative (< 0.1.0) declarative-option (< 0.2.0) uber (< 0.2.0) retriable (3.1.2) + rexml (3.2.4) rouge (2.0.7) + ruby2_keywords (0.0.4) rubyzip (2.3.0) security (0.1.3) - signet (0.14.0) + signet (0.15.0) addressable (~> 2.3) faraday (>= 0.17.3, < 2.0) jwt (>= 1.5, < 3.0) @@ -157,8 +180,9 @@ GEM unf_ext unf_ext (0.0.7.7) unicode-display_width (1.7.0) + webrick (1.7.0) word_wrap (1.0.0) - xcodeproj (1.18.0) + xcodeproj (1.19.0) CFPropertyList (>= 2.3.3, < 4.0) atomos (~> 0.1.3) claide (>= 1.0.2, < 2.0) @@ -166,7 +190,7 @@ GEM nanaimo (~> 0.3.0) xcpretty (0.3.0) rouge (~> 2.0.7) - xcpretty-travis-formatter (1.0.0) + xcpretty-travis-formatter (1.0.1) xcpretty (~> 0.2, >= 0.0.7) PLATFORMS From b89df11c1c474467cd4bead7910c55630588ac78 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Thu, 1 Apr 2021 09:31:05 +0200 Subject: [PATCH 11/11] add probot config --- .github/no-response.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/no-response.yml diff --git a/.github/no-response.yml b/.github/no-response.yml new file mode 100644 index 0000000..e834903 --- /dev/null +++ b/.github/no-response.yml @@ -0,0 +1,15 @@ +# Configuration for probot-no-response - https://github.com/probot/no-response + +# Number of days of inactivity before an issue is closed for lack of response. +daysUntilClose: 7 + +# Label requiring a response. +responseRequiredLabel: "waiting for customer response" + +# Comment to post when closing an Issue for lack of response. Set to `false` to disable +closeComment: > + Without additional information, we are unfortunately not sure how to + resolve this issue. We are therefore reluctantly going to close this + bug for now. Please don't hesitate to comment on the bug if you have + any more information for us; we will reopen it right away! + Thanks for your contribution. \ No newline at end of file