Commit graph

913 commits

Author SHA1 Message Date
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
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
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
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
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
Doug
39ff2cb13c
Merge branch 'develop' into doug/4483_fix_picking_slow_mo_videos 2021-07-09 11:17:44 +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
Gil Eluard
e492d2b077 #4090 - Update after review 2021-07-06 23:03:56 +02:00
langleyd
87d0819bc7 Use theme font types 2021-07-06 21:10:42 +01:00
langleyd
ef87cf1f90 Merge branch 'develop' of github.com:vector-im/element-ios into roomNotificationSettings 2021-07-06 19:51:17 +01:00
langleyd
bbcc2f027b Fix typos, naming and copywright 2021-07-06 19:39:15 +01:00
Gil Eluard
072509e930
Update Riot/Modules/Room/RoomViewController.m
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-07-06 15:17:22 +02:00
langleyd
fdfde0cc6b Fix build, mute bug and footer label on unencrypted builds 2021-07-06 11:38:29 +01:00
Gil Eluard
d67461f012 MXKeyBackup: trustForKeyBackupVersionFromCryptoQueue must consider MSK trust
- code tweaks and optimizations
2021-07-06 08:57:51 +02:00
langleyd
aa0056e8aa spacing and cleanup dead code 2021-07-05 16:49:06 +01:00
langleyd
e2751b83c4 Fix build and naming of State -> ViewData 2021-07-05 16:28:14 +01:00
langleyd
1b33c7d52d Fix service naming 2021-07-04 17:27:19 +01:00
langleyd
938aa8583a Change in behaviour: mute should actually mean mute on update now. 2021-07-04 17:06:19 +01:00
langleyd
013c271421 Add ViewModel tests and change avatar data to use existing AvatarViewDataProtocol 2021-07-04 17:01:42 +01:00
langleyd
f16d270d6c Add avatar view and title 2021-07-04 10:46:17 +01:00
langleyd
e787d3b695 Add entry points at long press on home view and slide on recents. 2021-07-02 20:19:46 +01:00
Doug
8cd2bd4eda Fix SwiftLint warnings. 2021-07-02 17:13:45 +01:00
Doug
080b3e94bb Fix documentation warnings. 2021-07-02 16:46:27 +01:00
langleyd
f88ef9f017 Update theming and footer 2021-07-02 16:16:54 +01:00
langleyd
76e4e7959b Fix naming of Repository -> Service, Impl -> Type 2021-07-02 10:39:27 +01:00
langleyd
20b8105795 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
ac27d68508 Add translations, footer message and room encryption handling 2021-07-02 10:15:35 +01:00
Gil Eluard
05c02c36c0 #4090 - Improved performances 2021-07-02 07:38:56 +02:00
Gil Eluard
760f03d3c3 #4090 - fixed small theme issues 2021-06-29 17:05:01 +02:00
Gil Eluard
c421af03b2 #4090 - bug fixing and removed work queue 2021-06-29 15:08:55 +02:00
Gil Eluard
397f88c696 #4090 - Hide voice message button when on action mode 2021-06-29 10:36:10 +02:00
Gil Eluard
78cb2b8239 #4090 - Fixed UI regression if BuildSettings.voiceMessagesEnabled = false 2021-06-29 10:17:15 +02:00
Gil Eluard
e8a3084b62 #4090 - Use a dedicated dispatch queue for process 2021-06-29 08:52:21 +02:00
langleyd
12651d7bc6 Add NotificationRepository, ViewModel and ViewController 2021-06-25 22:38:31 +01:00
Stefan Ceriu
e0cbe499d5 #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
fb87fe0458 #4094 - Fixed toast notifications background color on dark themes. 2021-06-25 15:46:48 +03:00
Stefan Ceriu
2c80e61025 #4094 - Fixed missing ffmpegkit module on release builds. Disabled cache manager work queue for now as it's still not working properly. 2021-06-25 14:42:52 +03:00
Stefan Ceriu
329215d17d #4094 - Caching layer work queue fixes and preventing sampling division by 0. 2021-06-25 13:18:40 +03:00
Stefan Ceriu
24f06a7288 #4094 - Fixed improper weak display link targets. 2021-06-25 12:13:43 +03:00
Stefan Ceriu
acebef7853 #4094 - Added voice message attachment decryption, transcoding and sampling caching layer. 2021-06-25 12:09:41 +03:00
Stefan Ceriu
a80736038d Merge branch 'develop' into element_4090 2021-06-24 14:45:27 +03:00
Stefan Ceriu
c12a7dc582 #4094 - Added toast notifications and maximum recording duration. 2021-06-24 14:02:41 +03:00
Stefan Ceriu
aa6064431e #4094 - Added Opus Ogg support through FFmpegKit backed media conversion. 2021-06-24 12:28:50 +03:00
Stefan Ceriu
1b90b2530f #4094 - Optimize expensive date formatters creation. 2021-06-24 11:33:14 +03:00
Stefan Ceriu
7d257f5878 #4094 - Added multiple observation on media services and a mediaServiceProvider that prevents simultaneous playback from multiple player instances. 2021-06-24 11:29:07 +03:00
Stefan Ceriu
0b6bdfbebc Fix retain cycle between the RoomTitleView (strong tapGestureDelegate) and the RoomViewController. 2021-06-24 09:50:32 +03:00
Stefan Ceriu
fc7d311647 #4094 - Various tweaks, bug fixes and improvements following code review. 2021-06-23 15:37:34 +03:00
langleyd
422ec25878 Add correct asset for notifications icon. 2021-06-22 16:01:21 +01:00
Stefan Ceriu
be8e0f6e34 #4094 - Fixed voice message toolbar states after sending message while recording in locked mode. 2021-06-22 16:58:36 +03:00
langleyd
c8add12654 Add new settings notification feature flag and update ui entry point 2021-06-22 13:39:50 +01:00
Stefan Ceriu
959ccc9527 #4094 - Added voice messages locked mode playback. 2021-06-22 13:19:39 +03:00
Stefan Ceriu
02da2e2c03 #4096 - Weakify display link targets. 2021-06-22 09:59:14 +03:00
Stefan Ceriu
3130fd5257 #4096 - Added locked mode transition and animations, locked recording mode and real time waveform. 2021-06-22 09:42:38 +03:00
Stefan Ceriu
99eb2d16ac #4096 - Extracted logic from the VoiceMessagePlaybackView. Exposed power levels from audio recorder. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
3c1bc56699 #4096 - Various small UI tweaks and bug fixes. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
53307f9662 #4096 - Voice message playback view theme support. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
1294c273a5 #4090 - Added voice messages feature flag. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
ff3170e031 #4096 - Added voice message decoding, timeline cell and playback UI. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
58c1be04a6 #4090 - Added recording duration label and permissions checking. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
8d54e03527 #4090 - Add voice message controller, audio recorder and toolbar view links. Working audio file sending and cancellation. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
b5070975d0 #4090 - Corrected dark theme appearance. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
3015cba8dc #4090 - Corrected dark theme appearance. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
3624d2ec44 #4090 - New voice recording toolbar ui and swipe to cancel interaction. 2021-06-22 09:42:37 +03:00
Gil Eluard
93fd5cd835 Voice Messages - Hold and send
- Added voice message button
- voice recording UI state
2021-06-22 09:42:37 +03:00
David Langley
5060d46348
Merge pull request #4405 from vector-im/element_4403
Fix crash when entering a DM after a call is hung-up/rejected while being answered (#4403)
2021-06-09 10:33:21 +01:00
langleyd
86a9f4f7be Fix crash when entering a DM after a call is hung-up/rejected while being answered (#4403) 2021-06-08 14:03:17 +01:00
SBiOSoftWhare
f828ce2648 RoomCreationIntroCell: Handle RoomAvatarViewData updates. 2021-06-07 18:46:16 +02:00
SBiOSoftWhare
4bf7593784 RoomAvatarView: Now inherits from AvatarView, make RoomAvatarViewData conform to AvatarViewDataProtocol. 2021-06-07 18:46:16 +02:00
Stefan Ceriu
f7a8163947
Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
manuroe
ff41ce8fd7 Crypto: Do not decrypt synchronously. It asynchronously happens upstream now
#4306)
2021-05-19 17:29:15 +02:00
ismailgulek
f28ecfb450
Merge branch 'develop' into element_4293 2021-05-12 10:34:03 +03:00
ismailgulek
2348a46247
Implement presentation controller delegate 2021-05-12 00:55:58 +03:00
SBiOSoftWhare
8f437e9fbe Merge branch 'spaces_beta' into spaces_feature_unavailable
# Conflicts:
#	Riot/Modules/Application/LegacyAppDelegate.h
2021-05-07 15:08:45 +02:00
ismailgulek
0f9e676af0
Use new theme colors 2021-05-04 19:33:56 +03:00
ismailgulek
13f485a5c3
Use new tile theme color 2021-05-04 19:25:24 +03:00
ismailgulek
eb5929d96d
Merge branch 'voip_design_updates' into voip_jitsi_remover 2021-05-04 19:11:17 +03:00
ismailgulek
678fc48b80
Merge branch 'develop' into voip_design_updates 2021-05-04 19:10:22 +03:00
SBiOSoftWhare
8acba6d1ba Use new universal link method where needed. 2021-05-04 10:41:55 +02:00
Gil Eluard
c569fbe0d9 Show / Hide More and Report Content contextual menu from settings
- Update after review
2021-04-29 20:10:07 +02:00
Gil Eluard
235df71607 Show / Hide More and Report Content contextual menu from settings 2021-04-29 17:03:34 +02:00
Gil Eluard
9cc897b0c4 Enable / disable "Hide all messages from this user" of Room Member Screen from settings 2021-04-29 15:38:19 +02:00
ismailgulek
85a7b2c9b4
Update end call icon color 2021-04-29 14:58:45 +03:00
ismailgulek
32a534ac58
Fix header bg color 2021-04-29 11:35:10 +03:00
ismailgulek
46742d4a24
Merge branch 'voip_design_updates' into voip_jitsi_remover 2021-04-29 10:50:20 +03:00
ismailgulek
6abbef4ae7
Merge branch 'develop' into voip_design_updates 2021-04-29 10:50:04 +03:00
ismailgulek
5a2bb2dc84
Edit code spacing 2021-04-29 02:21:59 +03:00
ismailgulek
2b43f70bdf
Remove image insets configurations 2021-04-29 02:20:50 +03:00
Gil Eluard
4c0e7e94be Crash in [RoomViewController setScrollToBottomHidden:] 2021-04-28 16:00:19 +02:00
ismailgulek
cf3c4ac073
Merge branch 'voip_design_updates' into voip_jitsi_remover 2021-04-28 14:03:24 +03:00
ismailgulek
c0d32c9762
Update pill styling 2021-04-28 13:55:16 +03:00
ismailgulek
cf18e1bda9
Use call tile bg color 2021-04-28 13:46:55 +03:00
ismailgulek
2bac32bb67
Hide voice call button for rooms with more than 2 people 2021-04-28 12:33:54 +03:00
ismailgulek
35c72b4f22
Merge branch 'voip_design_updates' into voip_jitsi_remover 2021-04-27 14:51:19 +03:00
ismailgulek
2ff05ee81e
Add end call button for active calls 2021-04-27 14:50:58 +03:00
ismailgulek
e7ce0e53f9
Update connecting and ringing state strings 2021-04-27 14:35:56 +03:00
ismailgulek
c3c62d76aa
Hide jumper by default 2021-04-27 14:14:31 +03:00
ismailgulek
a52b28897d
Fine tune shadow 2021-04-27 14:13:31 +03:00
ismailgulek
fbed1e4459
Update styling 2021-04-27 13:49:56 +03:00
ismailgulek
fc5466ad31
Update shadow 2021-04-27 01:42:20 +03:00
ismailgulek
0049053ab9
Update jump to unread banner to pill style 2021-04-27 01:37:41 +03:00
ismailgulek
1e8fc34e0a
Hide banners by default, stretch background into safe area 2021-04-26 15:59:13 +03:00
ismailgulek
c0479dcfe3
Add slider to room screen, stack views at the top of the screen 2021-04-23 18:36:51 +03:00
ismailgulek
3b573a1d3d
Create slider view 2021-04-23 17:54:03 +03:00
ismailgulek
bb13428ee3
Merge branch 'develop' into voip_design_updates 2021-04-22 12:17:00 +03:00
ismailgulek
badbeea0e8
Add leave action to call tiles 2021-04-21 14:52:51 +03:00
ismailgulek
a395c7e51d
Update join button icon 2021-04-21 14:02:01 +03:00
ismailgulek
c8224d2c2e
Adjust join button content insets 2021-04-21 13:58:15 +03:00
ismailgulek
b4f4d9a002
Hide scroll to bottom when room is left 2021-04-21 12:50:37 +03:00
ismailgulek
b800cbbefd
Pop view controller if pushed before 2021-04-21 12:50:21 +03:00
ismailgulek
f23cc01b12
Merge branch 'develop' into voip_design_updates 2021-04-21 12:49:21 +03:00
ismailgulek
18da2ccc87
Update call button for groups 2021-04-21 12:47:28 +03:00
ismailgulek
fc0d9fee79
Remove temporary call bar 2021-04-21 11:41:28 +03:00
Gil Eluard
b1e932a356 Merge branch 'develop' into element_4218
# Conflicts:
#	CHANGES.rst
#	Riot/Managers/Settings/RiotSettings.swift
2021-04-21 09:08:58 +02:00
Gil Eluard
27f51f863b Merge branch 'develop' into element_4218
# Conflicts:
#	CHANGES.rst
#	Riot/Managers/Settings/RiotSettings.swift
2021-04-20 15:27:27 +02:00
Gil Eluard
16da1f5648 Show / Hide integrations and actions in rooms 2021-04-20 14:54:53 +02:00
ismailgulek
ba81000e56
Merge branch 'develop' into voip_design_updates 2021-04-20 11:41:53 +03:00
Gil Eluard
de56297cb6 Enable / Disable VoIP feature in Rooms
- Update after review
2021-04-20 10:36:05 +02:00
Gil Eluard
450de18c8c Enable / Disable VoIP feature in Rooms 2021-04-19 20:39:07 +02:00
Gil Eluard
25981d805a RoomVC: Crash in refreshTypingNotification 2021-04-19 13:18:26 +02:00
ismailgulek
b56acd10bc
Change action button font size to 17 2021-04-19 11:44:52 +03:00
ismailgulek
c91f2531a5
Change body font size to 13px 2021-04-19 11:41:06 +03:00
ismailgulek
764b2bdbeb
Change some colors to secondary 2021-04-19 11:36:11 +03:00
ismailgulek
c90e15d35f
Update actions for group call tiles 2021-04-15 17:27:52 +03:00
ismailgulek
850ad21a91
Update group call icon and title 2021-04-15 16:49:04 +03:00
Gil Eluard
c57a55f1e7 Make room settings screen configurable dynamically 2021-04-14 15:52:25 +02:00
ismailgulek
0f1d1023b5
Fix cell height for call tiles if read receipts displayed 2021-04-12 02:36:55 +03:00
ismailgulek
55faf7bdf3
Fix read receipts on call tiles 2021-04-12 01:27:38 +03:00
ismailgulek
59cbad8d75
Center align call tiles 2021-04-09 15:59:02 +03:00
ismailgulek
62b9ba0f4c
Fix icon and text colors on tiles 2021-04-09 15:23:46 +03:00
ismailgulek
f86cd04402
Increase icon spacing in call tile 2021-04-09 15:16:07 +03:00
ismailgulek
67fa1ab3b8
Merge branch 'develop' into voip_design_updates 2021-04-09 15:12:51 +03:00
Gil Eluard
7710e97f13
Merge pull request #4147 from vector-im/element_4134
Explore typing notifications inspired by web
2021-04-08 16:25:51 +02:00
Gil Eluard
84e1b98b0c
Update Riot/Modules/Room/Views/BubbleCells/RoomTypingBubbleCell.swift
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-04-08 16:13:56 +02:00
Gil Eluard
f27363d372 Update after review 2021-04-08 15:59:53 +02:00
Gil Eluard
b41ab9f547 Update after review 2021-04-08 15:19:02 +02:00