element-android/CHANGES.md
Benoit Marty b29c2b2de4 Send plain text in the body
According to https://matrix.org/docs/spec/client_server/latest#m-room-message-msgtypes, the plain text version of the HTML should be provided in the body.

Also create MarkdownParser class to be able to unit test it.
2020-06-03 18:44:35 +02:00

22 KiB

Changes in RiotX 0.22.0 (2020-XX-XX)

Features :

  • Integration Manager and Widget support (#48)
  • Send stickers (#51)

Improvements 🙌:

  • New wording for notice when current user is the sender
  • Hide "X made no changes" event by default in timeline (#1430)

Bugfix 🐛:

  • Switch theme is not fully taken into account without restarting the app
  • Temporary fix to show error when user is creating an account on matrix.org with userId containing only digits (#1410)

Translations 🗣:

SDK API changes ⚠️:

Build 🧱:

Other changes:

Changes in RiotX 0.21.0 (2020-05-28)

Features :

  • Identity server support (#607)
  • Switch language support (#41)
  • Display list of attachments of a room (#860)

Improvements 🙌:

  • Better connectivity lost indicator when airplane mode is on
  • Add a setting to hide redacted events (#951)
  • Render formatted_body for m.notice and m.emote (#1196)
  • Change icon to magnifying-glass to filter room (#1384)

Bugfix 🐛:

  • After jump to unread, newer messages are never loaded (#1008)
  • Fix issues with FontScale switch (#69, #645)
  • "Seen by" uses 12h time (#1378)
  • Enable markdown (if active) when sending emote (#734)
  • Screenshots for Rageshake now includes Dialogs such as BottomSheet (#1349)

SDK API changes ⚠️:

  • initialize with proxy configuration

Other changes:

  • support new key agreement method for SAS (#1374)

Changes in RiotX 0.20.0 (2020-05-15)

Features :

  • Add Direct Shortcuts (#652)

Improvements 🙌:

  • Invite member(s) to an existing room (#1276)
  • Improve notification accessibility with ticker text (#1226)
  • Support homeserver discovery from MXID (DISABLED: waiting for design) (#476)

Bugfix 🐛:

  • Fix | Verify Manually by Text crashes if private SSK not known (#1337)
  • Sometimes the same device appears twice in the list of devices of a user (#1329)
  • Random Crashes while doing sth with cross signing keys (#1364)
  • Crash | crash while restoring key backup (#1366)

SDK API changes ⚠️:

  • excludedUserIds parameter added to the UserService.getPagedUsersLive() function

Changes in RiotX 0.19.0 (2020-05-04)

Features :

  • Change password (#528)
  • Cross-Signing | Support SSSS secret sharing (#944)
  • Cross-Signing | Verify new session from existing session (#1134)
  • Cross-Signing | Bootstraping cross signing with 4S from mobile (#985)
  • Save media files to Gallery (#973)
  • Account deactivation (with password only) (#35)

Improvements 🙌:

  • Verification DM / Handle concurrent .start after .ready (#794)
  • Reimplementation of multiple attachment picker
  • Cross-Signing | Update Shield Logic for DM (#963)
  • Cross-Signing | Complete security new session design update (#1135)
  • Cross-Signing | Setup key backup as part of SSSS bootstrapping (#1201)
  • Cross-Signing | Gossip key backup recovery key (#1200)
  • Show room encryption status as a bubble tile (#1078)
  • UX/UI | Add indicator to home tab on invite (#957)
  • Cross-Signing | Restore history after recover from passphrase (#1214)
  • Cross-Sign | QR code scan confirmation screens design update (#1187)
  • Emoji Verification | It's not the same butterfly! (#1220)
  • Cross-Signing | Composer decoration: shields (#1077)
  • Cross-Signing | Migrate existing keybackup to cross signing with 4S from mobile (#1197)
  • Show a warning dialog if the text of the clicked link does not match the link target (#922)
  • Cross-Signing | Consider not using a spinner on the 'complete security' prompt (#1271)
  • Restart broken Olm sessions (MSC1719)
  • Cross-Signing | Hide Use recovery key when 4S is not setup (#1007)
  • Cross-Signing | Trust account xSigning keys by entering Recovery Key (select file or copy) #1199
  • E2E timeline decoration (#1279)
  • Manage Session Settings / Cross Signing update (#1295)
  • Cross-Signing | Review sessions toast update old vs new (#1293, #1306)

Bugfix 🐛:

  • Fix summary notification staying after "mark as read"
  • Missing avatar/displayname after verification request message (#841)
  • Crypto | RiotX sometimes rotate the current device keys (#1170)
  • RiotX can't restore cross signing keys saved by web in SSSS (#1174)
  • Cross- Signing | After signin in new session, verification paper trail in DM is off (#1191)
  • Failed to encrypt message in room (message stays in red), [thanks to pwr22] (#925)
  • Cross-Signing | web <-> riotX After QR code scan, gossiping fails (#1210)
  • Fix crash when trying to download file without internet connection (#1229)
  • Local echo are not updated in timeline (for failed & encrypted states)
  • Render image event even if thumbnail_info does not have mimetype defined (#1209)
  • RiotX now uses as many threads as it needs to do work and send messages (#1221)
  • Fix issue with media path (#1227)
  • Add user to direct chat by user id (#1065)
  • Use correct URL for SSO connection (#1178)
  • Emoji completion 🎉 does not completes to 🎉 like on web (#1285)
  • Fix bad Shield Logic for DM (#963)

Translations 🗣:

  • Weblate now create PR directly to RiotX GitHub project

SDK API changes ⚠️:

  • Increase targetSdkVersion to 29

Build 🧱:

  • Compile with Android SDK 29 (Android Q)

Other changes:

  • Add a setting to prevent screenshots of the application, disabled by default (#1027)
  • Increase File Logger capacities ( + use dev log preferences)

Changes in RiotX 0.18.1 (2020-03-17)

Improvements 🙌:

  • Implementation of /join command

Bugfix 🐛:

  • Message transitions in encrypted rooms are jarring #518
  • Images that failed to send are waiting to be sent forever #1145
  • Fix / Crashed when trying to send a gif from the Gboard #1136
  • Fix / Cannot click on key backup banner when new keys are available

Changes in RiotX 0.18.0 (2020-03-11)

Improvements 🙌:

  • Share image and other media from e2e rooms (#677)
  • Add support for /plain command (#12)
  • Detect spaces in password if user fail to login (#1038)
  • FTUE: do not display a different color when encrypting message when not in developer mode.
  • Open room member profile from avatar of the room member state event (#935)
  • Restore the push rules configuration in the settings

Bugfix 🐛:

  • Fix crash on attachment preview screen (#1088)
  • "Share" option is not appearing in encrypted rooms for images (#1031)
  • Set "image/jpeg" as MIME type of images instead of "image/jpg" (#1075)
  • Self verification via QR code is failing (#1130)

SDK API changes ⚠️:

  • PushRuleService.getPushRules() now returns a RuleSet. Use getAllRules() on this object to get all the rules.

Build 🧱:

Other changes:

  • Restore availability to Chromebooks (#932)
  • Add a documentation to run integration tests

Changes in RiotX 0.17.0 (2020-02-27)

Features :

  • Secured Shared Storage Support (#984, #936)
  • It's now possible to select several rooms (with a possible mix of clear/encrypted rooms) when sharing elements to RiotX (#1010)
  • Media preview: media are previewed before being sent to a room (#1010)
  • Image edition: it's now possible to edit image before sending: crop, rotate, and delete actions are supported (#1010)
  • Sending image: image are sent to rooms with a reduced size. It's still possible to send original image file (#1010)

Improvements 🙌:

  • Migrate to binary QR code verification (#994)
  • Share action is added to room profile and room member profile (#858)
  • Display avatar in fullscreen (#861)
  • Fix some performance issues with crypto

Bugfix 🐛:

  • Account creation: wrongly hints that an email can be used to create an account (#941)
  • Fix crash in the room directory, when public room has no name (#1023)
  • Fix restoring keys backup with passphrase (#526)
  • Fix rotation of full-size image (#647)
  • Fix joining rooms from directory via federation isn't working. (#808)
  • Leaving a room creates a stuck "leaving room" loading screen. (#1041)
  • Fix some invitation handling issues (#1013)
  • New direct chat: selecting a participant sometimes results in two breadcrumbs (#1022)
  • New direct chat: selecting several participants was not adding the room to the direct chats list
  • Room overview shows deleted messages as “Encrypted message” (#758)

SDK API changes ⚠️:

  • Get crypto methods through Session.cryptoService()
  • ProgressListener.onProgress() function will be invoked on the background thread instead of UI thread
  • Improve CreateRoomParams API (#1070)

Changes in RiotX 0.16.0 (2020-02-14)

Features :

Improvements 🙌:

  • Show confirmation dialog before deleting a message (#967, #1003)
  • Open room member profile from reactions list and read receipts list (#875)

Bugfix 🐛:

  • Fix crash by removing all notifications after clearing cache (#878)
  • Fix issue with verification when other client declares it can only show QR code (#988)
  • Fix too errors in the code (1941862499, a250a895fe)

SDK API changes ⚠️:

  • Javadoc improved for PushersService
  • PushersService.pushers() has been renamed to PushersService.getPushers()

Changes in RiotX 0.15.0 (2020-02-10)

Improvements 🙌:

  • Improve navigation to the timeline (#789, #862)
  • Improve network detection. It is now based on the sync request status (#873, #882)

Other changes:

  • Support SSO login with Firefox account (#606)

Bugfix 🐛:

  • Ask for permission before opening the camera (#934)
  • Encrypt for invited users by default, if the room state allows it (#803)

Changes in RiotX 0.14.3 (2020-02-03)

Bugfix 🐛:

  • Fix Exception in DeviceListManager

Changes in RiotX 0.14.2 (2020-02-02)

Bugfix 🐛:

  • Fix RiotX not starting issue

Changes in RiotX 0.14.1 (2020-02-02)

Bugfix 🐛:

  • Cross-signing: fix UX issue when closing the bottom sheet verification (#813)
  • Room and room member profile: fix issues on dark and black themes

Changes in RiotX 0.14.0 (2020-02-01)

Features :

  • First implementation of Cross-signing
  • Enable encryption in unencrypted rooms, from the room settings (#212)
  • Negotiate E2E by default for DMs (#907)

Improvements 🙌:

  • Sharing things to RiotX: sort list by recent room first (#771)
  • Hide the algorithm when turning on e2e (#897)
  • Sort room members by display names

Other changes:

  • Add support for /rainbow and /rainbowme commands (#879)

Build 🧱:

  • Ensure builds are reproducible (#842)
  • F-Droid: fix the "-dev" issue in version name (#815)

Changes in RiotX 0.13.0 (2020-01-17)

Features :

  • Send and render typing events (#564)
  • Create Room Profile screen (#54)
  • Create Room Member Profile screen (#59)

Improvements 🙌:

  • Render events m.room.encryption and m.room.guest_access in the timeline

Bugfix 🐛:

  • Fix broken background sync in F-Droid version
  • Fix issue with downloaded file on encrypted rooms. The file was not properly decrypted

Build 🧱:

  • Change the way versionCode is computed (#827)

Changes in RiotX 0.12.0 (2020-01-09)

Improvements 🙌:

  • The initial sync is now handled by a foreground service
  • Render aliases and canonical alias change in the timeline
  • Introduce developer mode in the settings (#745, #796)
  • Improve devices list screen
  • Add settings for rageshake sensibility
  • Fix autocompletion issues and add support for rooms, groups, and emoji (#780)
  • Show skip to bottom FAB while scrolling down (#752)
  • Enable encryption on a room, SDK part (#212)

Other changes:

  • Change the way RiotX identifies a session to allow the SDK to support several sessions with the same user (#800)
  • Exclude play-services-oss-licenses library from F-Droid build (#814)
  • Email domain can be limited on some homeservers, i18n of the displayed error (#754)

Bugfix 🐛:

  • Fix crash when opening room creation screen from the room filtering screen
  • Fix avatar image disappearing (#777)
  • Fix read marker banner when permalink
  • Fix joining upgraded rooms (#697)
  • Fix matrix.org room directory not being browsable (#807)
  • Hide non working settings (#751)

Changes in RiotX 0.11.0 (2019-12-19)

Features :

  • Implement soft logout (#281)

Improvements 🙌:

  • Handle navigation to room via room alias (#201)
  • Open matrix.to link in RiotX (#57)
  • Limit sticker size in the timeline

Other changes:

  • Use same default room colors than Riot-Web

Bugfix 🐛:

  • Scroll breadcrumbs to top when opened
  • Render default room name when it starts with an emoji (#477)
  • Do not display " (IRC)" in display names https://github.com/vector-im/riot-android/issues/444
  • Fix rendering issue with HTML formatted body
  • Disable click on Stickers (#703)

Build 🧱:

  • Include diff-match-patch sources as dependency

Changes in RiotX 0.10.0 (2019-12-10)

Features :

  • Breadcrumbs: switch from one room to another quickly (#571)

Improvements 🙌:

  • Support entering a RiotWeb client URL instead of the homeserver URL during connection (#744)

Other changes:

Bugfix 🐛:

  • When automardown is ON, pills are sent as MD in body (#739)
  • "ban" event are not rendered correctly (#716)
  • Fix crash when rotating screen in Room timeline

Changes in RiotX 0.9.1 (2019-12-05)

Bugfix 🐛:

  • Fix an issue with DB transaction (#740)

Changes in RiotX 0.9.0 (2019-12-05)

Features :

  • Account creation. It's now possible to create account on any homeserver with RiotX (#34)
  • Iteration of the login flow (#613)
  • [SDK] MSC2241 / verification in DMs (#707)

Improvements 🙌:

  • Send mention Pills from composer
  • Links in message preview in the bottom sheet are now active.
  • Rework the read marker to make it more usable

Other changes:

  • Fix a small grammatical error when an empty room list is shown.

Bugfix 🐛:

  • Do not show long click help if only invitation are displayed
  • Fix emoji filtering not working
  • Fix issue of closing Realm in another thread (#725)
  • Attempt to properly cancel the crypto module when user signs out (#724)

Changes in RiotX 0.8.0 (2019-11-19)

Features :

  • Handle long click on room in the room list (#395)
  • Ignore/UnIgnore users, and display list of ignored users (#542, #617)

Improvements 🙌:

  • Search reaction by name or keyword in emoji picker
  • Handle code tags (#567)
  • Support spoiler messages
  • Support m.sticker and m.room.join_rules events in timeline

Other changes:

  • Markdown set to off by default (#412)
  • Accessibility improvements to the attachment file type chooser

Bugfix 🐛:

  • Fix issues with some member events rendering (#498)
  • Passphrase does not match (Export room keys) (#644)
  • Ask for permission to write external storage when uri comes from the keyboard (#658)
  • Fix issue with english US/GB translation (#671)

Changes in RiotX 0.7.0 (2019-10-24)

Features:

  • Share elements from other app to RiotX (#58)
  • Read marker (#84)
  • Add ability to report content (#515)

Improvements:

  • Persist active tab between sessions (#503)
  • Do not upload file too big for the homeserver (#587)
  • Attachments: start using system pickers (#52)
  • Mark all messages as read (#396)

Other changes:

  • Accessibility improvements to read receipts in the room timeline and reactions emoji chooser

Bugfix:

  • Fix issue on upload error in loop (#587)
  • Fix opening a permalink: the targeted event is displayed twice (#556)
  • Fix opening a permalink paginates all the history up to the last event (#282)
  • after login, the icon in the top left is a green 'A' for (all communities) rather than my avatar (#267)
  • Picture uploads are unreliable, pictures are shown in wrong aspect ratio on desktop client (#517)
  • Invitation notifications are not dismissed automatically if room is joined from another client (#347)
  • Opening links from RiotX reuses browser tab (#599)

Changes in RiotX 0.6.1 (2019-09-24)

Bugfix:

  • Fix crash: MergedHeaderItem was missing dimensionConverter

Changes in RiotX 0.6.0 (2019-09-24)

Features:

  • Save draft of a message when exiting a room with non empty composer (#329)

Improvements:

  • Add unread indent on room list (#485)
  • Message Editing: Update notifications (#128)
  • Remove any notification of a redacted event (#563)

Other changes:

  • Fix a few accessibility issues

Bugfix:

  • Fix characters erased from the Search field when the result are coming (#545)
  • "No connection" banner was displayed by mistake
  • Leaving community (from another client) has no effect on RiotX (#497)
  • Push rules was not retrieved after a clear cache
  • m.notice messages trigger push notifications (#238)
  • Embiggen messages with multiple emojis also for edited messages (#458)

Build:

  • Fix (again) issue with bad versionCode generated by Buildkite (#553)

Changes in RiotX 0.5.0 (2019-09-17)

Features:

  • Implementation of login to homeserver with SSO (#557)
  • Handle M_CONSENT_NOT_GIVEN error (#64)
  • Auto configure homeserver and identity server URLs of LoginActivity with a magic link

Improvements:

  • Reduce default release build log level, and lab option to enable more logs.
  • Display a no network indicator when there is no network (#559)

Bugfix:

  • Fix crash due to missing informationData (#535)
  • Progress in initial sync dialog is decreasing for a step and should not (#532)
  • Fix rendering issue of accepted third party invitation event
  • All current notifications were dismissed by mistake when the app is launched from the launcher

Build:

  • Fix issue with version name (#533)
  • Fix issue with bad versionCode generated by Buildkite (#553)

Changes in RiotX 0.4.0 (2019-08-30)

Features:

  • Display read receipts in timeline (#81)

Improvements:

  • Reactions: Reinstate the ability to react with non-unicode keys (#307)

Bugfix:

  • Fix text diff linebreak display (#441)
  • Date change message repeats for each redaction until a normal message (#358)
  • Slide-in reply icon is distorted (#423)
  • Regression / e2e replies not encrypted
  • Some video won't play
  • Privacy: remove log of notifiable event (#519)
  • Fix crash with EmojiCompat (#530)

Changes in RiotX 0.3.0 (2019-08-08)

Features:

  • Create Direct Room flow
  • Handle /markdown command

Improvements:

  • UI for pending edits (#193)
  • UX image preview screen transition (#393)
  • Basic support for resending failed messages (retry/remove)
  • Enable proper cancellation of suspending functions (including db transaction)
  • Enhances network connectivity checks in SDK
  • Add "View Edit History" item in the message bottom sheet (#401)
  • Cancel sync request on pause and timeout to 0 after pause (#404)

Other changes:

  • Show sync progress also in room detail screen (#403)

Bugfix:

  • Edited message: link confusion when (edited) appears in body (#398)
  • Close detail room screen when the room is left with another client (#256)
  • Clear notification for a room left on another client
  • Fix messages with empty in_reply_to not rendering (#447)
  • Fix clear cache (#408) and Logout (#205)
  • Fix (edited) link can be copied to clipboard (#402)
  • KeyBackup / SSSS | Should get the key from SSSS instead of asking recovery Key (#1163)

Build:

  • Split APK: generate one APK per arch, to reduce APK size of about 30%

Changes in RiotX 0.2.0 (2019-07-18)

Features:

  • Message Editing: View edit history (#121)
  • Rooms filtering (#304)
  • Edit in encrypted room

Improvements:

  • Handle click on redacted events: view source and create permalink
  • Improve long tap menu: reply on top, more compact (#368)
  • Quick reply in timeline with swipe gesture (#167)
  • Improve edit of replies
  • Improve performance on Room Members and Users management (#381)

Other changes:

  • migrate from rxbinding 2 to rxbinding 3

Bugfix:

  • Fix regression on permalink click
  • Fix crash reported by the PlayStore (#341)
  • Fix Chat composer separator color in dark/black theme
  • Fix bad layout for room directory filter (#349)
  • Fix Copying link from a message shouldn't open context menu (#364)

Changes in RiotX 0.1.0 (2019-07-11)

First release!

Mode details here: https://medium.com/@RiotChat/introducing-the-riotx-beta-for-android-b17952e8f771

=======================================================

  •    TEMPLATE WHEN PREPARING A NEW RELEASE        +
    

=======================================================

Changes in RiotX 0.X.0 (2020-XX-XX)

Features :

Improvements 🙌:

Bugfix 🐛:

Translations 🗣:

SDK API changes ⚠️:

Build 🧱:

Other changes: