b17d72c399 
								
							
								 
							
						 
						
							
							
								
								fix duplicate import  
							
							
							
						 
						
							2021-07-02 14:54:10 +01:00  
				
					
						
							
							
								 
						
							
							
								82119a08f7 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into t3chguy/ts/11  
							
							
							
						 
						
							2021-07-02 11:03:54 +01:00  
				
					
						
							
							
								 
						
							
							
								88f691776f 
								
							
								 
							
						 
						
							
							
								
								Use sleep from js-sdk as no point duplicating it  
							
							
							
						 
						
							2021-07-01 22:55:27 +01:00  
				
					
						
							
							
								 
						
							
							
								543fe6382d 
								
							
								 
							
						 
						
							
							
								
								Fix linting in tests  
							
							... 
							
							
							
							Or in the case of one test, disbale just the one rule it breaks 
							
						 
						
							2021-07-01 20:54:04 +01:00  
				
					
						
							
							
								 
						
							
							
								ee9be5438e 
								
							
								 
							
						 
						
							
							
								
								eslint --fix  
							
							
							
						 
						
							2021-07-01 20:43:05 +01:00  
				
					
						
							
							
								 
						
							
							
								ae0a8b8da4 
								
							
								 
							
						 
						
							
							
								
								Auto-fix lint errors  
							
							
							
						 
						
							2021-06-29 13:11:58 +01:00  
				
					
						
							
							
								 
						
							
							
								6e0a908c59 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into gsouquet/react-17  
							
							
							
						 
						
							2021-06-09 12:01:35 +01:00  
				
					
						
							
							
								 
						
							
							
								e891d18fa2 
								
							
								 
							
						 
						
							
							
								
								Add my email to my copyright notices  
							
							... 
							
							
							
							Signed-off-by: Robin Townsend <robin@robin.town> 
							
						 
						
							2021-06-05 21:41:28 -04:00  
				
					
						
							
							
								 
						
							
							
								121ed5eba9 
								
							
								 
							
						 
						
							
							
								
								Pass Matrix client around as matrixClient  
							
							... 
							
							
							
							Signed-off-by: Robin Townsend <robin@robin.town> 
							
						 
						
							2021-05-24 08:51:04 -04:00  
				
					
						
							
							
								 
						
							
							
								400917623c 
								
							
								 
							
						 
						
							
							
								
								Make myself the copyright holder for forward dialog code  
							
							... 
							
							
							
							Signed-off-by: Robin Townsend <robin@robin.town> 
							
						 
						
							2021-05-24 08:33:28 -04:00  
				
					
						
							
							
								 
						
							
							
								7a04502151 
								
							
								 
							
						 
						
							
							
								
								Iterate on forward dialog design feedback  
							
							... 
							
							
							
							Signed-off-by: Robin Townsend <robin@robin.town> 
							
						 
						
							2021-05-21 12:41:29 -04:00  
				
					
						
							
							
								 
						
							
							
								503301aa89 
								
							
								 
							
						 
						
							
							
								
								Make rooms in ForwardDialog clickable  
							
							... 
							
							
							
							…so that you can jump to a room easily once you've forwarded a message
there.
Signed-off-by: Robin Townsend <robin@robin.town> 
							
						 
						
							2021-05-10 13:00:06 -04:00  
				
					
						
							
							
								 
						
							
							
								5c10e1e574 
								
							
								 
							
						 
						
							
							
								
								Fix lints  
							
							... 
							
							
							
							Signed-off-by: Robin Townsend <robin@robin.town> 
							
						 
						
							2021-05-10 01:16:37 -04:00  
				
					
						
							
							
								 
						
							
							
								eb779cd3d8 
								
							
								 
							
						 
						
							
							
								
								Test that forward buttons are disabled for rooms without permission  
							
							... 
							
							
							
							Signed-off-by: Robin Townsend <robin@robin.town> 
							
						 
						
							2021-05-10 01:10:41 -04:00  
				
					
						
							
							
								 
						
							
							
								35cf0e1c7e 
								
							
								 
							
						 
						
							
							
								
								Find components by name rather than class in ForwardDialog test  
							
							... 
							
							
							
							It makes things shorter and more readable!
Signed-off-by: Robin Townsend <robin@robin.town> 
							
						 
						
							2021-05-10 01:10:39 -04:00  
				
					
						
							
							
								 
						
							
							
								eb07f1fb86 
								
							
								 
							
						 
						
							
							
								
								Test that ForwardDialog can render replies  
							
							... 
							
							
							
							Previously ForwardDialog was not giving its EventTile message preview
