6712a5b1c5 
								
									
								
							
								 
							
						 
						
							
							
								
								Parse matrix-schemed URIs ( #7453 )  
							
							... 
							
							
							
							Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
Co-authored-by: Dariusz Niemczyk <dariuszn@element.io>
Co-authored-by: Timo K <toger5@hotmail.de>
With this pr all href use matrix matrix.to links. As a consequence right-click copy link will always return get you a sharable matrix.to link. 
							
						 
						
							2022-01-20 18:18:47 +01:00  
				
					
						
							
							
								 
						
							
							
								2743a75a21 
								
									
								
							
								 
							
						 
						
							
							
								
								Display general marker on non-self location shares ( #7574 )  
							
							
							
						 
						
							2022-01-19 09:33:49 +00:00  
				
					
						
							
							
								 
						
							
							
								65987e6b72 
								
									
								
							
								 
							
						 
						
							
							
								
								Move all polls processing to events-sdk & prep for stable polls ( #7517 )  
							
							... 
							
							
							
							* Move all polls processing to events-sdk
This makes polls support the full range of extensible events (both parsing and generation).
* Appease the linter
* Fix & update tests
* Update events-sdk for polls bugfix
* Update events-sdk for typechecking
* Add missing type cast
* Update per review 
							
						 
						
							2022-01-17 10:06:30 -07:00  
				
					
						
							
							
								 
						
							
							
								6199c337ea 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix spacing errors ( #7484 )  
							
							
							
						 
						
							2022-01-10 12:57:20 +00:00  
				
					
						
							
							
								 
						
							
							
								a239c456e3 
								
									
								
							
								 
							
						 
						
							
							
								
								Allow opening a map view in OpenStreetMap ( #7428 )  
							
							
							
						 
						
							2021-12-21 15:48:20 +00:00  
				
					
						
							
							
								 
						
							
							
								61e3c38b19 
								
									
								
							
								 
							
						 
						
							
							
								
								Add configuration to disable relative date markers in timeline ( #7405 )  
							
							... 
							
							
							
							* add disabler elative dates setting
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test existing DateSeparator
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use full date format when TimelineDisableRelativeDates is truthy
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add comment
Signed-off-by: Kerry Archibald <kerrya@element.io>
* flip timelineDisableRelativeDates -> timelineEnableRelativeDates to fit convention
Signed-off-by: Kerry Archibald <kerrya@element.io>
* mock date constructor in test
Signed-off-by: Kerry Archibald <kerrya@element.io> 
							
						 
						
							2021-12-21 10:08:22 +01:00  
				
					
						
							
							
								 
						
							
							
								144e4c61fc 
								
									
								
							
								 
							
						 
						
							
							
								
								Avoid NaNs in parseGeoUri return ( #7396 )  
							
							
							
						 
						
							2021-12-17 09:50:27 +00:00  
				
					
						
							
							
								 
						
							
							
								9a8265429c 
								
									
								
							
								 
							
						 
						
							
							
								
								Unit tests for parseGeoUri ( #7395 )  
							
							
							
						 
						
							2021-12-16 14:20:55 +00:00  
				
					
						
							
							
								 
						
							
							
								43839adec0 
								
									
								
							
								 
							
						 
						
							
							
								
								Use constants from js-sdk in polls code ( #7381 )  
							
							
							
						 
						
							2021-12-15 14:26:26 +00:00  
				
					
						
							
							
								 
						
							
							
								5554d7fdc1 
								
									
								
							
								 
							
						 
						
							
							
								
								Don't send a poll response event if you are voting for your current c… ( #7326 )  
							
							
							
						 
						
							2021-12-10 12:36:53 +00:00  
				
					
						
							
							
								 
						
							
							
								2e8a93834b 
								
							
								 
							
						 
						
							
							
								
								Auto fix  
							
							... 
							
							
							
							Signed-off-by: Aaron Raimist <aaron@raim.ist> 
							
						 
						
							2021-12-09 09:10:23 +00:00  
				
					
						
							
							
								 
						
							
							
								7b94e13a84 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into sort-imports  
							
							... 
							
							
							
							Signed-off-by: Aaron Raimist <aaron@raim.ist> 
							
						 
						
							2021-12-09 08:34:20 +00:00  
				
					
						
							
							
								 
						
							
							
								2b52e17a80 
								
									
								
							
								 
							
						 
						
							
							
								
								Allow ending polls ( #7305 )  
							
							... 
							
							
							
							Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2021-12-08 14:56:48 +00:00  
				
					
						
							
							
								 
						
							
							
								494af883f3 
								
									
								
							
								 
							
						 
						
							
							
								
								Hide votes in a poll until you voted ( #7269 )  
							
							
							
						 
						
							2021-12-03 10:26:28 +00:00  
				
					
						
							
							
								 
						
							
							
								141950d9e6 
								
									
								
							
								 
							
						 
						
							
							
								
								Ensure my votes from a different device show up ( #7233 )  
							
							... 
							
							
							
							Co-authored-by: Travis Ralston <travpc@gmail.com> 
							
						 
						
							2021-12-02 17:12:18 +00:00  
				
					
						
							
							
								 
						
							
							
								0afe141266 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix textual message stripping new line ( #7239 )  
							
							
							
						 
						
							2021-12-02 09:25:12 +00:00  
				
					
						
							
							
								 
						
							
							
								1c6703356d 
								
									
								
							
								 
							
						 
						
							
							
								
								Highlight my vote even if it was made on another device ( #7202 )  
							
							
							
						 
						
							2021-11-26 09:24:34 +00:00  
				
					
						
							
							
								 
						
							
							
								359962af6c 
								
									
								
							
								 
							
						 
						
							
							
								
								Prevent text overlapping on poll options ( #7187 )  
							
							
							
						 
						
							2021-11-23 11:16:31 +00:00  
				
					
						
							
							
								 
						
							
							
								d705fdd6e4 
								
									
								
							
								 
							
						 
						
							
							
								
								Display and send votes in polls ( #7158 )  
							
							... 
							
							
							
							Co-authored-by: Travis Ralston <travpc@gmail.com> 
							
						 
						
							2021-11-23 10:27:44 +00:00  
				
					
						
							
							
								 
						
							
							
								bdc56be863 
								
									
								
							
								 
							
						 
						
							
							
								
								Auto fix  
							
							... 
							
							
							
							Signed-off-by: Aaron Raimist <aaron@raim.ist> 
							
						 
						
							2021-10-22 17:23:37 -05:00  
				
					
						
							
							
								 
						
							
							
								bc336abf47 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix missing snapshot serializer&enzyme init ( #6932 )  
							
							
							
						 
						
							2021-10-13 11:09:43 +01:00  
				
					
						
							
							
								 
						
							
							
								eefadf6a46 
								
							
								 
							
						 
						
							
							
								
								Fix tests  
							
							... 
							
							
							
							Signed-off-by: Robin Townsend <robin@robin.town> 
							
						 
						
							2021-07-16 15:30:26 -04:00  
				
					
						
							
							
								 
						
							
							
								f5f4be88f0 
								
							
								 
							
						 
						
							
							
								
								Update tests to expect LinkPreviewGroup behaviour  
							
							
							
						 
						
							2021-07-12 08:34:26 +01:00  
				
					
						
							
							
								 
						
							
							
								4a6af5a4d7 
								
							
								 
							
						 
						
							
							
								
								fix test missing required prop  
							
							
							
						 
						
							2021-07-07 18:12:31 +01:00  
				
					
						
							
							
								 
						
							
							
								ae0a8b8da4 
								
							
								 
							
						 
						
							
							
								
								Auto-fix lint errors  
							
							
							
						 
						
							2021-06-29 13:11:58 +01:00  
				
					
						
							
							
								 
						
							
							
								d492ee4d8a 
								
							
								 
							
						 
						
							
							
								
								Update Enzyme adapter name  
							
							
							
						 
						
							2021-06-09 11:57:29 +01:00  
				
					
						
							
							
								 
						
							
							
								6ab235f10c 
								
							
								 
							
						 
						
							
							
								
								Fix tests for new call path  
							
							... 
							
							
							
							We have to mock `fetch` for the caching of the download icon, and then mock out all the function calls used by components to feed a Media object. 
							
						 
						
							2021-03-11 09:42:55 -07:00  
				
					
						
							
							
								 
						
							
							
								375ffafda6 
								
							
								 
							
						 
						
							
							
								
								Fix tests failing to load skin  
							
							... 
							
							
							
							We should find a better way to do this, but this works well enough. 
							
						 
						
							2021-03-09 10:13:16 -07:00  
				
					
						
							
							
								 
						
							
							
								a075568e89 
								
									
								
							
								 
							
						 
						
							
							
								
								Fixed tests  
							
							... 
							
							
							
							In the previous commits I have removed the native title/tooltip so it needs to be removed from the tests as well
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> 
							
						 
						
							2021-02-12 11:34:09 +01:00  
				
					
						
							
							
								 
						
							
							
								474c029db5 
								
							
								 
							
						 
						
							
							
								
								Fix permalink via parsing for rooms  
							
							... 
							
							
							
							This adjusts the app local link parsing path to better handle `via`s in query
params. Previously this path only expected them when an event ID was also
present, but it's also valid to have `via`s without event IDs as well.
Fixes https://github.com/vector-im/element-web/issues/16345  
							
						 
						
							2021-02-03 15:18:19 +00:00  
				
					
						
							
							
								 
						
							
							
								fa3ace8473 
								
							
								 
							
						 
						
							
							
								
								Rework message pilling to ignore event permalinks  
							
							... 
							
							
							
							This removes pills from event permalinks since they hide the text associated
with the link, which can cause nonsensical messages since words have been
removed. In addition, this moves away from fragile regexs to more
straightforward code to parse links and adds a test for this case.
Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/5188 
Fixes https://github.com/vector-im/element-web/issues/15159  
							
						 
						
							2021-01-27 11:46:20 +00:00  
				
					
						
							
							
								 
						
							
							
								97a551c04a 
								
							
								 
							
						 
						
							
							
								
								Fix test  
							
							
							
						 
						
							2021-01-14 17:39:58 +00:00  
				
					
						
							
							
								 
						
							
							
								3f9f1d03c8 
								
							
								 
							
						 
						
							
							
								
								stubbed isGuest for unit tests  
							
							
							
						 
						
							2020-10-29 13:22:09 +00:00  
				
					
						
							
							
								 
						
							
							
								38e93469d3 
								
							
								 
							
						 
						
							
							
								
								Fix broken test  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-07-23 09:01:44 +01:00  
				
					
						
							
							
								 
						
							
							
								99734dcfe8 
								
							
								 
							
						 
						
							
							
								
								please work  
							
							
							
						 
						
							2020-07-07 17:11:14 +01:00  
				
					
						
							
							
								 
						
							
							
								af2b826136 
								
							
								 
							
						 
						
							
							
								
								Please fix test  
							
							
							
						 
						
							2020-07-07 16:57:56 +01:00  
				
					
						
							
							
								 
						
							
							
								73d966443c 
								
							
								 
							
						 
						
							
							
								
								fix tests  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-05-24 14:25:31 +01:00  
				
					
						
							
							
								 
						
							
							
								880e16aaa2 
								
							
								 
							
						 
						
							
							
								
								Merge branches 'develop' and 't3chguy/leaks' of github.com:matrix-org/matrix-react-sdk into t3chguy/leaks  
							
							... 
							
							
							
							 Conflicts:
	src/components/views/avatars/BaseAvatar.js
	test/components/views/messages/TextualBody-test.js 
							
						 
						
							2020-05-23 11:12:58 +01:00  
				
					
						
							
							
								 
						
							
							
								adec5a4f92 
								
							
								 
							
						 
						
							
							
								
								fix test  
							
							
							
						 
						
							2020-05-20 15:09:10 +01:00  
				
					
						
							
							
								 
						
							
							
								e79959a4ec 
								
							
								 
							
						 
						
							
							
								
								try fix tests  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-05-15 00:31:30 +01:00  
				
					
						
							
							
								 
						
							
							
								fd25170c57 
								
							
								 
							
						 
						
							
							
								
								lint test  
							
							
							
						 
						
							2020-04-27 11:51:55 +01:00  
				
					
						
							
							
								 
						
							
							
								18db25f601 
								
							
								 
							
						 
						
							
							
								
								Fix test  
							
							
							
						 
						
							2020-04-27 11:51:55 +01:00  
				
					
						
							
							
								 
						
							
							
								2d2b39892a 
								
							
								 
							
						 
						
							
							
								
								lint test  
							
							
							
						 
						
							2020-04-23 10:45:47 +01:00  
				
					
						
							
							
								 
						
							
							
								3966e45b8f 
								
							
								 
							
						 
						
							
							
								
								Fix test  
							
							
							
						 
						
							2020-04-23 10:45:47 +01:00  
				
					
						
							
							
								 
						
							
							
								d783ce86c8 
								
							
								 
							
						 
						
							
							
								
								Use noreferrer in addition to noopener for edge case browsers  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-02-23 22:14:29 +00:00  
				
					
						
							
							
								 
						
							
							
								8004a35179 
								
							
								 
							
						 
						
							
							
								
								Update to use proper quotes and fix code styling. And fix test.  
							
							... 
							
							
							
							Signed-off-by: Marco Zehe <marcozehe@mailbox.org> 
							
						 
						
							2020-02-12 10:54:08 +01:00  
				
					
						
							
							
								 
						
							
							
								544479a6ee 
								
							
								 
							
						 
						
							
							
								
								test code cleaned up slightly  
							
							
							
						 
						
							2020-02-04 11:31:16 +00:00  
				
					
						
							
							
								 
						
							
							
								150fe7a45a 
								
							
								 
							
						 
						
							
							
								
								Tests for MKeyVerificationConclusion  
							
							
							
						 
						
							2020-02-04 11:25:19 +00:00  
				
					
						
							
							
								 
						
							
							
								8ba54f5f7d 
								
							
								 
							
						 
						
							
							
								
								Don't use expect and jest-mock anymore as they're implicit from jest  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-01-18 01:38:22 +00:00  
				
					
						
							
							
								 
						
							
							
								aa38946166 
								
							
								 
							
						 
						
							
							
								
								Actually define some tests in TextualBody's test  
							
							... 
							
							
							
							Jest really wants you to do things the right way. 
							
						 
						
							2020-01-09 17:24:13 -07:00