Commit Graph

2305 Commits

Author SHA1 Message Date
Doug f3beec64f0 Use MXWeakify/MXStrongifyAndReturnIfNil. 2021-07-29 11:37:19 +01:00
Doug cd807d718e Update notifications disabled alert. 2021-07-28 12:45:06 +01:00
Doug 60748a68dc Turn the toggle off if notifications were denied. 2021-07-28 11:38:49 +01:00
Doug 1b184c988f Update string. 2021-07-27 17:38:40 +01:00
Doug 2eebd6ef71 Cherry-pick ceb5a35 and 949d3d9 as an additional option, rather than replacing the toggle. 2021-07-27 17:31:22 +01:00
Doug 7b52d9912f Fix compile error. 2021-07-27 17:15:43 +01:00
Doug 75aa3337de Merge branch 'develop' into doug/2368_2_allow_silent_notifications 2021-07-27 16:52:30 +01:00
Doug 885d8e3928 Remove the observer in destroy. 2021-07-26 15:16:27 +01:00
Doug c94ca89a90 Fix crash from potentially calling removeObserver multiple times.
Let the system remove it for us.
2021-07-26 15:01:55 +01:00
David Langley 44668a5def Fix Crash when opening the new Room Notification Settings Screen (Not yet released) (#4599) 2021-07-26 11:39:45 +01:00
Doug d0582016ea Trim whitespace from the identity server text entry and don't allow an empty string. 2021-07-23 14:27:25 +01:00
Doug 82dfc0611f Configure identity server keyboard for safer URL entry. 2021-07-23 14:08:51 +01:00
Doug 21049b5ad0 Merge branch 'develop' into doug/4519_decrypt_notifications_by_default_fix
# Conflicts:
#	CHANGES.rst
#	Config/BuildSettings.swift
2021-07-23 10:15:44 +01:00
Doug c340e60886 Merge branch 'develop' into doug/4521_remove_directory_from_rooms_tab 2021-07-22 14:37:25 +01:00
manuroe f6483d7262 Merge branch 'develop' into element_4090 2021-07-22 14:16:35 +02:00
Stefan Ceriu fb04d6fb26 Fixes #4583 - Mention user does not work (settings -> members -> select a member -> mention) 2021-07-21 16:20:50 +03:00
Stefan Ceriu 6b1f8f4c30 #4090 - Activating the shared AVAudioSession before recording or playback. 2021-07-19 15:54:14 +03:00
Stefan Ceriu a7d053e97f #4090 - Various tweaks and fixes following code review. Switched back to DateFormatters for formatting durations, sanitising audio player durations and current times. 2021-07-19 15:48:37 +03:00
Stefan Ceriu f19511d372 #4090 - Added voice messages switch to the labs section in settings. 2021-07-16 16:57:29 +03:00
Stefan Ceriu 3176745379 #4090 - Fixed the AttachmentCacheManager's serial nature. 2021-07-16 15:47:56 +03:00
Stefan Ceriu 49e3d0f365 Revert "Revert "#4094 - Reintroduced serial attachment loading processing queue and fixed completionCallback storage so they take the requestedNumberOfSamples into account.""
This reverts commit cf884c6abf0e75f9d2b89a95012bd31d8200ae35.
2021-07-16 13:46:06 +03:00
Stefan Ceriu 2b64a40ed0 Revert "#4094 - Reintroduced serial attachment loading processing queue and fixed completionCallback storage so they take the requestedNumberOfSamples into account."
This reverts commit 9a3d26eae307820bd0fd5b21970f9a34007e64ef.
2021-07-16 13:31:38 +03:00
Stefan Ceriu 9a8d09efb4 #4090 - Switched the sendVoiceMessage method duration parameter to an integer. 2021-07-16 12:49:28 +03:00
Stefan Ceriu f6be61fc70 #4094 - Reintroduced serial attachment loading processing queue and fixed completionCallback storage so they take the requestedNumberOfSamples into account. 2021-07-16 12:05:47 +03:00
Stefan Ceriu 31cfaf1cc0 #4094 - Redrawing waveforms on bound changes. 2021-07-16 09:06:36 +03:00
Doug 49b2078741 Typo. 2021-07-15 18:24:02 +01:00
Doug 111801079a Drop use of deprecated currentUserNotificationSettings property in favour of UNUserNotificationCenter. 2021-07-15 18:23:36 +01:00
Stefan Ceriu e3a025cfe0 #4094 - Fixed flickering elapsed time labels and other tweaks. 2021-07-14 14:40:54 +03:00
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
Doug c68535984d Merge pull request #4542 from vector-im/doug/fix_warnings
Fix warnings
2021-07-13 11:07:47 +01: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
Gil Eluard a803a025a4 Show / hide reset button in secrets recovery screen (#4546). 2021-07-12 22:51:56 +02: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 ab9336d08b Merge pull request #4541 from vector-im/doug/4483_fix_picking_slow_mo_videos
Add support for sending slow motion videos
2021-07-12 16:26:48 +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
Gil Eluard b1d4f2dd37 it's easy for the back button to trigger a leftpanel reveal (#4438)
- Fixed
2021-07-09 23:54:25 +02:00
Doug 87f3cad5cf Fix typo in comments. 2021-07-09 17:58:27 +01: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
David Baker 84b8a56f9d Merge remote-tracking branch 'origin/develop' into dbkr/scan_button_title 2021-07-09 16:40:16 +01:00