From 130a094f35b76ee121dc26864d085684fab7b3a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Sun, 1 Jun 2025 18:31:42 +0200 Subject: [PATCH 1/5] chore: Preload server file config before upload files --- lib/pages/chat/chat.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/pages/chat/chat.dart b/lib/pages/chat/chat.dart index e5e741fc9..41afabb94 100644 --- a/lib/pages/chat/chat.dart +++ b/lib/pages/chat/chat.dart @@ -631,6 +631,8 @@ class ChatController extends State } void voiceMessageAction() async { + room.client.getConfig(); // Preload server file configuration. + final scaffoldMessenger = ScaffoldMessenger.of(context); if (PlatformInfos.isAndroid) { final info = await DeviceInfoPlugin().androidInfo; @@ -1168,6 +1170,8 @@ class ChatController extends State } void onAddPopupMenuButtonSelected(String choice) { + room.client.getConfig(); // Preload server file configuration. + if (choice == 'file') { sendFileAction(); } From 43b1d8802d6d6b9f2d566d98d4bd4c5fe39ed63d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Mon, 2 Jun 2025 10:45:20 +0200 Subject: [PATCH 2/5] build: Update Matrix Dart SDK 0.40.1 --- pubspec.lock | 11 +++++------ pubspec.yaml | 5 +---- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index f20a97dc1..28381b660 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1159,12 +1159,11 @@ packages: matrix: dependency: "direct main" description: - path: "." - ref: "krille/add-markdown-checkboxes" - resolved-ref: f3bb654ac2cda19bdd8a35fb46846018acd01a89 - url: "https://github.com/famedly/matrix-dart-sdk.git" - source: git - version: "0.40.0" + name: matrix + sha256: "6646a39b95005f0b1df2d8aaeb71edb0a3cbeb6e13f433bd4f8a32013b273a58" + url: "https://pub.dev" + source: hosted + version: "0.40.1" meta: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 9a0100780..ca5819374 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -61,10 +61,7 @@ dependencies: just_audio: ^0.9.39 latlong2: ^0.9.1 linkify: ^5.0.0 - matrix: - git: - url: https://github.com/famedly/matrix-dart-sdk.git - ref: krille/add-markdown-checkboxes + matrix: ^0.40.1 mime: ^1.0.6 native_imaging: ^0.2.0 opus_caf_converter_dart: ^1.0.1 From dde03654575721ff081adf8cc33dc2c886d56174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Thu, 5 Jun 2025 08:34:37 +0200 Subject: [PATCH 3/5] build: Update matrix dart sdk 0.40.2 --- pubspec.lock | 4 ++-- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index 28381b660..7c2ee922d 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1160,10 +1160,10 @@ packages: dependency: "direct main" description: name: matrix - sha256: "6646a39b95005f0b1df2d8aaeb71edb0a3cbeb6e13f433bd4f8a32013b273a58" + sha256: f8f78700f967de4333a0c9ca609dac2ae05914a27faa60c5530026b7aca6ae78 url: "https://pub.dev" source: hosted - version: "0.40.1" + version: "0.40.2" meta: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index ca5819374..7142c07b1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -61,7 +61,7 @@ dependencies: just_audio: ^0.9.39 latlong2: ^0.9.1 linkify: ^5.0.0 - matrix: ^0.40.1 + matrix: ^0.40.2 mime: ^1.0.6 native_imaging: ^0.2.0 opus_caf_converter_dart: ^1.0.1 From a22a1f7702f17b229f123615206fb215e7fcd7ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Thu, 5 Jun 2025 08:45:49 +0200 Subject: [PATCH 4/5] chore: Follow up: Add missing command hints --- lib/l10n/intl_en.arb | 4 +++- lib/pages/chat/command_hints.dart | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index d99b4b6c6..b7e61178c 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -3236,5 +3236,7 @@ "enterNewChat": "Enter new chat", "approve": "Approve", "youHaveKnocked": "You have knocked", - "pleaseWaitUntilInvited": "Please wait now, until someone from the room invites you." + "pleaseWaitUntilInvited": "Please wait now, until someone from the room invites you.", + "commandHint_logout": "Logout your current device", + "commandHint_logoutall": "Logout all active devices" } \ No newline at end of file diff --git a/lib/pages/chat/command_hints.dart b/lib/pages/chat/command_hints.dart index ffa5715e8..212bdf4d4 100644 --- a/lib/pages/chat/command_hints.dart +++ b/lib/pages/chat/command_hints.dart @@ -80,6 +80,10 @@ String commandHint(L10n l10n, String command) { return l10n.commandHint_unignore; case 'roomupgrade': return l10n.commandHint_roomupgrade; + case 'logout': + return l10n.commandHint_logout; + case 'logoutall': + return l10n.commandHint_logoutall; default: return ""; } From ca4db07d83e91e74a07e98933432b7254939d426 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Thu, 5 Jun 2025 15:13:41 +0200 Subject: [PATCH 5/5] build: Changelog for 1.27.0 --- CHANGELOG.md | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++ pubspec.yaml | 2 +- 2 files changed, 73 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 369c19f36..8cda73ec3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,75 @@ +## v1.27.0 +- feat: Add confirmation dialog before accepting invite (krille-chan) +- feat: Add feature flag for refresh tokens (Christian Kußowski) +- feat: add setting for whether to show space navigation rail on mobile (ggurdin) +- feat: Background audio player (Christian Kußowski) +- feat: Check markdown checkboxes in messages (krille-chan) +- feat: Create lists with checkboxes via + menu (krille-chan) +- feat: Limit height of text messages and expand if selected (krille-chan) +- feat: Move videoplayer into multi image viewer (Christian Kußowski) +- feat: Show all supported image-/video-files when sending images or videos (MoonlightWave-12) +- feat: Show WebM-videos when choosing video-files for sending (MoonlightWave-12) +- fix: Add missing mounted check to mxcImage (Christian Kußowski) +- fix: App crash on page navigation with open popup menu (Christian Kußowski) +- fix: App crashes on window resize in chat (krille-chan) +- fix: Change `PNGs` to `PNG` for consistency in file-selector (MoonlightWave-12) +- fix: Crash when going to settings in desktop mode (krille-chan) +- Fix: Fix jagged avatar edges Use anti-alias Clipping allowing for round Avatar circles (martin) +- fix: Join new room after room upgrade (krille-chan) +- fix: Keep state of text input dialogs (Christian Kußowski) +- fix: Localizations (krille-chan) +- fix: No crash on logging out in client chooser button (Christian Kußowski) +- fix: Show WebP-images with a file-extension written in lower-case (MoonlightWave-12) +- build: Update matrix dart sdk 0.40.2 (Christian Kußowski) +- build: Update record package (Christian Kußowski) +- build: Update shared preferences android (krille-chan) +- build: Upgrade to flutter 3.32.1 (Christian Kußowski) +- build: Use workaround for flutter secure storage on linux (krille-chan) +- chore: Crop shortcut file on android and cache it (krille-chan) +- chore: Display loading dialog when preparing voice message (Christian Kußowski) +- chore: Format lib/utils/file_selector.dart (MoonlightWave-12) +- chore: Let users decide for the title in error reporter (Christian Kußowski) +- chore: make space nav bar narrower on mobile and ensure space nav bar matches user's theme (ggurdin) +- chore: Nicer checkboxes (Christian Kußowski) +- chore: Preload server file config before upload files (Christian Kußowski) +- chore: Remove custom errorwidgetbuilder (Christian Kußowski) +- chore: Remove unused translations (Christian Kußowski) +- chore: Simplify voiceMessage getter (Christian Kußowski) +- chore: Update voice message localization (Christian Kußowski) +- refactor: Always use HtmlMessage (krille-chan) +- refactor: Reduce notification avatar size to 128 (krille-chan) +- Added translation using Weblate (Cantonese (Traditional Han script)) (Mike Evans) +- Added translation using Weblate (Danish) (Øjvind Fritjof Arnfred) +- Added translation using Weblate (Yue (yue_HK)) (Mike Evans) +- Translated using Weblate (Arabic) (abdelbasset jabrane) +- Translated using Weblate (Basque) (xabirequejo) +- Translated using Weblate (Cantonese (Traditional Han script)) (Mike Evans) +- Translated using Weblate (Catalan) (Marc Pina Artigas) +- Translated using Weblate (Chinese (Simplified Han script)) (大王叫我来巡山) +- Translated using Weblate (Chinese (Simplified Han script)) (Mike Evans) +- Translated using Weblate (Chinese (Traditional Han script)) (Mike Evans) +- Translated using Weblate (Chinese (Traditional Han script)) (miullu) +- Translated using Weblate (Danish) (Øjvind Fritjof Arnfred) +- Translated using Weblate (Dutch) (Jelv) +- Translated using Weblate (Estonian) (Priit Jõerüüt) +- Translated using Weblate (Finnish) (sevonj) +- Translated using Weblate (Galician) (josé m) +- Translated using Weblate (German) (Christian) +- Translated using Weblate (German) (Jana) +- Translated using Weblate (German) (JSchmerling) +- Translated using Weblate (Hebrew) (DavidEl-Natan) +- Translated using Weblate (Hungarian) (H Tamás) +- Translated using Weblate (Indonesian) (Linerly) +- Translated using Weblate (Irish) (Aindriú Mac Giolla Eoin) +- Translated using Weblate (Italian) (Angelo Schirinzi) +- Translated using Weblate (Latvian) (ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝)) +- Translated using Weblate (Latvian) (Edgars Andersons) +- Translated using Weblate (Polish) (Piotr Orzechowski) +- Translated using Weblate (Portuguese (Brazil)) (Pedro Alves) +- Translated using Weblate (Russian) (Yurt Page) +- Translated using Weblate (Ukrainian) (Bezruchenko Simon) +- Translated using Weblate (Ukrainian) (Ihor Hordiichuk) + ## v1.26.1 Updates the Matrix Dart SDK to fix multiple issues where messages can be missing in the timeline. diff --git a/pubspec.yaml b/pubspec.yaml index 7142c07b1..6f0baa2de 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: fluffychat description: Chat with your friends. publish_to: none # On version bump also increase the build number for F-Droid -version: 1.26.1+3539 +version: 1.27.0+3540 environment: sdk: ">=3.0.0 <4.0.0"