Commit graph

4088 commits

Author SHA1 Message Date
Stefan Ceriu
2ed9fe8ded Fixed the regular expression used for link detection in attributed strings. 2022-03-28 11:57:50 +03:00
Gil Eluard
b04bd1c885
Merge pull request #5925 from vector-im/gil/5915-Cannot_view_space_invitations_from_system_notifications
Can't view space invitations from system notifications
2022-03-28 10:48:09 +02:00
SBiOSoftWhare
446d2ca54a RoomDataSource: Only call location sharing delegation method if live location sharing build flag is eneabled. 2022-03-28 10:22:42 +02:00
SBiOSoftWhare
677fdfd571 RoomVC: Handle live location banner display on user location status change. 2022-03-28 10:18:59 +02:00
SBiOSoftWhare
e2f1c99da7 RoomViewController: Add a category to handle location sharing. 2022-03-28 10:17:05 +02:00
SBiOSoftWhare
f368e1abf8 RoomDataSource: Handle current user location sharing status. 2022-03-28 10:16:07 +02:00
SBiOSoftWhare
49f19db54b MockRoomSummary: Update with new property. 2022-03-28 10:14:11 +02:00
Gil Eluard
9b5932baac
Merge pull request #5912 from vector-im/gil/5797-Subspace_error_does_not_make_sense
Subspace error doesn't make sense
2022-03-28 00:02:37 +02:00
Gil Eluard
16ec23e5cb Can't view space invitations from system notifications #5915
- Fixed
2022-03-27 23:52:56 +02:00
Johannes Marbach
945f810484 Fix retain cycle in MXKRoomDataSource
Relates to: #5058
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-03-27 20:53:46 +02:00
Gil Eluard
dc3e7aec2f Sync space order with web #5134 2022-03-25 13:45:16 +01:00
Anderas
a0b7029709
Merge pull request #5913 from vector-im/andy/5906_typing_perf
Fix typing performance by avoiding expensive UI operations
2022-03-24 15:14:11 +00:00
David Langley
0f89eb014e
Merge pull request #5743 from vector-im/langleyd/5017_uisi_autoreporter
App: UISI AutoReporting
2022-03-24 14:58:23 +00:00
Andy Uhnak
7145a16255 Use bounds not frame 2022-03-24 14:24:14 +00:00
Andy Uhnak
218bf30e23 Fix typing performance by avoiding expensive UI operations 2022-03-24 12:40:37 +00:00
Gil Eluard
8eb48c95fa Subspace error doesn't make sense #5797
- Updated "Add space" error message
2022-03-24 13:37:24 +01:00
MaximeEvrard42
5a4c5e55ee
Merge pull request #5859 from vector-im/maximee/5720_location_sharing_UI_change
Update UI in location sharing view #5720
2022-03-24 11:58:09 +01:00
Johannes Marbach
dabd237115 Restrict UI components on authentication screen to readable width
- Make layout margins on content view follow readable width
- Set zero edge insets on content view
- Constrain all subviews of content view to leading & trailing
  layout margins of superview

