Commit graph

2297 commits

Author SHA1 Message Date
Doug
32208e615f Add "Confirm image size before sending" setting.
Use this when sending images.
2021-07-28 14:14:34 +01:00
Doug
4c3a5046b1 Remove the observer in destroy. 2021-07-26 15:16:27 +01:00
Doug
4ff7d90875 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
4acdb5e678 Fix Crash when opening the new Room Notification Settings Screen (Not yet released) (#4599) 2021-07-26 11:39:45 +01:00
Doug
20459f1f3e Trim whitespace from the identity server text entry and don't allow an empty string. 2021-07-23 14:27:25 +01:00
Doug
fbb228a1ae Configure identity server keyboard for safer URL entry. 2021-07-23 14:08:51 +01:00
Doug
6229055e3a 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
d7b77f2fd1
Merge branch 'develop' into doug/4521_remove_directory_from_rooms_tab 2021-07-22 14:37:25 +01:00
manuroe
671f2118cc
Merge branch 'develop' into element_4090 2021-07-22 14:16:35 +02:00
Stefan Ceriu
34f9fb433f Fixes #4583 - Mention user does not work (settings -> members -> select a member -> mention) 2021-07-21 16:20:50 +03:00
Stefan Ceriu
39084b00da #4090 - Activating the shared AVAudioSession before recording or playback. 2021-07-19 15:54:14 +03:00
Stefan Ceriu
0ead60f397 #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
089c6889d6 #4090 - Added voice messages switch to the labs section in settings. 2021-07-16 16:57:29 +03:00
Stefan Ceriu
ec33ec81f8 #4090 - Fixed the AttachmentCacheManager's serial nature. 2021-07-16 15:47:56 +03:00
Stefan Ceriu
427e77e619 Revert "Revert "#4094 - Reintroduced serial attachment loading processing queue and fixed completionCallback storage so they take the requestedNumberOfSamples into account.""
This reverts commit cf884c6abf.
2021-07-16 13:46:06 +03:00
Stefan Ceriu
cf884c6abf Revert "#4094 - Reintroduced serial attachment loading processing queue and fixed completionCallback storage so they take the requestedNumberOfSamples into account."
This reverts commit 9a3d26eae3.
2021-07-16 13:31:38 +03:00
Stefan Ceriu
511569a767 #4090 - Switched the sendVoiceMessage method duration parameter to an integer. 2021-07-16 12:49:28 +03:00
Stefan Ceriu
9a3d26eae3 #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
521c713d30 #4094 - Redrawing waveforms on bound changes. 2021-07-16 09:06:36 +03:00
Stefan Ceriu
a3ec3356db #4094 - Fixed flickering elapsed time labels and other tweaks. 2021-07-14 14:40:54 +03:00
Doug
30ee01054f 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
988267c74f Always update the path of the attachmentView's mask to handle reuse. 2021-07-14 10:15:50 +01:00
Stefan Ceriu
1181ccafff #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
ff9384c079 Revert "Revert "#4545 - Switch back to using multiple audio player instances, allow pausing when starting a new player.""
This reverts commit 1a5197c69a.
2021-07-13 16:13:39 +03:00
Stefan Ceriu
227197375c #4094 - Sending voice message recording length and waveform samples. 2021-07-13 16:03:20 +03:00
Doug
9db2956578
Merge pull request #4542 from vector-im/doug/fix_warnings
Fix warnings
2021-07-13 11:07:47 +01:00
Stefan Ceriu
cf00d3e8c2 Merge branch 'develop' into element_4090
# Conflicts:
#	CHANGES.rst
2021-07-13 11:30:16 +03:00
Stefan Ceriu
1a5197c69a Revert "#4545 - Switch back to using multiple audio player instances, allow pausing when starting a new player."
This reverts commit 1a2a434d9d.
2021-07-13 08:04:50 +03:00
Gil Eluard
a650e49533 Show / hide reset button in secrets recovery screen (#4546). 2021-07-12 22:51:56 +02:00
Doug
989f19696d Merge branch 'develop' into doug/fix_warnings
# Conflicts:
#	Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewController.swift
2021-07-12 17:54:34 +01:00
Doug
3f15a44721
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
0cb3aaa267 Use updated methods in MatrixKit. 2021-07-12 14:02:29 +01:00
Stefan Ceriu
a5136a38bb #4094 - Fixed attachments caching layer not working accordingly. 2021-07-12 15:50:44 +03:00
Stefan Ceriu
ba54f91ffc #4094 - Fix crash on concurrent access to waveform audio samples. 2021-07-12 15:31:18 +03:00
Stefan Ceriu
1a2a434d9d #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
9030f02de6 #4094 - Disable message replies while recording audio messages. 2021-07-12 12:18:49 +03:00
Stefan Ceriu
7d1f33c9ed #4094 - Reduced the minimum recording duration to 1 second. 2021-07-12 10:18:01 +03:00
Gil Eluard
65415c48ef #4090 - Update after review 2021-07-10 00:16:23 +02:00
Gil Eluard
a929ceb32e it's easy for the back button to trigger a leftpanel reveal (#4438)
- Fixed
2021-07-09 23:54:25 +02:00
Doug
94e2aa307c
Fix typo in comments. 2021-07-09 17:58:27 +01:00
Doug
e2a9d3bb24 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
b11c935784 Merge remote-tracking branch 'origin/develop' into dbkr/scan_button_title 2021-07-09 16:40:16 +01:00
David Baker
0fae773503 Don't show dialog on cancel if self-verifying
The user should know they cancelled in if they're self verifying since
they're the one who cancelled, from their other device (the copy referred
to 'the other party', so was inaccurate, so we may as well just remove it).
2021-07-09 16:38:25 +01:00
Doug
9ba4066257 Add decryptNotificationsByDefault build setting. 2021-07-09 15:00:03 +01:00
Doug
39ff2cb13c
Merge branch 'develop' into doug/4483_fix_picking_slow_mo_videos 2021-07-09 11:17:44 +01:00
David Langley
40431c025f
Merge pull request #4458 from vector-im/roomNotificationSettings 2021-07-08 21:29:00 +01:00
langleyd
9e7fb75a2f Fix logging, add "Notify me for" label, fix theme on avatar and add changes 2021-07-08 20:54:32 +01:00
Doug
9ec4f75083 Fix sending a video selected from a document picker. 2021-07-08 17:41:55 +01:00
Doug
e134648982 Send videos from the camera as AVURLAsset objects. 2021-07-08 16:55:32 +01:00
Doug
0e2f07a232 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