diff --git a/CHANGELOG.md b/CHANGELOG.md index 83067c377..32948157a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +## v2.1.1 +Bugfix release to trigger flatpak arm64 release again. + +- build: (deps): bump actions/checkout from 4 to 5 (dependabot[bot]) +- build: (deps): bump app_links from 6.4.0 to 6.4.1 (dependabot[bot]) +- build: (deps): bump file_picker from 10.2.3 to 10.3.1 (dependabot[bot]) +- build: (deps): bump msix from 3.16.10 to 3.16.12 (dependabot[bot]) +- build: (deps): bump package_info_plus from 8.3.0 to 8.3.1 (dependabot[bot]) +- build: (deps): bump share_plus from 11.0.0 to 11.1.0 (dependabot[bot]) +- build: Also build linux on github runners (Christian Kußowski) +- build: Update macos podfile (Christian Kußowski) +- chore: Follow up subtitle font style (Christian Kußowski) +- chore: Slightly adjust font sizes and design (Christian Kußowski) +- chore(translations): Translated using Weblate (Chinese (Traditional Han script)) (miullu) +- chore(translations): Translated using Weblate (Norwegian Bokmål) (Frank Paul Silye) +- chore(translations): Translated using Weblate (Polish) (Piotr Orzechowski) +- feat: support xdp selector for linux (ShootingStarDragons) +- fix: Follow up fix rectangle avatars (Christian Kußowski) +- refactor: Remove broken push error reporter (Christian Kußowski) + ## v2.1.0 FluffyChat 2.1.0 brings support for room version 12 and a lot of bugfixes, updated translations and performance improvements. Also chat state events are now collapsed by default. diff --git a/android/fastlane/metadata/android/en-US/changelogs/default.txt b/android/fastlane/metadata/android/en-US/changelogs/default.txt index 0b2d50a81..3a532842a 100644 --- a/android/fastlane/metadata/android/en-US/changelogs/default.txt +++ b/android/fastlane/metadata/android/en-US/changelogs/default.txt @@ -1 +1 @@ -FluffyChat 2.1.0 brings support for room version 12 and a lot of bugfixes, updated translations and performance improvements. Also chat state events are now collapsed by default. \ No newline at end of file +Fixes broken error reporter for push notifications and wrong clipped avatars. Also updates dependencies and translations. \ No newline at end of file diff --git a/lib/pages/chat_list/chat_list.dart b/lib/pages/chat_list/chat_list.dart index c62e9f655..36036cdcb 100644 --- a/lib/pages/chat_list/chat_list.dart +++ b/lib/pages/chat_list/chat_list.dart @@ -24,7 +24,6 @@ import 'package:fluffychat/pangea/join_codes/space_code_controller.dart'; import 'package:fluffychat/pangea/join_codes/space_code_repo.dart'; import 'package:fluffychat/pangea/navigation/navigation_util.dart'; import 'package:fluffychat/pangea/subscription/widgets/subscription_snackbar.dart'; -import 'package:fluffychat/utils/error_reporter.dart'; import 'package:fluffychat/utils/localized_exception_extension.dart'; import 'package:fluffychat/utils/matrix_sdk_extensions/matrix_locals.dart'; import 'package:fluffychat/utils/platform_infos.dart'; @@ -44,6 +43,7 @@ import '../../widgets/matrix.dart'; import 'package:fluffychat/utils/tor_stub.dart' if (dart.library.html) 'package:tor_detector_web/tor_detector_web.dart'; + enum PopupMenuAction { settings, invite, @@ -560,8 +560,6 @@ class ChatListController extends State _checkTorBrowser(); - ErrorReporter(context).consumeTemporaryErrorLogFile(); - //#Pangea _invitedSpaceSubscription = Matrix.of(context) .client diff --git a/lib/utils/error_reporter.dart b/lib/utils/error_reporter.dart index 23a4dccb6..7eec3d480 100644 --- a/lib/utils/error_reporter.dart +++ b/lib/utils/error_reporter.dart @@ -1,10 +1,6 @@ -import 'dart:io'; - import 'package:flutter/material.dart'; import 'package:matrix/matrix.dart'; -import 'package:path/path.dart' as path; -import 'package:path_provider/path_provider.dart'; import 'package:fluffychat/l10n/l10n.dart'; import 'package:fluffychat/pangea/common/utils/error_handler.dart'; @@ -23,34 +19,6 @@ class ErrorReporter { "HandshakeException", }; - Future _getTemporaryErrorLogFile() async { - final tempDir = await getTemporaryDirectory(); - return File(path.join(tempDir.path, 'error_log.txt')); - } - - Future writeToTemporaryErrorLogFile( - Object error, [ - StackTrace? stackTrace, - ]) async { - if (ingoredTypes.contains(error.runtimeType.toString())) return; - final file = await _getTemporaryErrorLogFile(); - if (await file.exists()) await file.delete(); - await file.writeAsString( - '[${DateTime.now().toIso8601String()}] $message - $error\n$stackTrace', - ); - } - - Future consumeTemporaryErrorLogFile() async { - final file = await _getTemporaryErrorLogFile(); - if (!(await file.exists())) return; - final content = await file.readAsString(); - // #Pangea - // _onErrorCallback(content); - onErrorCallback(content); - // Pangea# - await file.delete(); - } - void onErrorCallback(Object error, [StackTrace? stackTrace]) { if (ingoredTypes.contains(error.runtimeType.toString())) return; Logs().e(message ?? 'Error caught', error, stackTrace); diff --git a/lib/utils/push_helper.dart b/lib/utils/push_helper.dart index 9a65e9cd0..5ca9243e4 100644 --- a/lib/utils/push_helper.dart +++ b/lib/utils/push_helper.dart @@ -15,7 +15,6 @@ import 'package:fluffychat/l10n/l10n.dart'; import 'package:fluffychat/pangea/common/utils/error_handler.dart'; import 'package:fluffychat/utils/client_download_content_extension.dart'; import 'package:fluffychat/utils/client_manager.dart'; -import 'package:fluffychat/utils/error_reporter.dart'; import 'package:fluffychat/utils/matrix_sdk_extensions/matrix_locals.dart'; import 'package:fluffychat/utils/platform_infos.dart'; @@ -45,9 +44,6 @@ Future pushHelper( } catch (e, s) { Logs().e('Push Helper has crashed! Writing into temporary file', e, s); - const ErrorReporter(null, 'Push Helper has crashed!') - .writeToTemporaryErrorLogFile(e, s); - l10n ??= await lookupL10n(const Locale('en')); flutterLocalNotificationsPlugin.show( notification.roomId?.hashCode ?? 0, diff --git a/macos/Podfile.lock b/macos/Podfile.lock index 5f5b862f4..3a24f63e3 100644 --- a/macos/Podfile.lock +++ b/macos/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - app_links (1.0.0): + - app_links (6.4.1): - FlutterMacOS - audio_session (0.0.1): - FlutterMacOS @@ -25,9 +25,9 @@ PODS: - FlutterMacOS - flutter_web_auth_2 (3.0.0): - FlutterMacOS - - flutter_webrtc (0.12.6): + - flutter_webrtc (1.0.0): - FlutterMacOS - - WebRTC-SDK (= 125.6422.06) + - WebRTC-SDK (= 137.7151.02) - FlutterMacOS (1.0.0) - geolocator_apple (1.2.0): - Flutter @@ -37,8 +37,6 @@ PODS: - FlutterMacOS - package_info_plus (0.0.1): - FlutterMacOS - - pasteboard (0.0.1): - - FlutterMacOS - path_provider_foundation (0.0.1): - Flutter - FlutterMacOS @@ -49,17 +47,14 @@ PODS: - shared_preferences_foundation (0.0.1): - Flutter - FlutterMacOS - - sqflite_darwin (0.0.4): - - Flutter - - FlutterMacOS - - SQLCipher (4.8.0): - - SQLCipher/standard (= 4.8.0) - - SQLCipher/common (4.8.0) - - SQLCipher/standard (4.8.0): + - SQLCipher (4.10.0): + - SQLCipher/standard (= 4.10.0) + - SQLCipher/common (4.10.0) + - SQLCipher/standard (4.10.0): - SQLCipher/common - sqlcipher_flutter_libs (0.0.1): - FlutterMacOS - - SQLCipher (~> 4.8.0) + - SQLCipher (~> 4.10.0) - url_launcher_macos (0.0.1): - FlutterMacOS - video_compress (0.3.0): @@ -69,7 +64,7 @@ PODS: - FlutterMacOS - wakelock_plus (0.0.1): - FlutterMacOS - - WebRTC-SDK (125.6422.06) + - WebRTC-SDK (137.7151.02) - window_to_front (0.0.1): - FlutterMacOS @@ -92,12 +87,10 @@ DEPENDENCIES: - geolocator_apple (from `Flutter/ephemeral/.symlinks/plugins/geolocator_apple/darwin`) - just_audio (from `Flutter/ephemeral/.symlinks/plugins/just_audio/darwin`) - package_info_plus (from `Flutter/ephemeral/.symlinks/plugins/package_info_plus/macos`) - - pasteboard (from `Flutter/ephemeral/.symlinks/plugins/pasteboard/macos`) - path_provider_foundation (from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin`) - record_macos (from `Flutter/ephemeral/.symlinks/plugins/record_macos/macos`) - share_plus (from `Flutter/ephemeral/.symlinks/plugins/share_plus/macos`) - shared_preferences_foundation (from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin`) - - sqflite_darwin (from `Flutter/ephemeral/.symlinks/plugins/sqflite_darwin/darwin`) - sqlcipher_flutter_libs (from `Flutter/ephemeral/.symlinks/plugins/sqlcipher_flutter_libs/macos`) - url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`) - video_compress (from `Flutter/ephemeral/.symlinks/plugins/video_compress/macos`) @@ -147,8 +140,6 @@ EXTERNAL SOURCES: :path: Flutter/ephemeral/.symlinks/plugins/just_audio/darwin package_info_plus: :path: Flutter/ephemeral/.symlinks/plugins/package_info_plus/macos - pasteboard: - :path: Flutter/ephemeral/.symlinks/plugins/pasteboard/macos path_provider_foundation: :path: Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin record_macos: @@ -157,8 +148,6 @@ EXTERNAL SOURCES: :path: Flutter/ephemeral/.symlinks/plugins/share_plus/macos shared_preferences_foundation: :path: Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin - sqflite_darwin: - :path: Flutter/ephemeral/.symlinks/plugins/sqflite_darwin/darwin sqlcipher_flutter_libs: :path: Flutter/ephemeral/.symlinks/plugins/sqlcipher_flutter_libs/macos url_launcher_macos: @@ -173,37 +162,35 @@ EXTERNAL SOURCES: :path: Flutter/ephemeral/.symlinks/plugins/window_to_front/macos SPEC CHECKSUMS: - app_links: afe860c55c7ef176cea7fb630a2b7d7736de591d + app_links: 05a6ec2341985eb05e9f97dc63f5837c39895c3f audio_session: eaca2512cf2b39212d724f35d11f46180ad3a33e - desktop_drop: e0b672a7d84c0a6cbc378595e82cdb15f2970a43 - device_info_plus: a56e6e74dbbd2bb92f2da12c64ddd4f67a749041 - dynamic_color: b820c000cc68df65e7ba7ff177cb98404ce56651 + desktop_drop: 248706031734554504f939cab1ad4c5fbc9c9c72 + device_info_plus: 4fb280989f669696856f8b129e4a5e3cd6c48f76 + dynamic_color: cb7c2a300ee67ed3bd96c3e852df3af0300bf610 emoji_picker_flutter: 51ca408e289d84d1e460016b2a28721ec754fcf7 file_picker: 7584aae6fa07a041af2b36a2655122d42f578c1a file_selector_macos: 6280b52b459ae6c590af5d78fc35c7267a3c4b31 - flutter_local_notifications: 7e5a17a1dbc00d83dc10d43c2c4c05f2ceed233c + flutter_local_notifications: 4bf37a31afde695b56091b4ae3e4d9c7a7e6cda0 flutter_new_badger: 6fe9bf7e42793a164032c21f164c0ad9985cd0f2 flutter_secure_storage_macos: 7f45e30f838cf2659862a4e4e3ee1c347c2b3b54 flutter_vodozemac: fd2ea9cb3e2a37beaac883a369811fbfe042fc53 flutter_web_auth_2: 62b08da29f15a20fa63f144234622a1488d45b65 - flutter_webrtc: 377dbcebdde6fed0fc40de87bcaaa2bffcec9a88 + flutter_webrtc: 0d70bd8782c19bde286dc52f766eebbea26de201 FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24 geolocator_apple: ab36aa0e8b7d7a2d7639b3b4e48308394e8cef5e just_audio: 4e391f57b79cad2b0674030a00453ca5ce817eed package_info_plus: f0052d280d17aa382b932f399edf32507174e870 - pasteboard: 278d8100149f940fb795d6b3a74f0720c890ecb7 path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564 record_macos: 295d70bd5fb47145df78df7b80e6697cd18403c0 share_plus: 510bf0af1a42cd602274b4629920c9649c52f4cc shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7 - sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0 - SQLCipher: 908f846ca79d74be4e1776b3b86c6ad9e6c0b04f - sqlcipher_flutter_libs: 72569ed27a3f8d3502571be15fdc3e28f8f8570c + SQLCipher: eb79c64049cb002b4e9fcb30edb7979bf4706dfc + sqlcipher_flutter_libs: 01ead34db27ae5e49987cae46c8a34199eb22cfe url_launcher_macos: 0fba8ddabfc33ce0a9afe7c5fef5aab3d8d2d673 video_compress: 752b161da855df2492dd1a8fa899743cc8fe9534 video_player_avfoundation: 2cef49524dd1f16c5300b9cd6efd9611ce03639b wakelock_plus: 21ddc249ac4b8d018838dbdabd65c5976c308497 - WebRTC-SDK: 79942c006ea64f6fb48d7da8a4786dfc820bc1db + WebRTC-SDK: d20de357dcbf7c9696b124b39f3ff62125107e4b window_to_front: 9e76fd432e36700a197dac86a0011e49c89abe0a PODFILE CHECKSUM: d0975b16fbdecb73b109d8fbc88aa77ffe4c7a8d diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index aaffc9d5b..f21b452d0 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,7 +1,7 @@ name: fluffychat title: FluffyChat base: core24 -version: 2.1.0 +version: 2.1.1 license: AGPL-3.0 summary: The cutest messenger in the Matrix network description: |