diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 0140524ea..c45428232 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -3,6 +3,6 @@ * [ ] I read the [contributing guide](https://github.com/vector-im/element-ios/blob/develop/CONTRIBUTING.md) * [ ] UI change has been tested on both light and dark themes, in portrait and landscape orientations and on iPhone and iPad simulators * [ ] Pull request is based on the develop branch -* [ ] Pull request updates [CHANGES.rst](https://github.com/vector-im/riot-ios/blob/develop/CHANGES.rst) +* [ ] Pull request contains a [changelog file](https://github.com/matrix-org/matrix-ios-sdk/blob/develop/CONTRIBUTING.md#changelog) in ./changelog.d * [ ] Pull request includes screenshots or videos of UI changes -* [ ] Pull request includes a [sign off](https://github.com/matrix-org/synapse/blob/master/CONTRIBUTING.md#sign-off) +* [ ] Pull request includes a [sign off](https://github.com/matrix-org/matrix-ios-sdk/blob/develop/CONTRIBUTING.md#sign-off) diff --git a/.github/workflows/release-alpha.yml b/.github/workflows/release-alpha.yml new file mode 100644 index 000000000..af74f4827 --- /dev/null +++ b/.github/workflows/release-alpha.yml @@ -0,0 +1,88 @@ +name: Build alpha release + +on: + + # Triggers the workflow on any pull request + pull_request: + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +env: + # Make the git branch for a PR available to our Fastfile + MX_GIT_BRANCH: ${{ github.event.pull_request.head.ref }} + +jobs: + build: + name: Release + runs-on: macos-latest + + steps: + - uses: actions/checkout@v2 + + # Common cache + # Note: GH actions do not support yaml anchor yet. We need to duplicate this for every job + - name: Cache CocoaPods libraries + uses: actions/cache@v2 + with: + path: Pods + key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} + restore-keys: | + ${{ runner.os }}-pods- + + - name: Cache Ruby gems + uses: actions/cache@v2 + with: + path: vendor/bundle + key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} + restore-keys: | + ${{ runner.os }}-gems- + + # Make sure we use the latest version of MatrixKit + - name: Reset MatrixKit pod + run: rm -rf Pods/MatrixKit + + # Common setup + # Note: GH actions do not support yaml anchor yet. We need to duplicate this for every job + - name: Bundle install + run: | + bundle config path vendor/bundle + bundle install --jobs 4 --retry 3 + + - name: Use right MatrixKit and MatrixSDK versions + run: bundle exec fastlane point_dependencies_to_related_branches + + # Import alpha release private signing certificate + - name: Import signing certificate + uses: apple-actions/import-codesign-certs@v1 + with: + p12-file-base64: ${{ secrets.ALPHA_CERTIFICATES_P12 }} + p12-password: ${{ secrets.ALPHA_CERTIFICATES_P12_PASSWORD }} + + # Main step + # The Ad-hoc release link will be referenced as 'DIAWI_FILE_LINK' + # and QR link as 'DIAWI_QR_CODE_LINK' when the Diawi upload succeed + - name: Build Ad-hoc release and send it to Diawi + run: bundle exec fastlane alpha + env: + # Automaticaly bypass 2FA upgrade if possible on Apple account. + SPACESHIP_SKIP_2FA_UPGRADE: true + APPLE_ID: ${{ secrets.FASTLANE_USER }} + FASTLANE_USER: ${{ secrets.FASTLANE_USER }} + FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }} + DIAWI_API_TOKEN: ${{ secrets.DIAWI_API_TOKEN }} + + - name: Add or update PR comment with Ad-hoc release informations + uses: NejcZdovc/comment-pr@v1 + with: + message: | + :iphone: Scan the QR code below to install the build for this PR. + :lock: This build is for internal testing purpose. Only devices listed in the ad-hoc provisioning profile can install Element Alpha. + + ![QR code](${{ env.DIAWI_QR_CODE_LINK }}) + + If you can't scan the QR code you can install the build via this link: ${{ env.DIAWI_FILE_LINK }} + # Enables to identify and update existing Ad-hoc release message on new commit in the PR + identifier: "GITHUB_COMMENT_ADHOC_RELEASE" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGES.rst b/CHANGES.md similarity index 85% rename from CHANGES.rst rename to CHANGES.md index 6efffb50b..1433d58ab 100644 --- a/CHANGES.rst +++ b/CHANGES.md @@ -1,71 +1,108 @@ -Changes to be released in next version -================================================= +## Changes in 1.5.1 (2021-08-12) + +🐛 Bugfixes + +- People Tab: Fix crash when showing an invite. ([#4698](https://github.com/vector-im/element-ios/issues/4698)) + + +## Changes in 1.5.0 (2021-08-11) ✨ Features - * + +- Voice messages: Remove labs setting and enable them by default. ([#4671](https://github.com/vector-im/element-ios/issues/4671)) 🙌 Improvements - * Room: Added support for Voice Messages (#4090, #4091, #4092, #4094, #4095, #4096) - * Remove the directory section from the Rooms tab. - * Notifications: Show decrypted content is enabled by default (#4519). + +- Upgrade MatrixKit version ([v0.15.7](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.15.7)). +- Settings: The notifications toggle no longer detects the system's "Deliver Quietly" configuration as disabled. ([#2368](https://github.com/vector-im/element-ios/issues/2368)) +- SSO: Stable ids for MSC 2858. ([#4362](https://github.com/vector-im/element-ios/issues/4362)) +- Room: Remove the green border from direct message room avatars. ([#4520](https://github.com/vector-im/element-ios/issues/4520)) +- Settings: Adds a link to open the Settings app to quickly configure app notifications. ([#4575](https://github.com/vector-im/element-ios/issues/4575)) +- Add support for Functional Members. ([#4609](https://github.com/vector-im/element-ios/issues/4609)) +- VoIP: Additional changes on call tiles. ([#4642](https://github.com/vector-im/element-ios/issues/4642)) +- Voice messages: Allow voice message playback control from the iOS lock screen and control center. ([#4655](https://github.com/vector-im/element-ios/issues/4655)) +- Voice messages: Stop recording and go into locked mode when the application becomes inactive. ([#4656](https://github.com/vector-im/element-ios/issues/4656)) +- Voice messages: Improve audio recording quality. ([#4671](https://github.com/vector-im/element-ios/issues/4671)) + +🐛 Bugfixes + +- fix typo in email settings ([#4480](https://github.com/vector-im/element-ios/issues/4480)) + +🧱 Build + +- CHANGES.md: Use towncrier to manage the change log. More info in [CONTRIBUTING](CONTRIBUTING.md#changelog). ([#4689](https://github.com/vector-im/element-ios/pull/4689), [#4393](https://github.com/vector-im/element-ios/issues/4393)) +- Add a script to initialize quickly and easily the project. ([#4596](https://github.com/vector-im/element-ios/issues/4596)) + +📄 Documentation + +- Convert CHANGES to MarkDown. ([#4393](https://github.com/vector-im/element-ios/issues/4393)) +- Add reference to AppIdentifiers.xcconfig in INSTALL.md. ([#4674](https://github.com/vector-im/element-ios/issues/4674)) + +Others + +- Contacts: Fix implicitly retained self warnings. ([#4677](https://github.com/vector-im/element-ios/issues/4677)) + + +## Changes in 1.4.9 (2021-08-03) + +🙌 Improvements + + * Voice Messages: Increased recording state microphone icon size + * Voice Messages: Using "Voice message - MM.dd.yyyy HH.mm.ss" as the format for recorded audio files 🐛 Bugfix + + * Voice Messages: Fixed race conditions when sending voice messages (#4641) + +## Changes in 1.4.8 (2021-07-29) + +🙌 Improvements + + * Room: Added support for Voice Messages (#4090, #4091, #4092, #4094, #4095, #4096) + * Rooms Tab: Remove the directory section (#4521). + * Notifications: Show decrypted content is enabled by default (#4519). + * People Tab: Remove the local contacts section (#4523). + * Contacts: Delay access to local contacts until they're needed for display (#4616). + * RecentsDataSource: Factorize section reset in one place (target #4591). + * Voice Messages: Tap/hold to send voice messages isn't intuitive (#4601). + * Voice Messages: copy could be improved (#4604). + * Slide to lock should be more generous (#4602). + +🐛 Bugfix + * Room: Fixed mentioning users from room info member details (#4583) * Settings: Disabled autocorrection when entering an identity server (#4593). * Room Notification Settings: Fix Crash when opening the new Room Notification Settings Screen (Not yet released) (#4599). * AuthenticationViewController: Fix crash on authentication if an intermediate view was presented (#4606). - -⚠️ API Changes - * - -🗣 Translations - * - -🧱 Build - * + * Room: Fixed crash when opening a read-only room (#4620). + * Voice Messages: Tapping on waveform in composer glitches UI (#4603). Others + * Separated CI jobs into individual actions * Update Gemfile.lock -Changes in 1.4.7 (2021-07-22) -================================================= +Improvements: + * Upgrade MatrixKit version ([v0.15.6](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.15.6)). -✨ Features - * - -🙌 Improvements - * - -🐛 Bugfix - * - -⚠️ API Changes - * - -🗣 Translations - * +## Changes in 1.4.7 (2021-07-22) -🧱 Build - * - Others + * Updated issue templates. Improvements: * Upgrade MatrixKit version ([v0.15.5](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.15.5)). -Changes in 1.4.6 (2021-07-16) -================================================= - -✨ Features - * +## Changes in 1.4.6 (2021-07-16) 🙌 Improvements + * Room Notification Settings: Ability to change between "All Messages", "Mentions and Keywords" and "None". Not yet exposed in Element UI. (#4458). * Add support for sending slow motion videos (#4483). 🐛 Bugfix + * VoIP: Do not present ended calls. * More fixes to Main.storyboard layout on iPhone 12 Pro Max (#4527) * Fix crash on Apple Silicon Macs. @@ -77,109 +114,59 @@ Changes in 1.4.6 (2021-07-16) * Share Extension: Fix layout when searching (#4258). * Timeline: Fix incorrect crop of media thumbnails (#4552). -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - Others + * Silenced some documentation, deprecations and SwiftLint warnings. Improvements: * Upgrade MatrixKit version ([v0.15.4](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.15.4)). -Changes in 1.4.5 (2021-07-07) -================================================= - -✨ Features - * - -🙌 Improvements - * +## Changes in 1.4.5 (2021-07-07) 🐛 Bugfix + * Notifications: Fix an issue where the app is unresponsive after getting some notifications (#4534). -⚠️ API Changes - * - -🗣 Translations - * - -🧱 Build - * - -Others - * - -Changes in 1.4.4 (2021-06-30) -================================================= - -✨ Features - * +## Changes in 1.4.4 (2021-06-30) 🙌 Improvements + * DesignKit: Add Fonts (#4356). * VoIP: Implement audio output router menu in call screen. 🐛 Bugfix + * SSO: Handle login callback URL with HTML entities (#4129). * Share extension: Fix theme in dark mode (#4486). * Theme: Fix authentication activity indicator colour when using a dark theme (#4485). -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.15.3](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.15.3)). -Changes in 1.4.3 (2021-06-24) -================================================= - -✨ Features - * +## Changes in 1.4.3 (2021-06-24) 🙌 Improvements + * Room lists: Hide invited rooms if auto-accept option enabled. 🐛 Bugfix + * Fixed retain cycle between the RoomTitleView and RoomViewController -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.15.2](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.15.2)). -Changes in 1.4.2 (2021-06-21) -================================================= +## Changes in 1.4.2 (2021-06-21) ✨ Features + * Add left panel (#4398). 🙌 Improvements + * MXRoomSummary: Adapt room summary changes on MatrixSDK (#4360). * EncryptionKeyManager: Create keys for room last message data type. * Integrated FLEX for debug builds. @@ -192,6 +179,7 @@ Changes in 1.4.2 (2021-06-21) * Room lists: Avoid app freezes by building them on a separated thread (#3777). 🐛 Bugfix + * StartChatViewController: Add more helpful message when trying to start DM with a user that does not exist (#224). * RoomDirectCallStatusBubbleCell: Fix crash when entering a DM after a call is hung-up/rejected while being answered (#4403). * ContactsDataSource: iPad Crashes when you select a contact in search and then collapse a section or clear the query text (#4414). @@ -202,53 +190,29 @@ Changes in 1.4.2 (2021-06-21) * NSE: Recreate background sync service if credentials changed (#3695). * HomeViewController: Don't clip the home view when searching for rooms on iPhone 12 Pro Max (#4450). -⚠️ API Changes - * - -🗣 Translations - * 🧱 Build + * GH Actions: Make sure we use the latest version of MatrixKit. Others + * Improvements: * Upgrade MatrixKit version ([v0.15.1](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.15.1)). - Changes in 1.4.1 (2021-06-08) -================================================= - -✨ Features - * - -🙌 Improvements - * + ## Changes in 1.4.1 (2021-06-08) 🐛 Bugfix + * SettingsViewController: Fix crash when changing the app language (#4377). * UserSessionsService: Fix room lists lost after a reset cache (#4395). -⚠️ API Changes - * - -🗣 Translations - * - -🧱 Build - * - -Others - * - -Changes in 1.4.0 (2021-06-03) -================================================= - -✨ Features - * +## Changes in 1.4.0 (2021-06-03) 🙌 Improvements + * Crypto: Do not decrypt synchronously. It asynchronously happens upstream now (#4306). * Navigation: Start decoupling view controllers managed by MasterTabBarController (#3596 and #3618). * Jitsi: Include optional server name field on JitsiJWTPayloadContextMatrix. @@ -256,115 +220,52 @@ Changes in 1.4.0 (2021-06-03) * Logging: Adopted MXLog throughout the application (vector-im/element-ios/issues/4351). 🐛 Bugfix + * buildRelease.sh: Make bundler operations in the cloned repository folder. * VoIP: Fix call bar layout issue for landscape. -⚠️ API Changes - * - 🗣 Translations + * Fix missing translation files for Icelandic. * Enable Esperanto, Portuguese (Brazil), Kabyle, Norwegian Bokmål (nb), Swedish, Japanese and Welsh. -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.15.0](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.15.0)). -Changes in 1.3.9 (2021-05-18) -================================================= - -✨ Features - * - -🙌 Improvements - * +## Changes in 1.3.9 (2021-05-18) 🐛 Bugfix + * RecentsDataSource: Present the secure backup banner only if key backup is disabled. -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - -Improvements: - - -Changes in 1.3.8 (2021-05-17) -================================================= - -✨ Features - * - -🙌 Improvements - * +## Changes in 1.3.8 (2021-05-17) 🐛 Bugfix + * RecentsDataSource: Do not display secure backup banner when keys upload is in process. -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - -Improvements: - - -Changes in 1.3.7 (2021-05-12) -================================================= - -✨ Features - * +## Changes in 1.3.7 (2021-05-12) 🙌 Improvements + * NSE: Add logs for notification delay. * Templates: Update bridge presenter template to auto-implement iOS 13 pull-down gesture. 🐛 Bugfix + * NSE: Fixes to avoid PushKit crashes (#4269). * Handle pull-down gesture for reactions history view (#4293). -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.14.12](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.14.12)). -Changes in 1.3.6 (2021-05-07) -================================================= - -✨ Features - * +## Changes in 1.3.6 (2021-05-07) 🙌 Improvements + * Jitsi: Use Jitsi server from homeserver's Well Known, if present, to create conferences (#3158). * RoomMemberDetailsVC: Enable / disable "Hide all messages from this user" from settings (#4281). * RoomVC: Show / Hide More and Report Content contextual menu from settings (#4285). @@ -379,34 +280,25 @@ Changes in 1.3.6 (2021-05-07) * Advertise that spaces are not available when tapping on a space link or a space invite (#4279). 🐛 Bugfix + * RoomVC: Avoid navigation to integration management using integration popup with settings set to integration disabled (#4261). * RiotSettings: Logging out resets RiotSettings (#4259). * RoomVC: Crash in `setScrollToBottomHidden` method (#4270). * Notifications: Make them work in debug mode (#4274). * VoIP: Fix call bar layout issue (#4300). -⚠️ API Changes - * - -🗣 Translations - * 🧱 Build - * GH Actions: Make jobs use the right version of MatrixKit and MatrixSDK. -Others - * + * GH Actions: Make jobs use the right version of MatrixKit and MatrixSDK. Improvements: * Upgrade MatrixKit version ([v0.14.11](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.14.11)). -Changes in 1.3.5 (2021-04-22) -================================================= - -✨ Features - * +## Changes in 1.3.5 (2021-04-22) 🙌 Improvements + * Add `gitter.im` to list of default room directories * MasterTabBarController: Show/Hide Home Screen tabs (#4234). * RoomVC: Enable / Disable VoIP feature in Rooms (#4236). @@ -417,143 +309,59 @@ Changes in 1.3.5 (2021-04-22) * RoomVC: Show / Hide integrations and actions (#4245). 🐛 Bugfix + * PublicRoomsDirectoryDataSource: Fix search when NSFW filter is off. * RoomVC: Fix navigation issue when a room left. * RoomVC: Fix a crash when scroll to bottom tapped on a left room. -⚠️ API Changes - * - -🗣 Translations - * 🧱 Build - * GH Actions: Start using them for CI to check simulator build and tests. -Others - * + * GH Actions: Start using them for CI to check simulator build and tests. Improvements: * Upgrade MatrixKit version ([v0.14.10](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.14.10)). -Changes in 1.3.4 (2021-04-19) -================================================= - -✨ Features - * - -🙌 Improvements - * +## Changes in 1.3.4 (2021-04-19) 🐛 Bugfix + * RoomVC: Crash in refreshTypingNotification (#4230). -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * +## Changes in 1.3.3 (2021-04-16) -Others - * - -Improvements: - - -Changes in 1.3.3 (2021-04-16) -================================================= - -✨ Features - * - -🙌 Improvements - * - -🐛 Bugfix - * - -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.14.9](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.14.9)). -Changes in 1.3.2 (2021-04-16) -================================================= - -✨ Features - * - -🙌 Improvements - * +## Changes in 1.3.2 (2021-04-16) 🐛 Bugfix + * Self-verification: Fix compatibility with Element-Web (#4217). * Notifications: Fix sender display name that can miss (#4222). -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.14.9](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.14.9)). -Changes in 1.3.1 (2021-04-14) -================================================= +## Changes in 1.3.1 (2021-04-14) -✨ Features - * - -🙌 Improvements - * - -🐛 Bugfix - * - -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.14.8](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.14.8)). -Changes in 1.3.0 (2021-04-09) -================================================= +## Changes in 1.3.0 (2021-04-09) ✨ Features + * Composer Update - Typing and sending a message (#4085) * Switching composer between text mode & action mode (#4087) * Explore typing notifications inspired by web (#4134) 🙌 Improvements + * Make the application settings more configurable (#4171) * Possibility to lock some room creation parameters from settings (#4181) * Enable / disable external friends invite (#4173) @@ -563,6 +371,7 @@ Changes in 1.3.0 (2021-04-09) * Consider displaying names in typing notifications (#4175) 🐛 Bugfix + * If you start typing while the new attachment sending mode is on, the send button appears (#4155) * The final frames of the appearance animation of the new composer buttons are missing (#4160) * Crash in [RoomViewController setupActions] (#4162) @@ -571,284 +380,127 @@ Changes in 1.3.0 (2021-04-09) * Vertical layout of typing notifs can go wonky (#4159) * Crash in [RoomViewController refreshTypingNotification] (#4161) -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.14.7](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.14.7)). -Changes in 1.2.8 (2021-03-26) -================================================= - -✨ Features - * - -🙌 Improvements - * +## Changes in 1.2.8 (2021-03-26) 🐛 Bugfix + * Xcodegen: Unit tests are broken (#4152). -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - -Improvements: - - -Changes in 1.2.7 (2021-03-24) -================================================= - -✨ Features - * +## Changes in 1.2.7 (2021-03-24) 🙌 Improvements + * Pods: Update FlowCommoniOS, GBDeviceInfo, KeychainAccess, MatomoTracker, SwiftJWT, SwiftLint (#4120). * Room lists: Remove shields on room avatars (#4115). 🐛 Bugfix + * RoomVC: Fix timeline blink on sending. * RoomVC: Fix not visible last bubble issue. * Room directory: Fix crash (#4137). -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.14.6](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.14.6)). -Changes in 1.2.6 (2021-03-11) -================================================= +## Changes in 1.2.6 (2021-03-11) ✨ Features + * Improve the status of send messages (sending, sent, received, failed) (#4014) * Retrying & deleting failed messages (#4013) * Composer Update - Typing and sending a message (#4085) -🙌 Improvements - * - -🐛 Bugfix - * - -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.14.5](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.14.5)). -Changes in 1.2.5 (2021-03-03) -================================================= - -✨ Features - * +## Changes in 1.2.5 (2021-03-03) 🙌 Improvements + * Settings: Add option to show NSFW public rooms (off by default). 🐛 Bugfix + * Emoji store: Include short name when searching emojis (#4063). -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.14.4](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.14.4)). -Changes in 1.2.4 (2021-03-01) -================================================= - -✨ Features - * - -🙌 Improvements - * +## Changes in 1.2.4 (2021-03-01) 🐛 Bugfix + * Social login: Fix a crash when selecting a social login provider. -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * +## Changes in 1.2.3 (2021-02-26) -Others - * - -Improvements: - - -Changes in 1.2.3 (2021-02-26) -================================================= - -✨ Features - * - -🙌 Improvements - * - -🐛 Bugfix - * - -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.14.3](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.14.3)). -Changes in 1.2.2 (2021-02-24) -================================================= +## Changes in 1.2.2 (2021-02-24) ✨ Features + * Enable encryption for accounts, contacts and keys in the crypto database (#3867). 🙌 Improvements + * Home: Show room directory on join room action (#3775). * RoomVC: Add quick actions in timeline on room creation (#3776). -🐛 Bugfix - * - -⚠️ API Changes - * - -🗣 Translations - * 🧱 Build + * XcodeGen: .xcodeproj files are now built from readable yml file: [New Build instructions](README.md#build-instructions) (#3812). * Podfile: Use MatrixKit for all targets and remove MatrixKit/AppExtension. * Fastlane: Use the "New Build System" to build releases. * Fastlane: Re-enable parallelised builds. -Others - * - Improvements: * Upgrade MatrixKit version ([v0.14.2](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.14.2)). -Changes in 1.2.1 (2021-02-12) -================================================= - -✨ Features - * +## Changes in 1.2.1 (2021-02-12) 🙌 Improvements + * User-Interactive Authentication: Add UIA support for device deletion and add user 3PID action (#4016). 🐛 Bugfix + * NSE: Wait for VoIP push request if any before calling contentHandler (#4018). * VoIP: Show dial pad option only if PSTN is supported (#4029). -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.14.1](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.14.1)). -Changes in 1.2.0 (2021-02-11) -================================================= - -✨ Features - * +## Changes in 1.2.0 (2021-02-11) 🙌 Improvements + * Cross-signing: Setup cross-signing without authentication parameters when a grace period is enabled after login (#4006). * VoIP: Implement DTMF on call screen (#3929). * VoIP: Implement call transfer screen (#3962). * VoIP: Implement call tiles on timeline (#3955). -🐛 Bugfix - * - -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.14.0](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.14.0)). -Changes in 1.1.7 (2021-02-03) -================================================= - -✨ Features - * +## Changes in 1.1.7 (2021-02-03) 🙌 Improvements + * Social login: Handle new identity provider brand field in order to customize buttons (#3980). * Widgets: Support $matrix_room_id and $matrix_widget_id parameters (#3987). * matrix.to: Support room preview when the permalink has parameters (like "via="). @@ -856,207 +508,112 @@ Changes in 1.1.7 (2021-02-03) * Handle User-Interactive Authentication fallback (#3995). 🐛 Bugfix + * Push: Fix PushKit crashes due to undecryptable call invites (#3986). * matrix.to: Cannot open links with query parameters (#3990). * matrix.to: Cannot open/preview a new room given by alias (#3991). * matrix.to: The app does not open a permalink from matrix.to (#3993). * Logs: Add a size limitation so that we can upload them in bug reports (#3903). -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.13.9](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.13.9)). -Changes in 1.1.6 (2021-01-27) -================================================= - -✨ Features - * - -🙌 Improvements - * +## Changes in 1.1.6 (2021-01-27) 🐛 Bugfix + * Navigation: Unable to open a room from a room list (#3863). * AuthVC: Fix social login layout issue. -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.13.8](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.13.8)). -Changes in 1.1.5 (2021-01-18) -================================================= +## Changes in 1.1.5 (2021-01-18) -✨ Features - * - -🙌 Improvements - * - -🐛 Bugfix - * - -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.13.7](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.13.7)). -Changes in 1.1.4 (2021-01-15) -================================================= +## Changes in 1.1.4 (2021-01-15) ✨ Features + * Change Pin inside the app (#3881) * AuthVC: Add social login (#3846). * Invite friends: Add the ability to invite friends outside of Element in a few places (#3840). 🙌 Improvements + * Bug report: Add "Continue in background" button (#3816). * Show user id in the room invite preview screen (#3839) * AuthVC: SSO authentication now use redirect URL instead of fallback page (#3846). 🐛 Bugfix + * Crash report cannot be submitted (on small phones) (#3819) * Prevent navigation controller from pushing same view controller (#3924) * AuthVC: Fix recaptcha view cropping (#3940). -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.13.6](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.13.6)). -Changes in 1.1.3 (2020-12-18) -================================================= - -✨ Features - * +## Changes in 1.1.3 (2020-12-18) 🙌 Improvements + * AuthVC: Update SSO button wording. * Log NSE memory footprint for debugging purposes. 🐛 Bugfix + * Refresh account details on NSE runs (#3719). -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.13.3](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.13.3)). * Upgrade MatrixKit version ([v0.13.4](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.13.4)). -Changes in 1.1.2 (2020-12-02) -================================================= +## Changes in 1.1.2 (2020-12-02) ✨ Features + * Added blur background support for iPhone and iPad (#3842) 🙌 Improvements + * Room History: Remove the report option for outgoing messages. * Empty views: Add empty screen when there is nothing to display on home, people, favourites and rooms screen (#3836). * BuildSettings.messageDetailsAllowShare now hide /show action button in document preview (#3864). 🐛 Bugfix + * Restore the modular widget events in the rooms histories. ⚠️ API Changes + * Slight API changes for SlidingModalPresenter to avoid race conditions while sharing a presenter. (#3842) -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.13.2](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.13.2)). -Changes in 1.1.1 (2020-11-24) -================================================= - -✨ Features - * +## Changes in 1.1.1 (2020-11-24) 🙌 Improvements + * Home: Add empty screen when there is nothing to display (#3823). -🐛 Bugfix - * - -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.13.1](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.13.1)). -Changes in 1.1.0 (2020-11-17) -================================================= - -✨ Features - * +## Changes in 1.1.0 (2020-11-17) 🙌 Improvements + * Upgrade to Xcode 12 (#3712). * Xcode 12: Make Xcode 12 and fastlane(xcodebuild) happy while some pods are not updated. * Update Gemfile.lock. @@ -1067,33 +624,24 @@ Changes in 1.1.0 (2020-11-17) * Room invites: Allow to accept a room invite without preview. 🐛 Bugfix + * Fix analytics in order to track performance improvements. * Fix long placeholder cropping in room input toolbar. Prevent long placeholder to be displayed on small devices (#3790). ⚠️ API Changes + * Xcode 12 is now mandatory to build the project. * CocoaPods 1.10.0 is mandatory. * Remove MXDecryptionFailureDelegate in flavor of agnostic MXAnalyticsDelegate. -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.13.0](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.13.0)). -Changes in 1.0.18 (2020-10-27) -================================================= - -✨ Features - * +## Changes in 1.0.18 (2020-10-27) 🙌 Improvements + * Secure backup: Add possibility to not expose recovery key when creating a secure backup. * BuildSettings: Centralise RoomInputToolbar compression mode setting. * Update GBDeviceInfo to 6.4.0 (#3570). @@ -1105,86 +653,39 @@ Changes in 1.0.18 (2020-10-27) * NSE: Utilize MXBackgroundService on pushes, to make messages available when the app is foregrounded (#3579). 🐛 Bugfix + * Fix typos in UI -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.12.26](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.12.26)). -Changes in 1.0.17 (2020-10-14) -================================================= - -✨ Features - * +## Changes in 1.0.17 (2020-10-14) 🙌 Improvements + * Device verification: Do not check for existing key backup after SSSS & Cross-Signing reset. * Cross-signing: Detect when cross-signing keys have been changed. * Make copying & pasting media configurable. -🐛 Bugfix - * - -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.12.25](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.12.25)). -Changes in 1.0.16 (2020-10-13) -================================================= - -✨ Features - * +## Changes in 1.0.16 (2020-10-13) 🙌 Improvements + * Self-verification: Update complete security screen wording (#3743). -🐛 Bugfix - * - -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.12.24](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.12.24)). -Changes in 1.0.15 (2020-10-09) -================================================= - -✨ Features - * +## Changes in 1.0.15 (2020-10-09) 🙌 Improvements + * Room: Make topic links tappable (#3713). * Room: Add more to long room topics (#3715). * Security screens: Update automatically shields when the trust changes. @@ -1192,34 +693,22 @@ Changes in 1.0.15 (2020-10-09) * Pasteboard: Use MXKPasteboardManager.pasteboard on copy operations (#3732). 🐛 Bugfix + * Push: Check crypto has keys to decrypt an event before decryption attempt, avoid sync loops on failure. -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.12.23](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.12.23)). -Changes in 1.0.14 (2020-10-02) -================================================= - -✨ Features - * +## Changes in 1.0.14 (2020-10-02) 🙌 Improvements + * i18n: Add Estonian (et). * MXSession: Make vc_canSetupSecureBackup reusable. 🐛 Bugfix + * Settings: New phone number is invisible in dark theme (#3218). * Handle call actions on other devices on VoIP pushes (#3677). * Fix "Unable to open the link" error when using non-Safari browsers (#3673). @@ -1228,28 +717,14 @@ Changes in 1.0.14 (2020-10-02) * PIN: Fix layout on small screens. * PIN: Fix code bypass on fast switching. -⚠️ API Changes - * - -🗣 Translations - * -🧱 Build - * - -Others - * - Improvements: * Upgrade MatrixKit version ([v0.12.22](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.12.22)). -Changes in 1.0.13 (2020-09-30) -================================================= - -✨ Features - * +## Changes in 1.0.13 (2020-09-30) 🙌 Improvements + * Room: Differentiate wordings for DMs. * Room: New Room Settings screen. * PIN code: Implement not allowed PINs feature. There is no restriction by default. @@ -1261,6 +736,7 @@ Changes in 1.0.13 (2020-09-30) * Architecture: Create AppDelegate.handleAppState() as central point to handle application state. 🐛 Bugfix + * Timeline: Hide encrypted history (pre-invite) (#3660). * PIN Code: Do not show verification dialog at the top of PIN code. * Complete Security: Let the authentication flow display it if this flow is not complete yet. @@ -1269,107 +745,62 @@ Changes in 1.0.13 (2020-09-30) * Various theme fixes. * Room: Fix message not shown after push issue (#3672). -⚠️ API Changes - * - -🗣 Translations - * - -🧱 Build - * - -Others - * - -Changes in 1.0.12 (2020-09-16) - -✨ Features - * - -🙌 Improvements - * +## Changes in 1.0.12 (2020-09-16) 🐛 Bugfix - * -⚠️ API Changes - * - -🗣 Translations - * - -🧱 Build - * - -Others * Improvements: * Upgrade MatrixKit version ([v0.12.21](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.12.21)). * Upgrade MatrixKit version ([v0.12.20](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.12.20)). -Changes in 1.0.11 (2020-09-15) -================================================= - -✨ Features - * +## Changes in 1.0.11 (2020-09-15) 🙌 Improvements + * Room: Collapse state messages on room creation (#3629). * AuthVC: Make force PIN working for registration as well. * AppDelegate: Do not show incoming key verification requests while authenticating. 🐛 Bugfix + * AuthVC: Fix PIN setup that broke cross-signing bootstrap. * Loading animation: Fix the bug where, after authentication, the animation disappeared too early and made auth screen flashed. -⚠️ API Changes - * - -🗣 Translations - * - -🧱 Build - * - Others + * buildRelease.sh: Pass a `git_tag` parameter to fastlane because fastlane `git_branch` method can fail. -Improvements: - - -Changes in 1.0.10 (2020-09-08) -================================================= +## Changes in 1.0.10 (2020-09-08) ✨ Features + * 🙌 Improvements + * AppDelegate: Convert to Swift (#3594). * Contextualize floating button actions per tab (#3627). 🐛 Bugfix + * Show pin code screen on every foreground (#3620). * Close keyboard on pin code screen (#3622). * Fix content leakage on pin code protection (#3624). ⚠️ API Changes - * - -🗣 Translations + * 🧱 Build + * buildRelease.sh: Make sure it works for both branches and tags -Others - * - Improvements: * Upgrade MatrixKit version ([v0.12.18](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.12.18)). -Changes in 1.0.9 (2020-09-03) -================================================= +## Changes in 1.0.9 (2020-09-03) Features: * @@ -1396,8 +827,7 @@ Build: Test: * -Changes in 1.0.8 (2020-09-03) -================================================= +## Changes in 1.0.8 (2020-09-03) Features: * @@ -1425,8 +855,7 @@ Build: Test: * -Changes in 1.0.7 (2020-08-28) -================================================= +## Changes in 1.0.7 (2020-08-28) Features: * @@ -1455,8 +884,7 @@ Build: Test: * -Changes in 1.0.6 (2020-08-26) -================================================= +## Changes in 1.0.6 (2020-08-26) Features: * @@ -1491,8 +919,7 @@ Build: Test: * -Changes in 1.0.5 (2020-08-13) -================================================= +## Changes in 1.0.5 (2020-08-13) Features: * @@ -1521,8 +948,7 @@ Build: Test: * -Changes in 1.0.4 (2020-08-07) -================================================= +## Changes in 1.0.4 (2020-08-07) Features: * @@ -1549,8 +975,7 @@ Build: Test: * -Changes in 1.0.3 (2020-08-05) -=============================================== +## Changes in 1.0.3 (2020-08-05) Improvements: * Upgrade MatrixKit version ([v0.12.10](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.12.10)). @@ -1570,15 +995,13 @@ Bug fix: * AuthenticationViewController: Fix custom homeserver textfield scroll issue (#3467). * Rebranding: Update provisioning universal link domain (#3483). -Changes in 1.0.2 (2020-07-28) -=============================================== +## Changes in 1.0.2 (2020-07-28) Bug fix: * Registration: Do not display the skip button if email is mandatory (#3417). * NotificationService: Do not cache showDecryptedContentInNotifications setting (#3444). -Changes in 1.0.1 (2020-07-17) -=============================================== +## Changes in 1.0.1 (2020-07-17) Bug fix: * SettingsViewController: Fix crash when scrolling to Discovery (#3401). @@ -1588,8 +1011,7 @@ Bug fix: * RecentsViewController: Fix crash on dequeue some cells (#3433). * NotificationService: Fix losing sound when not showing decrypted content in notifications (#3423). -Changes in 1.0.0 (2020-07-13) -=============================================== +## Changes in 1.0.0 (2020-07-13) Improvements: * Rename Riot to Element @@ -1632,8 +1054,7 @@ Bug fix: * RecentsViewController: Fix crash on dequeue some cells (#3433). * NotificationService: Fix losing sound when not showing decrypted content in notifications (#3423). -Changes in 0.11.6 (2020-06-30) -=============================================== +## Changes in 0.11.6 (2020-06-30) Improvements: * Upgrade MatrixKit version ([v0.12.7](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.12.7)). @@ -1653,25 +1074,22 @@ Bug fix: * CallVC: Declined calls now properly reset call view controller, thanks to @Legi429 (#2877). * PreviewRoomTitleView: Fix inviter display name (#2520). -Changes in 0.11.5 (2020-05-18) -=============================================== +## Changes in 0.11.5 (2020-05-18) Improvements: * Upgrade MatrixKit version ([v0.12.6](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.12.6)). Bug fix: - * AuthenticationViewController: Adapt UIWebView changes in MatrixKit (PR #3242). + * AuthenticationViewController: Adapt UIWebView ## Changes in MatrixKit (PR #3242). * Share extension & Siri intent: Do not fail when sending to locally unverified devices (#3252). * CountryPickerVC: Search field is invisible in dark theme (#3219). -Changes in 0.11.4 (2020-05-08) -=============================================== +## Changes in 0.11.4 (2020-05-08) Bug fix: * App asks to verify all devices on every startup for no valid reason (#3221). -Changes in 0.11.3 (2020-05-07) -=============================================== +## Changes in 0.11.3 (2020-05-07) Improvements: * Upgrade MatrixKit version ([v0.12.3](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.12.3)). @@ -1683,8 +1101,7 @@ Bug fix: * KeyVerificationSelfVerifyStartViewController has no navigation (#3195). * Self-verification: QR code scanning screen refers to other-person scanning (#3189). -Changes in 0.11.2 (2020-05-01) -=============================================== +## Changes in 0.11.2 (2020-05-01) Improvements: * Upgrade MatrixKit version ([v0.12.2](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.12.2)). @@ -1699,8 +1116,7 @@ Improvements: Bug fix: * AuthenticationViewController: Remove fallback to matrix.org when authentication failed (PR #3165). -Changes in 0.11.1 (2020-04-24) -=============================================== +## Changes in 0.11.1 (2020-04-24) Improvements: * Upgrade MatrixKit version ([v0.12.1](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.12.1)). @@ -1713,8 +1129,7 @@ Bug fix: * Settings: Security, present complete security when my device is not trusted (#3127). * Settings: Security: Do not ask to complete security if there is no cross-signing (#3147). -Changes in 0.11.0 (2020-04-17) -=============================================== +## Changes in 0.11.0 (2020-04-17) Improvements: * Upgrade MatrixKit version ([v0.12.0](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.12.0)). @@ -1740,8 +1155,7 @@ Bug fix: Bug fix: * Considered safe area insets for some screens (PR #3084). -Changes in 0.10.5 (2020-04-01) -=============================================== +## Changes in 0.10.5 (2020-04-01) Bug fix: * Fix error when joining some public rooms, thanks to @chrismoos (PR #2888). @@ -1749,8 +1163,7 @@ Bug fix: * Push notifications: Avoid any automatic deactivation (vector-im/riot-ios#3017). * Fix links breaking user out of SSO flow, thanks to @schultetwin (#3039). -Changes in 0.10.4 (2019-12-11) -=============================================== +## Changes in 0.10.4 (2019-12-11) Improvements: * ON/OFF Cross-signing development in a Lab setting (#2855). @@ -1758,8 +1171,7 @@ Improvements: Bug fix: * Device Verification: Stay in infinite waiting (#2878). -Changes in 0.10.3 (2019-12-05) -=============================================== +## Changes in 0.10.3 (2019-12-05) Improvements: * Upgrade MatrixKit version ([v0.11.3](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.11.3)). @@ -1780,14 +1192,12 @@ Bug fix: * RoomVC: Tapping on location links gives 'unable to open link' (#2803). * RoomVC: Reply to links fail with 'unable to open link' (#2804). -Changes in 0.10.2 (2019-11-15) -=============================================== +## Changes in 0.10.2 (2019-11-15) Bug fix: * Integrations: Fix terms consent display when they are required. -Changes in 0.10.1 (2019-11-06) -=============================================== +## Changes in 0.10.1 (2019-11-06) Improvements: * Upgrade MatrixKit version ([v0.11.2](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.11.2)). @@ -1802,8 +1212,7 @@ Bug fix: * Device Verification: Selecting 'start verification' from a keyshare request wedges you in an entirely blank verification screen (#2504). * Tab bar icons are not centered vertically on iOS 13 (#2802). -Changes in 0.10.0 (2019-10-11) -=============================================== +## Changes in 0.10.0 (2019-10-11) Improvements: * Upgrade MatrixKit version ([v0.11.1](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.11.1)). @@ -1835,8 +1244,7 @@ Improvements: Bug fix: * Theme: Make button theming work (#2734). -Changes in 0.9.5 (2019-09-20) -=============================================== +## Changes in 0.9.5 (2019-09-20) Bug fix: * VoiceOver: RoomVC: Fix some missing accessibility labels for buttons (#2722). @@ -1844,21 +1252,18 @@ Bug fix: * VoiceOver: RoomVC: Do not lose the focus on the timeline when paginating (with 3 fingers) (#2720). * VoiceOver: RoomVC: No VoiceOver on media (#2726). -Changes in 0.9.4 (2019-09-13) -=============================================== +## Changes in 0.9.4 (2019-09-13) Improvements: * Authentication: Improve the webview used for SSO (#2715). -Changes in 0.9.3 (2019-09-10) -=============================================== +## Changes in 0.9.3 (2019-09-10) Improvements: * Support Riot configuration link to customise HS and IS (#2703). * Authentication: Create a way to filter and prioritise flows (with handleSupportedFlowsInAuthenticationSession). -Changes in 0.9.2 (2019-08-08) -=============================================== +## Changes in 0.9.2 (2019-08-08) Improvements: * Upgrade MatrixKit version ([v0.10.2](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.10.2)). @@ -1875,14 +1280,12 @@ Bug fix: * Fix crash for search bar customisation in iOS13 (#2626). * Build: Fix build based on git tag. -Changes in 0.9.1 (2019-07-17) -=============================================== +## Changes in 0.9.1 (2019-07-17) Bug fix: * Edits history: Original event is missing (#2585). -Changes in 0.9.0 (2019-07-16) -=============================================== +## Changes in 0.9.0 (2019-07-16) Improvements: * Upgrade MatrixKit version ([v0.10.1](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.10.1)). @@ -1916,15 +1319,13 @@ Bug fix: * Reactions: It lets you react to join/leave events (#2476). * Adjust size of the insert button in the People tab, thanks to @dcordero (PR #2473). -Changes in 0.8.6 (2019-05-06) -=============================================== +## Changes in 0.8.6 (2019-05-06) Bug fix: * Device Verification: Fix bell emoji name. * Device Verification: Fix buttons colors in dark theme. -Changes in 0.8.5 (2019-05-03) -=============================================== +## Changes in 0.8.5 (2019-05-03) Improvements: * Upgrade MatrixKit version ([v0.9.9](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.9.9)). @@ -1947,8 +1348,7 @@ Bug fix: * Avoid crashes with tableview reload animation in settings and room settings (PR #2364). * Media picker: Fix some retain cycles (PR #2382). -Changes in 0.8.4 (2019-03-21) -=============================================== +## Changes in 0.8.4 (2019-03-21) Improvements: * Upgrade MatrixKit version ([v0.9.8](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.9.8)). @@ -1957,8 +1357,7 @@ Improvements: Bug fix: * Unable to open a file attachment of a room message (#2338). -Changes in 0.8.3 (2019-03-13) -=============================================== +## Changes in 0.8.3 (2019-03-13) Improvements: * Upgrade MatrixKit version ([v0.9.7](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.9.7)). @@ -1968,8 +1367,7 @@ Bug fix: * Widgets: Pass scalar_token only when required. -Changes in 0.8.2 (2019-03-11) -=============================================== +## Changes in 0.8.2 (2019-03-11) Improvements: * Upgrade MatrixKit version ([v0.9.6](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.9.6)). @@ -1994,8 +1392,7 @@ Bug fix: * 3D touching a link can lock the app (#1818). * Do not display key backup UI if the user has no e2e rooms (#2304). -Changes in 0.8.1 (2019-02-19) -=============================================== +## Changes in 0.8.1 (2019-02-19) Improvements: * Key backup: avoid to refresh the home room list on every backup state change (#2265). @@ -2005,8 +1402,7 @@ Bug fix: * Fix navigation bar background after accepting an invite (PR #2261) * Tabs at the top of Room Details are hard to see in dark theme (#2260). -Changes in 0.8.0 (2019-02-15) -=============================================== +## Changes in 0.8.0 (2019-02-15) Improvements: * Upgrade MatrixKit version (v0.9.5 - https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.9.5). @@ -2040,21 +1436,18 @@ Bug fix: * Reskin: Jump to first unread message doesn't show up in 0.7.12 TF (#2218). * Reskin: Sometimes the roomVC navigation bar is tranparent (#2252). -Changes in 0.7.11 (2019-01-08) -=============================================== +## Changes in 0.7.11 (2019-01-08) Improvements: * Upgrade MatrixKit version (v0.9.3). * Fix almost all the warnings caused by -Wstrict-prototypes, thanks to @fridtjof (PR #2155). -Changes in 0.7.10 (2019-01-04) -=============================================== +## Changes in 0.7.10 (2019-01-04) Bug fix: * Share extension: Fix screenshot sharing (#2022). Improve image sharing performance to avoid out of memory crash. -Changes in 0.7.9 (2019-01-04) -=============================================== +## Changes in 0.7.9 (2019-01-04) Improvements: * Upgrade MatrixKit version (v0.9.2). @@ -2062,8 +1455,7 @@ Improvements: Bug fix: * Registration: email or phone number is no more skippable (#2140). -Changes in 0.7.8 (2018-12-12) -=============================================== +## Changes in 0.7.8 (2018-12-12) Improvements: * Upgrade MatrixKit version (v0.9.1). @@ -2075,8 +1467,7 @@ Improvements: Bug fix: * Registration: reCAPTCHA does not work anymore on iOS 10 (#2119). -Changes in 0.7.7 (2018-10-31) -=============================================== +## Changes in 0.7.7 (2018-10-31) Improvements: * Upgrade MatrixKit version (v0.8.6). @@ -2084,21 +1475,18 @@ Improvements: Bug fix: * Notifications: old notifications can reappear (#1985). -Changes in 0.7.6 (2018-10-05) -=============================================== +## Changes in 0.7.6 (2018-10-05) Bug fix: * Wrong version number. -Changes in 0.7.5 (2018-10-05) -=============================================== +## Changes in 0.7.5 (2018-10-05) Improvements: * Upgrade MatrixKit version (v0.8.5). * Server Quota Notices: Implement the blue banner (#1937). -Changes in 0.7.4 (2018-09-26) -=============================================== +## Changes in 0.7.4 (2018-09-26) Improvements: * Upgrade MatrixKit version (v0.8.4). @@ -2112,8 +1500,7 @@ Bug fix: * Fix missing read receipts when lazy-loading room members. * Weird text color when selecting a message (#2046). -Changes in 0.7.3 (2018-08-27) -=============================================== +## Changes in 0.7.3 (2018-08-27) Improvements: * Upgrade MatrixKit version (v0.8.3). @@ -2122,8 +1509,7 @@ Bug fix: * Fix input toolbar reset in RoomViewController on MXSession state change (#2006 and #2008). * Fix user interaction disabled in master view of UISplitViewContoller when selecting a room (#2005). -Changes in 0.7.2 (2018-08-24) -=============================================== +## Changes in 0.7.2 (2018-08-24) Improvements: * Upgrade MatrixKit version (v0.8.2). @@ -2134,8 +1520,7 @@ Bug fix: * Recents: Avoid to open a room twice (it crashed on room creation on quick HSes). * Riot-bot: Do not try to create a room with it if the user homeserver is not federated. -Changes in 0.7.1 (2018-08-17) -=============================================== +## Changes in 0.7.1 (2018-08-17) Improvements: * Upgrade MatrixKit version (v0.8.1). @@ -2145,8 +1530,7 @@ Bug fix: * Direct rooms can be lost on an initial /sync (vector-im/riot-ios/issues/1983). * Fix possible race conditions in direct rooms management. -Changes in 0.7.0 (2018-08-10) -=============================================== +## Changes in 0.7.0 (2018-08-10) Improvements: * Upgrade MatrixKit version (v0.8.0). @@ -2167,22 +1551,19 @@ Improvements: Bug fix: * Multiple rooms can be opened (#1967). -Changes in 0.6.20 (2018-07-13) -=============================================== +## Changes in 0.6.20 (2018-07-13) Improvements: * Update contact permission text in order to be clearer about the reasons for access to the address book. -Changes in 0.6.19 (2018-07-05) -=============================================== +## Changes in 0.6.19 (2018-07-05) Improvements: Bug fix: * RoomVC: Fix duplicated read receipts (regression due to read receipts performance improvement). -Changes in 0.6.18 (2018-07-03) -=============================================== +## Changes in 0.6.18 (2018-07-03) Improvements: * RoomVC: Add a re-request keys button on message unable to decrypt (#1879). @@ -2197,8 +1578,7 @@ Bug fix: * Lag in typing (#1820). * E2E messages not decrypted in notifs after logging back in (#1914). -Changes in 0.6.17 (2018-06-01) -=============================================== +## Changes in 0.6.17 (2018-06-01) Improvements: * Upgrade MatrixKit version (v0.7.14). @@ -2214,8 +1594,7 @@ Bug fix: Translations: * Enable Icelandic. -Changes in 0.6.16 (2018-05-23) -=============================================== +## Changes in 0.6.16 (2018-05-23) Improvements: * Upgrade MatrixKit version (v0.7.12). @@ -2230,8 +1609,7 @@ Bug fix: * Timestamps say 'Yesterday' when it is today (#1274), thanks to @pixlwave (PR #1865). * RoomVC: messages with link blink forever #1869 -Changes in 0.6.15 (2018-04-23) -=============================================== +## Changes in 0.6.15 (2018-04-23) Improvements: * Upgrade MatrixKit version (v0.7.11). @@ -2239,8 +1617,7 @@ Improvements: Bug fix: * Regression: Sending a photo from the photo library causes a crash. -Changes in 0.6.14 (2018-04-20) -=============================================== +## Changes in 0.6.14 (2018-04-20) Improvements: * Upgrade MatrixKit version (v0.7.10). @@ -2255,8 +1632,7 @@ Bug fixes: * All rooms showing the same avatar (#1673). * App fails to logout on unknown token (#1839). -Changes in 0.6.13 (2018-03-30) -=============================================== +## Changes in 0.6.13 (2018-03-30) Improvements: * Upgrade MatrixKit version (v0.7.9). @@ -2265,8 +1641,7 @@ Improvements: Bug fixes: * Room summary is not updated after redaction of the room display name (vector-im/riot-ios#1822). -Changes in 0.6.12 (2018-03-12) -=============================================== +## Changes in 0.6.12 (2018-03-12) Improvements: * Upgrade MatrixKit version (v0.7.8). @@ -2286,8 +1661,7 @@ Bug Fix: * Crypto: e2e devices list not shown (#1782). * Direct Chat: a room was marked as direct by mistake when I joined it. -Changes in 0.6.11 (2018-02-27) -=============================================== +## Changes in 0.6.11 (2018-02-27) Improvements: * Upgrade MatrixKit version (v0.7.7). @@ -2295,8 +1669,7 @@ Improvements: Bug Fix: * My communities screen is empty despite me being in several groups (#1792). -Changes in 0.6.10 (2018-02-14) -=============================================== +## Changes in 0.6.10 (2018-02-14) Improvements: * Upgrade MatrixKit version (v0.7.6). @@ -2306,8 +1679,7 @@ Bug Fix: * App crashes on cold start if no account is defined. * flair labels are a bit confusing (#1772). -Changes in 0.6.9 (2018-02-10) -=============================================== +## Changes in 0.6.9 (2018-02-10) Improvements: * Upgrade MatrixKit version (v0.7.5). @@ -2332,8 +1704,7 @@ Bug Fix: Translations: * Catalan, added thanks to @sim6 and @salvadorpla (PR #1767). -Changes in 0.6.8 (2018-01-03) -=============================================== +## Changes in 0.6.8 (2018-01-03) Improvements: * AppDelegate: Enable log to file earlier. @@ -2342,8 +1713,7 @@ Bug Fix: * AppDelegate: Disable again loop on [application isProtectedDataAvailable] because it sometimes makes an OS watchdog kill the app. * Missing Push Notifications (#1696): Show a notification even if the app fails to sync with its hs. -Changes in 0.6.7 (2017-12-27) -=============================================== +## Changes in 0.6.7 (2017-12-27) Improvements: * Upgrade MatrixKit version (v0.7.4). @@ -2355,27 +1725,23 @@ Bug Fix: * Should fix missing push notifications (#1696). * Should fix the application crash on "Failed to grow buffer" when loading local phonebook contacts (https://github.com/matrix-org/riot-ios-rageshakes/issues/779). -Changes in 0.6.6 (2017-12-21) -=============================================== +## Changes in 0.6.6 (2017-12-21) Bug Fix: * Widget: Integrate widget data into widget URL (https://github.com/vector-im/riot-meta/issues/125). * VoIP: increase call invite lifetime from 30 to 60s (https://github.com/vector-im/riot-meta/issues/129). -Changes in 0.6.5 (2017-12-19) -=============================================== +## Changes in 0.6.5 (2017-12-19) Bug Fix: * Push Notifications: Missing push notifications (#1696). -Changes in 0.6.4 (2017-12-05) -=============================================== +## Changes in 0.6.4 (2017-12-05) Bug Fix: * Crypto: The share key dialog can appear with a 'null' device (#1683). -Changes in 0.6.3 (2017-11-30) -=============================================== +## Changes in 0.6.3 (2017-11-30) Improvements: * Upgrade MatrixKit version (v0.7.3). @@ -2398,8 +1764,7 @@ Translations: * Japanese, updated thanks to @yuurii and @libraryxhime. * Russian, updated thanks to @Walter. -Changes in 0.6.2 (2017-11-13) -=============================================== +## Changes in 0.6.2 (2017-11-13) Improvements: * Upgrade MatrixKit version (v0.7.2). @@ -2408,8 +1773,7 @@ Bug Fix: * Share extension silently fails on big pics - eg panoramas (#1627). * Share extension improvements: display the search input by default,... (#1611). -Changes in 0.6.1 (2017-10-27) -=============================================== +## Changes in 0.6.1 (2017-10-27) Improvements: * Upgrade MatrixKit version (v0.7.1). @@ -2420,8 +1784,7 @@ Bug Fix: * CallKit - When I reject or answer a call on one device, it should stop ringing on all other iOS devices (#1618). * The Call View Controller is displayed whereas the call has been cancelled. -Changes in 0.6.0 (2017-10-23) -=============================================== +## Changes in 0.6.0 (2017-10-23) Improvements: * Upgrade MatrixKit version (v0.7.0). @@ -2445,8 +1808,7 @@ Bug Fix: * Member Info page avatars are systematically cropped (iOS 11) (#1590, PR #1604). * Room Preview: the room name and avatar are missing for somepublic rooms (#1603, PR #1605). -Changes in 0.5.6 (2017-10-05) -=============================================== +## Changes in 0.5.6 (2017-10-05) Improvements: * Settings: Pin rooms with missed notifs and unread msg by default (PR #1556). @@ -2454,8 +1816,7 @@ Improvements: Bug Fix: * Fix RAM peak usage when doing an initial sync with large rooms (PR #1553). -Changes in 0.5.5 (2017-10-04) -=============================================== +## Changes in 0.5.5 (2017-10-04) Improvements: * Rageshake: Add a setting to enable (disable) it (PR #1552). @@ -2463,8 +1824,7 @@ Improvements: Bug Fix: * Some rooms have gone nameless after upgrade (PR #1551). -Changes in 0.5.4 (2017-10-03) -=============================================== +## Changes in 0.5.4 (2017-10-03) Improvements: * Upgrade MatrixKit version (v0.6.3). @@ -2499,8 +1859,7 @@ Translations: * Enable Basque, thanks to @osoitz. * Enable Simplified Chinese, thanks to @tonghuix (Note: the push notifications are not translated yet). -Changes in 0.5.3 (2017-08-25) -=============================================== +## Changes in 0.5.3 (2017-08-25) Improvements: * Upgrade MatrixKit version (v0.6.2). @@ -2516,22 +1875,19 @@ Bug Fixes: Translations: * Enable Russian. -Changes in 0.5.2 (2017-08-01) -=============================================== +## Changes in 0.5.2 (2017-08-01) Improvements: * Upgrade MatrixKit version (v0.6.1). * Emojis: Boost size of messages containing only emojis (not only one). * Bug Report: Make the crash dump appear in GH issues created for crashes -Changes in 0.5.1 (2017-08-01) -=============================================== +## Changes in 0.5.1 (2017-08-01) Improvements: * Fix a build issue that appeared after merging to master. -Changes in 0.5.0 (2017-08-01) -=============================================== +## Changes in 0.5.0 (2017-08-01) Improvements: * Upgrade MatrixKit version (v0.6.0). @@ -2563,15 +1919,13 @@ Bug fixes: * Fix the wrong preview layout on iPad described in PR #1372. * Room settings: ticks are badly refreshed (#681). -Changes in 0.4.3 (2017-07-05) -=============================================== +## Changes in 0.4.3 (2017-07-05) Improvement: * Update the application title with "Riot.im". -Changes in 0.4.2 (2017-06-30) -=============================================== +## Changes in 0.4.2 (2017-06-30) Improvements: * Upgrade MatrixKit version (v0.5.2). @@ -2588,8 +1942,7 @@ Bug fixes: * Bug report: Remove the old requirement for an existing email account. * Crash report: Do not loose what the user typed when debackgrounding the app. -Changes in 0.4.1 (2017-06-23) -=============================================== +## Changes in 0.4.1 (2017-06-23) Improvements: * Upgrade MatrixKit version (v0.5.1). @@ -2609,8 +1962,7 @@ Bug fixes: * tapping on an unread room on home page takes you to the wrong room (#1304). * Read marker: when being kicked, the "Jump to first unread message" shouldn't be displayed (#1338). -Changes in 0.4.0 (2017-06-16) -=============================================== +## Changes in 0.4.0 (2017-06-16) Improvements: * Upgrade MatrixKit version (v0.5.0). @@ -2632,8 +1984,7 @@ Bug fixes: * Fix crash in [MXKContactManager localContactsSplitByContactMethod] (https://github.com/matrix-org/riot-ios-rageshakes#36). * Fix App crashes on [AvatarGenerator imageFromText:withBackgroundColor:] (#657). -Changes in 0.3.13 (2017-03-23) -=============================================== +## Changes in 0.3.13 (2017-03-23) Improvements: * Upgrade MatrixKit version (v0.4.11). @@ -2642,8 +1993,7 @@ Bug fixes: * Chat screen: image thumbnails management is broken (#1121). * Image viewer repeatedly loses overlay menu (#1109). -Changes in 0.3.12 (2017-03-21) -=============================================== +## Changes in 0.3.12 (2017-03-21) Improvements: * Upgrade MatrixKit version (v0.4.10). @@ -2653,8 +2003,7 @@ Bug fixes: * Chat screen - The missed discussions badge is missing in the navigation bar. -Changes in 0.3.11 (2017-03-16) -=============================================== +## Changes in 0.3.11 (2017-03-16) Improvements: * Upgrade MatrixKit version (v0.4.9). @@ -2665,8 +2014,7 @@ Bug fixes: * MSIDSN registration. * [Tablet / split mode] The room member details page is not popped after signing out (#1062). -Changes in 0.3.10 (2017-03-10) -=============================================== +## Changes in 0.3.10 (2017-03-10) Improvements: * Upgrade MatrixKit version (v0.4.8). @@ -2694,8 +2042,7 @@ Bug fixes: * Resend msgs now? needs cancel button if you want to discard them (#306). * Crypto: After importing keys, the newly decrypted msg have a forbidden icon (#1028). -Changes in 0.3.9 (2017-02-08) -=============================================== +## Changes in 0.3.9 (2017-02-08) Improvements: * Upgrade MatrixKit version (v0.4.7). @@ -2720,8 +2067,7 @@ Bug fixes: * App crash: [MXKRoomInputToolbarView contentEditingInputsForAssets:withResult:onComplete:] (#1015). * App crash: [__NSCFString replaceCharactersInRange:withString:]: nil argument (#990). -Changes in 0.3.8 (2017-01-24) -=============================================== +## Changes in 0.3.8 (2017-01-24) Improvements: * Upgrade MatrixKit version (v0.4.6). @@ -2736,8 +2082,7 @@ Bug fixes: * Room details members: wrong unknown wording (#941). * App may crash when user rotates the device while he joins a room. -Changes in 0.3.7 (2017-01-19) -=============================================== +## Changes in 0.3.7 (2017-01-19) Improvements: * Upgrade MatrixKit version (v0.4.5). @@ -2762,14 +2107,12 @@ Bug fixes: * Crash on Create a room button (#935). * Local contacts are missing when the user logs in again (PR #942). -Changes in 0.3.6 (2016-12-23) -=============================================== +## Changes in 0.3.6 (2016-12-23) Improvements: * Add descriptions for access permissions to Camera, Microphone, Photo Gallery and Contacts. -Changes in 0.3.5 (2016-12-19) -=============================================== +## Changes in 0.3.5 (2016-12-19) Improvements: * Upgrade MatrixKit version (v0.4.4). @@ -2793,8 +2136,7 @@ Bug fixes: * Messages: App crashes during drag and drop. * Possible fix of app crash on exception: "UITableView dataSource is not set". -Changes in 0.3.4 (2016-11-23) -=============================================== +## Changes in 0.3.4 (2016-11-23) Improvements: * Upgrade MatrixKit version (v0.4.3). @@ -2806,8 +2148,7 @@ Bug fixes: * Crypto: Do not allow to redact the event that enabled encryption in a room. * Crypto: Made attachments work better cross platform. -Changes in 0.3.3 (2016-11-22) -=============================================== +## Changes in 0.3.3 (2016-11-22) Improvements: * Upgrade MatrixKit version (v0.4.2). @@ -2816,8 +2157,7 @@ Improvements: Bug fixes: * Crypto: Do not allow to redact the event that enabled encryption in a room. -Changes in 0.3.2 (2016-11-18) -=============================================== +## Changes in 0.3.2 (2016-11-18) Improvements: * Upgrade MatrixKit version (v0.4.1). @@ -2827,15 +2167,13 @@ Bug fixes: * Wrong thumbnail shown whilst uploading e2e image (https://github.com/vector-im/vector-ios#795). * [Register flow] Register with a mail address fails (https://github.com/vector-im/vector-ios#799). -Changes in 0.3.1 (2016-11-17) -=============================================== +## Changes in 0.3.1 (2016-11-17) Bug fixes: * Fix padlock icons on text messages. * Fix a random crash when uploading an e2e attachment. -Changes in 0.3.0 (2016-11-17) -=============================================== +## Changes in 0.3.0 (2016-11-17) Improvements: * Upgrade MatrixKit version (v0.4.0). @@ -2852,8 +2190,7 @@ Bug fixes: * Search messages tab: background picture covering up the tabs when device is turned horizontaly #654. * Changing notif setting from swipe menu should change the room apparence in the list #525 -Changes in 0.2.3 (2016-09-30) -=============================================== +## Changes in 0.2.3 (2016-09-30) Improvements: * Upgrade MatrixKit version (v0.3.19). @@ -2865,8 +2202,7 @@ Bug fixes: * Room message search: the message date & time are not displayed #361. * Room message search: the search pattern is not highlighted in results #660. -Changes in 0.2.2 (2016-09-27) -=============================================== +## Changes in 0.2.2 (2016-09-27) Improvements: * Upgrade MatrixKit version (v0.3.18). @@ -2882,15 +2218,13 @@ Bug fixes: * Crash due to a race condition in read receipts management #645. * App may crash when the user logs out while a request is pending. -Changes in 0.2.1 (2016-09-15) -=============================================== +## Changes in 0.2.1 (2016-09-15) Bug fixes: * Use Apple version for T&C. * Revert the default IS. -Changes in 0.2.0 (2016-09-15) -=============================================== +## Changes in 0.2.0 (2016-09-15) Improvements: * Update name & icons @@ -2907,8 +2241,7 @@ Bug fixes: * iOS10: App crashes when it wants to access user's data (Photos, Contacts, Camera, Mic) #605. * Chat screen: Hang up icon overlap the send button #614. -Changes in Vector iOS in 0.1.17 (2016-09-08) -=============================================== +## Changes in Vector iOS in 0.1.17 (2016-09-08) Improvements: * Upgrade MatrixKit version (v0.3.16). @@ -2960,8 +2293,7 @@ Bug fixes: * Sync has got stuck while the app was backgrounded #506. * Handle 404 (Event not found) on permalinks #484. -Changes in Vector iOS in 0.1.16 (2016-08-25) -=============================================== +## Changes in Vector iOS in 0.1.16 (2016-08-25) Improvements: * Upgrade MatrixKit version (v0.3.15). @@ -2970,8 +2302,7 @@ Bug fixes: * Rooms list: Fix crash when computing recents. * Settings: Fix crash when logging out. -Changes in Vector iOS in 0.1.15 (2016-08-25) -=============================================== +## Changes in Vector iOS in 0.1.15 (2016-08-25) Improvements: * Upgrade MatrixKit version (v0.3.14). @@ -3000,8 +2331,7 @@ Bug fixes: * MXHTTPClient: Fix crash: "Task created in a session that has been invalidated" #490. * Call: the remote and local video are not scaled to fill the video container #537. -Changes in Vector iOS in 0.1.14 (2016-08-01) -=============================================== +## Changes in Vector iOS in 0.1.14 (2016-08-01) Improvements: * Upgrade MatrixKit version (v0.3.13). @@ -3021,8 +2351,7 @@ Bug fixes: * Fixed crash in the room screen reported by GA. * Fixed crash in [AppDelegate applicationDidBecomeActive:] #489. -Changes in Vector iOS in 0.1.13 (2016-07-26) -=============================================== +## Changes in Vector iOS in 0.1.13 (2016-07-26) Improvements: * Upgrade MatrixKit version (v0.3.12). @@ -3032,8 +2361,7 @@ Bug fixes: * Confirmation prompt before opping someone to same power level #461. * Room Settings: The room privacy setting text doesn't fit in phone mode #429. -Changes in Vector iOS in 0.1.12 (2016-07-15) -=============================================== +## Changes in Vector iOS in 0.1.12 (2016-07-15) Improvements: * Upgrade MatrixKit version (v0.3.11). @@ -3054,8 +2382,7 @@ Bug fixes: * Room Settings: check room permissions and grey out those boxes (disable) if you can't change them #430. * Room Settings: if there isn't a topic (new rooms) you can't actually change/set it. #441. -Changes in Vector iOS in 0.1.11 (2016-07-01) -=============================================== +## Changes in Vector iOS in 0.1.11 (2016-07-01) Improvements: * Upgrade MatrixKit version (v0.3.10). @@ -3092,8 +2419,7 @@ Bug fixes: * Room members: double loading wheel #180. * App crashes on '/join' command when no param is provided. -Changes in Vector iOS in 0.1.10 (2016-06-04) -=============================================== +## Changes in Vector iOS in 0.1.10 (2016-06-04) Improvements: * Directory section is displayed by default in Messages when recents list is empty. @@ -3101,8 +2427,7 @@ Improvements: * Room Participants: Increase the search field from 44px to 50px high to give it slightly more prominence. * Room Participants - Search bar: Adjust green separator to make it more obviously tappable and less like a header. -Changes in Vector iOS in 0.1.9 (2016-06-02) -=============================================== +## Changes in Vector iOS in 0.1.9 (2016-06-02) Improvements: * Upgrade MatrixKit version (v0.3.9). @@ -3114,8 +2439,7 @@ Bug fixes: * Room avatars on matrix.org are badly rendered in the directory from a vector.im account #355. * Authentication: "Send Reset Email" is truncated on iPhone 4S. -Changes in Vector iOS in 0.1.8 (2016-06-01) -=============================================== +## Changes in Vector iOS in 0.1.8 (2016-06-01) Improvements: * Upgrade MatrixKit version (v0.3.8). @@ -3156,8 +2480,7 @@ Bug fixes: * Settings: Profile avatar is not clickable #351. * Default text in the memberlist search box would be less confusing if it was 'Search/invite by...' instead of the other way around #349. -Changes in Vector iOS in 0.1.6 (2016-05-04) -=============================================== +## Changes in Vector iOS in 0.1.6 (2016-05-04) Improvements: * Upgrade MatrixKit version (v0.3.7). @@ -3179,8 +2502,7 @@ Bug fixes: * Media Picker: Fix icons used on video preview. * Room Participants - Search session: the return key must be 'Done' instead of 'Search' #292. -Changes in Vector iOS in 0.1.5 (2016-04-27) -=============================================== +## Changes in Vector iOS in 0.1.5 (2016-04-27) Improvements: * Chat Screen: Ability to copy event permalinks into the pasteboard from the edit menu #225 @@ -3189,8 +2511,7 @@ Bug fixes: * Fix crash when rotating 6+ or iPad at app start-up. * Universal link on an unjoined room + an event iD is not properly managed #246. -Changes in Vector iOS in 0.1.4 (2016-04-26) -=============================================== +## Changes in Vector iOS in 0.1.4 (2016-04-26) Improvements: * Upgrade MatrixKit version (v0.3.6). @@ -3226,8 +2547,7 @@ Bug fixes: * Chat header: Room details opening is delayed #181. * Messages: Room creation button does not respond #249. -Changes in Vector iOS in 0.1.3 (2016-04-08) -=============================================== +## Changes in Vector iOS in 0.1.3 (2016-04-08) Improvements: * Upgrade MatrixKit version (v0.3.5). @@ -3251,8 +2571,7 @@ Bug fixes: * Chat screen: Resume on empty room (Please select a room) #128. * Room members: Keyboard is dismissed at each tap (when search result has been scrolled once). -Changes in Vector iOS in 0.1.2 (2016-03-17) -=============================================== +## Changes in Vector iOS in 0.1.2 (2016-03-17) Improvements: * Upgrade MatrixKit version (v0.3.4). @@ -3277,8 +2596,7 @@ Bug fixes: * Chat: scrolling to bottom when opening new rooms seems unreliable #148. * Chat: persistent unsent messages #164. -Changes in Vector iOS in 0.1.1 (2016-03-07) -=============================================== +## Changes in Vector iOS in 0.1.1 (2016-03-07) Improvements: * Upgrade MatrixKit version (v0.3.3). @@ -3306,13 +2624,11 @@ Bug fixes: * Media Picker: fix layout issues. * Media Picker: Launch must be speed up. -Changes in Vector iOS in 0.1.0 (2016-01-29) -=============================================== +## Changes in Vector iOS in 0.1.0 (2016-01-29) * Upgrade MatrixKit version (v0.3.1). * Implement Visual Design v1.3 (80% done). -Changes in Vector iOS in 0.0.1 (2015-11-16) -=============================================== +## Changes in Vector iOS in 0.0.1 (2015-11-16) * Creation : The first implementation of Vector application based on Matrix iOS Kit v0.2.7. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cc28bc49d..17281c521 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing code to Matrix -Please read Synapse [contributing guide](https://github.com/matrix-org/synapse/blob/master/CONTRIBUTING.md). +Please read the matrix-ios-sdk [contributing guide](https://github.com/matrix-org/matrix-ios-sdk/blob/develop/CONTRIBUTING.md). # Contributing code to Element iOS diff --git a/Config/AppIdentifiers.xcconfig b/Config/AppIdentifiers.xcconfig index 1628e83d8..cf8fd4349 100644 --- a/Config/AppIdentifiers.xcconfig +++ b/Config/AppIdentifiers.xcconfig @@ -22,8 +22,8 @@ APPLICATION_GROUP_IDENTIFIER = group.im.vector APPLICATION_SCHEME = element // Version -MARKETING_VERSION = 1.4.8 -CURRENT_PROJECT_VERSION = 1.4.8 +MARKETING_VERSION = 1.5.2 +CURRENT_PROJECT_VERSION = 1.5.2 // Team diff --git a/Config/BuildSettings.swift b/Config/BuildSettings.swift index 17d1597bf..6427878ef 100644 --- a/Config/BuildSettings.swift +++ b/Config/BuildSettings.swift @@ -204,6 +204,9 @@ final class BuildSettings: NSObject { static let enableSideMenu: Bool = true + /// Whether to read the `io.element.functional_members` state event and exclude any service members when computing a room's name and avatar. + static let supportFunctionalMembers: Bool = true + // MARK: - Feature Specifics /// Not allowed pin codes. User won't be able to select one of the pin in the list. @@ -310,10 +313,6 @@ final class BuildSettings: NSObject { static let messageDetailsAllowCopyMedia: Bool = true static let messageDetailsAllowPasteMedia: Bool = true - // MARK: - Voice Message - - static let voiceMessagesEnabled = false - // MARK: - Notifications static let decryptNotificationsByDefault: Bool = true diff --git a/Gemfile.lock b/Gemfile.lock index 3548311ee..d1cdbdf51 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ GEM remote: https://rubygems.org/ specs: - CFPropertyList (3.0.2) + CFPropertyList (3.0.3) activesupport (5.2.4.5) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 0.7, < 2) @@ -12,22 +12,23 @@ GEM algoliasearch (1.27.5) httpclient (~> 2.8, >= 2.8.3) json (>= 1.5.1) + artifactory (3.0.15) atomos (0.1.3) - aws-eventstream (1.1.0) - aws-partitions (1.393.0) - aws-sdk-core (3.109.2) + aws-eventstream (1.1.1) + aws-partitions (1.487.0) + aws-sdk-core (3.119.0) 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.46.0) + aws-sdk-core (~> 3, >= 3.119.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.84.1) - aws-sdk-core (~> 3, >= 3.109.0) + aws-sdk-s3 (1.98.0) + aws-sdk-core (~> 3, >= 3.119.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.1) - aws-sigv4 (1.2.2) + aws-sigv4 (1.2.4) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) claide (1.0.3) @@ -70,38 +71,54 @@ GEM cocoapods-try (1.2.0) colored (1.2) colored2 (3.1.2) - commander-fastlane (4.4.6) - highline (~> 1.7.2) + commander (4.6.0) + highline (~> 2.0.0) concurrent-ruby (1.1.8) declarative (0.0.20) - declarative-option (0.1.0) - digest-crc (0.6.1) - rake (~> 13.0) + digest-crc (0.6.4) + 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.2.1) + emoji_regex (3.2.2) escape (0.0.4) ethon (0.12.0) ffi (>= 1.3.0) - excon (0.78.0) - faraday (1.1.0) + excon (0.85.0) + faraday (1.7.0) + faraday-em_http (~> 1.0) + faraday-em_synchrony (~> 1.0) + faraday-excon (~> 1.1) + faraday-httpclient (~> 1.0.1) + faraday-net_http (~> 1.0) + faraday-net_http_persistent (~> 1.1) + faraday-patron (~> 1.0) + faraday-rack (~> 1.0) multipart-post (>= 1.2, < 3) - ruby2_keywords + ruby2_keywords (>= 0.0.4) faraday-cookie_jar (0.0.7) faraday (>= 0.8.0) http-cookie (~> 1.0.0) - faraday_middleware (1.0.0) + faraday-em_http (1.0.0) + faraday-em_synchrony (1.0.0) + faraday-excon (1.1.0) + faraday-httpclient (1.0.1) + faraday-net_http (1.0.1) + faraday-net_http_persistent (1.2.0) + faraday-patron (1.0.0) + faraday-rack (1.0.0) + faraday_middleware (1.1.0) faraday (~> 1.0) - fastimage (2.2.0) - fastlane (2.167.0) + fastimage (2.2.5) + fastlane (2.191.0) CFPropertyList (>= 2.3, < 4.0.0) - addressable (>= 2.3, < 3.0.0) + addressable (>= 2.8, < 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) colored - commander-fastlane (>= 4.4.6, < 5.0.0) + commander (~> 4.6) dotenv (>= 2.1.1, < 3.0.0) emoji_regex (>= 0.1, < 4.0) excon (>= 0.71.0, < 1.0.0) @@ -110,18 +127,19 @@ GEM faraday_middleware (~> 1.0) fastimage (>= 2.1.0, < 3.0.0) gh_inspector (>= 1.1.2, < 2.0.0) - google-api-client (>= 0.37.0, < 0.39.0) - google-cloud-storage (>= 1.15.0, < 2.0.0) - highline (>= 1.7.2, < 2.0.0) + google-apis-androidpublisher_v3 (~> 0.3) + google-apis-playcustomapp_v1 (~> 0.1) + google-cloud-storage (~> 1.31) + highline (~> 2.0) json (< 3.0.0) 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) simctl (~> 1.6.3) - slack-notifier (>= 2.0.0, < 3.0.0) terminal-notifier (>= 2.0.0, < 3.0.0) terminal-table (>= 1.4.5, < 2.0.0) tty-screen (>= 0.6.3, < 1.0.0) @@ -131,76 +149,98 @@ GEM xcpretty (~> 0.3.0) xcpretty-travis-formatter (>= 0.0.3) fastlane-plugin-brew (0.1.1) - fastlane-plugin-versioning (0.4.4) + fastlane-plugin-diawi (2.1.0) + rest-client (>= 2.0.0) + fastlane-plugin-versioning (0.5.0) fastlane-plugin-xcodegen (1.0.0) fastlane-plugin-brew (~> 0.1.1) ffi (1.13.1) fourflusher (2.3.1) fuzzy_match (2.0.4) gh_inspector (1.1.3) - google-api-client (0.38.0) + google-apis-androidpublisher_v3 (0.10.0) + google-apis-core (>= 0.4, < 2.a) + google-apis-core (0.4.1) addressable (~> 2.5, >= 2.5.1) - googleauth (~> 0.9) - httpclient (>= 2.8.1, < 3.0) + googleauth (>= 0.16.2, < 2.a) + httpclient (>= 2.8.1, < 3.a) mini_mime (~> 1.0) representable (~> 3.0) - retriable (>= 2.0, < 4.0) - signet (~> 0.12) - google-cloud-core (1.5.0) + retriable (>= 2.0, < 4.a) + rexml + webrick + google-apis-iamcredentials_v1 (0.6.0) + google-apis-core (>= 0.4, < 2.a) + google-apis-playcustomapp_v1 (0.5.0) + google-apis-core (>= 0.4, < 2.a) + google-apis-storage_v1 (0.6.0) + google-apis-core (>= 0.4, < 2.a) + google-cloud-core (1.6.0) google-cloud-env (~> 1.0) google-cloud-errors (~> 1.0) - google-cloud-env (1.4.0) + 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.34.1) addressable (~> 2.5) digest-crc (~> 0.4) - google-api-client (~> 0.33) - google-cloud-core (~> 1.2) - googleauth (~> 0.9) + google-apis-iamcredentials_v1 (~> 0.1) + google-apis-storage_v1 (~> 0.1) + google-cloud-core (~> 1.6) + googleauth (>= 0.16.2, < 2.a) mini_mime (~> 1.0) - googleauth (0.14.0) + googleauth (0.17.0) faraday (>= 0.17.3, < 2.0) jwt (>= 1.4, < 3.0) memoist (~> 0.16) multi_json (~> 1.11) os (>= 0.9, < 2.0) signet (~> 0.14) - highline (1.7.10) - http-cookie (1.0.3) + highline (2.0.3) + http-accept (1.7.0) + http-cookie (1.0.4) domain_name (~> 0.5) httpclient (2.8.3) i18n (1.8.9) concurrent-ruby (~> 1.0) jmespath (1.4.0) - json (2.3.1) - jwt (2.2.2) + json (2.5.1) + jwt (2.2.3) memoist (0.16.2) + mime-types (3.3.1) + mime-types-data (~> 3.2015) + mime-types-data (3.2021.0704) mini_magick (4.11.0) - mini_mime (1.0.2) + mini_mime (1.1.0) minitest (5.14.4) molinillo (0.6.6) multi_json (1.15.0) multipart-post (2.0.0) nanaimo (0.3.0) nap (1.1.0) - naturally (2.2.0) + naturally (2.2.1) netrc (0.11.0) os (1.1.1) - plist (3.5.0) + plist (3.6.0) public_suffix (4.0.6) - rake (13.0.1) - representable (3.0.4) + rake (13.0.6) + representable (3.1.1) declarative (< 0.1.0) - declarative-option (< 0.2.0) + trailblazer-option (>= 0.1.1, < 0.2.0) uber (< 0.2.0) + rest-client (2.1.0) + http-accept (>= 1.7.0, < 2.0) + http-cookie (>= 1.0.2, < 2.0) + mime-types (>= 1.16, < 4.0) + netrc (~> 0.8) retriable (3.1.2) + rexml (3.2.5) rouge (2.0.7) ruby-macho (1.4.0) - ruby2_keywords (0.0.2) - rubyzip (2.3.0) + ruby2_keywords (0.0.5) + rubyzip (2.3.2) 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) @@ -208,11 +248,11 @@ GEM simctl (1.6.8) CFPropertyList naturally - slack-notifier (2.3.2) terminal-notifier (2.0.0) terminal-table (1.8.0) unicode-display_width (~> 1.1, >= 1.1.1) thread_safe (0.3.6) + trailblazer-option (0.1.1) tty-cursor (0.7.1) tty-screen (0.8.1) tty-spinner (0.9.3) @@ -226,19 +266,21 @@ GEM unf_ext unf_ext (0.0.7.7) unicode-display_width (1.7.0) + webrick (1.7.0) word_wrap (1.0.0) xcode-install (2.6.7) claide (>= 0.9.1, < 1.1.0) fastlane (>= 2.1.0, < 3.0.0) - xcodeproj (1.19.0) + xcodeproj (1.21.0) CFPropertyList (>= 2.3.3, < 4.0) atomos (~> 0.1.3) claide (>= 1.0.2, < 2.0) colored2 (~> 3.1) nanaimo (~> 0.3.0) + rexml (~> 3.2.4) 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 @@ -247,9 +289,10 @@ PLATFORMS DEPENDENCIES cocoapods (~> 1.10.1) fastlane + fastlane-plugin-diawi fastlane-plugin-versioning fastlane-plugin-xcodegen xcode-install BUNDLED WITH - 2.2.21 + 2.2.24 diff --git a/INSTALL.md b/INSTALL.md index ca983508a..b10f6c609 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -77,7 +77,14 @@ Every time you change the `$matrixKitVersion` variable in the `Podfile`, you hav ## Build -## Generate Xcode project +### Configure project + +You may need to change the bundle identifier and app group identifier to be unique to get Xcode to build the app. Make sure to change the bundle identifier, application group identifier and app name in the `Config/AppIdentifiers.xcconfig` file to your new identifiers. + +More advanced build configuration can be found in the `project.yml` file and each target has a `target.yml` file in its respective folder. + + +### Generate Xcode project In order to get rid of git conflicts, the `Riot.xcodeproj` is not pushed into the git repository anymore but generated using `XcodeGen`. To generate the `xcodeproj` file simply run the following command line from the root folder : @@ -117,12 +124,14 @@ $ open Riot.xcworkspace **Note**: If you have multiple Xcode versions installed don't forget to use the right version of Command Line Tools when you are building the app. To check the Command Line Tools version go to `Xcode > Preferences > Locations > Command Line Tools` and check that the displayed version match your Xcode version. -### Configure project -You may need to change the bundle identifier and app group identifier to be unique to get Xcode to build the app. Make sure to change the bundle identifier, application group identifier and app name in the `project.yml` file to your new identifiers. +### Generate the project in one line without effort -Each target has its own YAML file in the folder Targets folder. +If you want to generate the project easily and quickly, there is a local script called `setup_project.sh` that creates the `xcodeproj` and `xcworkspace` with all source files and dependencies with commands described before. It automatically selects the right dependencies based on your local Git branch or your Podfile local modifications. All you have to do is to go in the project root folder and run the script: +``` +$ ./setup_project.sh +``` ## Generate IPA diff --git a/Podfile b/Podfile index aa6b4d8f5..d18617aa9 100644 --- a/Podfile +++ b/Podfile @@ -11,7 +11,7 @@ use_frameworks! # - `{ {kit spec hash} => {sdk spec hash}` to depend on specific pod options (:git => …, :podspec => …) for each repo. Used by Fastfile during CI # # Warning: our internal tooling depends on the name of this variable name, so be sure not to change it -$matrixKitVersion = '= 0.15.5' +$matrixKitVersion = '= 0.15.7' # $matrixKitVersion = :local # $matrixKitVersion = {'develop' => 'develop'} diff --git a/Podfile.lock b/Podfile.lock index 8a8b129b9..b414eab7c 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -58,29 +58,29 @@ PODS: - MatomoTracker (7.4.1): - MatomoTracker/Core (= 7.4.1) - MatomoTracker/Core (7.4.1) - - MatrixKit (0.15.5): + - MatrixKit (0.15.7): - Down (~> 0.11.0) - DTCoreText (~> 1.6.25) - HPGrowingTextView (~> 1.1) - libPhoneNumber-iOS (~> 0.9.13) - - MatrixKit/Core (= 0.15.5) - - MatrixSDK (= 0.19.5) - - MatrixKit/Core (0.15.5): + - MatrixKit/Core (= 0.15.7) + - MatrixSDK (= 0.19.7) + - MatrixKit/Core (0.15.7): - Down (~> 0.11.0) - DTCoreText (~> 1.6.25) - HPGrowingTextView (~> 1.1) - libPhoneNumber-iOS (~> 0.9.13) - - MatrixSDK (= 0.19.5) - - MatrixSDK (0.19.5): - - MatrixSDK/Core (= 0.19.5) - - MatrixSDK/Core (0.19.5): + - MatrixSDK (= 0.19.7) + - MatrixSDK (0.19.7): + - MatrixSDK/Core (= 0.19.7) + - MatrixSDK/Core (0.19.7): - AFNetworking (~> 4.0.0) - GZIP (~> 1.3.0) - libbase58 (~> 0.1.4) - OLMKit (~> 3.2.4) - Realm (= 10.7.6) - SwiftyBeaver (= 1.9.5) - - MatrixSDK/JingleCallStack (0.19.5): + - MatrixSDK/JingleCallStack (0.19.7): - JitsiMeetSDK (= 3.5.0) - MatrixSDK/Core - OLMKit (3.2.4): @@ -124,7 +124,7 @@ DEPENDENCIES: - KeychainAccess (~> 4.2.2) - KTCenterFlowLayout (~> 1.3.1) - MatomoTracker (~> 7.4.1) - - MatrixKit (= 0.15.5) + - MatrixKit (= 0.15.7) - MatrixSDK - MatrixSDK/JingleCallStack - OLMKit @@ -204,8 +204,8 @@ SPEC CHECKSUMS: LoggerAPI: ad9c4a6f1e32f518fdb43a1347ac14d765ab5e3d Logging: beeb016c9c80cf77042d62e83495816847ef108b MatomoTracker: 24a846c9d3aa76933183fe9d47fd62c9efa863fb - MatrixKit: 7606227237cf58c1a1a2235547222c5d75b464c4 - MatrixSDK: 9fa30f9ca2504c4251b99212dcf4ff569bbf45b1 + MatrixKit: 5939d1b63bad3e7f709534a8f105b69f84728591 + MatrixSDK: c0bbec5b67cc8771cffdf3b494d622bce0a51ceb OLMKit: 2d73cd67d149b5c3e3a8eb8ecae93d0b429d8a02 ReadMoreTextView: 19147adf93abce6d7271e14031a00303fe28720d Realm: ed860452717c8db8f4bf832b6807f7f2ce708839 @@ -219,6 +219,6 @@ SPEC CHECKSUMS: zxcvbn-ios: fef98b7c80f1512ff0eec47ac1fa399fc00f7e3c ZXingObjC: fdbb269f25dd2032da343e06f10224d62f537bdb -PODFILE CHECKSUM: c7386ecfb38fc4302613c915aef79eebdb98a53d +PODFILE CHECKSUM: 605b63b9968e2916d998f4769f162b4b7c2a2577 COCOAPODS: 1.10.1 diff --git a/Riot.xcodeproj/xcshareddata/xcschemes/Riot.xcscheme b/Riot.xcodeproj/xcshareddata/xcschemes/Riot.xcscheme index a9bea1d96..84ecb908a 100644 --- a/Riot.xcodeproj/xcshareddata/xcschemes/Riot.xcscheme +++ b/Riot.xcodeproj/xcshareddata/xcschemes/Riot.xcscheme @@ -4,8 +4,7 @@ version = "1.3"> + buildImplicitDependencies = "YES"> String { - return VectorL10n.tr("Vector", "event_formatter_call_has_ended", p1) + /// Call ended + internal static var eventFormatterCallHasEnded: String { + return VectorL10n.tr("Vector", "event_formatter_call_has_ended") + } + /// Call ended • %@ + internal static func eventFormatterCallHasEndedWithTime(_ p1: String) -> String { + return VectorL10n.tr("Vector", "event_formatter_call_has_ended_with_time", p1) + } + /// Incoming video call + internal static var eventFormatterCallIncomingVideo: String { + return VectorL10n.tr("Vector", "event_formatter_call_incoming_video") + } + /// Incoming voice call + internal static var eventFormatterCallIncomingVoice: String { + return VectorL10n.tr("Vector", "event_formatter_call_incoming_voice") + } + /// Missed video call + internal static var eventFormatterCallMissedVideo: String { + return VectorL10n.tr("Vector", "event_formatter_call_missed_video") + } + /// Missed voice call + internal static var eventFormatterCallMissedVoice: String { + return VectorL10n.tr("Vector", "event_formatter_call_missed_voice") } /// Retry internal static var eventFormatterCallRetry: String { @@ -1278,26 +1306,10 @@ internal enum VectorL10n { internal static var eventFormatterCallRinging: String { return VectorL10n.tr("Vector", "event_formatter_call_ringing") } - /// Video call - internal static var eventFormatterCallVideo: String { - return VectorL10n.tr("Vector", "event_formatter_call_video") - } - /// Voice call - internal static var eventFormatterCallVoice: String { - return VectorL10n.tr("Vector", "event_formatter_call_voice") - } - /// Active call - internal static var eventFormatterCallYouCurrentlyIn: String { - return VectorL10n.tr("Vector", "event_formatter_call_you_currently_in") - } - /// You declined this call + /// Call declined internal static var eventFormatterCallYouDeclined: String { return VectorL10n.tr("Vector", "event_formatter_call_you_declined") } - /// You missed this call - internal static var eventFormatterCallYouMissed: String { - return VectorL10n.tr("Vector", "event_formatter_call_you_missed") - } /// Group call internal static var eventFormatterGroupCall: String { return VectorL10n.tr("Vector", "event_formatter_group_call") @@ -4118,6 +4130,10 @@ internal enum VectorL10n { internal static var settingsDeactivateMyAccount: String { return VectorL10n.tr("Vector", "settings_deactivate_my_account") } + /// Device notifications + internal static var settingsDeviceNotifications: String { + return VectorL10n.tr("Vector", "settings_device_notifications") + } /// SESSIONS internal static var settingsDevices: String { return VectorL10n.tr("Vector", "settings_devices") @@ -4398,6 +4414,14 @@ internal enum VectorL10n { internal static var settingsNightMode: String { return VectorL10n.tr("Vector", "settings_night_mode") } + /// To enable notifications, go to your device settings. + internal static var settingsNotificationsDisabledAlertMessage: String { + return VectorL10n.tr("Vector", "settings_notifications_disabled_alert_message") + } + /// Notifications disabled + internal static var settingsNotificationsDisabledAlertTitle: String { + return VectorL10n.tr("Vector", "settings_notifications_disabled_alert_title") + } /// NOTIFICATION SETTINGS internal static var settingsNotificationsSettings: String { return VectorL10n.tr("Vector", "settings_notifications_settings") @@ -4410,10 +4434,6 @@ internal enum VectorL10n { internal static func settingsOlmVersion(_ p1: String) -> String { return VectorL10n.tr("Vector", "settings_olm_version", p1) } - /// Notifications are denied for %@, please allow them in your device settings - internal static func settingsOnDeniedNotification(_ p1: String) -> String { - return VectorL10n.tr("Vector", "settings_on_denied_notification", p1) - } /// OTHER internal static var settingsOther: String { return VectorL10n.tr("Vector", "settings_other") @@ -4890,6 +4910,10 @@ internal enum VectorL10n { internal static var voice: String { return VectorL10n.tr("Vector", "voice") } + /// Voice message + internal static var voiceMessageLockScreenPlaceholder: String { + return VectorL10n.tr("Vector", "voice_message_lock_screen_placeholder") + } /// Hold to record, release to send internal static var voiceMessageReleaseToSend: String { return VectorL10n.tr("Vector", "voice_message_release_to_send") @@ -4898,7 +4922,7 @@ internal enum VectorL10n { internal static func voiceMessageRemainingRecordingTime(_ p1: String) -> String { return VectorL10n.tr("Vector", "voice_message_remaining_recording_time", p1) } - /// Tap on the wavelength to stop and playback + /// Tap on your recording to stop or listen internal static var voiceMessageStopLockedModeRecording: String { return VectorL10n.tr("Vector", "voice_message_stop_locked_mode_recording") } diff --git a/Riot/Managers/Settings/RiotSettings.swift b/Riot/Managers/Settings/RiotSettings.swift index f027779ad..e30e7a422 100644 --- a/Riot/Managers/Settings/RiotSettings.swift +++ b/Riot/Managers/Settings/RiotSettings.swift @@ -54,7 +54,6 @@ final class RiotSettings: NSObject { static let roomCreationScreenRoomIsPublic = "roomCreationScreenRoomIsPublic" static let allowInviteExernalUsers = "allowInviteExernalUsers" static let enableRingingForGroupCalls = "enableRingingForGroupCalls" - static let enableVoiceMessages = "enableVoiceMessages" static let roomSettingsScreenShowLowPriorityOption = "roomSettingsScreenShowLowPriorityOption" static let roomSettingsScreenShowDirectChatOption = "roomSettingsScreenShowDirectChatOption" static let roomSettingsScreenAllowChangingAccessSettings = "roomSettingsScreenAllowChangingAccessSettings" @@ -99,7 +98,6 @@ final class RiotSettings: NSObject { private override init() { super.init() defaults.register(defaults: [ - UserDefaultsKeys.enableVoiceMessages: BuildSettings.voiceMessagesEnabled, UserDefaultsKeys.roomInputToolbarCompressionMode: BuildSettings.roomInputToolbarCompressionMode.rawValue ]) } @@ -226,14 +224,6 @@ final class RiotSettings: NSObject { } } - var enableVoiceMessages: Bool { - get { - return defaults.bool(forKey: UserDefaultsKeys.enableVoiceMessages) - } set { - defaults.set(newValue, forKey: UserDefaultsKeys.enableVoiceMessages) - } - } - // MARK: Calls /// Indicate if `allowStunServerFallback` settings has been set once. diff --git a/Riot/Managers/UserSessions/UserSessionsService.swift b/Riot/Managers/UserSessions/UserSessionsService.swift index 19d9b05fa..bf513d305 100644 --- a/Riot/Managers/UserSessions/UserSessionsService.swift +++ b/Riot/Managers/UserSessions/UserSessionsService.swift @@ -151,7 +151,7 @@ class UserSessionsService: NSObject { let isSessionStateValid: Bool switch mxSession.state { - case MXSessionStateClosed, MXSessionStateUnknownToken: + case .closed, .unknownToken: isSessionStateValid = false default: isSessionStateValid = true diff --git a/Riot/Modules/Application/LegacyAppDelegate.m b/Riot/Modules/Application/LegacyAppDelegate.m index ae55cf538..a6df6cb48 100644 --- a/Riot/Modules/Application/LegacyAppDelegate.m +++ b/Riot/Modules/Application/LegacyAppDelegate.m @@ -1854,16 +1854,6 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni [account addObserver:self forKeyPath:@"enableInAppNotifications" options:0 context:nil]; } - // Load the local contacts on first account creation. - if ([MXKAccountManager sharedManager].accounts.count == 1) - { - dispatch_async(dispatch_get_main_queue(), ^{ - - [self refreshLocalContacts]; - - }); - } - [self.delegate legacyAppDelegate:self didAddAccount:account]; }]; @@ -1976,14 +1966,6 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni // during this blocking task. dispatch_after(dispatch_walltime(DISPATCH_TIME_NOW, 0.3 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{ [[MXKContactManager sharedManager] addMatrixSession:mxSession]; - - // Load the local contacts on first account - if ([MXKAccountManager sharedManager].accounts.count == 1) - { - dispatch_async(dispatch_get_main_queue(), ^{ - [self refreshLocalContacts]; - }); - } }); // Register the session to the widgets manager @@ -2939,54 +2921,6 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni }]; } -- (void)refreshLocalContacts -{ - if (!BuildSettings.allowLocalContactsAccess) - { - return; - } - - // Do not scan local contacts in background if the user has not decided yet about using - // an identity server - BOOL doRefreshLocalContacts = NO; - for (MXSession *session in mxSessionArray) - { - if (session.hasAccountDataIdentityServerValue) - { - doRefreshLocalContacts = YES; - break; - } - } - - // Check whether the application is allowed to access the local contacts. - if (doRefreshLocalContacts - && [CNContactStore authorizationStatusForEntityType:CNEntityTypeContacts] == CNAuthorizationStatusAuthorized) - { - // Check the user permission for syncing local contacts. This permission was handled independently on previous application version. - if (![MXKAppSettings standardAppSettings].syncLocalContacts) - { - // Check whether it was not requested yet. - if (![MXKAppSettings standardAppSettings].syncLocalContactsPermissionRequested) - { - [MXKAppSettings standardAppSettings].syncLocalContactsPermissionRequested = YES; - - [MXKContactManager requestUserConfirmationForLocalContactsSyncInViewController:self.presentedViewController completionHandler:^(BOOL granted) { - - if (granted) - { - // Allow local contacts sync in order to discover matrix users. - [MXKAppSettings standardAppSettings].syncLocalContacts = YES; - } - - }]; - } - } - - // Refresh the local contacts list. - [[MXKContactManager sharedManager] refreshLocalContacts]; - } -} - #pragma mark - Matrix Groups handling - (void)showGroup:(MXGroup*)group withMatrixSession:(MXSession*)mxSession diff --git a/Riot/Modules/Authentication/SSO/SSOAuthenticationService.swift b/Riot/Modules/Authentication/SSO/SSOAuthenticationService.swift index d00094b85..1ede12851 100644 --- a/Riot/Modules/Authentication/SSO/SSOAuthenticationService.swift +++ b/Riot/Modules/Authentication/SSO/SSOAuthenticationService.swift @@ -48,12 +48,10 @@ final class SSOAuthenticationService: NSObject { return nil } - let ssoRedirectPath: String + var ssoRedirectPath = SSOURLConstants.Paths.redirect if let identityProvider = identityProvider { - ssoRedirectPath = SSOURLConstants.Paths.unstableRedirect + identityProvider - } else { - ssoRedirectPath = SSOURLConstants.Paths.redirect + ssoRedirectPath.append(identityProvider) } authenticationComponent.path = ssoRedirectPath diff --git a/Riot/Modules/Authentication/SSO/SSOURLConstants.swift b/Riot/Modules/Authentication/SSO/SSOURLConstants.swift index 01de2ddc9..791987bfc 100644 --- a/Riot/Modules/Authentication/SSO/SSOURLConstants.swift +++ b/Riot/Modules/Authentication/SSO/SSOURLConstants.swift @@ -24,7 +24,6 @@ enum SSOURLConstants { } enum Paths { - static let redirect = "/_matrix/client/r0/login/sso/redirect" - static let unstableRedirect = "/_matrix/client/unstable/org.matrix.msc2858/login/sso/redirect/" + static let redirect = "/_matrix/client/r0/login/sso/redirect/" } } diff --git a/Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m b/Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m index 0e2f14ea3..123d9da69 100644 --- a/Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m +++ b/Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m @@ -71,17 +71,9 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou processingQueue = dispatch_queue_create("RecentsDataSource", DISPATCH_QUEUE_SERIAL); _crossSigningBannerDisplay = CrossSigningBannerDisplayNone; - crossSigningBannerSection = -1; - _secureBackupBannerDisplay = SecureBackupBannerDisplayNone; - secureBackupBannerSection = -1; - directorySection = -1; - invitesSection = -1; - favoritesSection = -1; - peopleSection = -1; - conversationSection = -1; - lowPrioritySection = -1; - serverNoticeSection = -1; + + [self resetSectionIndexes]; _areSectionsShrinkable = NO; shrinkedSectionsBitMask = 0; @@ -96,6 +88,19 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou return self; } +- (void)resetSectionIndexes +{ + crossSigningBannerSection = -1; + secureBackupBannerSection = -1; + directorySection = -1; + invitesSection = -1; + favoritesSection = -1; + peopleSection = -1; + conversationSection = -1; + lowPrioritySection = -1; + serverNoticeSection = -1; +} + #pragma mark - Properties @@ -445,7 +450,7 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou // Check whether all data sources are ready before rendering recents if (self.state == MXKDataSourceStateReady) { - crossSigningBannerSection = secureBackupBannerSection = directorySection = favoritesSection = peopleSection = conversationSection = lowPrioritySection = invitesSection = serverNoticeSection = -1; + [self resetSectionIndexes]; if (self.crossSigningBannerDisplay != CrossSigningBannerDisplayNone) { @@ -1119,10 +1124,8 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou #pragma mark - MXKDataSourceDelegate -- (void)refreshRoomsSection:(void (^)(void))onComplete; +- (void)refreshRoomsSection:(void (^)(void))onComplete { - secureBackupBannerSection = directorySection = favoritesSection = peopleSection = conversationSection = lowPrioritySection = serverNoticeSection = invitesSection = -1; - if (displayedRecentsDataSourceArray.count > 0) { // FIXME manage multi accounts diff --git a/Riot/Modules/Common/Recents/Views/RecentTableViewCell.h b/Riot/Modules/Common/Recents/Views/RecentTableViewCell.h index d2e776b92..e3feee4e4 100644 --- a/Riot/Modules/Common/Recents/Views/RecentTableViewCell.h +++ b/Riot/Modules/Common/Recents/Views/RecentTableViewCell.h @@ -23,7 +23,6 @@ @property (weak, nonatomic) IBOutlet UIView *missedNotifAndUnreadIndicator; @property (weak, nonatomic) IBOutlet MXKImageView *roomAvatar; -@property (weak, nonatomic) IBOutlet UIView *directRoomBorderView; @property (weak, nonatomic) IBOutlet UIImageView *encryptedRoomIcon; @property (weak, nonatomic) IBOutlet UILabel *missedNotifAndUnreadBadgeLabel; diff --git a/Riot/Modules/Common/Recents/Views/RecentTableViewCell.m b/Riot/Modules/Common/Recents/Views/RecentTableViewCell.m index 37e70eed6..337c39cba 100644 --- a/Riot/Modules/Common/Recents/Views/RecentTableViewCell.m +++ b/Riot/Modules/Common/Recents/Views/RecentTableViewCell.m @@ -27,11 +27,6 @@ #import "MXRoomSummary+Riot.h" -#pragma mark - Defines & Constants - -static const CGFloat kDirectRoomBorderColorAlpha = 0.75; -static const CGFloat kDirectRoomBorderWidth = 3.0; - @implementation RecentTableViewCell #pragma mark - Class methods @@ -54,16 +49,6 @@ static const CGFloat kDirectRoomBorderWidth = 3.0; self.lastEventDate.textColor = ThemeService.shared.theme.textSecondaryColor; self.missedNotifAndUnreadBadgeLabel.textColor = ThemeService.shared.theme.baseTextPrimaryColor; - // Prepare direct room border - CGColorRef directRoomBorderColor = CGColorCreateCopyWithAlpha(ThemeService.shared.theme.tintColor.CGColor, kDirectRoomBorderColorAlpha); - - [self.directRoomBorderView.layer setCornerRadius:self.directRoomBorderView.frame.size.width / 2]; - self.directRoomBorderView.clipsToBounds = YES; - self.directRoomBorderView.layer.borderColor = directRoomBorderColor; - self.directRoomBorderView.layer.borderWidth = kDirectRoomBorderWidth; - - CFRelease(directRoomBorderColor); - self.roomAvatar.defaultBackgroundColor = [UIColor clearColor]; } @@ -138,8 +123,6 @@ static const CGFloat kDirectRoomBorderWidth = 3.0; // The room title is not bold anymore self.roomTitle.font = [UIFont systemFontOfSize:17 weight:UIFontWeightMedium]; } - - self.directRoomBorderView.hidden = !roomCellData.roomSummary.room.isDirect; [roomCellData.roomSummary setRoomAvatarImageIn:self.roomAvatar]; } diff --git a/Riot/Modules/Common/Recents/Views/RecentTableViewCell.xib b/Riot/Modules/Common/Recents/Views/RecentTableViewCell.xib index 8765ab55e..dec130d7d 100644 --- a/Riot/Modules/Common/Recents/Views/RecentTableViewCell.xib +++ b/Riot/Modules/Common/Recents/Views/RecentTableViewCell.xib @@ -1,9 +1,9 @@ - + - + @@ -34,14 +34,6 @@ -