a928b33f27 
								
							
								 
							
						 
						
							
							
								
								Don't show the 'verify' button if the user is verified  
							
							... 
							
							
							
							Which is more in keeping with the designs (and we can do this now
that the new user info panel is only enabled with cross signing). 
							
						 
						
							2019-12-20 16:51:50 +00:00  
				
					
						
							
							
								 
						
							
							
								b998e6ffe8 
								
							
								 
							
						 
						
							
							
								
								Switch to using checkDeviceTrust  
							
							... 
							
							
							
							In the UserInfo panel. This means we now use cross-signing
verifications in the UserInfoPanel so we can see our cross-signing
verifications working!
Lots more to do here: the remaining device.isVerified() calls in
UserInfoPanel are where it needs to be switched to verifying users
rather than devices, and of course we need to replace all the calls
to device.isVerified() with checkDeviceTrust everywhere else. 
							
						 
						
							2019-12-20 11:31:11 +00:00  
				
					
						
							
							
								 
						
							
							
								24d0d0d596 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3743  from matrix-org/t3chguy/react16_contexts  
							
							... 
							
							
							
							Migrate away from React Legacy contexts API 
							
						 
						
							2019-12-19 20:32:11 +00:00  
				
					
						
							
							
								 
						
							
							
								66783dff9e 
								
							
								 
							
						 
						
							
							
								
								Fix scaling of the avatar in UserInfo  
							
							
							
						 
						
							2019-12-19 12:27:25 +00:00  
				
					
						
							
							
								 
						
							
							
								3196655524 
								
							
								 
							
						 
						
							
							
								
								Replace UserInfo avatar with <MemberAvatar/> for fallback logic  
							
							
							
						 
						
							2019-12-19 10:42:47 +00:00  
				
					
						
							
							
								 
						
							
							
								da4d72b3c4 
								
							
								 
							
						 
						
							
							
								
								delint  
							
							
							
						 
						
							2019-12-17 17:34:03 +00:00  
				
					
						
							
							
								 
						
							
							
								937b32663c 
								
							
								 
							
						 
						
							
							
								
								Migrate away from Legacy React Contexts  
							
							
							
						 
						
							2019-12-17 17:26:12 +00:00  
				
					
						
							
							
								 
						
							
							
								c1133ebfc6 
								
							
								 
							
						 
						
							
							
								
								null-guard useIsEncrypted  
							
							
							
						 
						
							2019-12-17 14:05:51 +00:00  
				
					
						
							
							
								 
						
							
							
								2df72bfde2 
								
							
								 
							
						 
						
							
							
								
								Update room / user decoration for cross-signing  
							
							
							
						 
						
							2019-12-13 17:57:26 +00:00  
				
					
						
							
							
								 
						
							
							
								3ac0deebab 
								
							
								 
							
						 
						
							
							
								
								Use static modals for verification  
							
							... 
							
							
							
							Verification with cross-signing may requiring asking for your secret storage
passphrase, which is displayed in it's own modal on top of flows. For now while
verification takes in modals also, mark the verification ones as static so they
don't lose state when secret storage appears on top mid-flow. 
							
						 
						
							2019-12-13 13:55:28 +00:00  
				
					
						
							
							
								 
						
							
							
								38ee1aed09 
								
							
								 
							
						 
						
							
							
								
								Replace sign-ins with sessions  
							
							... 
							
							
							
							The designs were changed to use the term "sessions" instead of "sign-ins". 
							
						 
						
							2019-12-12 16:35:02 +00:00  
				
					
						
							
							
								 
						
							
							
								616a5ab55d 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into travis/deactivate-2  
							
							
							
						 
						
							2019-11-15 10:24:20 -07:00  
				
					
						
							
							
								 
						
							
							
								d416ba2c0c 
								
							
								 
							
						 
						
							
							
								
								add verify button while we don't have the verification in right panel  
							
							
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								3a399e18fc 
								
							
								 
							
						 
						
							
							
								
								prevent  https://github.com/vector-im/riot-web/issues/11338  
							
							
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								53019c5e91 
								
							
								 
							
						 
						
							
							
								
								don't show devices section when not encrypted, as it just shows spinner  
							
							
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								92237f1045 
								
							
								 
							
						 
						
							
							
								
								cleanup  
							
							
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								264c8181c2 
								
							
								 
							
						 
						
							
							
								
								add canEdit to permission state, more explicit than maxLevel >= 0  
							
							
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								48b1207c6e 
								
							
								 
							
						 
						
							
							
								
								split up PowerLevelEditor into two components  
							
							... 
							
							
							
							one while editing (PowerLevelEditor) and one
while not editing (PowerLevelSection).
Also save when pressing the button, not when changing the
power dropdown.
Also show the spinner next to the dropdown when saving,
not at the bottom of the component. 
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								e86ceb986f 
								
							
								 
							
						 
						
							
							
								
								pass powerlevels state to power level section and admin section  
							
							
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								bd853b3102 
								
							
								 
							
						 
						
							
							
								
								listen for RoomState.members instead of RoomState.events  
							
							... 
							
							
							
							as the powerlevel on the member is not yet updated at the time
RoomState.events is emitted.
Also listen on the client for this event as the currentState
object can change when the timeline is reset. 
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								6db162a3a7 
								
							
								 
							
						 
						
							
							
								
								add PL edit mode, don't show selector by default  
							
							... 
							
							
							
							still saves when changing the selector though 
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								9e8a2eda1f 
								
							
								 
							
						 
						
							
							
								
								small fixes  
							
							
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								030827f77d 
								
							
								 
							
						 
						
							
							
								
								mark destructive actions in red  
							
							
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								0bd1e7112d 
								
							
								 
							
						 
						
							
							
								
								style security section as per design  
							
							
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								04731d0ae3 
								
							
								 
							
						 
						
							
							
								
								RoomState.events fired on RoomState object, not room  
							
							
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								6afeeddb36 
								
							
								 
							
						 
						
							
							
								
								hide verified devices by default with expand button  
							
							
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								4a1dc55673 
								
							
								 
							
						 
						
							
							
								
								fixup: rearrange openDMForUser  
							
							
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								e32a948d5d 
								
							
								 
							
						 
						
							
							
								
								add "unverify user" action to user info  
							
							
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								29216ef668 
								
							
								 
							
						 
						
							
							
								
								update when room encryption is turned on  
							
							... 
							
							
							
							also don't download devices as long as room is not encrypted 
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								bd2bf4500a 
								
							
								 
							
						 
						
							
							
								
								remove direct message list from UserInfo  
							
							
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								238555f4ec 
								
							
								 
							
						 
						
							
							
								
								fixup: isMe  
							
							
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								8dd7d8e5c0 
								
							
								 
							
						 
						
							
							
								
								fixup: don't consider left DM rooms  
							
							
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								b475bc9e91 
								
							
								 
							
						 
						
							
							
								
								Add direct message button  
							
							... 
							
							
							
							While we don't have canonical DMs yet,
it takes you to the most recently active DM room 
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								3e356756aa 
								
							
								 
							
						 
						
							
							
								
								style profile info  
							
							
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								af4ad488bd 
								
							
								 
							
						 
						
							
							
								
								Restyle Avatar  
							
							... 
							
							
							
							Make it a circle with the profile picture centered,
with a max height/width of 30vh 
							
						 
						
							2019-11-15 16:14:18 +01:00  
				
					
						
							
							
								 
						
							
							
								b05dabe2b7 
								
							
								 
							
						 
						
							
							
								
								Add better error handling to Synapse user deactivation  
							
							... 
							
							
							
							Also clearly flag it as a Synapse user deactivation in the analytics, so we don't get confused.
Fixes https://github.com/vector-im/riot-web/issues/10986  
							
						 
						
							2019-11-14 12:02:43 -07:00  
				
					
						
							
							
								 
						
							
							
								168b1b68bb 
								
							
								 
							
						 
						
							
							
								
								Revert "s/.done(/.then(/ since modern es6 track unhandled promise exceptions"  
							
							... 
							
							
							
							This reverts commit 09a8fec2 
							
						 
						
							2019-11-12 11:56:21 +00:00  
				
					
						
							
							
								 
						
							
							
								09a8fec261 
								
							
								 
							
						 
						
							
							
								
								s/.done(/.then(/ since modern es6 track unhandled promise exceptions  
							
							
							
						 
						
							2019-11-12 11:51:23 +00:00  
				
					
						
							
							
								 
						
							
							
								02f8b18346 
								
							
								 
							
						 
						
							
							
								
								Merge branch 't3chguy/nvl/userinfo' of  https://github.com/matrix-org/matrix-react-sdk  into t3chguy/nvl/userinfo  
							
							... 
							
							
							
							 Conflicts:
	src/components/views/right_panel/UserInfo.js 
							
						 
						
							2019-10-19 16:42:00 +01:00  
				
					
						
							
							
								 
						
							
							
								0e6359ab24 
								
							
								 
							
						 
						
							
							
								
								replace @use-it/event-listener as it doesn't like Node EE's  
							
							
							
						 
						
							2019-10-19 16:39:06 +01:00  
				
					
						
							
							
								 
						
							
							
								7e4d429fa3 
								
							
								 
							
						 
						
							
							
								
								delint  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2019-10-17 19:18:14 +01:00  
				
					
						
							
							
								 
						
							
							
								93429d7c2e 
								
							
								 
							
						 
						
							
							
								
								Break withLegacyMatrixClient into a util module  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2019-10-17 19:13:37 +01:00  
				
					
						
							
							
								 
						
							
							
								2494af37c8 
								
							
								 
							
						 
						
							
							
								
								Break UserInfo:RoomAdminToolsContainer into smaller components  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2019-10-17 19:08:40 +01:00  
				
					
						
							
							
								 
						
							
							
								37b122aa16 
								
							
								 
							
						 
						
							
							
								
								delint  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2019-10-08 10:50:37 +01:00  
				
					
						
							
							
								 
						
							
							
								df02eb8e92 
								
							
								 
							
						 
						
							
							
								
								Add UserInfo panel (consolidation of MemberInfo & GroupMemberInfo) Labs  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2019-10-07 16:52:50 +01:00