234f3ee772 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4348  from matrix-org/travis/jitsi/wellknown  
							
							... 
							
							
							
							Support Jitsi information from client .well-known 
							
						 
						
							2020-04-07 10:03:05 -06:00  
				
					
						
							
							
								 
						
							
							
								5b263f1905 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4353  from matrix-org/dbkr/start_presence_after_client_init  
							
							... 
							
							
							
							Don't try to send presence updates until the client is started 
							
						 
						
							2020-04-07 12:31:04 +01:00  
				
					
						
							
							
								 
						
							
							
								8d68a4ab52 
								
							
								 
							
						 
						
							
							
								
								Don't try to send presence updates until the client is started  
							
							... 
							
							
							
							Otherwise we can start making API reqiests which can fail which
can trigger things like the soft logout code.
Fixes https://github.com/vector-im/riot-web/issues/12943  
							
						 
						
							2020-04-07 12:07:41 +01:00  
				
					
						
							
							
								 
						
							
							
								2ec7f2290c 
								
							
								 
							
						 
						
							
							
								
								Support Jitsi information from client .well-known  
							
							... 
							
							
							
							It can be useful for the homeserver to support a dedicated Jitsi instance instead of requiring that all their users change/update their configs manually. 
							
						 
						
							2020-04-06 16:04:41 -06:00  
				
					
						
							
							
								 
						
							
							
								a0d54bd43a 
								
							
								 
							
						 
						
							
							
								
								Clear sessionStorage on sign out  
							
							... 
							
							
							
							The browser's `sessionStorage` is only used for composer history today, but
still we should also clear this on sign out for those on shared computers, etc.
Fixes https://github.com/vector-im/riot-web/issues/13041  
							
						 
						
							2020-04-06 16:40:53 +01:00  
				
					
						
							
							
								 
						
							
							
								a8861f8893 
								
							
								 
							
						 
						
							
							
								
								add await for _clearStorage  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-03-22 09:47:00 +00:00  
				
					
						
							
							
								 
						
							
							
								ca28f83841 
								
							
								 
							
						 
						
							
							
								
								Report touch input status in rageshakes, analytics  
							
							... 
							
							
							
							This reports whether the device has touch input as a primary input mechanism in
rageshakes and analytics.
For analytics, this replaces the identity server (which ends up being reported
as "<redacted>" by default anyway) because Matomo only supports a limited number
of custom variables. 
							
						 
						
							2020-02-14 17:36:14 +00:00  
				
					
						
							
							
								 
						
							
							
								8d445d54ec 
								
							
								 
							
						 
						
							
							
								
								Use embedded piwik caller rather than piwik.js bcuz CSP :D  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-02-13 00:39:28 +00:00  
				
					
						
							
							
								 
						
							
							
								81ee27f41e 
								
							
								 
							
						 
						
							
							
								
								Replace device with session in UI text  
							
							... 
							
							
							
							This replaces "device" with "session" throughout user-visible text at the React
layer. Variable names and comments are left as-is for now. 
							
						 
						
							2020-01-29 15:52:32 +00:00  
				
					
						
							
							
								 
						
							
							
								cbfde4d78f 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'poljar/seshat-filepanel' into develop  
							
							
							
						 
						
							2020-01-24 14:44:24 +01:00  
				
					
						
							
							
								 
						
							
							
								9978fee512 
								
							
								 
							
						 
						
							
							
								
								Lifecycle: Comment why we need to initialize the index before the client.  
							
							
							
						 
						
							2020-01-20 10:06:20 +01:00  
				
					
						
							
							
								 
						
							
							
								9e43abaf3a 
								
							
								 
							
						 
						
							
							
								
								Toasts for new, unverified sessions  
							
							... 
							
							
							
							Fixes https://github.com/vector-im/riot-web/issues/11218  
							
						 
						
							2020-01-17 11:43:35 +00:00  
				
					
						
							
							
								 
						
							
							
								7fb3645e94 
								
							
								 
							
						 
						
							
							
								
								LifeCycle: Start the event index before the client.  
							
							
							
						 
						
							2020-01-17 10:11:21 +01:00  
				
					
						
							
							
								 
						
							
							
								042bd35d79 
								
							
								 
							
						 
						
							
							
								
								Fix MatrixClientPeg imports  
							
							
							
						 
						
							2019-12-22 21:15:54 -07:00  
				
					
						
							
							
								 
						
							
							
								d56f0f2a25 
								
							
								 
							
						 
						
							
							
								
								Convert many imports to handle ES6 exports  
							
							... 
							
							
							
							Reliant upon https://github.com/matrix-org/matrix-react-sdk/pull/3761  
							
						 
						
							2019-12-22 21:04:42 -07:00  
				
					
						
							
							
								 
						
							
							
								6121420113 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into t3chguy/remove_bluebird  
							
							
							
						 
						
							2019-11-20 15:21:23 +00:00  
				
					
						
							
							
								 
						
							
							
								44b212bc4c 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'poljar/seshat-pr' into develop  
							
							
							
						 
						
							2019-11-20 13:33:03 +01:00  
				
					
						
							
							
								 
						
							
							
								e9df973c82 
								
							
								 
							
						 
						
							
							
								
								EventIndex: Move the event indexing files into a separate folder.  
							
							
							
						 
						
							2019-11-19 14:05:00 +01:00  
				
					
						
							
							
								 
						
							
							
								979803797f 
								
							
								 
							
						 
						
							
							
								
								Lifecycle: Make the clear storage method async.  
							
							
							
						 
						
							2019-11-19 14:05:00 +01:00  
				
					
						
							
							
								 
						
							
							
								d4d51dc61f 
								
							
								 
							
						 
						
							
							
								
								Rip out the remainder of Bluebird  
							
							
							
						 
						
							2019-11-18 10:03:05 +00:00  
				
					
						
							
							
								 
						
							
							
								7516f2724a 
								
							
								 
							
						 
						
							
							
								
								EventIndexing: Rework the index initialization and deletion.  
							
							
							
						 
						
							2019-11-14 16:13:22 +01:00  
				
					
						
							
							
								 
						
							
							
								1df28c7526 
								
							
								 
							
						 
						
							
							
								
								Fix some lint errors.  
							
							
							
						 
						
							2019-11-13 10:30:38 +01:00  
				
					
						
							
							
								 
						
							
							
								008554463d 
								
							
								 
							
						 
						
							
							
								
								Lifecycle: Move the event index deletion into the clear storage method.  
							
							
							
						 
						
							2019-11-13 09:52:59 +01:00  
				
					
						
							
							
								 
						
							
							
								79ebb9091c 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into t3chguy/remove_bluebird_1  
							
							
							
						 
						
							2019-11-12 18:16:34 +00:00  
				
					
						
							
							
								 
						
							
							
								3502454c61 
								
							
								 
							
						 
						
							
							
								
								LifeCycle: Stop the crawler and delete the index when whe log out.  
							
							
							
						 
						
							2019-11-12 15:58:38 +01:00  
				
					
						
							
							
								 
						
							
							
								cfdcf45ac6 
								
							
								 
							
						 
						
							
							
								
								MatrixChat: Move the event indexing logic into separate modules.  
							
							
							
						 
						
							2019-11-12 13:29:07 +01:00  
				
					
						
							
							
								 
						
							
							
								217dfc3eed 
								
							
								 
							
						 
						
							
							
								
								Replace all trivial Promise.defer usages with regular Promises  
							
							... 
							
							
							
							(cherry picked from commit 44401d73b4 
							
						 
						
							2019-11-12 12:07:56 +00:00  
				
					
						
							
							
								 
						
							
							
								548e38cba9 
								
							
								 
							
						 
						
							
							
								
								Revert "Replace all trivial Promise.defer usages with regular Promises"  
							
							... 
							
							
							
							This reverts commit 44401d73 
							
						 
						
							2019-11-12 11:56:53 +00: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  
				
					
						
							
							
								 
						
							
							
								44401d73b4 
								
							
								 
							
						 
						
							
							
								
								Replace all trivial Promise.defer usages with regular Promises  
							
							
							
						 
						
							2019-11-12 11:40:38 +00:00  
				
					
						
							
							
								 
						
							
							
								e9c8a31e1f 
								
							
								 
							
						 
						
							
							
								
								Start and stop Mjolnir with the lifecycle  
							
							
							
						 
						
							2019-10-31 13:28:00 -06:00  
				
					
						
							
							
								 
						
							
							
								821ad5703f 
								
							
								 
							
						 
						
							
							
								
								LifeCycle onLoggedOut unmount before stopping client  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2019-10-25 16:37:57 +01:00  
				
					
						
							
							
								 
						
							
							
								2880ade45c 
								
							
								 
							
						 
						
							
							
								
								Unmount React components before stopping the client  
							
							... 
							
							
							
							This fixes an entire class of React soft crashes that can happen when you:
1. Log out, causing the client peg to become `null`
2. Some async process (event handler, timeout, request, etc.) tries to use the
   client in a component before it unmounts, triggering a soft crash
3. Several moments later, the app actually unmounts
With this change, we change the app's view and unmount components first and then
after that we stop the client.
Fixes https://github.com/vector-im/riot-web/issues/11078  
							
						 
						
							2019-10-08 17:10:19 +01:00  
				
					
						
							
							
								 
						
							
							
								d97ff8a692 
								
							
								 
							
						 
						
							
							
								
								Add debugging for soft logout too  
							
							
							
						 
						
							2019-10-02 09:45:53 -06:00  
				
					
						
							
							
								 
						
							
							
								74ce5c3541 
								
							
								 
							
						 
						
							
							
								
								Read integration managers from account data  
							
							... 
							
							
							
							For https://github.com/vector-im/riot-web/issues/4913  / https://github.com/vector-im/riot-web/issues/10161 
Relies on the structure defined by [MSC1957](https://github.com/matrix-org/matrix-doc/pull/1957 )
This is just the bit of code to parse the user's widgets (while watching for changes) and allow for it to be the default manager. 
							
						 
						
							2019-08-09 17:35:59 -06:00  
				
					
						
							
							
								 
						
							
							
								bcf53c6e33 
								
							
								 
							
						 
						
							
							
								
								Make invite work without an IS  
							
							... 
							
							
							
							Also fix it so you can't try to invite a room ID to a room 
							
						 
						
							2019-08-07 11:41:00 +01:00  
				
					
						
							
							
								 
						
							
							
								9ef24352d0 
								
							
								 
							
						 
						
							
							
								
								Use options object  
							
							
							
						 
						
							2019-08-02 16:44:49 +01:00  
				
					
						
							
							
								 
						
							
							
								1c156f0a5a 
								
							
								 
							
						 
						
							
							
								
								Don't load guest sessions on post-registration login link  
							
							... 
							
							
							
							If guest access was enabled, clicking the login link on the 'registration
completed' page would just load the guest account you had before registering.
Fixes https://github.com/vector-im/riot-web/issues/10482  
							
						 
						
							2019-08-02 11:22:42 +01:00  
				
					
						
							
							
								 
						
							
							
								b1cc089062 
								
							
								 
							
						 
						
							
							
								
								Silence unnecessary warning  
							
							... 
							
							
							
							Don't complain that we can't enable guest login if nobody asked us to 
							
						 
						
							2019-08-02 11:08:37 +01:00  
				
					
						
							
							
								 
						
							
							
								8ebc03706a 
								
							
								 
							
						 
						
							
							
								
								Also clear data when the deviceId doesn't match  
							
							... 
							
							
							
							When the HS implementation doesn't respect the device_id parameter erroneously 
							
						 
						
							2019-07-08 15:35:34 -06:00  
				
					
						
							
							
								 
						
							
							
								fca4ebcd72 
								
							
								 
							
						 
						
							
							
								
								Overwrite the old session if the new creds are for a different user  
							
							... 
							
							
							
							Fixes https://github.com/vector-im/riot-web/issues/10272  
							
						 
						
							2019-07-05 14:45:34 -06:00  
				
					
						
							
							
								 
						
							
							
								93872e6fa5 
								
							
								 
							
						 
						
							
							
								
								Ask for the user's password to rehydrate their soft logged out session  
							
							... 
							
							
							
							Fixes https://github.com/vector-im/riot-web/issues/10236 
The changes to the MatrixClientPeg (assign/start) are to permit the SoftLogout page to access the MatrixClientPeg reliably. This is why assign() is called by Lifecycle as an alternative to start().
Minimal design work has been done here. The majority is deferred to https://github.com/vector-im/riot-web/issues/10262  
							
						 
						
							2019-07-04 16:51:16 -06:00  
				
					
						
							
							
								 
						
							
							
								42e6287bdb 
								
							
								 
							
						 
						
							
							
								
								Implement basic soft logout handling  
							
							... 
							
							
							
							Fixes https://github.com/vector-im/riot-web/issues/10235 
CSS and copy are left as an exercise for a later iteration.
Login page handling is left for https://github.com/vector-im/riot-web/issues/10236 
This implementation reuses as much of the Lifecycle flow as it can without causing problems. Most importantly, it requires https://github.com/matrix-org/matrix-js-sdk/pull/975  to be able to detect a soft logout and react to it. When it comes time to starting/stopping the Lifecycle, additional parameters are provided so that the auxiliary services can (re)start themselves without the client starting to sync. 
							
						 
						
							2019-07-03 16:46:37 -06:00  
				
					
						
							
							
								 
						
							
							
								cd089a3f95 
								
							
								 
							
						 
						
							
							
								
								Track the user's own typing state external to the composer  
							
							... 
							
							
							
							Fixes https://github.com/vector-im/riot-web/issues/9986 
There's a few reasons for pushing this out to its own place:
* In future, we might want to move WhoIsTyping here.
* We have multiple composers now, and although they don't send typing notifications, they could (see https://github.com/vector-im/riot-web/issues/10188 )
* In future we may have status for where/what the user is typing (https://github.com/matrix-org/matrix-doc/issues/437 )
* The composer is complicated enough - it doesn't need to dedupe typing states too.
Note: This makes use of the principles introduced in https://github.com/vector-im/riot-web/issues/8923  and https://github.com/vector-im/riot-web/issues/9090  
							
						 
						
							2019-06-26 22:36:55 -06:00  
				
					
						
							
							
								 
						
							
							
								5e775e24fb 
								
							
								 
							
						 
						
							
							
								
								Console log more helpfully  
							
							... 
							
							
							
							Appending objects to strings isn't really useful 
							
						 
						
							2019-06-12 14:04:08 +01:00  
				
					
						
							
							
								 
						
							
							
								1c41629376 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3043  from matrix-org/travis/check-login-for-config  
							
							... 
							
							
							
							Accept JSX into the GenericErrorPage and expose local session vars 
							
						 
						
							2019-05-31 11:03:41 -06:00  
				
					
						
							
							
								 
						
							
							
								d81804e0fe 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into matthew/low_bandwidth  
							
							
							
						 
						
							2019-05-30 19:42:09 -06:00  
				
					
						
							
							
								 
						
							
							
								5c85f4609e 
								
							
								 
							
						 
						
							
							
								
								Accept JSX into the GenericErrorPage and expose local session vars  
							
							
							
						 
						
							2019-05-29 12:09:04 -06:00  
				
					
						
							
							
								 
						
							
							
								da1bff1c5d 
								
							
								 
							
						 
						
							
							
								
								Fix Single Sign-on  
							
							... 
							
							
							
							https://github.com/matrix-org/matrix-react-sdk/pull/2826  checked
that we had data in the crypto store if the had credentials in
localStorage. However, SSO stores creds in localStorage and then
redirects the browser to remove the loginToken parameter from the
URL without starting crypto, so after the redirect, we see creds
in localStorage but no crypto data, and error.
Fix by marking when we've successfully initialised crypto and only
erroring if that flag is set.
Fixes https://github.com/vector-im/riot-web/issues/9695  
						
							2019-05-15 13:47:48 +01:00