Commit graph

335 commits

Author SHA1 Message Date
Stefan Ceriu
7de24ab628 #1098 - Generated UserSuggestion from template, got initial UI working and automatically updating. 2021-10-13 11:24:46 +03:00
manuroe
8fad0be309 Merge remote-tracking branch 'origin/master' into develop 2021-10-12 13:43:16 +02:00
Stefan Ceriu
fa05233998 Fixes #4976 - Replaced HPGrowingTextView with GrowingTextView. Reduced inheritance chain. 2021-10-12 14:17:06 +03:00
ismailgulek
e24d7fffcf
Convert number to a string 2021-10-11 22:01:26 +03:00
manuroe
2735166155 Merge branch 'master' into develop 2021-09-30 23:51:17 +01:00
Stefan Ceriu
862464108b vector-im/element-ios/issues/4899 - Replaced (*almost*) all NSLocalizedString calls with newly generated ObjC methods. 2021-09-30 09:40:12 +03:00
SBiOSoftWhare
e3d649c4ea AvatarViewData: Make mediaManager property optional. 2021-09-29 11:28:13 +02:00
Doug
b35838e268 Merge branch 'develop' into doug/4896_url_previews_string_whitespace 2021-09-27 14:44:17 +01:00
Doug
0edf6ba7d6 Include URL previews in addVerticalWhitespaceToString:forEvent: and remove heightForCellData:withMaximumWidth: from the various TextMsgBubbleCell subclasses.
Use the bubble cell data's available width when sizing URL previews and update the defaultAvailableWidth and reducedWidthThreshold accordingly.
2021-09-23 17:30:24 +01:00
Gil Eluard
84bdf88fe1 Merge branch 'develop' into spaces 2021-09-20 10:18:01 +02:00
Doug
7807b21e09 Use constants. 2021-09-16 17:13:56 +01:00
Doug
38db80ac6b Reduce the width of URL previews on 4" devices. 2021-09-16 16:41:21 +01:00
Gil Eluard
8ba6c55a87 Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Modules/Common/Avatar/AvatarViewDataProtocol.swift
#	Riot/Modules/Common/Recents/RecentsViewController.m
#	Riot/Modules/Home/Views/RoomCollectionViewCell.m
#	Riot/Modules/TabBar/TabBarCoordinator.swift
2021-09-15 14:42:04 +02:00
Stefan Ceriu
d4c7a2b0d1 Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03:00
Doug
26567464e4 Revert height computation for now. 2021-09-08 15:59:30 +01:00
Doug
24afc7af6c Update for PR feedback.
URLPreviewManager becomes URLPreviewService.
addVerticalWhitespaceToString used instead of heightForCellData multiple times.
All newline characters removed.
2021-09-08 15:10:13 +01:00
Doug
ea14ed9616 Add more docs and comments.
Rename store.store(_:) to store.cache(_:).
2021-09-08 09:51:47 +01:00
Doug
1c7cef52a0 Merge branch 'develop' into doug/888_add_url_previews 2021-09-07 17:51:31 +01:00
Doug
4ad041622c Remove "Loading preview..." label. 2021-09-07 16:12:12 +01:00
Doug
1c7adf0922 Fix unsatisfiable constraints messages. 2021-09-07 14:49:51 +01:00
Stefan Ceriu
f2dd0e256b Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f219.
2021-09-06 18:24:26 +03:00
Doug
2e04123337 Add setting to disable URL previews.
Using a temporary position in the settings screen whilst waiting for feedback.
2021-09-03 10:19:26 +01:00
Doug
6a5b12ab8b Ensure correct font is used. 2021-09-02 18:08:35 +01:00
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