Commit graph

2688 commits

Author SHA1 Message Date
Doug
66c92fbe03 Use bubbleComponentWithLinkForEventId: in RoomDataSource. 2021-09-27 18:43:53 +01:00
Doug
f44e1b098e Move URL preview properties from RoomBubbleCellData in MXKRoomBubbleComponent.
Stop breaking up the bubble data for links now that vertical whitespace is added.
2021-09-27 18:15:48 +01:00
Doug
b35838e268 Merge branch 'develop' into doug/4896_url_previews_string_whitespace 2021-09-27 14:44:17 +01:00
Gil Eluard
479d8dcf75 Spaces still visible after logging in with another account #4916 2021-09-27 12:51:28 +02:00
Doug
9c7284c832 Rename refreshAttributedTextMessage to makeAttributedString to indicate that it doesn't affect the attributedTextMessage. 2021-09-24 17:06:50 +01:00
Doug
574779fff3 Rename setNeedsUpdateContent to invalidateTextLayout. 2021-09-24 15:33:04 +01:00
Doug
6293efc155 Use setNeedsUpdateContent instead of setting the attributed string to nil. 2021-09-24 15:19:24 +01:00
Gil Eluard
089d72882b Suggested Spaces appear as suggested rooms #4903
- Fixed
2021-09-24 14:31:35 +02:00
Gil Eluard
36541a4dab Try to fix CI build issues 2021-09-23 21:33:23 +02:00
Gil Eluard
578dce8590 Try to fix CI build issues 2021-09-23 21:06:29 +02: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
2ad094b836 [Spaces] M10.6.1 Handle space link #4498
- Change (+) button behaviour in home screen according to current space
2021-09-23 17:35:49 +02:00
Gil Eluard
ca7bf18f76 [Spaces] M10.6.1 Handle space link #4498
- Update after code review
2021-09-23 17:15:32 +02:00
Gil Eluard
5b50ce2e39 reverted HomeViewControllerWithBannerWrapperViewController 2021-09-23 15:38:43 +02:00
Gil Eluard
cc8ac58fd5 Merge branch 'spaces' into gil/4498_Handle_space_link 2021-09-23 15:26:29 +02:00
Gil Eluard
cf51612864 Merge branch 'develop' into spaces 2021-09-23 15:26:06 +02:00
Gil Eluard
24956e6774 Merge branch 'gil/pre_release_fixes' into gil/4498_Handle_space_link 2021-09-23 15:00:06 +02:00
Gil Eluard
134379bcc5 [spaces] several fixes for pre release
- update after review
2021-09-23 14:50:00 +02:00
David Langley
53563c996f
Merge pull request #4892 from vector-im/langleyd/4772_voice_message_drafts
Voice message draft persistence
2021-09-23 11:21:26 +00:00
David Langley
eb92cc9cf8 use roomId for audioPlayerId, remove dead code, make functions private. 2021-09-23 10:55:35 +01:00
Gil Eluard
c207c8d28a
Update Riot/Modules/Spaces/SpaceList/SpaceListViewCell.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2021-09-23 11:47:26 +02:00
Gil Eluard
4619d907ea Merge branch 'gil/pre_release_fixes' into gil/4498_Handle_space_link 2021-09-23 11:35:45 +02:00
David Langley
0df653e244
Merge pull request #4878 from vector-im/langleyd/4774_voice_message_scrubbing
Langleyd/4774 voice message scrubbing
2021-09-23 09:35:38 +00:00
Gil Eluard
bf64d9ca49 [spaces] several fixes for pre release
- update after review
2021-09-23 11:32:56 +02:00
David Langley
c1fd40c5bb Remove space 2021-09-23 09:39:09 +01:00
David Langley
007f72d51e Use RoomId for room by room drafts. 2021-09-23 08:48:15 +01:00
Gil Eluard
9b8f8d1a20 fixed FAB button in Home screen 2021-09-22 22:57:21 +02:00
Gil Eluard
3a2548a5ae [spaces] several fixes for pre release
- [Space view has communities tab at the bottom of the screen](https://github.com/vector-im/element-ios/issues/4846)
2021-09-22 18:49:22 +02:00
ismailgulek
3b6f517089
Merge pull request #4877 from vector-im/ismail/4874_fix_scroll_crash
RecentsViewController: Fix scroll crash
2021-09-22 18:43:34 +03:00
David Langley
442708524e Simplify scrubbing logic. 2021-09-22 16:26:20 +01:00
Gil Eluard
4d1dd1eb0a Merge branch 'gil/pre_release_fixes' into gil/4498_Handle_space_link 2021-09-22 16:58:28 +02:00
Gil Eluard
e6b72a778a [spaces] several fixes for pre release
- [When switching spaces, user and room tabs are not populated](https://github.com/vector-im/element-ios/issues/4889)
- [Explore rooms list in space has odd ordering](https://github.com/vector-im/element-ios/issues/4890)
- Fixed Coming Soon error for Explore rooms
2021-09-22 16:57:31 +02:00
Stefan Ceriu
6111382a63 Merge branch 'develop' into stefan/4881-configurable-app-name-localization-strings
# Conflicts:
#	Riot/Generated/Strings.swift
2021-09-22 17:17:05 +03:00
Stefan Ceriu
388d828c2b Fixes #4881 - Replaced InfoPlist.cfBundleDisplayName with AppInfo.current.displayName and removed the now unused InfoPlist generated class. 2021-09-22 16:59:47 +03:00
Gil Eluard
4782ba89ed Merge branch 'spaces' into gil/pre_release_fixes 2021-09-22 15:39:55 +02:00
Gil Eluard
f6ea4da656 Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
2021-09-22 15:39:06 +02:00
Gil Eluard
14f0533a5a [Spaces] M10.6.1 Handle space link #4498
- Fixed universal links
- Added support for space links
2021-09-22 14:58:19 +02:00
David Langley
3bb50d2a35 Build on xcode 12 2021-09-22 13:53:26 +01:00
David Langley
87e84d2f6c Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4774_voice_message_scrubbing 2021-09-22 13:17:32 +01:00
Stefan Ceriu
0848f66cdb Fixes #4881 - Using the bundle display name as the app name in localizable .strings files. Exposing generated .strings and info.plist members to Objective-C. 2021-09-22 14:10:16 +03:00
David Langley
310028bd39 Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4781_swiftui_template_examples 2021-09-22 11:39:42 +01:00
David Langley
f87c28318d Simplify scrubbing and reset to stopped if scrub to start/end 2021-09-22 11:12:45 +01:00
David Langley
d3fb3a7e40
Merge pull request #4876 from vector-im/langleyd/4773_pause_resume_voice_messages
Add Pause/Resume support between rooms.
2021-09-22 09:38:35 +00:00
David Langley
87cd6fa209 Add scrubbing 2021-09-22 09:36:20 +01:00
ismailgulek
f8d39e1b60
Check index path is valid before scrolling 2021-09-22 11:04:56 +03:00
Stefan Ceriu
6abdcb9e93 Fix #4415 - Added back section header when only PIN available. 2021-09-22 08:44:48 +03:00
Stefan Ceriu
1f87204123 Fix #4415 - Cannot disable Face ID after disabling pin. Fixed security vc cell tags comparisons. 2021-09-22 08:44:48 +03:00
Stefan Ceriu
9f486fa1fb Fix #4461 - "PIN & (NULL)" when device biometrics not available (or not enrolled). 2021-09-22 08:44:48 +03:00
Stefan Ceriu
55d4b68e96 Don't invoke biometrics setup after chaning the pin if already set up. 2021-09-22 08:44:48 +03:00
David Langley
1ddd420781 Add Pause/Resume support between rooms. 2021-09-21 15:52:53 +01:00
Stefan Ceriu
abb3259608 Fixes #4830 - Automatically dismissing invites for empty rooms after failing to join. 2021-09-21 16:28:48 +03:00
Gil Eluard
8e4b98fef0 Merge branch 'spaces' into gil/pre_release_fixes 2021-09-20 10:18:59 +02:00
Gil Eluard
84bdf88fe1 Merge branch 'develop' into spaces 2021-09-20 10:18:01 +02:00
Gil Eluard
c1a542ef49 [spaces] several fixes for pre release
- [Space home view inherits title from previously viewed tab](https://github.com/vector-im/element-ios/issues/4851)
- [Home view doesn't refresh when new rooms are created](https://github.com/vector-im/element-ios/issues/4849)
- [Odd error message in Space member list](https://github.com/vector-im/element-ios/issues/4845)
- [Bring leaving space experience in line with Web](https://github.com/vector-im/element-ios/issues/4850)
- [No notification for space invitation](https://github.com/vector-im/element-ios/issues/4840)
- [Remove filter when space is switched](https://github.com/vector-im/element-ios/issues/4852)
- [M10.11 Remove community tab](https://github.com/vector-im/element-ios/issues/4493)
2021-09-20 10:10:27 +02:00
David Langley
98078b3466 Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4781_swiftui_template_examples 2021-09-20 08:50:38 +01:00
Stefan Ceriu
f339db231a Fixes #4843 - Prevent home screen horizontal scroll views from capturing side menu swipe gestures. 2021-09-17 17:58:44 +03:00
SBiOSoftWhare
521d75e5b7
Merge pull request #4814 from vector-im/steve/4734_room_vc_refacto
RoomVC: Add a delegate, factorize and reduce usage of AppDelegate
2021-09-17 15:58:05 +02:00
SBiOSoftWhare
bdecdfb518 RoomVC: Fix comment mistake. 2021-09-17 14:21:27 +02:00
SBiOSoftWhare
f8e9d15a4a RoomVC: Remove unnecessary nonnull. 2021-09-17 14:19:38 +02:00
SBiOSoftWhare
5859647ddf
Update Riot/Modules/Room/RoomViewController.h
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-09-17 13:21:53 +02:00
Doug
e1f6113655
Merge pull request #4857 from vector-im/doug/4828_enable_url_previews
Enable URL Previews by default and remove from Labs.
2021-09-16 22:23:09 +01:00
Doug
96ef61ab21 Enable URL Previews by default and remove from Labs. 2021-09-16 17:51:56 +01: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
a926960970 Merge branch 'develop' into spaces 2021-09-16 15:47:32 +02:00
manuroe
77fc814221 Merge remote-tracking branch 'origin/master' into develop 2021-09-16 15:01:40 +02:00
David Langley
fb0f023964 Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4781_swiftui_template_examples 2021-09-15 14:33:05 +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
Gil Eluard
a0fbe8a011 [Spaces] M10.6 Space preview bottom sheet #4497
- Update after code review
2021-09-15 11:16:20 +02:00
Gil Eluard
f423795d94 Merge branch 'spaces' into gil/4497_space_preview_bottom_sheet
# Conflicts:
#	Riot/Modules/SideMenu/SideMenuCoordinator.swift
2021-09-14 17:53:46 +02:00
Gil Eluard
ada879edcf [Spaces] M10.8 Browsing users in a space #4682
- Fixed build issue on Jenkins
2021-09-14 17:22:48 +02:00
Gil Eluard
f4fb4be6fb [Spaces] M10.8 Browsing users in a space #4682
- Update after code review
2021-09-14 16:59:32 +02:00
Gil Eluard
c2e4d915af [Spaces] M10.8 Browsing users in a space #4682
- Update after code review
2021-09-14 15:29:16 +02:00
Gil Eluard
4da3741140 [Spaces] M10.8 Browsing users in a space #4682
- Update after code review
2021-09-14 11:45:33 +02:00
Stefan Ceriu
d4c7a2b0d1 Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03:00
Gil Eluard
753e1e5918 [Spaces] M10.6 Space preview bottom sheet #4497
- Update after design review
2021-09-14 09:42:10 +02:00
SBiOSoftWhare
2abaff826e
Merge pull request #4817 from pengufrost/4785_fix_sso_redirect 2021-09-14 08:43:16 +02:00
Chelsea Finnie
59220d79d1 Updated SSOAuthenticationService.swift to append / to redirect path if using an identity provider 2021-09-14 10:57:35 +12:00
Doug
721e5daa23 Override hasLink in RoomBubbleCellData to only check the last component. 2021-09-13 17:47:52 +01:00
Doug
2b11d4d325 Ensure the last bubble component has a link before loading the URL preview. 2021-09-13 16:49:34 +01:00
Gil Eluard
652d71b2e2 [Spaces] M10.8 Browsing users in a space #4682
- Update after design review
2021-09-13 16:03:56 +02:00
Gil Eluard
7b539ecde3 Merge branch 'gil/4571_explore_rooms' into gil/4682_browsing_users_in_a_space
# Conflicts:
#	Riot/Modules/SideMenu/SideMenuCoordinator.swift
2021-09-13 10:23:21 +02:00
Gil Eluard
50ffa5b5a7 [Spaces] M10.7 Explore rooms #4571
- Update after code review
2021-09-13 10:06:36 +02:00
David Langley
5f3ddf60ec Always get the identifier from the theme. 2021-09-10 11:14:42 +01:00
David Langley
0ac0c2a230 get theme id from theme, always republish theme updates. 2021-09-10 10:54:50 +01:00
Chelsea Finnie
af2d3a5bde Fix redirection issue when logging in with single sign on. Fixes #4785.
Signed-off-by: Chelsea Finnie <chelseafinnie@catalyst.net.nz>
2021-09-10 15:14:38 +12:00
David Langley
fb203cce5e Add configurable logger for RiotSwiftUI 2021-09-09 22:42:00 +01:00
SBiOSoftWhare
353cb425b2 Merge branch 'develop' into steve/4734_nav_room_stack
# Conflicts:
#	Riot/Modules/Room/RoomViewController.m
2021-09-09 16:45:35 +02:00
Doug
0e64b60f02
Merge pull request #4790 from vector-im/doug/888_add_url_previews
Add URL previews as a Labs feature
2021-09-08 17:19:41 +01:00
Doug
26567464e4 Revert height computation for now. 2021-09-08 15:59:30 +01:00
David Langley
89bf79df7d CoordinatorParamters, Type -> Protocol, remove MX Prefix. 2021-09-08 15:47:24 +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
ismailgulek
c475e85771
Remove forgotten Jitsi call property and function 2021-09-08 14:07:19 +03:00
ismailgulek
8649dbe51b
Wait for sync response when clearing cache 2021-09-08 14:06:41 +03:00
ismailgulek
5f82518f11
Post data ready notification every time 2021-09-08 13:54:08 +03:00
ismailgulek
c90c6a5ad4
Merge pull request #4798 from vector-im/ismail/4797_launch_empty_screen
Show animation instead of empty screen on app launch
2021-09-08 12:24:53 +03:00
Doug
ea14ed9616 Add more docs and comments.
Rename store.store(_:) to store.cache(_:).
2021-09-08 09:51:47 +01:00
ismailgulek
ec23468244
Listen for recents data ready notification in an async method 2021-09-08 11:21:04 +03:00
ismailgulek
65ffa028cc
Move data ready notification to RecentsViewController 2021-09-08 11:18:18 +03:00
David Langley
f9840f79ba Remove unneeded protocol and methods on VectortHostingController 2021-09-07 22:49:11 +01:00