Commit Graph

2777 Commits

Author SHA1 Message Date
manuroe 9ac8624274 AppDelegate: Fix a crash when backgrounding the app
By avoiding to call [MXCrossSigning refreshStateWithSuccess]  because it leads to a crash in Realm.
2021-09-29 22:02:19 +01:00
Doug 5d3c3cf5d7 Add an image for the integration manager to ServiceTermsModalScreenViewController. 2021-09-29 17:40:37 +01:00
Doug 21a71abedb Merge pull request #4924 from vector-im/doug/4896_url_previews_string_whitespace
Use attributed string whitespace for URL previews.
2021-09-29 16:18:31 +01:00
Doug 522f4e800c Check whether URL previews should be shown in a single location.
Reset all cell data when this setting is changed to force a refresh.
Rename `hasClosedPreview(from:)` to `shouldShowPreview(for:)` for clarity and potentially adding more rules at a later date.
2021-09-29 11:39:11 +01:00
Doug 518d108573 Add invalidateLayout to RoomBubbleCellData. 2021-09-29 10:36:35 +01:00
SBiOSoftWhare 65660c6d3f AvatarViewData: Make mediaManager property optional. 2021-09-29 11:28:13 +02:00
Doug 3fd7a16bca Use bubbleComponentWithLinkForEventId: in RoomDataSource. 2021-09-27 18:43:53 +01:00
Doug be69881d30 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 df8ac48ba2 Merge branch 'develop' into doug/4896_url_previews_string_whitespace 2021-09-27 14:44:17 +01:00
Gil Eluard 5225d3fc4b Spaces still visible after logging in with another account #4916 2021-09-27 12:51:28 +02:00
Doug 1176736005 Rename refreshAttributedTextMessage to makeAttributedString to indicate that it doesn't affect the attributedTextMessage. 2021-09-24 17:06:50 +01:00
Doug 2937d70824 Rename setNeedsUpdateContent to invalidateTextLayout. 2021-09-24 15:33:04 +01:00
Doug 97cede6d50 Use setNeedsUpdateContent instead of setting the attributed string to nil. 2021-09-24 15:19:24 +01:00
Gil Eluard 5c127d1303 Suggested Spaces appear as suggested rooms #4903
- Fixed
2021-09-24 14:31:35 +02:00
Gil Eluard 91cfe2f224 Try to fix CI build issues 2021-09-23 21:33:23 +02:00
Gil Eluard a17daf1ea0 Try to fix CI build issues 2021-09-23 21:06:29 +02:00
Doug ac3b2c1677 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 413459f1d3 [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 5521802bc2 [Spaces] M10.6.1 Handle space link #4498
- Update after code review
2021-09-23 17:15:32 +02:00
Gil Eluard 4a7a75564b reverted HomeViewControllerWithBannerWrapperViewController 2021-09-23 15:38:43 +02:00
Gil Eluard bcd72924c2 Merge branch 'spaces' into gil/4498_Handle_space_link 2021-09-23 15:26:29 +02:00
Gil Eluard c03997f97c Merge branch 'develop' into spaces 2021-09-23 15:26:06 +02:00
Gil Eluard c4a06f5382 Merge branch 'gil/pre_release_fixes' into gil/4498_Handle_space_link 2021-09-23 15:00:06 +02:00
Gil Eluard 54f94348a0 [spaces] several fixes for pre release
- update after review
2021-09-23 14:50:00 +02:00
David Langley 427519398e 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 8dbd0c310d use roomId for audioPlayerId, remove dead code, make functions private. 2021-09-23 10:55:35 +01:00
Gil Eluard 5ef36ee058 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 851f2e053a Merge branch 'gil/pre_release_fixes' into gil/4498_Handle_space_link 2021-09-23 11:35:45 +02:00
David Langley e800a2ec42 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 68ea6641e2 [spaces] several fixes for pre release
- update after review
2021-09-23 11:32:56 +02:00
David Langley 625534a7a3 Remove space 2021-09-23 09:39:09 +01:00
David Langley 350fc0fe30 Use RoomId for room by room drafts. 2021-09-23 08:48:15 +01:00
Gil Eluard fe15785d7b fixed FAB button in Home screen 2021-09-22 22:57:21 +02:00
Gil Eluard a1e6b681fe [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 49dcce97d1 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 fb5b1b28e9 Simplify scrubbing logic. 2021-09-22 16:26:20 +01:00
Gil Eluard 6044ea45f5 Merge branch 'gil/pre_release_fixes' into gil/4498_Handle_space_link 2021-09-22 16:58:28 +02:00
Gil Eluard 5884c13fe9 [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 fc3e70891a 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 b41cd1e1a4 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 28fee23d3c Merge branch 'spaces' into gil/pre_release_fixes 2021-09-22 15:39:55 +02:00
Gil Eluard 4068c1a55f Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
2021-09-22 15:39:06 +02:00
Gil Eluard 3db7e10c15 [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 80f407857f Build on xcode 12 2021-09-22 13:53:26 +01:00
David Langley 928e4e1cc3 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 cc8b6a8d75 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 3bd7b5ee99 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 d0ca7fa921 Simplify scrubbing and reset to stopped if scrub to start/end 2021-09-22 11:12:45 +01:00
David Langley 5a91047f7e 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 46f31830ca Add scrubbing 2021-09-22 09:36:20 +01:00