Commit Graph

912 Commits

Author SHA1 Message Date
Doug d181065321 Use the layer's corner radius rather than a custom mask.
This will ensure the mask bounds always match the view's size.
2021-07-14 10:37:54 +01:00
Doug c7176c7423 Always update the path of the attachmentView's mask to handle reuse. 2021-07-14 10:15:50 +01:00
Stefan Ceriu bcba0d2338 #4094 - Switched back to multiple audio player instances (1 per event identifier), strongly retaining the currenty playing one and unloading all stopped ones. Various other improvements and bug fixes. 2021-07-14 10:26:21 +03:00
Stefan Ceriu 513c950e0d Revert "Revert "#4545 - Switch back to using multiple audio player instances, allow pausing when starting a new player.""
This reverts commit 1a5197c69a9caa0e961fd58939a76e4c4349468e.
2021-07-13 16:13:39 +03:00
Stefan Ceriu 134250d486 #4094 - Sending voice message recording length and waveform samples. 2021-07-13 16:03:20 +03:00
Stefan Ceriu 844d946432 Merge branch 'develop' into element_4090
# Conflicts:
#	CHANGES.rst
2021-07-13 11:30:16 +03:00
Stefan Ceriu 0d315dbe0f Revert "#4545 - Switch back to using multiple audio player instances, allow pausing when starting a new player."
This reverts commit 1a2a434d9dabf08caecdd9d6833abf02e2e77365.
2021-07-13 08:04:50 +03:00
Doug cec15f8f1d Merge branch 'develop' into doug/fix_warnings
# Conflicts:
#	Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewController.swift
2021-07-12 17:54:34 +01:00
Doug 83e05d26ac Use updated methods in MatrixKit. 2021-07-12 14:02:29 +01:00
Stefan Ceriu b6b8ec7d9f #4094 - Fixed attachments caching layer not working accordingly. 2021-07-12 15:50:44 +03:00
Stefan Ceriu 9013fcb59f #4094 - Fix crash on concurrent access to waveform audio samples. 2021-07-12 15:31:18 +03:00
Stefan Ceriu 648eea312c #4545 - Switch back to using multiple audio player instances, allow pausing when starting a new player. 2021-07-12 15:30:48 +03:00
Stefan Ceriu 436083ae8c #4094 - Disable message replies while recording audio messages. 2021-07-12 12:18:49 +03:00
Stefan Ceriu f95155e3e3 #4094 - Reduced the minimum recording duration to 1 second. 2021-07-12 10:18:01 +03:00
Gil Eluard 67613cffa2 #4090 - Update after review 2021-07-10 00:16:23 +02:00
Doug a4075c89cb Fix class keyword deprecation warnings everywhere!
Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
2021-07-09 17:05:43 +01:00
Doug 27672d40c2 Merge branch 'develop' into doug/4483_fix_picking_slow_mo_videos 2021-07-09 11:17:44 +01:00
langleyd 816513cee6 Fix logging, add "Notify me for" label, fix theme on avatar and add changes 2021-07-08 20:54:32 +01:00
Doug ba8123c73a Fix sending a video selected from a document picker. 2021-07-08 17:41:55 +01:00
Doug d95b182fda Send videos from the camera as AVURLAsset objects. 2021-07-08 16:55:32 +01:00
Doug 6f1d7080f0 Use AVAsset instead of NSURL to enable sending slow motion videos.
Slow motion videos are returned as AVComposition objects when picked. which lacks a URL property.
2021-07-08 16:26:19 +01:00
Gil Eluard 36cefffd7e #4090 - Update after review 2021-07-06 23:03:56 +02:00
langleyd 4c824cfced Use theme font types 2021-07-06 21:10:42 +01:00
langleyd 87710ca8c3 Merge branch 'develop' of github.com:vector-im/element-ios into roomNotificationSettings 2021-07-06 19:51:17 +01:00
langleyd 8a2425aaa7 Fix typos, naming and copywright 2021-07-06 19:39:15 +01:00
Gil Eluard 41f8cc6b0f Update Riot/Modules/Room/RoomViewController.m
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-07-06 15:17:22 +02:00
langleyd 97496f93ea Fix build, mute bug and footer label on unencrypted builds 2021-07-06 11:38:29 +01:00
Gil Eluard 5d3c40ad7a MXKeyBackup: trustForKeyBackupVersionFromCryptoQueue must consider MSK trust
- code tweaks and optimizations
2021-07-06 08:57:51 +02:00
langleyd 0fb949b294 spacing and cleanup dead code 2021-07-05 16:49:06 +01:00
langleyd 23884eb4c0 Fix build and naming of State -> ViewData 2021-07-05 16:28:14 +01:00
langleyd 64efc159ba Fix service naming 2021-07-04 17:27:19 +01:00
langleyd 5cacdac19e Change in behaviour: mute should actually mean mute on update now. 2021-07-04 17:06:19 +01:00
langleyd ff61a79ffb Add ViewModel tests and change avatar data to use existing AvatarViewDataProtocol 2021-07-04 17:01:42 +01:00
langleyd 7a2ba9dfb4 Add avatar view and title 2021-07-04 10:46:17 +01:00
langleyd 3f7d45100c Add entry points at long press on home view and slide on recents. 2021-07-02 20:19:46 +01:00
Doug cf860049ef Fix SwiftLint warnings. 2021-07-02 17:13:45 +01:00
Doug 0f720e56d7 Fix documentation warnings. 2021-07-02 16:46:27 +01:00
langleyd ce5d53822b Update theming and footer 2021-07-02 16:16:54 +01:00
langleyd 9c42cb1aeb Fix naming of Repository -> Service, Impl -> Type 2021-07-02 10:39:27 +01:00
langleyd 8b52cda3f7 Fix typo and don't show link to account settings until we have global notification settings. 2021-07-02 10:30:44 +01:00
langleyd 0f10ffa7d7 Add translations, footer message and room encryption handling 2021-07-02 10:15:35 +01:00
Gil Eluard 1e3abae9c7 #4090 - Improved performances 2021-07-02 07:38:56 +02:00
Gil Eluard adec2dc99b #4090 - fixed small theme issues 2021-06-29 17:05:01 +02:00
Gil Eluard b16d11e472 #4090 - bug fixing and removed work queue 2021-06-29 15:08:55 +02:00
Gil Eluard 8786eb4571 #4090 - Hide voice message button when on action mode 2021-06-29 10:36:10 +02:00
Gil Eluard 721e761e84 #4090 - Fixed UI regression if BuildSettings.voiceMessagesEnabled = false 2021-06-29 10:17:15 +02:00
Gil Eluard bca643e1fd #4090 - Use a dedicated dispatch queue for process 2021-06-29 08:52:21 +02:00
langleyd 15c02a2b61 Add NotificationRepository, ViewModel and ViewController 2021-06-25 22:38:31 +01:00
Stefan Ceriu c7c1f436f2 #4094 - Increased minimum long press duration to 1 second, reversed audio recorder waveform direction, added a minimum recording duration of 5 seconds for hold&send. 2021-06-25 16:51:45 +03:00
Stefan Ceriu b2ee648f78 #4094 - Fixed toast notifications background color on dark themes. 2021-06-25 15:46:48 +03:00