Commit graph

362 commits

Author SHA1 Message Date
Doug
4924110f8e Merge remote-tracking branch 'origin/develop' into doug/888_add_url_previews 2021-09-02 17:39:42 +01:00
Doug
1831b61b12 Show an activity indicator until the preview has loaded. 2021-09-02 17:37:48 +01:00
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
Gil Eluard
bca3c6131c Composer Update - Typing and sending a message
- Change send button icon according to the send mode
- Changed the background of the input view
2021-03-23 17:15:31 +01:00
Gil Eluard
847afcbc2e Merge branch 'element_4133' into element_4134 2021-03-23 08:13:32 +01:00
Gil Eluard
763c20f077 Composer Update - Typing and sending a message
- Removed composer height limit
- Fixed a bug that was preventing to see the entire text inserted in the composer text view
2021-03-23 08:13:14 +01:00
Gil Eluard
00a524ab88 Explore typing notifications inspired by web
- First iteration
2021-03-22 19:55:41 +01:00
Gil Eluard
d561ef472b Composer update - UI enhancements
- Composer height =58px - Frame = 42px
- Replace current scroll to bottom implementation with a scroll to Bottom FAB on both themes
- The text inside the composer frame should be centered
- The padding between the "reveal plus" button, composer frame and Left + Right sides should be at equal distance on default mode
- Verify that the "Send a message..." String matches with the colour indicated on Figma.
- The padding between each component (buttons and composer frame) should be at equal distance on default mode. E.g : It should be at 12px for each gap.
- The input text jumps down when users start typing. It should be centered at all times.
- Remove the Scroll bar in the text frame.
- DARK THEME
2021-03-20 21:31:17 +01:00
ismailgulek
0cfde0fe76
Move Jitsi view controller to CallPresenter 2021-03-19 17:33:07 +03:00
Gil Eluard
55f95c72a5 Merge branch 'develop' into element_4085 2021-03-19 10:51:40 +01:00
ismailgulek
ec683c266c
Fix overflow issue 2021-03-19 02:52:52 +03:00
ismailgulek
2679a633f5
Show room name and avatar if declined 2021-03-18 13:46:39 +03:00
ismailgulek
bb596bf601
Implement in-memory decline cache for group calls 2021-03-18 13:32:34 +03:00
Gil Eluard
4c16754669 Composer Update - Typing and sending a message
- Updated input bar paddings according to design review
2021-03-18 07:06:59 +01:00
Gil Eluard
419f20b1a2 SR sizing is inconsistent with RR & Message states cosmetic changes 2021-03-17 20:09:44 +01:00
ismailgulek
a5e52c76f4
Introduce group call tiles 2021-03-17 19:39:41 +03:00
ismailgulek
c228f8859d
Refactor cell rendering, move most of the controls to the subclass, refactor user actions, add you started call state 2021-03-17 18:17:54 +03:00
ismailgulek
00d9dcd114
Move tile action button to common 2021-03-17 18:09:10 +03:00
ismailgulek
8531b6d9a6
Refactor buttons container view to include a stack view 2021-03-17 18:08:25 +03:00
ismailgulek
384032759d
Fix #4125 2021-03-17 00:49:07 +03:00
Gil Eluard
a31f6666f6 Composer Update - Typing and sending a message
- Updated typing animation after UI review
2021-03-15 15:57:36 +01:00
Gil Eluard
95b2e4c296 Composer Update - Typing and sending a message 2021-03-15 14:27:59 +01:00
ismailgulek
6076efb64c
Refactor bubble cell, introduce viewState and implement statusText 2021-03-12 04:05:10 +03:00
ismailgulek
fc00a14f03
Introduce HorizontalButtonsContainerView 2021-03-12 03:40:55 +03:00
ismailgulek
996629ce87
IntroduceCallTileActionButton 2021-03-12 03:40:44 +03:00
ismailgulek
22d1697f16
Layout fixes 2021-03-12 03:39:35 +03:00
ismailgulek
3fd33ba8ab
Layout fixes 2021-03-12 03:37:46 +03:00
ismailgulek
9fdb5c7fd2
Adapt new transitive properties 2021-03-12 02:26:51 +03:00
ismailgulek
40512fed8f
Create new labels for inner content view 2021-03-12 02:26:03 +03:00
Gil Eluard
877356138b Retrying & deleting failed messages
- Update after code review
2021-03-10 22:19:04 +01:00
Gil Eluard
1e67bad138 Retrying & deleting failed messages
- If users press on Retry, send again the message and display a loading wheel
- code and UI tweaks
2021-03-03 10:27:08 +01:00
Gil Eluard
bfccb32b22 merged element_4014 into element_4013 2021-03-02 22:06:24 +01:00
Gil Eluard
9a41f0d4b8 Retrying & deleting failed messages
- Display an exclamation mark (on a red background). In case of a multi-line message
- When a message with an error is selected, show a bottom bar with the 4 following actions: Retry - Delete - Edit - Copy
- If users press on Delete, a confirmation dialog is displayed
- When error messages occur, a general error message appears above the composer. Selecting Delete will delete all error messages. Pressing on Retry will attempt to resend error messages
- If users press on Delete, a confirmation dialog is displayed
- In room lists, decorate rooms with errored messages with the error icon. Rooms with errors should be sorted first
2021-03-02 21:56:50 +01:00
Gil Eluard
419efd886a Merge branch 'develop' into element_4014
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2021-02-25 15:49:53 +01:00
Gil Eluard
0a931cef6e Improve the status of send messages (sending, sent, received, failed)
- tweaks and new L&F for download progress
2021-02-25 11:07:21 +01:00
SBiOSoftWhare
a250f4db44 RoomCreationIntroCellContentView: Improve add topic case. 2021-02-23 15:46:20 +01:00
SBiOSoftWhare
e12db6b592 RoomCreationIntroCell: Remove unused method. 2021-02-23 08:48:17 +01:00
Gil Eluard
2f774022e2 Improve the status of send messages (sending, sent, received, failed)
- First implementation
2021-02-22 13:51:25 +01:00
SBiOSoftWhare
435063ad96 RoomAvatarView: Add view data. 2021-02-22 00:12:00 +01:00
SBiOSoftWhare
2a9103c9b5 Room creation intro: Create RoomCreationIntroCell. 2021-02-22 00:12:00 +01:00
SBiOSoftWhare
7d62f363b6 Room creation intro: Create cell content view. 2021-02-22 00:12:00 +01:00
SBiOSoftWhare
e134633cf4 Create room avatar view. 2021-02-22 00:12:00 +01:00
ismailgulek
b3d5ae0fa0 Get rid of redundant _theme 2021-02-10 00:35:34 +03:00
ismailgulek
8c2a043752 Do not show tile for incoming call 2021-01-21 13:52:14 +03:00
ismailgulek
58243aa7de Implement call cells, introduce allLinkedEvents on bubble cell data 2021-01-20 13:26:28 +03:00
Gil Eluard
49eea8f04a Show user id in the room invite preview screen 2020-12-21 16:31:02 +01:00
SBiOSoftWhare
0cda13233d RoomInputToolBar: Prevent placeholder to be display on two lines on small devices. 2020-11-05 11:14:42 +01:00
ismailgulek
ce8b7434e2 Remove expanded header from room screen 2020-09-18 14:11:45 +03:00
ismailgulek
bb74eab6e6
Update Riot/Modules/Room/Views/BubbleCells/RoomCreationWithPaginationCollapsedBubbleCell.m
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-09-15 16:36:09 +03:00
ismailgulek
91392c5a7c
Update Riot/Modules/Room/Views/BubbleCells/RoomCreationCollapsedBubbleCell.m
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-09-15 16:36:02 +03:00
ismailgulek
5b1b691b7d
Update Riot/Modules/Room/Views/BubbleCells/RoomCreationCollapsedBubbleCell.m
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-09-15 16:35:55 +03:00