Fixes: #5898
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-03-23 20:19:04 +01:00
Gil Eluard
46e0bce5fc
Merge pull request #5899 from vector-im/gil/5771_Update_suggested_room_preview 2022-03-23 20:03:26 +01:00
MaximeE
e805e415f3 5720: Rework some location sharing related view 2022-03-23 15:48:19 +01:00
aringenbach
702f22143d
Merge pull request #5894 from vector-im/aringenbach/5837_handle_empty_jitsi_default_url
Allow empty Jitsi default url in BuildSettings
2022-03-23 15:40:26 +01:00
Gil Eluard
fa5e7f065e
Merge pull request #5897 from vector-im/gil/5810_Add_Invite_people_to_the_space_menu
Add "Invite people" to the space menu in the left panel and update me…
2022-03-23 12:22:09 +01:00
Anderas
db26880ea5
Merge pull request #5892 from vector-im/andy/5875_login_button
Ensure the login button is always visible
2022-03-23 11:19:04 +00:00
Gil Eluard
da275a1203 Add "Invite people" to the space menu in the left panel and update menu order #5810
- update after review
2022-03-23 11:24:36 +01:00
Gil Eluard
807c97d076 Update suggested room preview to behave the same way in all cases #5771
- Done
2022-03-23 10:58:41 +01:00
Anderas
70d39ef741
Merge pull request #5893 from vector-im/andy/5883_search_crash
Prevent crash when searching for rooms
2022-03-22 16:51:43 +00:00
Doug
ea44865da5
Merge pull request #5891 from vector-im/doug/5651_ftue_celebration
Add FTUE celebration screen
2022-03-22 16:34:41 +00:00
Gil Eluard
909222e212 Add "Invite people" to the space menu in the left panel and update menu order #5810
- done
2022-03-22 16:51:43 +01:00
Andy Uhnak
413a1eb098 Revert optionality and always pass url 2022-03-22 14:46:27 +00:00
aringenbach
ecd01968e9 Remove automatically hiding call button when no Jitsi URL is available 2022-03-22 15:38:53 +01:00
aringenbach
660af4773d Enable nilability on Jitsi server URL 2022-03-22 14:10:09 +01:00
aringenbach
d414fb1ad7 Improve error display for Jitsi service unable to start 2022-03-22 14:03:30 +01:00
aringenbach
9c1c22439b Avoid doubling error display on Jitsi get well known failure 2022-03-22 14:03:30 +01:00
Andy Uhnak
f3aef51e00 Update comment 2022-03-22 12:55:41 +00:00
Andy Uhnak
f17ef7b20e Prevent crash when searching for rooms 2022-03-22 12:52:11 +00:00
David Langley
96c3ed8df3
Merge pull request #5476 from vector-im/langleyd/5472_green_spinner_incorrectly_hidden
Green spinner hidden too early
2022-03-22 11:55:52 +00:00
Andy Uhnak
ef45cc029d Ensure the login button is always visible 2022-03-22 11:44:52 +00:00
aringenbach
9c10bab0cf
Merge pull request #5784 from vector-im/aringenbach/5745_mandatory_secure_backup
Support for mandatory backup/verification
2022-03-22 12:39:40 +01:00
Stefan Ceriu
99ca48fb88 Prevent the homescreen from resetting on every appearance. 2022-03-22 12:44:26 +02:00
Andy Uhnak
0e6e35e85b Prevent "left room" message from showing twice 2022-03-22 09:10:08 +00:00
MaximeE
49144e1e0e 5720: Update from develop 2022-03-22 09:41:25 +01:00
Anderas
1ddae2b76d
Merge pull request #5882 from vector-im/andy/5873_initial_sync
Do not clear cache if there are no stored filters
2022-03-22 08:19:47 +00:00
Doug
78435972e3 Add OnboardingCelebrationScreen and EffectsSceneView. 2022-03-21 19:04:09 +00:00
Doug
d10c387460
Merge pull request #5861 from vector-im/doug/5652_ftue_personalisation
FTUE personalisation screens
2022-03-21 18:54:11 +00:00
Doug
a827a375d7 Fix crash trying to remove a UserSession for a nil MXSession. 2022-03-21 17:50:05 +00:00
Doug
bf08b86a36 Address PR comments
Add more docs.
Rename PhotoPickerPresenter to MediaPickerPresenter.
Use a Character for the placeholder avatar rather than a string.
2022-03-21 17:37:16 +00:00
Doug
efa97c9669 Updates following self review. 2022-03-21 17:37:16 +00:00
Doug
57d396887b Use UserIndicatorPresenter for onboarding personalisation.
Remove the service from the display name screen to match the avatar screen.
Add a loading indicator to PhotoPickerPresenter.
Fix layout issue when selecting non-square avatar image.
2022-03-21 17:37:16 +00:00
Doug
ea8a21c060 Add onboarding avatar screen.
Includes a PhotoPickerPresenter to pick photos without requesting permissions.
2022-03-21 17:36:40 +00:00
Doug
04833e4906 Add FTUE display name screen.
Use UserSession instead of userId & MXSession in OnboardingCoordinator
2022-03-21 17:36:40 +00:00
Stefan Ceriu
c53f34dcd0 Fix user suggestions not showing up when re-entering a room. 2022-03-21 18:40:21 +02:00
Andy Uhnak
2746e4cfaf Do not clear cache if there are no stored filters 2022-03-21 16:08:17 +00:00
Arnaud Ringenbach
a3c604eff3 Merge branch 'develop' into aringenbach/5745_mandatory_secure_backup 2022-03-21 15:28:23 +01:00
David Langley
fc9e4a9847 Actually fix merge. 2022-03-21 10:41:10 +00:00
David Langley
cff98cdd1d Revert "fix merge"
This reverts commit 0251a01bb0.
2022-03-21 10:39:50 +00:00
Doug
06abdf78ad Re-enable NSException on Share extension dismiss.
Disable crash logging in the share extension because of this.
2022-03-21 10:06:19 +00:00
Gil Eluard
6fd2f2c3a2
Merge pull request #5856 from vector-im/gil/5500-Change_behaviour_of_avatar_self_in_left_menu
Change behaviour of avatar/self in left menu to match common paradigm…
2022-03-21 10:21:54 +01:00
Andy Uhnak
06558195cd Merge branch 'master' into develop 2022-03-18 17:01:32 +00:00
Andy Uhnak
3b8b019f9b Fix broken indicators on iPad 2022-03-18 15:26:30 +00:00
SBiOSoftWhare
21473374d0 Fix conflicts with develop 2022-03-18 15:12:34 +01:00
Andy Uhnak
794bc11eeb Revert copy change 2022-03-18 14:02:50 +00:00
Andy Uhnak
766f43742f Allow ignoring invited users that have not joined a room yet 2022-03-18 13:31:43 +00:00
ismailgulek
d9b5445755
Merge branch 'develop' into ismail/5770_threads_notice 2022-03-18 15:07:44 +03:00
ismailgulek
f3d96ecb5e
Display notice for threads enabled users only 2022-03-18 13:32:18 +03:00
ismailgulek
087be07bd5
Display threads notice if not displayed before 2022-03-18 13:23:26 +03:00
ismailgulek
119592acef
Implement notice screen 2022-03-18 13:22:47 +03:00
ismailgulek
7a943a211b
Update thread list bar button item badge 2022-03-18 02:08:03 +03:00
SBiOSoftWhare
583ae583ec RoomVC: Handle theme change for live location banner. 2022-03-17 17:34:09 +01:00
Anderas
c3b231b1e4
Merge pull request #5852 from vector-im/andy/5547_crash_tabs
Fix crash when pressing tabs
2022-03-17 16:04:30 +00:00
SBiOSoftWhare
d01ce21343 RoomCoordinator: Update with new RoomViewControllerDelegate methods. 2022-03-17 16:59:30 +01:00
SBiOSoftWhare
57e9609317 RoomVC: Handle live location banner. 2022-03-17 16:58:52 +01:00
MaximeE
83a718b38d 5720: Update UI in location sharing View 2022-03-17 16:52:22 +01:00
SBiOSoftWhare
27f5dbf87f Create LiveLocationSharingBannerView. 2022-03-17 16:48:10 +01:00
Gil Eluard
594187d02f
Merge pull request #5834 from vector-im/gil/5769_add_trigger_to_join_and_view_room_metrics_event
Add trigger to JoinedRoom event and implement ViewRoom metrics event
2022-03-17 16:09:38 +01:00
Gil Eluard
178a6a7f30 Change behaviour of avatar/self in left menu to match common paradigm and take user to their own profile/settings
- Done
2022-03-17 15:56:33 +01:00
Gil Eluard
2ba9d4a593 Merge branch 'develop' into gil/5769_add_trigger_to_join_and_view_room_metrics_event
# Conflicts:
#	Riot/Modules/Analytics/Analytics.swift
2022-03-17 13:59:24 +01:00
Andy Uhnak
909de0e44f Fix crash when pressing tabs 2022-03-17 12:37:42 +00:00
ismailgulek
ae496eeed3
fix missing MXJSONModel setters 2022-03-17 15:31:15 +03:00
ismailgulek
9b464b07d7
Update Riot/Modules/MatrixKit/Utils/EventFormatter/MXKEventFormatter.m
Co-authored-by: Gil Eluard <gile@element.io>
2022-03-17 15:27:29 +03:00
ismailgulek
e0acc987b9
Update Riot/Modules/MatrixKit/Utils/EventFormatter/MXKEventFormatter.m
Co-authored-by: Gil Eluard <gile@element.io>
2022-03-17 15:27:22 +03:00
ismailgulek
7d8c8293f1
Update Riot/Modules/MatrixKit/Utils/EventFormatter/MXKEventFormatter.m
Co-authored-by: Gil Eluard <gile@element.io>
2022-03-17 15:27:14 +03:00
ismailgulek
5331d941ad
Update Riot/Modules/MatrixKit/Utils/EventFormatter/MXKEventFormatter.m
Co-authored-by: Gil Eluard <gile@element.io>
2022-03-17 15:27:05 +03:00
ismailgulek
a424a0d7f9
Use event's new content when available 2022-03-17 14:24:02 +03:00
Gil Eluard
164be250ae
Merge pull request #5836 from vector-im/gil/5401_Instrument_metrics_for_the_IA_project
Instrument metrics for iOS for the IA project #5401
2022-03-17 11:55:55 +01:00
ismailgulek
0a5164a435
Merge pull request #5822 from vector-im/ismail/5441_thread_timeline_fixes
Thread Timeline Fixes
2022-03-17 13:16:49 +03:00
Gil Eluard
21d252aba0 Instrument metrics for iOS for the IA project #5401
- updates after review
2022-03-17 10:48:00 +01:00
David Langley
0251a01bb0 fix merge 2022-03-17 09:16:11 +00:00
Gil Eluard
25026afde5
Merge pull request #5831 from vector-im/gil/5825_crash_after_leaving_empty_space_and_all_rooms
Crash after leaving empty space and all rooms
2022-03-17 10:03:40 +01:00
David Langley
4e1e9afa59 Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/5017_uisi_autoreporter 2022-03-16 21:45:33 +00:00
David Langley
5c39eb2f51 Update detector to match web implementation(only track decryption attempts), add labs flag, increase rate limit spacing. 2022-03-16 17:47:41 +00:00
Gil Eluard
9ff5cf3163 Instrument metrics for iOS for the IA project #5401
- Added last needed metrics
2022-03-16 16:56:27 +01:00
Gil Eluard
2bb66b526d Add trigger to join and view room metrics events #5769
- Code tweaks
2022-03-16 16:25:12 +01:00
ismailgulek
3171b2533d
Merge pull request #5833 from vector-im/ismail/5829_reply_to_thread_root
Fix replies to thread root events
2022-03-16 18:14:07 +03:00
Gil Eluard
b8f3598d8b Add trigger to join and view room metrics events #5769
- Code tweaks
2022-03-16 16:10:28 +01:00
ismailgulek
0184791f23
Pass threadId of room data source on replies 2022-03-16 17:13:18 +03:00
Gil Eluard
63dbf10972 Crash after leaving empty space and all rooms #5825
- fixed
2022-03-16 14:52:06 +01:00
Arnaud Ringenbach
8c088b7ed5 Remove KeyPreSharingStrategy support 2022-03-16 14:17:46 +01:00
Arnaud Ringenbach
b6868465f2 Merge branch 'develop' into aringenbach/5745_mandatory_secure_backup 2022-03-16 13:41:47 +01:00
ismailgulek
c3acbf5d41
Avoid thread view controller pushing twice 2022-03-16 13:34:55 +03:00
Doug
b42c3fa87c Make scrollEdgesAppearance singular to match UIKit 2022-03-16 08:58:21 +00:00
ismailgulek
f4da3e517d
Reload thread screen for the first message 2022-03-15 16:15:38 +03:00
ismailgulek
07d734b8c2
Fix tests 2022-03-15 13:55:44 +03:00
ismailgulek
4e8bb7b4b0
Merge branch 'develop' into ismail/5816_reply_fallback 2022-03-15 13:50:06 +03:00
Gil Eluard
2e93b9a66e Merge branch 'develop' into gil/5769_add_trigger_to_join_and_view_room_metrics_event 2022-03-15 10:32:19 +01:00
Gil Eluard
18e5d22b92 Add trigger to join and view room metrics events #5769
- Added trigger for JoinedRoom event
- Tracking ViewRoom event for rooms and events
2022-03-15 10:31:24 +01:00
Andy Uhnak
9a4c3e485b Merge branch 'master' into develop 2022-03-14 16:26:07 +00:00
ismailgulek
0c0d6da1ff
Extend reply fallback for also non-thread events 2022-03-14 13:44:13 +03:00
Andy Uhnak
dab59bece5 Anchor action sheet to source view 2022-03-14 08:47:52 +00:00
David Langley
2309908c0e Add AutoReported, re-work big client interface and hook up AutoReporter. 2022-03-11 16:47:08 +00:00
Andy Uhnak
31ec9be2ad Ignore the sender of a room invite without needing to join the room first 2022-03-11 16:24:40 +00:00
Anderas
53245af5c2
Merge pull request #5804 from vector-im/andy/5801_dismiss_indicators
Do not show user indicators when the view controller is not visible
2022-03-11 08:16:03 +00:00
Arnaud Ringenbach
62c6ff759f Room: Refresh header when call actions become available 2022-03-11 09:09:49 +01:00
Andy Uhnak
64652b4f4f Add more comments 2022-03-10 17:40:23 +00:00
Andy Uhnak
9b72e91947 Name changes 2022-03-10 17:32:25 +00:00
Andy Uhnak
18e78864c8 Do not show user indicators when the view controller is not visible 2022-03-10 15:56:40 +00:00
Doug
c65ead8e58 Fix social button visibility during registration
Hide the back button at the same time.
Disable custom server entry when picking a different use case.
2022-03-10 11:28:03 +00:00
Arnaud Ringenbach
24ff83dc18 Merge branch 'develop' into aringenbach/5745_mandatory_secure_backup
# Conflicts:
#	Riot/Modules/CreateRoom/EnterNewRoomDetails/EnterNewRoomDetailsViewModel.swift
2022-03-10 10:35:20 +01:00
Gil Eluard
c76e0bc4b4
Merge pull request #5748 from vector-im/gil/SP1_space_creation
Creating & managing Spaces
2022-03-10 10:18:48 +01:00
Anderas
9b922a3bc6
Merge pull request #5781 from vector-im/andy/5780_indicator_context
Replace user indicator presenting view controller with context
2022-03-09 12:28:50 +00:00
Arnaud Ringenbach
6102927e9c Display only available secure backup methods on setup 2022-03-09 11:45:57 +01:00
Arnaud Ringenbach
90b79f2303 Hide key recovery if only passphrase is supported 2022-03-09 11:45:48 +01:00
Arnaud Ringenbach
6d60899b76 Fix minor cryptography typo 2022-03-09 11:45:39 +01:00
Arnaud Ringenbach
ddaf784100 Security settings: disable secure backup management if backup is required 2022-03-09 11:45:29 +01:00
Arnaud Ringenbach
40eb67338e Display mandatory secure backup setup if needed (first login / migration) 2022-03-09 11:45:18 +01:00
Arnaud Ringenbach
088ddd4972 Force non-cancellable session verification when needed (account migration / interrupted authentication) 2022-03-09 11:45:03 +01:00
Andy Uhnak
84ff87d5b7 Break retain cycle between split controller and indicator presenters 2022-03-09 09:50:56 +00:00
Arnaud Ringenbach
082cc520fe Add cancellable property to secureBackup/recovery coordinators 2022-03-09 10:41:48 +01:00
Arnaud Ringenbach
e949aa42bd Add cancellable property to secureBackup/recovery view controllers 2022-03-09 10:41:27 +01:00
Arnaud Ringenbach
1455908262 Set keyPreSharingStrategy on handleAppState 2022-03-09 10:41:06 +01:00
Arnaud Ringenbach
700f0896ea Update WellKnown & HomeserverConfiguration for mandatory backup 2022-03-09 10:40:33 +01:00
Andy Uhnak
589ded77e7 Replace user indicator presenting view controller with context 2022-03-09 09:11:47 +00:00
ismailgulek
e7192be4b7
Merge branch 'develop' into ismail/5749_thread_notifications 2022-03-08 21:18:59 +03:00
ismailgulek
5aca8293ee
Open & reply to thread only if threads enabled 2022-03-08 17:09:29 +03:00
Gil Eluard
e6e8319f93 Merge branch 'develop' into gil/SP1_space_creation 2022-03-08 13:19:38 +01:00
Anderas
d68dee41e5
Merge pull request #5767 from vector-im/andy/5752_missing_spinner
Use split controller's top navigation controller to present toasts
2022-03-08 11:30:52 +00:00
Andy Uhnak
06707e5615 Update indicator after ipad layout change 2022-03-08 10:40:01 +00:00
Gil Eluard
996ef72498 Merge branch 'develop' into gil/SP1_space_creation
# Conflicts:
#	Riot/Modules/Room/Members/RoomParticipantsViewController.m
#	Riot/Modules/Room/RoomViewController.m
#	Riot/Modules/Room/Settings/RoomSettingsViewController.h
#	Riot/Modules/Spaces/SpaceMembers/MemberList/SpaceMemberListViewController.swift
2022-03-08 11:23:55 +01:00
ismailgulek
c6367bced1
Navigate to thread from notification 2022-03-08 12:58:13 +03:00
Gil Eluard
9ebd8a4802
Instrument missing screen metrics (#5764)
* Instrument missing screen metrics

- Done
2022-03-08 10:13:46 +01:00
Andy Uhnak
869240d965 Use split controller's top navigation controller to present toasts 2022-03-08 08:34:45 +00:00
Arnaud Ringenbach
059b75a957 Rename profile as userAvatarAndName 2022-03-07 13:45:02 +01:00
Arnaud Ringenbach
7a321e8df7 Remove duplicated roomScreenUseOnlyLatestProfiles setting test 2022-03-07 13:45:02 +01:00
Arnaud Ringenbach
850c90331a Revamp refreshProfiles as setRoomState 2022-03-07 13:45:02 +01:00
Arnaud Ringenbach
e20e4bc159 Rename dataSource2 parameters and handle target profiles 2022-03-07 13:45:02 +01:00
Arnaud Ringenbach
b2ff450a6f Handle use only latest profile live refreshes 2022-03-07 13:45:02 +01:00
Arnaud Ringenbach
724eef1b83 Use only latest profiles in the timeline (labs) 2022-03-07 13:45:02 +01:00
Gil Eluard
5fef457fd6
selection impossible when filtering in add room screen #5757 (#5758)
- Fixed
- Other minor code / UI tweaks
2022-03-07 12:25:50 +01:00
Andy Uhnak
318057e61b Use new activity indicators on all tabs 2022-03-04 16:51:15 +00:00
Gil Eluard
aadf1b7d67 Merge branch 'develop' into gil/SP1_space_creation
# Conflicts:
#	Config/BuildSettings.swift
#	Riot/Generated/Strings.swift
#	Riot/Modules/Home/HomeViewController.m
#	Riot/Modules/Room/Members/RoomParticipantsViewController.m
2022-03-04 13:38:18 +01:00
Gil Eluard
cd742d972a Merge branch 'gil/SP1_space_creation' of github.com:vector-im/element-ios into gil/SP1_space_creation 2022-03-04 13:06:27 +01:00