Commit graph

310 commits

Author SHA1 Message Date
Doug
9fb13b7c5a Update layout for text only previews. 2021-09-02 12:41:55 +01:00
Doug
042eb8e2ba Use stack views for layout. 2021-09-02 11:38:16 +01:00
Stefan Ceriu
a786cbb90a #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
Doug
a81ebbd0aa Refactoring and tidy up.
Make the preview manager a singleton (passing in the MXSession to functions). Fix tests.

PreviewManager → URLPreviewManager
URLPreviewViewData → URLPreviewData
URLPreviewCache → URLPreviewStore
2021-09-01 12:28:56 +01:00
Doug
59e541667e Load and store URLPreviewViewData in RoomBubbleCellData.
Implement close button and store the action in Core Data. Hide the preview image view when no image is received. Remove line breaks in description text.
2021-09-01 10:37:37 +01:00
Doug
5f598a918c Add comments about the un-sanitized URL. 2021-08-24 09:42:55 +01:00
Doug
29758d1aa7 Add PreviewManger with Core Data cache and a URLPreviewView with a view model.
Changes to RoomDataSource still to come.
2021-08-23 17:56:24 +01:00
ismailgulek
058b819daf
Use new strings for ended calls 2021-08-06 16:20:10 +03:00
Stefan Ceriu
66f248de2d Remove labs setting for voice messages, enable the feature by default. Fixed incorrect ffmpeg arguments. 2021-08-06 14:22:52 +03:00
ismailgulek
5c1c52842b
Add strings for incoming calls 2021-08-03 17:07:15 +03:00
ismailgulek
8c23471e2d
Adapt string changes & new icons 2021-08-03 17:02:40 +03:00
ismailgulek
1bdecc6e2d
Update icon color 2021-08-03 17:01:38 +03:00
ismailgulek
d391e0838f
Remove type and dot labels 2021-08-03 17:01:17 +03:00
Gil Eluard
43ec74b5ca Merge branch 'spaces' into element_4509 2021-07-26 10:42:49 +02:00
manuroe
671f2118cc
Merge branch 'develop' into element_4090 2021-07-22 14:16:35 +02:00
Stefan Ceriu
089c6889d6 #4090 - Added voice messages switch to the labs section in settings. 2021-07-16 16:57:29 +03: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
Gil Eluard
e492d2b077 #4090 - Update after review 2021-07-06 23:03:56 +02:00
Doug
080b3e94bb Fix documentation warnings. 2021-07-02 16:46:27 +01:00
SBiOSoftWhare
d0b53421ed Update avatar view and view data usage. 2021-07-01 00:07:46 +02:00
SBiOSoftWhare
0232eeef33 AvatarView: Update AvatarViewDataProtocol, add possibility to set a defaut image. 2021-06-30 23:25:15 +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
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
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
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
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
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
ismailgulek
13f485a5c3
Use new tile theme color 2021-05-04 19:25:24 +03:00
ismailgulek
85a7b2c9b4
Update end call icon color 2021-04-29 14:58:45 +03:00
ismailgulek
cf18e1bda9
Use call tile bg color 2021-04-28 13:46:55 +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
3b573a1d3d
Create slider view 2021-04-23 17:54:03 +03:00
ismailgulek
badbeea0e8
Add leave action to call tiles 2021-04-21 14:52:51 +03:00
ismailgulek
c8224d2c2e
Adjust join button content insets 2021-04-21 13:58:15 +03: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
850ad21a91
Update group call icon and title 2021-04-15 16:49:04 +03: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
Gil Eluard
b42bb37d99
Update Riot/Modules/Room/Views/BubbleCells/RoomTypingBubbleCell.swift
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-04-08 13:48:25 +02:00
Gil Eluard
a26a20685e Update after review 2021-04-08 12:11:36 +02:00
Gil Eluard
bae0292757
Update Riot/Modules/Room/Views/InputToolbar/RoomActionItem.swift
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-04-08 10:52:51 +02:00
Gil Eluard
79dc443469
Update Riot/Modules/Room/Views/InputToolbar/RoomActionsBar.swift
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-04-08 10:52:39 +02:00
Gil Eluard
45ccb753e7
Update Riot/Modules/Room/Views/InputToolbar/RoomActionsBar.swift
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-04-08 10:48:15 +02:00
Gil Eluard
f0c1b6d356
Update Riot/Modules/Room/Views/InputToolbar/RoomActionsBar.swift
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-04-08 10:47:57 +02:00
Gil Eluard
9c57d13f8f
Update Riot/Modules/Room/Views/InputToolbar/RoomActionsBar.swift
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-04-08 10:47:42 +02:00
Gil Eluard
92e660e0dd
Update Riot/Modules/Room/Views/InputToolbar/RoomActionItem.swift
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-04-08 10:47:28 +02:00
Gil Eluard
1659e2007a Merge branch 'element_4087' into element_4134 2021-04-08 07:56:53 +02:00
Gil Eluard
da168c89d4 back button chevron looks really weird 2021-04-08 07:56:38 +02:00
ismailgulek
59675d667e
Fix label text color on dark mode 2021-04-07 15:24:42 +03:00
Gil Eluard
46561f7c55 Merge branch 'element_4087' into element_4134 2021-04-07 14:11:42 +02:00
Gil Eluard
7e11020463 too much vertical whitespace when replying 2021-04-07 14:11:27 +02:00
Gil Eluard
9fbdd7418e Merge branch 'element_4087' into element_4134 2021-04-07 13:11:28 +02:00
Gil Eluard
136485231f too much vertical whitespace when replying 2021-04-07 13:11:07 +02:00
Gil Eluard
120dbaceb1 Crash in [RoomViewController refreshTypingNotification] 2021-04-07 12:26:51 +02:00
Gil Eluard
e4a853e30f Merge branch 'element_4087' into element_4134 2021-04-07 11:15:22 +02:00
Gil Eluard
17aef9c83f Switching composer between text mode & action mode
- Tweaked animation speed
2021-04-07 10:28:35 +02:00
Gil Eluard
57101f3c79 Consider displaying names in typing notifications 2021-04-06 14:32:25 +02:00
Gil Eluard
632adec821 Merge branch 'element_4087' into element_4134 2021-04-03 00:04:30 +02:00
Gil Eluard
4b847990fe Switching composer between text mode & action mode
- Tweaked animation speed
2021-04-03 00:03:57 +02:00
ismailgulek
4086e1b0ef
Merge branch 'develop' into voip_design_updates 2021-04-02 14:39:37 +03:00
Gil Eluard
d24d20d3c8 Merge branch 'element_4087' into element_4134 2021-04-01 08:48:08 +02:00
Gil Eluard
654aea9692 Switching composer between text mode & action mode
- Fixed: The final frames of the appearance animation of the new composer buttons are missing
2021-03-29 23:45:47 +02:00
Gil Eluard
9369008e0f Merge branch 'element_4133' into element_4087 2021-03-29 23:31:39 +02:00
Gil Eluard
c2e7e78321 Composer update - UI enhancements
- Fixed red dot misplacement in the header
2021-03-29 23:04:01 +02:00
Gil Eluard
0322f3c7f4 Explore typing notifications inspired by web
- prevent timeline from going up and down by keeping the space allocated for the typing notification
2021-03-29 22:26:03 +02:00
Gil Eluard
9f7e0b7fcd Merge branch 'element_4087' into element_4134 2021-03-27 08:04:03 +01:00
Gil Eluard
31b3d0200c Switching composer between text mode & action mode
- Fixed: if you start typing while the new attachment sending mode is on, the send button appears
2021-03-27 07:51:51 +01:00
Gil Eluard
111e3a0fb8 Merge branch 'element_4087' into element_4134 2021-03-26 11:18:23 +01:00
Gil Eluard
d2c4634d08 Switching composer between text mode & action mode
- Deselect text if user taps action button to avoid overlaps
2021-03-26 11:18:05 +01:00
Gil Eluard
a6ee83bd36 Merge branch 'element_4087' into element_4134 2021-03-25 22:15:54 +01:00
Gil Eluard
b4d363511d Switching composer between text mode & action mode 2021-03-25 22:15:18 +01:00
Gil Eluard
6f499cb3cb Explore typing notifications inspired by web
- Update for dark mode
2021-03-24 23:16:27 +01:00
Gil Eluard
b40aeb4299 Merge branch 'element_4133' into element_4134 2021-03-24 22:43:05 +01:00
Gil Eluard
59f24ee67d Composer update - UI enhancements
- composer max height
- unread messages on scroll to bottom button
- changed input toolbar background
- new missed discussions notifications
- Edit a message mode
- Reply to a message mode
- support for landscape mode
2021-03-24 22:17:09 +01:00