the information it needed to render a ReplyThread. This was a bit tricky
to fix since we were pulling a fake event out of thin air, so this
ensures it doesn't regress.
Signed-off-by: Robin Townsend <robin@robin.town> 
							
						 
						
							2021-05-10 00:54:00 -04:00  
				
					
						
							
							
								 
						
							
							
								74925b2c6d 
								
							
								 
							
						 
						
							
							
								
								Test ForwardDialog  
							
							... 
							
							
							
							Signed-off-by: Robin Townsend <robin@robin.town> 
							
						 
						
							2021-05-08 21:11:06 -04:00  
				
					
						
							
							
								 
						
							
							
								46bfbbadf9 
								
									
								
							
								 
							
						 
						
							
							
								
								Enable indent rule and fix indent  
							
							... 
							
							
							
							Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> 
							
						 
						
							2021-04-27 17:23:27 +02:00  
				
					
						
							
							
								 
						
							
							
								5d9b36afc1 
								
							
								 
							
						 
						
							
							
								
								Fix tests  
							
							
							
						 
						
							2021-03-25 23:47:41 -06:00  
				
					
						
							
							
								 
						
							
							
								4f96d5dee5 
								
									
								
							
								 
							
						 
						
							
							
								
								Change a bunch of strings from Recovery Key/Phrase to Security Key/Phrase  
							
							... 
							
							
							
							Signed-off-by: Aaron Raimist <aaron@raim.ist> 
							
						 
						
							2021-01-04 19:17:17 -06:00  
				
					
						
							
							
								 
						
							
							
								7bd5e3fa31 
								
							
								 
							
						 
						
							
							
								
								Move security-related dialogs to a common directory  
							
							
							
						 
						
							2020-09-16 15:03:06 +01:00  
				
					
						
							
							
								 
						
							
							
								2969820371 
								
							
								 
							
						 
						
							
							
								
								LINT  
							
							
							
						 
						
							2020-06-26 20:31:22 +01:00  
				
					
						
							
							
								 
						
							
							
								0579c9f748 
								
							
								 
							
						 
						
							
							
								
								Fix tests  
							
							
							
						 
						
							2020-06-26 20:25:38 +01:00  
				
					
						
							
							
								 
						
							
							
								e942a35525 
								
							
								 
							
						 
						
							
							
								
								Fixxy  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-04-16 14:09:41 +01:00  
				
					
						
							
							
								 
						
							
							
								9a5663056d 
								
							
								 
							
						 
						
							
							
								
								lint  
							
							
							
						 
						
							2020-02-11 12:06:40 +00:00  
				
					
						
							
							
								 
						
							
							
								6b6d612041 
								
							
								 
							
						 
						
							
							
								
								Fix error message rendering for key entry  
							
							... 
							
							
							
							Relates to https://github.com/vector-im/riot-web/issues/12288  
							
						 
						
							2020-02-11 12:02:12 +00:00  
				
					
						
							
							
								 
						
							
							
								a8c8406ac4 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'origin/t3chguy/jest' into travis/sourcemaps  
							
							
							
						 
						
							2020-01-09 16:06:46 -07:00  
				
					
						
							
							
								 
						
							
							
								042bd35d79 
								
							
								 
							
						 
						
							
							
								
								Fix MatrixClientPeg imports  
							
							
							
						 
						
							2019-12-22 21:15:54 -07:00  
				
					
						
							
							
								 
						
							
							
								b9e22f8141 
								
							
								 
							
						 
						
							
							
								
								add delay  
							
							
							
						 
						
							2019-12-17 13:11:30 +00:00  
				
					
						
							
							
								 
						
							
							
								ab3fb6581b 
								
							
								 
							
						 
						
							
							
								
								Down to 7 test failures  
							
							
							
						 
						
							2019-12-17 11:24:37 +00:00  
				
					
						
							
							
								 
						
							
							
								6ad31fe023 
								
							
								 
							
						 
						
							
							
								
								30 test failures to go :D  
							
							
							
						 
						
							2019-12-16 11:12:48 +00:00  
				
					
						
							
							
								 
						
							
							
								18f81d80db 
								
							
								 
							
						 
						
							
							
								
								Initial jest stuff. Blocked on Babel 7  
							
							
							
						 
						
							2019-12-13 13:43:48 +00:00  
				
					
						
							
							
								 
						
							
							
								d4d51dc61f 
								
							
								 
							
						 
						
							
							
								
								Rip out the remainder of Bluebird  
							
							
							
						 
						
							2019-11-18 10:03:05 +00:00  
				
					
						
							
							
								 
						
							
							
								b3760cdd6e 
								
							
								 
							
						 
						
							
							
								
								Replace usages of Promise.delay(...) with own utils  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2019-11-14 14:25:54 +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  
				
					
						
							
							
								 
						
							
							
								accb0abe2d 
								
							
								 
							
						 
						
							
							
								
								Switch from react-addons-test-utils to react-dom/test-utils. React 16 :D  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2019-08-24 11:47:07 +01:00  
				
					
						
							
							
								 
						
							
							
								ba5238d86a 
								
							
								 
							
						 
						
							
							
								
								Finally fix tests  
							
							
							
						 
						
							2019-07-11 15:01:56 -06:00  
				
					
						
							
							
								 
						
							
							
								698fd3b897 
								
							
								 
							
						 
						
							
							
								
								Hopefully actually make the tests happy  
							
							
							
						 
						
							2019-07-11 14:45:36 -06:00  
				
					
						
							
							
								 
						
							
							
								a9419135aa 
								
							
								 
							
						 
						
							
							
								
								Fix tests to use UIA proper  
							
							
							
						 
						
							2019-07-11 14:38:28 -06:00  
				
					
						
							
							
								 
						
							
							
								8b16f91b3d 
								
							
								 
							
						 
						
							
							
								
								fix karma tests?  
							
							
							
						 
						
							2019-06-13 15:50:23 +02:00  
				
					
						
							
							
								 
						
							
							
								c3185a4cdb 
								
							
								 
							
						 
						
							
							
								
								breaking changes from expect upgrade  
							
							... 
							
							
							
							Signed-off-by: Stephen Solka <stephen0q@gmail.com> 
							
						 
						
							2019-01-02 16:59:48 -06:00  
				
					
						
							
							
								 
						
							
							
								d3f9a3aeb5 
								
							
								 
							
						 
						
							
							
								
								Run eslint --fix  
							
							... 
							
							
							
							Fixing 1000s of lint issues. Some rules cannot be `--fix`ed but this goes some way to linting the entire codebase. 
							
						 
						
							2017-10-11 17:56:17 +01:00  
				
					
						
							
							
								 
						
							
							
								0d7cc59d99 
								
							
								 
							
						 
						
							
							
								
								replace q method calls with bluebird ones  
							
							... 
							
							
							
							```
find src test -name '*.js' |
    xargs perl -i -pe 's/q\.(all|defer|reject|delay|try|isFulfilled)\(/Promise.$1(/'
``` 
							
						 
						
							2017-07-12 18:05:40 +01:00  
				
					
						
							
							
								 
						
							
							
								0254d2b3a2 
								
							
								 
							
						 
						
							
							
								
								q(...) -> Promise.resolve  
							
							... 
							
							
							
							```
find src test -name '*.js' | xargs perl -i -pe 's/\b[qQ]\(/Promise.resolve(/'
``` 
							
						 
						
							2017-07-12 18:05:08 +01:00  
				
					
						
							
							
								 
						
							
							
								a06bd84213 
								
							
								 
							
						 
						
							
							
								
								replace imports of `q` with bluebird  
							
							... 
							
							
							
							update `package.json`
