Commit graph

1159 commits

Author SHA1 Message Date
manuroe
7a2d3b4e07 Settings > Security: More cleaning 2020-01-28 23:27:45 +01:00
manuroe
9f9f74ec24 Settings > Security: More cleaning 2020-01-28 23:15:23 +01:00
manuroe
133e26af36 Settings > Security: Remove useless imported code 2020-01-28 22:05:11 +01:00
manuroe
ae3674b8ed Settings: Add a dedicated screen for Security 2020-01-28 21:09:51 +01:00
manuroe
a669f35fc6 Settings: LABS: Keep only one flag for cross-signing 2020-01-28 16:51:03 +01:00
manuroe
589c1ca3b6 Message decoration: Do not decorate state events
#2947
2020-01-28 15:53:09 +01:00
manuroe
12ec147b62 Negotiate E2E by default for DMs
#2943
2020-01-28 15:16:53 +01:00
manuroe
7b24865be4
Room creation: Follow SDK changes (#2945)
Room creation: Follow SDK changes
2020-01-28 14:33:56 +01:00
manuroe
54a9ab88b8 Settings: Remove "End-to-End Encryption" from the LABS section
#2941
2020-01-27 17:30:09 +01:00
SBiOSoftWhare
5480e913ad RoomVC: Use encryption normal shield when retrieving room encryption trust level. 2020-01-24 17:13:08 +01:00
SBiOSoftWhare
a7df696f5b RoomDataSource: Fix refactoring. 2020-01-23 16:39:33 +01:00
SBiOSoftWhare
d2e93bb9aa RoomDataSource: Now compute encryption trust level from trusted devices percentage in room. 2020-01-23 16:37:23 +01:00
SBiOSoftWhare
2ab9a4ae83 RoomVC: Handle encryption shields decoration for composer and expanded header. 2020-01-22 16:27:04 +01:00
SBiOSoftWhare
69a04c1af8 Room messages: Handle encryption shields decoration. 2020-01-22 16:25:39 +01:00
SBiOSoftWhare
39e841963e ExpandedRoomTitleView: Add badge image view on room avatar. 2020-01-22 16:23:39 +01:00
SBiOSoftWhare
927a909f21 RoomDataSource: Handle room members trust level for an encrypted room. 2020-01-22 16:21:47 +01:00
manuroe
1d57c82f2f Fix build 2020-01-16 12:58:14 +01:00
manuroe
c8a1d8fdef Cross-signing: Fix a missed API break 2020-01-16 11:03:02 +01:00
manuroe
75b740efe2
Merge branch 'develop' into riot_2890 2020-01-16 09:33:57 +01:00
manuroe
3d7c468936 Cross-signing: Follow API change on MXDeviceInfo.trustLevel 2020-01-16 09:24:40 +01:00
SBiOSoftWhare
3718d0fbdb
Merge pull request #2902 from vector-im/riot_2851
Notification in DMs / new Notification type
2020-01-15 18:21:05 +01:00
SBiOSoftWhare
b41343f3f6 KeyVerificationConclusionBubbleCell: Update warning title and badge image. 2020-01-15 10:50:36 +01:00
manuroe
c659e87a32 Cross-signing: Follow API change on [MXCrypto downloadKeys:] 2020-01-15 08:38:35 +01:00
SBiOSoftWhare
972a1174c8 DeviceVerificationCoordinator: Handle incoming key verification to accept. 2020-01-14 21:51:05 +01:00
SBiOSoftWhare
0ad759c18e RoomDataSource: Handle RoomBubbleCellData key verification update. Handle incoming key verification approval. 2020-01-14 21:47:16 +01:00
SBiOSoftWhare
3ea3f1f847 RoomViewController: Handle key verification cells with pagination title. Handle key verification incoming request approval actions. Remove copy action in context menu for key verification cells. 2020-01-14 20:23:36 +01:00
SBiOSoftWhare
d290938fb1 Add key verification cells with pagination title. 2020-01-14 20:15:28 +01:00
SBiOSoftWhare
148c0686fa Handle key verification cells data filling. 2020-01-14 20:14:17 +01:00
SBiOSoftWhare
28bd41f197 KeyVerificationBaseBubbleCell: Use BubbleCellContentView. Improve cell height caching. 2020-01-14 20:10:13 +01:00
SBiOSoftWhare
6fe6067529 Refactor BubbleCellWithoutSenderInfoContentView to BubbleCellContentView and handle pagination title. 2020-01-14 20:02:34 +01:00
SBiOSoftWhare
d9408dda33 RoomBubbleCellData: Handle key verification cells. Add key verification property and add key verification cell data tags. 2020-01-14 19:46:02 +01:00
Giom Foret
e6c1f9a949 Bug Fix Key backup banner is not hidden correctly
#2899
2020-01-09 19:17:54 +01:00
Giom Foret
1d52a55d8a Code cleaning 2019-12-26 23:24:09 +01:00
Chris Moos
c93d7996f6 Fix issue with joining public rooms with no guest access.
This fixes #2888.

Signed-off-by: Chris Moos <chris@chrismoos.com>
2019-12-22 14:37:39 -07:00
SBiOSoftWhare
5cfe5833ce RoomDataSource: Handle read receipts display for cells conforming to BubbleCellReadReceiptsDisplayable. 2019-12-20 10:44:01 +01:00
SBiOSoftWhare
2fba33e598 RoomVC: Handle DM key verification cells. 2019-12-20 10:43:07 +01:00
SBiOSoftWhare
48db9c37a4 Create DM key verification cells. 2019-12-20 10:42:28 +01:00
SBiOSoftWhare
d4fd68e405 Create BubbleCellWithoutSenderInfoContentView a base room bubble cell content view. 2019-12-20 10:39:22 +01:00
SBiOSoftWhare
fc77865f84 Add BubbleCellReadReceiptsDisplayable protocol describing a cell able to manage read receipts display. 2019-12-20 10:37:53 +01:00
SBiOSoftWhare
4dcc6fb861 RoomBubbleCellData: Add new tags in RoomBubbleCellDataTag for key verification cells. 2019-12-20 10:35:04 +01:00
SBiOSoftWhare
643418142a UIStackView: Refactor extension method vc_removeAllSubviews to vc_removeAllArrangedSubviews. 2019-12-20 10:32:09 +01:00
manuroe
9892dfc9bc Settings: Hide cross-signing things from LABS for now 2019-12-11 09:03:36 +01:00
SBiOSoftWhare
8aac59f56a DeviceVerificationIncomingViewController: Wait view loading before observing device transaction change and unregister after matching an expected case. 2019-12-10 15:51:09 +01:00
SBiOSoftWhare
212568b570 DeviceVerificationVerifyViewController: Wait view loading before observing device transaction change and unregister after matching an expected case. 2019-12-10 15:45:36 +01:00
SBiOSoftWhare
7824121385 DeviceVerificationCoordinatorBridgePresenter: Add navigation logs. 2019-12-10 11:51:51 +01:00
manuroe
0adf6067ac Device Verification: Stay in infinite waiting
#2878

Don't stop listening to transaction updates if we receive unexpected events else you block the state machine.
2019-12-09 18:31:25 +01:00
SBiOSoftWhare
abdee96de8 Settings: Add cross-signing and key verification by direct message switches in labs section. 2019-12-06 12:14:13 +01:00
SBiOSoftWhare
5a593a95d3 RoomVC: Handle tap and long tap on UITextView detected data other than links (Fix #2803). 2019-12-03 19:58:51 +01:00
SBiOSoftWhare
3656028e91 Accessibility: Make checkboxes accessible in terms of service screen. 2019-12-02 17:46:01 +01:00
SBiOSoftWhare
03b8e2bf2d Widgets: Update WidgetViewController to make it conform to all ServiceTermsModalCoordinatorBridgePresenterDelegate methods. 2019-11-29 16:21:46 +01:00
SBiOSoftWhare
923db0c465 Fix terms appearing twice on cancel in IntegrationManagerViewController. 2019-11-29 16:21:03 +01:00
SBiOSoftWhare
46287271b0 Widgets: Handle terms display when selecting a widget in widget picker. 2019-11-29 16:20:01 +01:00
SBiOSoftWhare
855629ab67 WidgetPermissionViewController use a clear background for avatar image view. 2019-11-29 10:13:01 +01:00
SBiOSoftWhare
d3bdfa1494 Room widget permission: Disable justified text for permission informations in WidgetPermissionViewController. 2019-11-28 18:16:53 +01:00
SBiOSoftWhare
0061180bc6 Room widget permission: Update WidgetViewController. 2019-11-28 17:37:18 +01:00
SBiOSoftWhare
6b4f04f815 Room widget permission: Update WidgetPermissionViewController with closures instead of delegate handle updated view model. 2019-11-28 17:36:47 +01:00
SBiOSoftWhare
9c7585a2a5 Room widget permission: Update WidgetPermissionViewModel with permission string list and widget origin. 2019-11-28 17:35:54 +01:00
SBiOSoftWhare
c65eb82283 Move sliding modal classes. 2019-11-28 17:30:01 +01:00
SBiOSoftWhare
d499159c1d
Update Riot/Modules/Modal/SlidingModalPresentationAnimator.swift
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2019-11-28 14:44:16 +01:00
SBiOSoftWhare
79abd8da21
Update Riot/Modules/Modal/SlidingModalPresentationAnimator.swift
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2019-11-28 14:44:08 +01:00
SBiOSoftWhare
d444f0c850 Room Widget Permission: Handle new room widget permission UX in WidgetViewController. 2019-11-28 12:51:30 +01:00
SBiOSoftWhare
bb0d373dfa Room Widget Permission: Create room widget permission screen. 2019-11-28 12:49:53 +01:00
SBiOSoftWhare
9248eec44f Create a SlidingModalPresenter that allows to present custom modal view controller or view in a card with a sliding transition. 2019-11-28 12:47:46 +01:00
manuroe
a5bfec5389 Widgets: Fix bad i18n key 2019-11-22 14:49:35 +01:00
manuroe
df7a692db5 Swift: NSURL -> URL 2019-11-22 12:20:57 +01:00
manuroe
304c224c07 Jitsi: Display room name, user name and user avatar in the conference screen 2019-11-22 12:04:28 +01:00
manuroe
10d5cd81d6 Widgets: Check user permission before opening a widget (data part)
#2833
2019-11-22 11:18:08 +01:00
manuroe
3296a7561f Widgets: Display an error if the IM is disabled
#2843
2019-11-21 16:36:08 +01:00
manuroe
98354f24aa Settings: Have a toggle for using an integration manager
#2843
2019-11-21 15:43:04 +01:00
manuroe
e5754a2b4d Widgets permission: Fix Steve's remarks 2019-11-20 18:41:18 +01:00
manuroe
50896e6d96 Widgets: Add "Remove for everyone" to the contextual menu 2019-11-20 17:38:12 +01:00
manuroe
5de5b3dec6 Widgets: Add a contextual menu to refresh, open outside and revoke the permission
#2834
2019-11-20 14:23:01 +01:00
manuroe
eca3ad7278 Widgets permission: Some cleaning 2019-11-20 11:13:47 +01:00
manuroe
d01ecca63c Widgets permission: No check required for the integration manager widget 2019-11-20 10:56:14 +01:00
manuroe
5ab4aa63b3 Widgets permission: No check required when the user is the creator 2019-11-20 10:55:06 +01:00
manuroe
1eece82936 Widgets: Check user permission before opening a widget (Data side)
#2832
2019-11-20 10:25:56 +01:00
SBiOSoftWhare
1d212e57d6 Fix tab bar icons misalignment on iOS 13 (Fix #2802). 2019-11-06 15:32:42 +01:00
SBiOSoftWhare
b50f8979f0 RoomVC: Prevent tableView scroll when displaying contextual menu. 2019-10-29 09:19:37 +01:00
SBiOSoftWhare
ea031cd033 RoomVC: Prevent tableView scroll when displaying contextual menu (Fix #2687). 2019-10-28 18:55:55 +01:00
manuroe
b76f18b16a
Merge pull request #2801 from vector-im/riot_2744
Settings: Add User-Interactive Auth for adding email and msidsn to user's account
2019-10-24 17:24:15 +02:00
manuroe
aac9ac03d7 Settings: Use a generic wording when authentication flow is not supported 2019-10-24 15:40:07 +02:00
manuroe
26cc34a62e Settings: Add User-Interactive Auth for adding email and msidsn to user's account
vector-im/riot-ios#2744
2019-10-24 11:17:59 +02:00
SBiOSoftWhare
413b9563c0 Device verification: Improve navigation flow and view states handling. 2019-10-23 17:27:43 +02:00
SBiOSoftWhare
82527c2a3f Emoji picker: Fix reverse header and background colors (Fix #2630). 2019-10-22 18:54:59 +02:00
SBiOSoftWhare
57f2278d45 RoomViewController: Fix crash occurring when tap on an unsent media with retrieved event equal to nil. 2019-10-22 11:50:25 +02:00
SBiOSoftWhare
733298ede8 RoomViewController: Add logs when copy text failed. 2019-10-22 10:55:28 +02:00
SBiOSoftWhare
588168b342 RoomSettingsViewController: Fix a crash when setting a nil string on UIPasteboard. 2019-10-21 17:37:36 +02:00
SBiOSoftWhare
a5671878bb RoomViewController: Fix a crash when setting a nil string on UIPasteboard. 2019-10-21 17:36:58 +02:00
SBiOSoftWhare
a1c5d219bc Fix code formatting in RecentsViewController. 2019-10-18 15:38:01 +02:00
SBiOSoftWhare
4b4f590323 Room cell: Fix states of direct chat and favorite buttons in the menu (Fix #2788). 2019-10-18 15:12:13 +02:00
manuroe
f3e8cc4de7 ContactsDataSource: Do not use [MXKContactManager updateMatrixIDsForAllLocalContacts]
MXKContactManager does it already when a new session is added
2019-10-11 09:57:14 +02:00
manuroe
3f89fbdc14
Merge pull request #2763 from vector-im/riot_2758
Privacy: Do not try to scan local contacts in background when the use…
2019-10-10 16:29:16 +02:00
manuroe
b1df00fd3e Privacy: Do not try to scan local contacts in background when the user has not decided yet to use or not an identity server.
But try to scan when the user opens a screen with a list of contacts
2019-10-10 15:18:58 +02:00
manuroe
741f75347d ServiceTermsModal: Setup all the plumbery for the "Decline" button 2019-10-10 14:44:58 +02:00
manuroe
b7aaa17525 Privacy: Make IS terms wording clearer when we fallback to vector.im
#2760

Add a outOfContext flag to ServiceTermsModal and adapt the display to it
2019-10-10 11:05:10 +02:00
manuroe
ed40c993e8 Terms: Display the URL of the service 2019-10-04 16:16:56 +02:00
manuroe
04ee482a0e Settings/Bind: Ask the user to validate the email again if they have not validated it yet
instead of displaying an error dialog.
This bug happened only with the new HS add and bind APIs (MSC2290) flow because new IS API returns only `M_UNKNOWN`.
2019-10-04 14:11:24 +02:00
manuroe
ead5e435b3
Merge branch 'develop' into privacy 2019-10-04 11:56:55 +02:00
manuroe
ce4c567d7f Settings/Discovery: Do not validate 3pid for unbind with MSC2290 2019-10-02 17:04:49 +02:00
manuroe
c118181f77 Settings/Discovery: Fix stale state after getting an error 2019-10-02 14:56:48 +02:00
manuroe
c74fa3fd5f Settings/Discovery: Manage unbind 2019-10-02 10:57:36 +02:00
manuroe
6e22c42e7a Settings/Discovery: Use new threePidAddManager.cancel() 2019-10-02 09:54:08 +02:00
manuroe
734551902c Settings/Discovery: Use new threePidAddManager to bind emails and phone numbers to HS account
All the migration logic with temporary flag is now in the SDK
2019-10-02 09:31:09 +02:00
manuroe
e256d36dfb SettingsVC: Use new threePidAddManager to add emails and phone numbers to HS account 2019-09-30 18:13:08 +02:00
manuroe
8bb441f403 ActivityIndicatorPresenter: Fix Giom's review remark 2019-09-27 16:38:52 +02:00
manuroe
cc601bacd6 Privacy: IS Settings: Fix flow after terms has been accepted
##2736
I was using a HS access token for IS...
2019-09-26 17:39:50 +02:00
manuroe
9c65158184 Privacy: IS Settings: Disable correctly Add/Change buttons 2019-09-26 16:26:20 +02:00
manuroe
0a0c448aa2 ActivityIndicatorPresenter: Make it accept double display and double hide 2019-09-26 16:03:12 +02:00
manuroe
04a2b18282 Privacy: IS Settings: Factorise model flows so that the change action use both add and disconnect actions 2019-09-26 16:01:53 +02:00
manuroe
53214189f9 Privacy: IS Settings: Change the IS to another one 2019-09-26 12:17:16 +02:00
manuroe
ea36ee0f10 Privacy: IS Settings: Manage invalid IS 2019-09-26 11:00:28 +02:00
manuroe
7268992399 Privacy: IS Settings: Improve UITextField: placeholder, enter key, email keyboard 2019-09-26 11:00:21 +02:00
manuroe
6c68a4fdc3 Privacy: IS Settings: Fix a swift api 2019-09-26 10:31:27 +02:00
manuroe
ef778839a8 Privacy: IS Settings: Manage invalid IS 2019-09-26 10:31:15 +02:00
manuroe
d632e5a21e Privacy: IS Settings: Do not set the IS if terms are not accepted and show and error 2019-09-25 18:28:20 +02:00
manuroe
76a92f065d Privacy: IS Settings: Present IS terms if needed 2019-09-25 18:04:10 +02:00
manuroe
aff02aba1e Privacy: IS Settings: Disconnect from the IS 2019-09-25 15:51:15 +02:00
manuroe
8feb0dcde5 Privacy: IS Settings: Add an IS 2019-09-25 14:51:26 +02:00
manuroe
46702f11d3 Privacy: IS Settings: Plug the UITextField to the model 2019-09-25 10:14:00 +02:00
manuroe
9faddc70d4 Privacy: IS Settings: Finish theming 2019-09-24 15:34:31 +02:00
manuroe
fc2ee7130d Privacy: Settings: Finish IS setting storyboard 2019-09-24 14:34:09 +02:00
manuroe
9621b2dd30 Merge remote-tracking branch 'origin/privacy' into riot_2604 2019-09-23 16:52:06 +02:00
manuroe
baa61a2cb8 i18n: Prefer "Cancel" rather than "Abort" 2019-09-23 16:49:16 +02:00
manuroe
ccfd5a8b51 Merge tag 'v0.9.5' into develop
Finish voice_over

# Conflicts:
#	CHANGES.rst
#	Riot/SupportingFiles/Info.plist
#	RiotShareExtension/SupportingFiles/Info.plist
#	SiriIntents/Info.plist
2019-09-20 17:28:16 +02:00
manuroe
871b9b1f6f VoiceOver: Make ScrollToBottomButton speakable 2019-09-20 17:21:00 +02:00
manuroe
d79ce22df5 VoiceOver: RoomVC: No VoiceOver on media
#2726
2019-09-20 16:25:15 +02:00
manuroe
e0406d4cec VoiceOver: RoomVC: Do not lose the focus on the timeline when paginating (with 3 fingers)
#2720
2019-09-19 17:21:03 +02:00
manuroe
952bf89068 VoiceOver: RoomVC: Make VoiceOver focus on the contextual menu when selecting an event
#2721
2019-09-18 13:51:45 +02:00
manuroe
1a63ece5ab VoiceOver: RoomVC: Fix some missing accessibility labels for buttons
#2722
2019-09-18 13:08:42 +02:00
manuroe
b6e8fb09bb Privacy: Settings: Plug the new SettingsIdentityServerViewController 2019-09-17 15:20:16 +02:00
manuroe
aa0d37e41e Privacy: Settings: Add "IDENTITY SERVER" section 2019-09-17 14:33:28 +02:00
manuroe
1c1825f856 i18n: improve naming: error_no_identity_server -> error_invite_3pid_with_no_identity_server 2019-09-17 10:56:46 +02:00
manuroe
95175c960a Settings: Fix missing stopActivityIndicator 2019-09-17 10:37:57 +02:00
manuroe
c80e4b6a4d Privacy: If there is no IS, we cannot invite people by email
#2672

Display a message for MXRestClientErrorMissingIdentityServer errors
2019-09-17 10:06:10 +02:00
manuroe
5553bfb826 Privacy: If there is no IS, we cannot list local contacts using matrix
#2672
2019-09-16 18:01:12 +02:00
manuroe
17295a4cb5 Merge tag 'v0.9.4' into develop
Finish hotfix_Riot_2715

# Conflicts:
#	CHANGES.rst
2019-09-16 10:43:30 +02:00
manuroe
6d33a27cb7 Authentication: Improve the webview used for SSO
#2715
2019-09-13 19:13:04 +02:00
SBiOSoftWhare
bc38a31665 Settings identity server: WIP. 2019-09-13 18:16:01 +02:00
manuroe
67252e7756 SettingsVC: Fix crash 2019-09-13 11:27:35 +02:00
SBiOSoftWhare
48e1a381cb Settings discovery: Display human readable phone numbers. 2019-09-12 14:56:54 +02:00
SBiOSoftWhare
e17c3abdad Settings discovery: In three pid details screen, use same UX as email for phone number pending verification. 2019-09-12 12:01:28 +02:00
manuroe
67badf1c14
Merge pull request #2707 from vector-im/riot_2682
Send IS for adding MSISDNs only when required by HS
2019-09-11 16:40:03 +02:00
SBiOSoftWhare
e380108489 Settings discovery: In three pid details screen, display a pending verification alert on email validation. Use a fallback API mechanism in view model for older homeservers that do no support 3pid rebind. 2019-09-11 16:27:32 +02:00
manuroe
82af540d56 Send IS for adding MSISDNs only when required by HS
#2682
2019-09-11 15:00:35 +02:00
SBiOSoftWhare
cb6db06141 Settings discovery: Handle new discovery section. 2019-09-10 20:36:45 +02:00
SBiOSoftWhare
532de2cb93 Settings discovery: Implement settings table view discovery section. 2019-09-10 20:33:27 +02:00
SBiOSoftWhare
78fc3182d8 Settings discovery: Implement three pid details screen. 2019-09-10 20:27:41 +02:00
manuroe
bc9ca5575d Merge tag 'v0.9.3' into develop
Finish riot_2703

# Conflicts:
#	CHANGES.rst
2019-09-10 16:30:45 +02:00
manuroe
76923cae11 Authentication: Create a way to filter and prioritise flows (with handleSupportedFlowsInAuthenticationSession). 2019-09-10 14:33:56 +02:00
manuroe
2e86379b2a Support Riot configuration link to customise HS and IS
#2703
2019-09-10 11:51:49 +02:00
manuroe
b080407533
Merge pull request #2699 from vector-im/riot_2657
Privacy: Allow email registration when no IS
2019-09-09 10:08:28 +02:00
manuroe
c41d1e3b51 Privacy: Allow email registration when no IS: Make is_url optional in the next_link of the validation email
#2657
2019-09-06 10:48:27 +02:00
manuroe
5f773d4299 Privacy: Allow email registration when no IS if the HS supports it
#2657
2019-09-06 10:42:19 +02:00
manuroe
93b8b29d7f Privacy: Allow email registration when no IS but return an error if not supported by the HS.
#2657
2019-09-06 10:30:20 +02:00
manuroe
c44b1e841f Settings: Update the screen if IS is changed from another device
#2665
2019-09-05 12:22:18 +02:00
manuroe
35ec07d477 Do not use anymore MXRestClient.credentials.identityServer 2019-09-05 12:16:31 +02:00
Giom Foret
9a18ced34a fix compilation issue 2019-09-04 17:26:06 +02:00
Giom Foret
30d757aa8c Room members: third-party invites can now be revoked 2019-09-04 17:14:36 +02:00
manuroe
be6dd988bb
Merge branch 'privacy' into riot_2659 2019-09-04 09:40:27 +02:00
manuroe
3d8f9f606c Privacy: Settings: Allow adding 3pids when no IS
#2659

And display an error if an IS is required
2019-09-03 16:35:18 +02:00
manuroe
5faf7eca0d Privacy: Allow password reset when no IS
#2658

Display an error if IS is required but empty
2019-09-03 15:02:02 +02:00
manuroe
1e39cc6dd9 Fix build after small API break 2019-09-02 17:14:22 +02:00
manuroe
571c3af774 Privacy: Remove the ability to set an IS at login/registration
#2661
2019-08-30 16:27:49 +02:00
SBiOSoftWhare
6488dd39cb Merge branch 'privacy' into identity_server_v2
# Conflicts:
#	CHANGES.rst
#	Riot/Modules/Authentication/Views/AuthInputsView.m
2019-08-30 16:11:22 +02:00
SBiOSoftWhare
ace66b7225 AppDelegate: Support identity server v2 API email validation and prompt to accept identity server policies on first use. 2019-08-30 11:15:06 +02:00
manuroe
101509dd63 Privacy: Email help text on registration should be updated without binding
Update them again after review
2019-08-30 10:21:57 +02:00
manuroe
82676bf80c Privacy: Email help text on registration should be updated without binding
#2675

We use new strings ids as the meaning changed.
2019-08-29 17:02:10 +02:00
manuroe
7a6c4a8dc6 Privacy: Remove the bind true flag from 3PID adds in settings
#2650
2019-08-29 11:27:29 +02:00
manuroe
8e5e376e20 Privacy: Remove the bind true flag from 3PID calls on registration
#2648
2019-08-29 11:11:23 +02:00
manuroe
ba446465e5 VoIP: Fallback to matrix.org STUN server with a confirmation dialog
#2646
2019-08-28 18:57:56 +02:00
manuroe
78d7c99f39 Settings: CALLS section: Always display the CallKit option
as we are iOS 10 min now but grey it out when not available (only on China)
2019-08-28 17:01:38 +02:00
manuroe
b2bae552d3 Settings: Device section: Make clear that device names are publicly readable in a kind of a "section header" header
vector-im/riot-ios/issues/2662
2019-08-26 18:37:43 +02:00
manuroe
118ec78f23 Settings: Display device fingerprint with a space every 4 chars like other Riot apps 2019-08-26 18:03:26 +02:00
SBiOSoftWhare
a6cd9e32f1 AuthInputsView: Check identity server presence before email registration. 2019-08-21 16:00:53 +02:00
SBiOSoftWhare
d772f212f3 AuthInputsView: Take into account MXIdentityService identity server URL when MSISDN is validated. 2019-08-21 12:03:52 +02:00
SBiOSoftWhare
6885bb86d0
Merge pull request #2645 from vector-im/riot_2643
Ability to disable all identity server functionality via the config file
2019-08-14 15:10:02 +02:00
SBiOSoftWhare
face1dec11 Use lower case for the term identity server. 2019-08-14 15:08:58 +02:00
SBiOSoftWhare
b8362ed3b5 AuthenticationViewController: Show error alert instead of disabling password reset action when Identity Server is not set. 2019-08-14 14:11:06 +02:00
SBiOSoftWhare
a5cfe79fec ContactDetailsViewController: If no IS is configured show an error when starting a chat with a user having only an email. 2019-08-13 17:11:09 +02:00
SBiOSoftWhare
8b79403a7a StartChatViewController: Prevent inviting contact with email only if no IS configured. 2019-08-13 17:08:42 +02:00
SBiOSoftWhare
fd2827220f SettingsViewController: Disable adding threepids if no IS configured. 2019-08-13 17:05:19 +02:00
SBiOSoftWhare
e9df6c9b28 AuthenticationViewController: When register do not propose to add 3rd party ids if there is no configured Identity Server. 2019-08-13 17:03:05 +02:00
SBiOSoftWhare
799b731642 AuthenticationViewController: Disable password reset action when Identity Server is not set. 2019-08-13 17:01:01 +02:00
manuroe
ffee457477 IM: Terms modal: Check checkboxes of already accepted terms urls 2019-08-13 15:54:21 +02:00
manuroe
0531b69f92 IM: Terms modal: Show the modal on widgets (Sticker Picker, ...) 2019-08-13 14:00:33 +02:00
manuroe
3575258920 IM: Terms modal: Reopen the IM UI once terms are accepted 2019-08-13 13:59:36 +02:00
manuroe
d37017430d IM: Terms modal: Make computation of baseUrl more generic 2019-08-13 11:35:56 +02:00
manuroe
9111bed534 IM: Terms modal: Add service purpose description 2019-08-12 15:00:06 +02:00
manuroe
8d4d2bf998 IM: Terms modal: Display terms page into a webview 2019-08-12 11:14:58 +02:00
manuroe
1461b14217 IM: Tweak terms view UI 2019-08-09 18:43:27 +02:00
manuroe
b80640eb3b IM: Display terms in table view 2019-08-09 17:58:02 +02:00
manuroe
f946e2b6d5 IM: Start flow for terms modal 2019-08-09 15:58:33 +02:00
manuroe
ec768b1202 BF: Fix crash for earch bar customisation in iOS13
#2626
2019-08-07 18:36:58 +02:00
SBiOSoftWhare
20a7b04743
Update Riot/Modules/Room/Views/InputToolbar/RoomInputToolbarView.m
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2019-08-02 18:12:41 +02:00
SBiOSoftWhare
d4977deee0 Media picker: Fix theming issue on recent captures. 2019-08-02 18:06:55 +02:00
SBiOSoftWhare
35d3ff1e6a SettingsViewController: Use SingleImagePickerPresenter for profile avatar picture. 2019-08-02 17:27:49 +02:00
SBiOSoftWhare
ccc930ccc7 RoomSettingsViewController: Use SingleImagePickerPresenter for room avatar picture. 2019-08-02 17:26:34 +02:00
SBiOSoftWhare
7c81eb685e Create SingleImagePickerPresenter that enables to present an image picker with single selection. 2019-08-02 17:21:17 +02:00
SBiOSoftWhare
119d7239a8 RoomVC: Handle presentation for new native camera and media library actions. 2019-08-02 17:19:29 +02:00
SBiOSoftWhare
b31087ec12 RoomInputToolbarView: Add separate actions for camera and media library. 2019-08-02 17:16:06 +02:00
SBiOSoftWhare
edc03eeb48 Media picker: Create a coordinator. 2019-08-02 17:09:32 +02:00
SBiOSoftWhare
7602c57213 MediaAlbumContentViewController: Fix some retain cycle issues. 2019-08-02 17:07:36 +02:00
SBiOSoftWhare
c26800937c MediaPickerViewController: Remove camera preview and display only recent captures and media albums. 2019-08-02 17:04:14 +02:00
SBiOSoftWhare
a5ac57ca63 Create CameraPresenter that enables to present native camera. 2019-08-02 16:54:31 +02:00
SBiOSoftWhare
2bdd4d782e RoomDataSource: Do not display reactions when event is redacted. 2019-07-30 18:24:12 +02:00
SBiOSoftWhare
17775afd0e ReactionHistoryViewCell: Update copyright. 2019-07-30 18:06:13 +02:00
SBiOSoftWhare
58f485c56e Edit history: Fix some issues. 2019-07-30 17:24:46 +02:00
SBiOSoftWhare
06feb8e28b Reaction history: Handle presentation from room VC by long press on reactions or from contextual menu. 2019-07-30 17:24:46 +02:00
SBiOSoftWhare
1ad0d6908e Reaction history: Implement coordinator. 2019-07-30 17:24:46 +02:00
SBiOSoftWhare
8c83e1d51d Reaction history: Implement screen. 2019-07-30 17:24:45 +02:00
SBiOSoftWhare
f8cdb2afd6 Reaction history: Implement view model. 2019-07-30 17:24:45 +02:00
SBiOSoftWhare
8b9ca69836 Reactions: Add long press gesture on bubble cell reactions. 2019-07-30 17:24:45 +02:00
manuroe
a5760bc770 BF: Crash when leaving settings due to backup section refresh animation.
The exception was:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 10.  The number of rows contained in an existing section after the update (0) must be equal to the number of rows contained in that section before the update (3), plus or minus the number of rows inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out).'

To raise this exception:
- Execute the removed code after a delay (2s)
- Enter and leave the settings page
-> Crash
2019-07-29 17:31:07 +02:00
SBiOSoftWhare
ca7779ae58 Emoji picker: Handle Manu's comments. 2019-07-26 14:06:19 +02:00
SBiOSoftWhare
46434d7596
Update Riot/Modules/Room/RoomViewController.m
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2019-07-25 19:16:15 +02:00
SBiOSoftWhare
39629a6638 RoomVC: Handle Emoji picker. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
7066c58a0b Emoji picker: Implement coordinator bridge presenter. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
a769f6290e Emoji picker: Implement Emoji picker screen. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
04d142ab65 Emoji picker: Implement cell and header view. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
c9d4b4193a Emoji picker: Implement Emoji store, view model and view data. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
e4df031451 Contextual menu: Fix reactions menu theme update. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
01b9b483c6 Emoji picker: Handle Emoji parsing with EmojiService. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
2f9419f0bc Reactions menu: Add more reactions button. 2019-07-25 16:58:14 +02:00
manuroe
9579b59bba Soft logout: SSO support: Make sure the "Sign in with SSO" button does not overlap the explanation of the soft logout 2019-07-24 15:24:37 +02:00
manuroe
d126db5e49 Soft logout: SSO support: Display the clear data section upper 2019-07-24 14:59:40 +02:00
manuroe
3fa4de6722 Soft logout: Retain MXFileStore instance while getting user display name 2019-07-24 12:14:31 +02:00
manuroe
45f864b90c Soft logout: Display the message about keys only if there are keys not yet backed ip 2019-07-23 17:36:10 +02:00
manuroe
3fc4ed9884 Soft logout: Do not show the clear data section on the forgot password flow 2019-07-23 17:17:05 +02:00
manuroe
18d7ca6b62 Soft logout: Do not try to log against matrix.org if the password was wrong 2019-07-23 17:03:24 +02:00
manuroe
f7e2da7b1b Soft logout: Implement the clear data button
#2540
2019-07-23 16:20:07 +02:00
manuroe
f182073551 Soft logout: Implement design for the clear data section
#2540
2019-07-23 14:45:51 +02:00
manuroe
400b9c140e Soft logout: Implement design
This is an adapted version of the zeplin design. It uses the current app login look and feel with the copy of the zeplin design

#2540
2019-07-23 11:51:46 +02:00
manuroe
07505b08dc Soft logout: Support soft logout
#2540
2019-07-19 14:25:45 +02:00
manuroe
9b63577447 BF: Edits history: Original event is missing
#2585

The original event is not an edit event. It must be processed a bit differently
2019-07-17 13:58:09 +02:00
manuroe
8ecf5e73cc Push: Update code to follow API break
#2348
2019-07-16 14:42:25 +02:00
manuroe
5e0b61b034
Update Riot/Modules/Room/DataSources/RoomDataSource.h 2019-07-12 09:51:12 +02:00
SBiOSoftWhare
6d63d704f7 RoomVC: Handle external file upload. 2019-07-11 19:17:55 +02:00
SBiOSoftWhare
20458bca20 MXKRoomDataSource: Handle video thumbnail generation with MXKVideoThumbnailGenerator. 2019-07-11 19:07:45 +02:00
SBiOSoftWhare
928eb0c69e RoomInputToolbarView: Add file upload action. 2019-07-11 19:03:32 +02:00
manuroe
47c05e9ce9
Merge pull request #2570 from vector-im/riot_2559
Edits history: Display original event
2019-07-10 15:58:41 +02:00
manuroe
54af44d2ad Room upgrade: Autojoin the upgraded room when the user taps on the tombstone banner
#2486
2019-07-10 14:58:47 +02:00
manuroe
c09faea091 Edits history: Display original event
#2559
2019-07-10 09:53:29 +02:00
SBiOSoftWhare
cece0404ba
Merge pull request #2567 from vector-im/riot_2553
Reactions: Reinstate the ability to react with non-unicode keys
2019-07-09 14:20:03 +02:00
SBiOSoftWhare
436f501a91 LABS: Remove reaction settings, reactions are enabled by default. 2019-07-09 13:51:14 +02:00
SBiOSoftWhare
012ea5b9c3 Bubble reaction view: Handle emoji label theme color. 2019-07-09 11:23:46 +02:00
SBiOSoftWhare
3b45885143 Reactions: Limit Emoji string length in reaction bubble. 2019-07-09 11:02:52 +02:00
SBiOSoftWhare
81b30b4916
Merge pull request #2564 from vector-im/riot_2538
BF: Quick reactions menu hide time and user display name
2019-07-09 10:37:40 +02:00
SBiOSoftWhare
24f6d03e4c RoomVC: Fix reactions menu timestamp and display name overlap (Fix #2538). 2019-07-08 18:43:55 +02:00
SBiOSoftWhare
593e3b3765 RoomBubbleCellData: Add a method to get first visible component index. 2019-07-08 18:34:08 +02:00
manuroe
3a80274bc4
Merge pull request #2555 from vector-im/riot_2548
BF: Reactions: Unexpected padding after event selection
2019-07-08 16:26:43 +02:00
manuroe
138d03d5b2
Merge pull request #2557 from vector-im/riot_2547
Join Room: Support via parameters to better handle federation
2019-07-08 14:53:02 +02:00
manuroe
0d5eac4cf6 Room upgrade: Use the server_name parameter when joining the new room
#2550
2019-07-08 11:46:10 +02:00
manuroe
87b1e15f36 Join Room: Support via parameters to better handle federation
#2547
2019-07-08 11:15:44 +02:00
SBiOSoftWhare
4f6f5a771f Reactions: Fix unexpected padding after event selection (Fix #2548). 2019-07-05 20:56:37 +02:00
SBiOSoftWhare
12896ffc36 Message editing: Handle encrypted message edits history. 2019-07-05 14:14:46 +02:00
SBiOSoftWhare
3a8122bdb1 Message edits history: Handle message edits history display from RoomViewController. 2019-07-04 19:24:15 +02:00
SBiOSoftWhare
11012933ae Message edits history: Update EditHistoryViewController to use UITableView to display messages and dates. 2019-07-04 19:22:29 +02:00
SBiOSoftWhare
8ae74d507d Message edits history: Update view model to handle message history grouping by day. 2019-07-04 19:18:13 +02:00
SBiOSoftWhare
8fe0213c44 Message edits history: Create edit history section struct. 2019-07-04 19:04:53 +02:00
SBiOSoftWhare
884f47b33e Message edits history: Create header view. 2019-07-04 19:03:39 +02:00
SBiOSoftWhare
a943361051 Message edits history: Create edit message cell. 2019-07-04 19:02:54 +02:00
manuroe
2a22e4c0a9 Reactions: Show at most 8 reactions
#2510
2019-07-04 11:38:48 +02:00
SBiOSoftWhare
78351941e4 Message editing: Handle reply edition. 2019-07-03 11:13:53 +02:00
manuroe
63aca2b130 Edits history: Manage date 2019-07-01 14:39:39 +02:00
manuroe
4c7a652fd9 EventFormatter: add showEditionMention setting 2019-07-01 12:42:42 +02:00
manuroe
26a8a6fd8d Edits history: Use a dedicated event formatter 2019-07-01 12:34:20 +02:00
manuroe
4f6986c0ea Edits history: Improve temporary UX a bit 2019-07-01 10:51:07 +02:00
manuroe
54e3155763 Edits history: Fix missing navigation bar 2019-07-01 10:34:02 +02:00
manuroe
d09ff5961c Edits: Start history 2019-06-28 19:27:46 +02:00
SBiOSoftWhare
2980e0fd99
Merge pull request #2534 from vector-im/context_menu_UX_improvements
Room: Improve context menu UX
2019-06-27 16:36:17 +02:00
SBiOSoftWhare
9a217a1098 RoomVC: Improve RoomContextualMenuPresenter loading speed. 2019-06-27 14:37:17 +02:00
manuroe
3eda67435e BF: Edits: editing an unsent msg gets cancelled if the original msg send completes during the edit
#2495
2019-06-27 12:25:01 +02:00
SBiOSoftWhare
392d2ae972 RoomVC: Reduce animation duration when presenting contextual menu. Make animation quicker for a single tap. 2019-06-27 11:41:25 +02:00
SBiOSoftWhare
32de513df5 RoomViewController: Improve additional event actions menu behavior. Remove more action. 2019-06-27 10:23:20 +02:00
manuroe
f63d2e1398
Merge pull request #2531 from vector-im/riot_2449
Edits: Support edits in e2e rooms
2019-06-26 12:14:25 +02:00
manuroe
3db1cffe28 Edits: Support edits in e2e rooms 2019-06-25 18:32:34 +02:00
SBiOSoftWhare
066927c4d4 Bubble cell reactions: Fix BubbleReactionViewCell clipped at bottom in selected state (Fix #2515). 2019-06-25 16:21:48 +02:00
SBiOSoftWhare
cd57ed1f9b RoomViewController: Handle updated RoomContextualMenuViewController. 2019-06-25 14:00:12 +02:00
SBiOSoftWhare
dab7d224eb RoomContextualMenuPresenter: Handle new reactions menu animations, reduce context menu show/hide animation duration. 2019-06-25 13:56:44 +02:00
SBiOSoftWhare
77d27d5fce RoomContextualMenuViewController: Handle updated ReactionsMenuView and new animations instructions. 2019-06-25 13:48:16 +02:00
SBiOSoftWhare
96c771bbfe Update ReactionsMenuView layout. 2019-06-25 13:40:59 +02:00
SBiOSoftWhare
833ba360ee Update ReactionsMenuViewModel to handle a list of reactions. 2019-06-25 13:23:07 +02:00
SBiOSoftWhare
af92b98065 Update ReactionsMenuButton UI 2019-06-25 12:06:54 +02:00
manuroe
f7554aaa88
Merge pull request #2524 from vector-im/riot_2518
Make sure there are no ugly edge cases running Riot without an integrations manager
2019-06-24 15:01:00 +02:00
manuroe
948105b03d Integrations: Manage the error of no configured integrations server 2019-06-21 12:12:32 +02:00
manuroe
afd37fa9fb Integrations: Make code support use of an integration manager other than modular/scalar.
The default value is still modular/scalar.
2019-06-21 11:26:34 +02:00
SBiOSoftWhare
98361afa6f e2e room message: Fix padlock position on last message with sender name. 2019-06-20 12:07:04 +02:00
SBiOSoftWhare
4e6c1c36af RoomDataSource: Fix bubble cell data additional content height update. 2019-06-19 14:22:38 +02:00
SBiOSoftWhare
2b28f25883 Merge develop into fix_riot_attachmentview_reactions 2019-06-19 11:44:42 +02:00
SBiOSoftWhare
8e50ff08c1 Fix bubble cell height for cells with attachment view and reactions. 2019-06-18 18:36:22 +02:00
SBiOSoftWhare
3295b649c9 RoomBubbleCellData: Add additionalContentHeight property to cache additional views height like reactions view and read receipts container. 2019-06-18 18:30:39 +02:00
SBiOSoftWhare
0809c8af55 RoomBubbleCellData: Fix bubble component position when display last message timestamp. 2019-06-18 17:42:00 +02:00
manuroe
872976f798 Read receipts: Manage live update in the kit too 2019-06-18 14:06:23 +02:00
manuroe
ba6d5939a3 Read receipts: They are now counted at the MatrixKit level 2019-06-18 12:28:59 +02:00
SBiOSoftWhare
8aea88139e
Merge pull request #2471 from vector-im/fix_show_context_menu_interaction_when_animate
RoomVC: Prevent user interaction in timeline while presenting context menu
2019-06-18 11:49:44 +02:00
manuroe
82f52378dd Menu actions: Display the keyboard once the users tap on reply or edit
This also fixes the local echo issues we had when this screen stayed displayed
2019-06-14 16:29:25 +02:00
manuroe
6a3cfc0172 Reactions menu: leave the menu once the user tapped a reaction 2019-06-14 16:15:27 +02:00
manuroe
5836ebb97e
Merge pull request #2490 from vector-im/reaction_echo
Local echo for reactions
2019-06-13 17:50:31 +02:00
SBiOSoftWhare
e610bd96e8 RoomViewController: Add message editing support. 2019-06-13 16:38:20 +02:00
SBiOSoftWhare
3c4961af8f RoomInputToolbarView: Add editing mode. 2019-06-13 16:37:28 +02:00
manuroe
84cd3d5e9d Reactions: Change reaction and unreaction methods signatures 2019-06-12 18:25:47 +02:00
manuroe
531cc4b68f Reactions local echoes: Do not show reactions with 0 count (case of reaction being removed) 2019-06-12 18:03:21 +02:00
SBiOSoftWhare
d751af48ff RoomViewController: Prepare message edited mention tap. 2019-06-12 16:06:27 +02:00
SBiOSoftWhare
3a2162f46c
Merge pull request #2482 from vector-im/ReactionsMenuViewModel_update
ReactionsMenuViewModel: Do not perform directly reaction requests
2019-06-11 17:51:28 +02:00
SBiOSoftWhare
310c5cc581 RoomViewController: Display an error when react or unreact on event fails. 2019-06-11 17:43:32 +02:00
SBiOSoftWhare
daab6950d4 [Reactions] Allow reaction only on room messages (Fix #2476). 2019-06-06 13:50:45 +02:00
SBiOSoftWhare
6f7400840d RoomViewController: Conforms to ReactionsMenuViewModelCoordinatorDelegate. 2019-06-06 11:30:57 +02:00
SBiOSoftWhare
940680ed75 [ReactionsMenuViewModel] Do not perform directly reaction requests and use delegation. 2019-06-06 11:29:28 +02:00
SBiOSoftWhare
6e90168a1c RoomViewController: Use new component frame method calculation. 2019-05-29 12:26:48 +02:00
SBiOSoftWhare
ee15eccb40 RoomDataSource: Fix reactions and read receipts positions. 2019-05-29 12:25:57 +02:00
SBiOSoftWhare
99b746681b RoomBubbleCellData: Fix reactions height calculation. Fix timestamp position. 2019-05-29 12:24:43 +02:00
SBiOSoftWhare
b0fbcde9dd Create RoomBubbleCellLayout class to handle MXKRoomBubbleTableViewCell layout constants. 2019-05-29 12:15:31 +02:00
SBiOSoftWhare
55f3a68afb RoomVC: Prevent user interaction in timeline while presenting context menu. 2019-05-24 11:33:44 +02:00
manuroe
90784d13a0
Merge pull request #2438 from dcordero/verification_id_labels_fix
Verification id labels fix
2019-05-23 17:57:49 +02:00
SBiOSoftWhare
31feca6f17 Room contextual menu: Update button titles color and disabled opacity. 2019-05-23 17:48:52 +02:00
SBiOSoftWhare
f14cbf759e Registration: Fix infinite loop when register with email and validate from mobile. 2019-05-23 16:46:00 +02:00
David Cordero
627291529b Merge branch 'develop' into verification_id_labels_fix 2019-05-22 19:10:35 +02:00
SBiOSoftWhare
366d27ebab Contextual menu: Improve reactions menu position. 2019-05-22 18:48:50 +02:00
SBiOSoftWhare
09991e53c7
Merge pull request #2464 from vector-im/riot_2446
BF: Menu actions: Display message time
2019-05-22 17:41:18 +02:00
SBiOSoftWhare
a62548c545
Update Riot/Modules/Room/CellData/RoomBubbleCellData.h
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2019-05-22 17:27:29 +02:00
SBiOSoftWhare
0fb13febee RoomVC: Display message time when contextual menu is shown. 2019-05-22 16:54:51 +02:00
SBiOSoftWhare
6ce4a826be RoomVC: Show contextual menu on single tap. 2019-05-22 16:37:06 +02:00
SBiOSoftWhare
4bde8a435b Room contextual menu: Dismiss when swipe up or down. 2019-05-22 16:35:46 +02:00
SBiOSoftWhare
b234a09bf1 RoomBubbleCellData: Add a property to display the timestamp of the selected component on the left when there is enough space. 2019-05-22 16:17:55 +02:00
manuroe
98c95fb849 Reactions menu: Patch RoomContextualMenuPresenter while we have a retain cycle 2019-05-21 02:12:14 +02:00
SBiOSoftWhare
3117c4322c Theme: Remove non needed reaction colors 2019-05-21 01:09:42 +02:00
SBiOSoftWhare
321811283a BubbleReactionsView: Use a UICollectionViewFlowLayout subclass with left alignement. 2019-05-21 00:43:10 +02:00
SBiOSoftWhare
d2cfe4891a RoomDataSource: Handle reactions display on bubble cell. 2019-05-20 21:59:18 +02:00
SBiOSoftWhare
75d7b26bfc RoomBubbleCellData: Improve reactions view vertical space calculation 2019-05-20 21:57:29 +02:00
SBiOSoftWhare
4ababf957e Create BubbleReactionsView 2019-05-20 21:54:23 +02:00
SBiOSoftWhare
2caf4e326f Create BubbleReactionsViewModel 2019-05-20 21:52:07 +02:00
SBiOSoftWhare
e5d8910a92 Create BubbleReactionViewCell 2019-05-20 21:51:24 +02:00
SBiOSoftWhare
2d118853a7 Create AutosizedCollectionView a convenient UICollectionView that makes dynamic sizing easier when using Auto Layout 2019-05-20 21:49:57 +02:00
manuroe
aadac45de6 Reactions menu: Do not notify delegate if reaction requires an unreaction
Fix Steve's remark
2019-05-20 20:41:05 +02:00
manuroe
86808b16e2 Reactions menu: Do not notify delegate if reaction requires an unreaction
This avoids to call the delegate twice.
Note: In a short future, we will no more have those 3 state buttons
2019-05-20 19:48:29 +02:00
manuroe
d72f2eb762 Reactions: Remove the send reaction hack as it is now done in the SDK 2019-05-20 19:40:52 +02:00
manuroe
f105fadc48
Merge branch 'develop' into aggregations 2019-05-20 17:57:50 +02:00
manuroe
6866fe8e2c Reactions: Add a labs setting
#2441
2019-05-20 17:31:25 +02:00
manuroe
2b7b2c5a6c Reactions: Use the hack like on riot-android and riot-web if the server has not yet the aggregations API
Fix Steve's comment
2019-05-20 17:00:57 +02:00
manuroe
4a7677a667 Reactions: Use the hack like on riot-android and riot-web if the server has not yet the aggregations API 2019-05-20 16:04:54 +02:00
manuroe
0973d3886b Reactions: Reactions menu: highlight reactiosn only our user made 2019-05-20 15:00:47 +02:00
David Cordero
8dfa395647 Remove redundant code 2019-05-19 17:19:23 +02:00
David Cordero
10c1624f7e Fix text color for user display name and device id labels in dark theme 2019-05-19 17:14:41 +02:00
manuroe
80d817c98e Reactions: Reactions menu: plug unreact 2019-05-17 17:39:31 +02:00
manuroe
443b886a34
Merge pull request #2430 from vector-im/reactions_in_context_menu
RoomVC: ContextualMenu: Plug reactions menu
2019-05-17 13:33:57 +02:00
manuroe
b1ebf79e50 RoomVC: ContextualMenu: Plug reactions menu 2019-05-17 12:17:59 +02:00
manuroe
00bebecc29 Reactions: Add placeholder for reactions list under message 2019-05-17 01:28:45 +02:00
manuroe
3249751dc2 RoomBubbleCellData: Do readReceiptVerticalWhitespace thing in one place 2019-05-16 18:27:48 +02:00
manuroe
0ed0d8cef5 Reactions: Follow small SDK change 2019-05-16 17:44:07 +02:00
manuroe
0bc5c28390 Reactions: Fix Steve's comments 2019-05-16 16:07:07 +02:00
manuroe
8d7f535581
Merge branch 'aggregations' into riot_2393 2019-05-16 14:51:14 +02:00
manuroe
ec758a84b7 Reactions: we cannot like & dislike at the same time 2019-05-16 14:45:42 +02:00
manuroe
13beb50abb Reactions: notify coordinator for every reaction request steps
so that it can leave the view when it wants
2019-05-16 08:07:52 +02:00
manuroe
65ec1e9988 Reactions: Plug button actions 2019-05-16 07:47:23 +02:00
manuroe
7cd5e79bc6 Reactions: Customise primary reactions buttons 2019-05-15 23:35:09 +02:00
SBiOSoftWhare
f5887c4774 RoomViewController: Disable reply on single tap selection. 2019-05-15 23:30:33 +02:00
SBiOSoftWhare
c0e313f156 RoomViewController: Show contextual menu toolbar on long press. 2019-05-15 23:24:34 +02:00
SBiOSoftWhare
1f43a8ee5e Create RoomContextualMenuPresenter 2019-05-15 23:10:07 +02:00
SBiOSoftWhare
d682b97441 Create RoomContextualMenuViewController 2019-05-15 23:09:03 +02:00
SBiOSoftWhare
cd238cc2f0 Create RoomContextualMenuToolbarView 2019-05-15 23:07:50 +02:00
SBiOSoftWhare
444a2ee452 Create room contextual menu action enum 2019-05-15 23:02:25 +02:00
SBiOSoftWhare
3be7a5274a RoomDataSource: Add a property to show or hide timestamp when selecting an event. 2019-05-15 21:44:07 +02:00
SBiOSoftWhare
c808ae5057 RoomBubbleCellData: Add a property to show or hide timestamp for selected component. 2019-05-15 21:34:32 +02:00
manuroe
52a480db92 Reactions: Translate primary reactions 2019-05-15 16:38:28 +02:00
manuroe
e419eecfeb Reactions: Add primary reactions as message actions 2019-05-15 16:00:36 +02:00
manuroe
97ffa9bf1e Device Verification: Fix buttons colors in dark theme 2019-05-06 08:21:30 +02:00
manuroe
ef4fed1bb2 RoomVC: When replying, use a "Reply" button instead of "Send" 2019-04-30 17:27:57 +02:00
manuroe
16dc04e18d RoomInputToolbarView: Turn the boolean replyToEnabled into an enum: sendMode
because message editing (#2404) is coming
2019-04-30 17:08:52 +02:00
SBiOSoftWhare
3e430e7b45 Fix room details navigation from rooms list. 2019-04-29 14:24:20 +02:00
manuroe
08d83114fe
Merge pull request #2378 from aaronraimist/homeserver
home server -> homeserver (#2345)
2019-04-26 11:41:47 +02:00
SBiOSoftWhare
3da89a05ce Handle button title for restore action case in SettingsKeyBackupTableViewSection. 2019-04-25 16:10:22 +02:00
SBiOSoftWhare
cdede7fcce Merge develop into prepare_riot_2231 2019-04-25 15:59:32 +02:00
SBiOSoftWhare
24d7c087fb Remove check for +[UIFont systemFontOfSize:weight:] availability. 2019-04-25 12:27:31 +02:00
SBiOSoftWhare
04b5dd0b58 Remove iOS 10 availability condition in MasterTabBarController. 2019-04-25 11:53:38 +02:00
SBiOSoftWhare
42ddca925f Use a weak reference for mediaPicker property in RoomInputToobarView. 2019-04-24 17:56:59 +02:00
SBiOSoftWhare
87a6d13855 [Media Picker] Fix some retain cycles and fix implicit self warnings. 2019-04-24 17:56:03 +02:00
SBiOSoftWhare
84660597fb Merge develop into riot_1483 2019-04-24 16:28:51 +02:00
manuroe
8d68da4da8
Update Riot/Modules/Integrations/Widgets/Jitsi/JitsiViewController.m
Co-Authored-By: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2019-04-24 15:55:51 +02:00
manuroe
cab15e7477
Merge pull request #2372 from vector-im/riot_2323
E2E: SAS Verification
2019-04-24 14:51:04 +02:00
manuroe
b4c0a77ca1 Device Verification: Add a view model to DeviceVerificationDataLoadingViewController 2019-04-24 14:42:16 +02:00
manuroe
a1901e6238 Device Verification: Update SDK constant names changes 2019-04-24 10:35:56 +02:00
manuroe
c987e80d54 Clarify key backup details when backup exists but is not trusted in banner too
This follows changes made by https://github.com/vector-im/riot-ios/pull/2375
2019-04-24 10:23:27 +02:00
manuroe
7bc6ba25af Device Verification: Make incoming requests dialogs dequeueing work without a random sleep 2019-04-24 08:55:45 +02:00
manuroe
6eadbbdae0 Device Verification: Remove a TODO 2019-04-24 08:23:44 +02:00
manuroe
3c0237a4bd Device Verification: Fix Steve's PR comments 2019-04-24 08:18:56 +02:00
Aaron Raimist
d710b3788d
home server -> homeserver (#2345)
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-04-19 21:27:10 -05:00
SBiOSoftWhare
b4c1cd0376 Update JistiViewController to use new JitsiMeet SDK API 2019-04-19 18:34:44 +02:00
SBiOSoftWhare
b6e847c638 Create JitsiService to abstract and configure Jisti Meet SDK 2019-04-19 18:29:53 +02:00
manuroe
e90fa1c323 Device Verification: Update wording "Verify user" -> "Verify device" 2019-04-19 11:38:48 +02:00
manuroe
bffe14f760 Device Verification: Manage display of SAS decimals 2019-04-19 11:31:19 +02:00
manuroe
b838e1c2d5 Device Verification: Clean dev code 2019-04-19 10:35:02 +02:00
manuroe
1df16d8ac7 Device Verification: Start: Fix missing cancelledByMe state 2019-04-18 23:12:01 +02:00
J. Ryan Stinnett
b5ee4a6aa9 Clarify key backup details when backup exists but is not trusted
This ports the wording changes from Riot Web
https://github.com/matrix-org/matrix-react-sdk/pull/2917.

"Use key backup" as button text feels like it's telling me I haven't set it up
at all. This changes to "Connect this device ..." which seems more reassuring
and applies for both the "add to backup" and "restore from backup" use cases.

This also updates the backup status text for the case where a backup exists, but
it's not being used by the current device so that it's much more clear that you
have a backup at least.
2019-04-18 13:30:32 +01:00
manuroe
771444573d Device Verification: MXUser.displayname and avatar can be nil 2019-04-17 13:54:51 +02:00
manuroe
bcacc78b3c Device Verification: Display a message when the transaction has been automatically cancelled 2019-04-17 13:05:18 +02:00
manuroe
5cad9743fb Device Verification: Removed unused code from templates 2019-04-17 12:52:45 +02:00
manuroe
d49dce7dcb Device Verification: Add DeviceVerificationDataLoading VC, a loading wheel VC 2019-04-17 12:47:42 +02:00
manuroe
ce47ea0277 Device Verification: Hack EncryptionInfoView to display the new device verification flow when the user taps on "Verify" 2019-04-17 09:51:32 +02:00
manuroe
8a50ccb077 SettingsVC: Remove dead code using EncryptionInfoView 2019-04-17 08:57:16 +02:00
manuroe
01e699fdf1 Device Verification: Plug it in the code more 2019-04-17 08:09:43 +02:00
manuroe
dd34bfe716 Device Verification: Plug it in the code 2019-04-16 17:55:40 +02:00
manuroe
e8ed9a19f9 Device Verification: Plug the legacy verification modal 2019-04-16 15:00:57 +02:00
manuroe
4889690698 Device Verification: Do not show back button 2019-04-16 11:36:51 +02:00
manuroe
b12c2af145 Device Verification: Translate emoji 2019-04-16 09:33:25 +02:00
manuroe
aeb0031fda Device Verification: Verified screen 2019-04-15 18:40:04 +02:00
manuroe
1a7d642325 Device Verification: Verified screen 2019-04-15 18:22:24 +02:00
manuroe
e721b6cf60 Device Verification: Incoming screen: UI: Use a rounded MXKImageView 2019-04-15 15:28:59 +02:00
manuroe
a4a2064970 Device Verification: Incoming screen: UI: plug data 2019-04-15 14:18:44 +02:00
manuroe
bdefacff0e Device Verification: Incoming screen: UI design 2019-04-15 11:09:37 +02:00
manuroe
db8b3c5648 Device Verification: Incoming screen: working on UI 2019-04-13 00:19:01 +02:00
manuroe
a9502603d6 Device Verification: Incoming screen: beginning 2019-04-12 23:19:07 +02:00
manuroe
785bc7f176 Device Verification: Display the "The other party cancelled the verification." modal 2019-04-11 19:38:46 +02:00
manuroe
d7d78b063b Device Verification: Verify screen: Try to make emoji names fit in their cell 2019-04-11 18:13:55 +02:00
manuroe
b88d4d4f2d Device Verification: Verify screen: bind transaction.confirmSASMatch() 2019-04-11 18:12:30 +02:00
SBiOSoftWhare
5292d2cbaa Update SettingsKeyBackupTableViewSection to prepare restore button removal when all keys are stored on device. 2019-04-11 10:40:26 +02:00
SBiOSoftWhare
7263b268e1
Merge branch 'develop' into avoid_tableview_crashes_settings 2019-04-10 17:49:37 +02:00
SBiOSoftWhare
a40988fbc7 [SettingsViewController] Avoid some crashes when reload rows animated. 2019-04-10 14:50:47 +02:00
SBiOSoftWhare
bf3750f254 [RoomSettingsViewController] Avoid some crashes when reload sections animated. 2019-04-10 14:50:14 +02:00
SBiOSoftWhare
24e74f3577 Make read receipt label text color use primary text color (Fix #2294). 2019-04-10 12:10:15 +02:00
manuroe
b934b26f25 Device Verification: Verify screen: Theme emojis names 2019-04-08 17:10:40 +02:00
manuroe
3b6e230c86 Device Verification: Verify screen: Make emojis fit on 2 lines on SE 2019-04-08 16:50:55 +02:00
manuroe
aee917a00d Device Verification: Verify screen: We do not need scrolling for that screen 2019-04-08 16:05:28 +02:00
manuroe
b0a8f8167e Device Verification: Start screen: We do not need scrolling for that screen 2019-04-08 15:47:34 +02:00
SBiOSoftWhare
afedb617ec Use one external entry point on AppDelegate to navigate to a room 2019-04-08 13:32:46 +02:00
manuroe
f14b92ba5d Device Verification: Verify screen: display emojis 2019-04-07 00:04:36 +02:00
manuroe
d5102d1611 Device Verification: Start screen: Improve a bit layout (maybe) 2019-04-07 00:00:49 +02:00
manuroe
e32f32668b Device Verification: Verify screen: add wording 2019-04-05 23:52:04 +02:00
manuroe
7269e2fc8b Device Verification: Start verify screen 2019-04-05 19:09:29 +02:00
manuroe
befc960714 Device Verification: Start screen: add transaction cancel 2019-04-05 18:39:57 +02:00
manuroe
b8ee5d7cd6 Device Verification: Start screen: add "Waiting for partner to accept..." 2019-04-05 18:15:05 +02:00
manuroe
0a944c73aa Device Verification: Start start screen UI 2019-04-05 17:43:15 +02:00
manuroe
c684d0bf6d Device Verification: Start start screen business logic 2019-04-05 15:20:20 +02:00
manuroe
3058a92506 Device Verification: boilerplate for the start screen 2019-04-05 09:41:57 +02:00
manuroe
b23d5964e8 Widgets: Attempt to re-register for a scalar token if ours is invalid
#2326

Add sanity check
2019-03-12 18:11:27 +01:00
manuroe
0dbbaf8af0 Widgets: Attempt to re-register for a scalar token if ours is invalid
#2326

Add sanity check
2019-03-12 17:59:16 +01:00
manuroe
79237928ae Widgets: Attempt to re-register for a scalar token if ours is invalid
#2326

As the integration manager page (https://scalar-staging.riot.im/scalar-web) does not return a 403, check scalar token validity before opening it
2019-03-12 17:12:44 +01:00
manuroe
82f6daca44 Widgets: Attempt to re-register for a scalar token if ours is invalid
#2326

When we detect a 403 for a widget.
2019-03-12 16:09:35 +01:00
SBiOSoftWhare
64083f49df Apply new user name color generation on bubble cells where needed 2019-03-07 17:46:45 +01:00
manuroe
58e7cba5f3 RoomVC: Use accent color (green) for the ongoing conference call banner 2019-03-07 10:42:55 +01:00
manuroe
65203d5ea0 Authentication: .well-known support
Fix Steve's remark
2019-03-07 10:08:39 +01:00
manuroe
4b571ac6dd Authentication: .well-known support (#2117). 2019-03-06 18:30:13 +01:00
SBiOSoftWhare
f909043d15 Do not mention key backup on sign out when there is no keys to backup 2019-03-05 15:53:58 +01:00
SBiOSoftWhare
5ff2eb8f8d Do not present key backup banner on HomeVIewController if there are no keys to backup 2019-03-05 15:35:39 +01:00
manuroe
76391fbe4b
Merge pull request #2305 from vector-im/riot_2292
Reskin: HomeVC: Use notices colors for badges background in section headers
2019-03-04 18:18:59 +00:00
manuroe
02ceb87ed0
Merge pull request #2307 from vector-im/light_sso_support
Authentication: support SSO by using the fallback URL
2019-03-04 18:18:41 +00:00
SBiOSoftWhare
396f184bc1 Handle quick tap on link in RoomViewController. Retrieve URL interaction information when user tap a link in a MXKRoomBubbleTableViewCell to indicate the type of interaction expected with the URL. 2019-03-04 18:29:13 +01:00
manuroe
32a2dd9653 AuthVC: Style the authentication fallback webview screen so that its header matches to navigation bar style 2019-03-04 18:20:30 +01:00
manuroe
6015555e30 Authentication: support SSO by using the fallback URL
#2306

Disable register button on SSO
2019-03-04 17:25:21 +01:00
SBiOSoftWhare
ad289a2685 Use MXKMessageTextView in text message bubble cells to allow link detection without text selection 2019-03-04 17:03:04 +01:00
manuroe
6b2377b763 Authentication: support SSO by using the fallback URL
#2306
2019-03-04 16:52:22 +01:00
manuroe
670952c8e9 Reskin: HomeVC: Use notices colors for badges background in section headers
#2292
2019-02-28 22:09:57 +00:00
SBiOSoftWhare
a4e2e6ee6f Fix SwiftLint warnings 2019-02-27 10:07:51 +01:00
manuroe
5517e45f4a Fix crash in Settings in 0.8.1
#2295
2019-02-25 16:00:47 +01:00
manuroe
932fcd888f RoomVC: Remove the beta warning modal when enabling e2e in a room
This is the other part of #2239.
2019-02-21 15:07:50 +01:00
manuroe
95f3c07b54 Reskin: Text in badges should be white in dark theme
#2283
2019-02-21 13:07:37 +01:00
Fridtjof Mund
59f79f4bab
Merge branch 'develop' into deprecations/contacts-api 2019-02-20 18:14:36 +01:00
fridtjof
077c5327a7
fix changes made in 8c4b5d09 2019-02-20 18:12:18 +01:00
manuroe
7a5c0bef99 Maintenance: Update cocopoads and pods. Automatic update to Swift4.2 2019-02-20 16:45:32 +01:00
SBiOSoftWhare
2e87d75dd0
Merge pull request #2278 from vector-im/riot_2276
BF: Reskin: status bar text is no more readable on iPad
2019-02-20 15:08:27 +01:00
manuroe
b9df55535f
Merge pull request #2221 from fridtjof/deprecations/percent_encoding
Take care of percent encoding related deprecations
2019-02-20 15:06:11 +01:00
SBiOSoftWhare
6b6f77c1a5 Fix split view controller status bar style when is not collapsed. Fix #2276. 2019-02-20 14:54:24 +01:00
SBiOSoftWhare
91c95e0cf6 Update jump to last unread banner separator color in RoomViewController 2019-02-19 16:55:58 +01:00
SBiOSoftWhare
25d20b727c Fix expanded header color in RoomViewController 2019-02-19 15:56:17 +01:00
manuroe
e49e576c7a Key backup: Fix crash when switching tabs if there is a banner on the home tab
This is a regression made in #2265 (Key backup: avoid to refresh the home room list on every backup state change).

On other tabs than `self.keyBackupBanner` must be reset to `KeyBackupBannerNone` so that there is no banner section.
2019-02-19 14:51:47 +01:00
SBiOSoftWhare
96c66b9b02 Add style method for UITabBar on Theme protocol. Update themes and make UITabBar non translucent. 2019-02-19 09:39:01 +01:00
manuroe
b253f764a6
Merge branch 'develop' into backup_banner_filter_forceRefresh 2019-02-18 18:48:08 +01:00
manuroe
7ff02a0e5e Key backup: avoid to refresh the home room list on every backup state change
A possible mitigation for #2265
2019-02-18 18:27:21 +01:00
SBiOSoftWhare
a612150df3 Fix header tint color issue in SegmentedViewController. Fix #2260. 2019-02-18 15:31:56 +01:00
fridtjof
e138dd8d2c
use the Matrix SDK's method for percent encoding 2019-02-18 15:31:55 +01:00
SBiOSoftWhare
3d675245db
Merge pull request #2262 from vector-im/reskin_linebreakcolor
Reskin: Apply theme line break color
2019-02-18 13:50:06 +01:00
SBiOSoftWhare
f4aa2e66b4 Apply new lineBreakColor where needed 2019-02-18 12:53:13 +01:00
manuroe
f2424f3f2a Reskin: Fix navigation bar background after accepting an invite 2019-02-18 10:59:57 +01:00
manuroe
992ebcdbff Reskin: Fix text color in room preview 2019-02-18 10:59:36 +01:00
SBiOSoftWhare
e73e050fd0
Merge pull request #2255 from vector-im/export_keys
Key backup: Handle manual key export in key backup setup intro screen
2019-02-15 19:22:38 +01:00
SBiOSoftWhare
28f9025c4c Update KeyBackupSetupCoordinator to handle coming from sign out info 2019-02-15 19:06:08 +01:00
SBiOSoftWhare
b3a523da05 Handle manual export in key backup setup intro screen 2019-02-15 19:04:54 +01:00
SBiOSoftWhare
76cb151be6 Create encryption keys export presenter 2019-02-15 19:04:03 +01:00
manuroe
5044dc6e2e BF: Reskin: Sometimes the roomVC navigation bar is tranparent
#2252
2019-02-15 15:21:33 +01:00
manuroe
8701de43dd Fix: Jump to first unread message doesn't show up
#2218
2019-02-15 13:45:09 +01:00
SBiOSoftWhare
bcbb2f00d6 Fix sign out warning presentation on iPad 2019-02-15 12:42:07 +01:00
manuroe
84ec248a3e
Merge pull request #2246 from vector-im/settings_backup_update_copy
Backup settings: Update wording and rendering to match riot-web
2019-02-14 19:18:56 +01:00
SBiOSoftWhare
2897c03382
Merge pull request #2245 from vector-im/riot_2195
Key backup: logout warning
2019-02-14 18:52:50 +01:00
SBiOSoftWhare
dfa6be548f Update SignOutAlertPresenter to handle backup in progress case 2019-02-14 18:06:37 +01:00
manuroe
d144db8ad7 Backup settings: Update wording and rendering to match riot-web
Verify button has been removed and replaced by "Use key backup", which makes a restore, because we trust on decrypt now.
2019-02-14 17:47:59 +01:00
manuroe
d3423c7b51 Key recovery: Trust on decrypt
Fixed Steve's comments
2019-02-14 17:30:53 +01:00
manuroe
f2ed385630 Key recovery: Trust on decrypt
Fixed Steve's comments
2019-02-14 17:28:29 +01:00
SBiOSoftWhare
1decf99626 Handle sign out alert present present in SettingsViewController 2019-02-14 16:04:08 +01:00
SBiOSoftWhare
e8f58f301d Create a sign out alert presenter 2019-02-14 16:03:07 +01:00
manuroe
07be13e130 Key recovery: Show errors on invalid passphrase or recovery key 2019-02-14 13:14:00 +01:00
manuroe
d48763635e Key recovery: Trust on decrypt
#2223
2019-02-14 12:48:54 +01:00
manuroe
309ee56feb Key recovery: Do not show anymore an error for empty backup 2019-02-14 12:46:53 +01:00
manuroe
b0c0c193d0 Key backup: Update SDK api break 2019-02-14 12:28:56 +01:00
SBiOSoftWhare
e8dc757401 Use new lineBreakColor in KeyBackupSetupSuccessFromRecoveryKeyViewController 2019-02-13 15:26:51 +01:00
SBiOSoftWhare
d668ba28a4 Remove former key backup setup success scene 2019-02-13 15:02:31 +01:00
SBiOSoftWhare
f20a4dd592 Update key backup logo on key backup recover screens 2019-02-13 14:58:17 +01:00
SBiOSoftWhare
66b46d5afe Update KeyBackupSetupCoordinator, handle new success controllers 2019-02-13 14:58:16 +01:00
SBiOSoftWhare
90974c0f8e Update key backup setup passphrase scene 2019-02-13 14:58:16 +01:00
SBiOSoftWhare
d596b7f097 Update KeyBackupSetupIntroViewController 2019-02-13 14:58:16 +01:00
SBiOSoftWhare
d3efbd2633 Create new key backup setup success view controllers 2019-02-13 14:58:16 +01:00
SBiOSoftWhare
ccf075b00d Update KeyBackupBannerCell and handle safe area when compute cell size 2019-02-13 14:58:16 +01:00