Commit graph

758 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
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