```
find src test -name '*.js' |
   xargs perl -i -pe 'if (/require\(.[qQ].\)/) { $_ = "import Promise from '\''bluebird'\'';\n"; }'
find src test -name '*.js' |
   xargs perl -i -pe 'if (/import [qQ]/) { $_ = "import Promise from '\''bluebird'\'';\n"; }'
``` 
							
						 
						
							2017-07-12 18:05:08 +01:00  
				
					
						
							
							
								 
						
							
							
								7455002b1a 
								
							
								 
							
						 
						
							
							
								
								InteractiveAuthDialogTest: increase timeout  
							
							... 
							
							
							
							Blindly increase the number of attempts, because it's failing on travis, but
not on my dev box... 
							
						 
						
							2017-07-12 00:24:00 +01:00  
				
					
						
							
							
								 
						
							
							
								ab61b6b1b6 
								
							
								 
							
						 
						
							
							
								
								Use matrix-react-test-utils rather than our own impl  
							
							... 
							
							
							
							waitForRenderedDOMComponentWithTag is now in matrix-react-test-utils. 
							
						 
						
							2017-07-11 23:14:56 +01:00  
				
					
						
							
							
								 
						
							
							
								ba8e37a84e 
								
							
								 
							
						 
						
							
							
								
								Don't include src in the test resolve root  
							
							... 
							
							
							
							Don't include src in resolve root for the karma test, as otherwise
modules from react sdk get pulled in instead of npm libraries like
'extend' which breaks everything in really subtle ways. 
							
						 
						
							2017-05-25 23:13:49 +01:00  
				
					
						
							
							
								 
						
							
							
								23c38bd8a3 
								
							
								 
							
						 
						
							
							
								
								Put back both done's  
							
							... 
							
							
							
							mocha takes the exception arg and does the right thing 
							
						 
						
							2017-03-16 17:47:15 +00:00