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/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 5f957b29f..6bf0cf61f 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -3237,6 +3237,9 @@ "approve": "Approve", "youHaveKnocked": "You have knocked", "pleaseWaitUntilInvited": "Please wait now, until someone from the room invites you.", + "commandHint_logout": "Logout your current device", + "commandHint_logoutall": "Logout all active devices", + "displayNavigationRail": "Show navigation rail on mobile" "accountInformation": "Account information", "addGroupDescription": "Add a chat description", "addNewFriend": "Add new friend", @@ -4972,7 +4975,6 @@ "configureSpace": "Configure space", "pinMessages": "Pin messages", "setJoinRules": "Set join rules", - "displayNavigationRail": "Show navigation rail on mobile", "changeGeneralSettings": "Change general settings", "inviteOtherUsersToRoom": "Invite other users", "changeTheNameOfTheSpace": "Change the name of the space", diff --git a/lib/pages/chat/chat.dart b/lib/pages/chat/chat.dart index 421836958..0be034e15 100644 --- a/lib/pages/chat/chat.dart +++ b/lib/pages/chat/chat.dart @@ -1091,6 +1091,8 @@ class ChatController extends State // #Pangea stopMediaStream.add(null); // Pangea# + room.client.getConfig(); // Preload server file configuration. + final scaffoldMessenger = ScaffoldMessenger.of(context); if (PlatformInfos.isAndroid) { final info = await DeviceInfoPlugin().androidInfo; @@ -1756,12 +1758,9 @@ class ChatController extends State FocusScope.of(context).requestFocus(inputFocus); } - //#Pangea - void onAddPopupMenuButtonSelected(String? choice) { - // void onAddPopupMenuButtonSelected(String choice) { - debugger(when: kDebugMode && choice == null); + void onAddPopupMenuButtonSelected(String choice) { + room.client.getConfig(); // Preload server file configuration. - //Pangea# if (choice == 'file') { sendFileAction(); } 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 ""; } diff --git a/pubspec.yaml b/pubspec.yaml index ec0af2f35..2e67fdca8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -73,7 +73,7 @@ dependencies: git: url: https://github.com/pangeachat/matrix-dart-sdk.git # repo ref: main - # matrix: ^0.40.0 + # matrix: ^0.40.2 # Pangea# mime: ^1.0.6 native_imaging: ^0.2.0