d2949babcd 
								
							
								 
							
						 
						
							
							
								
								copyright is solely assigned to matrix foundation now, copy paste error  
							
							
							
						 
						
							2019-09-06 10:29:12 +02:00  
				
					
						
							
							
								 
						
							
							
								4ef9fa53ac 
								
							
								 
							
						 
						
							
							
								
								better i18n  
							
							
							
						 
						
							2019-09-05 11:10:13 +02:00  
				
					
						
							
							
								 
						
							
							
								e3d70f3999 
								
							
								 
							
						 
						
							
							
								
								ensure selection is not lost upon clicking format bar in chrome  
							
							
							
						 
						
							2019-09-05 11:01:44 +02:00  
				
					
						
							
							
								 
						
							
							
								af535986d2 
								
							
								 
							
						 
						
							
							
								
								fix css lint  
							
							
							
						 
						
							2019-09-04 16:40:34 +02:00  
				
					
						
							
							
								 
						
							
							
								2ea556e0b4 
								
							
								 
							
						 
						
							
							
								
								support update callback setting selection instead of caret  
							
							
							
						 
						
							2019-09-04 16:40:34 +02:00  
				
					
						
							
							
								 
						
							
							
								037ac29c57 
								
							
								 
							
						 
						
							
							
								
								be more forgiving with offset that don't have atNodeEnd=true  
							
							... 
							
							
							
							if index is not found, it means the last position should be returned
if there is any.
We still return -1 for empty documents, as index should always point
to a valid part if positive. 
							
						 
						
							2019-09-04 16:40:34 +02:00  
				
					
						
							
							
								 
						
							
							
								42c37d8293 
								
							
								 
							
						 
						
							
							
								
								fixup: improve quote and code block newline handling  
							
							
							
						 
						
							2019-09-04 16:40:34 +02:00  
				
					
						
							
							
								 
						
							
							
								e0668e8517 
								
							
								 
							
						 
						
							
							
								
								improve algorithm to reduce selection to text node + charactar offset  
							
							... 
							
							
							
							this follows the documentation of {focus|anchor}{Offset|Node} better
and was causing problems for creating ranges from the document selection
when doing ctrl+A in firefox as the anchorNode/Offset was expressed
as childNodes from the editor root. 
							
						 
						
							2019-09-04 16:40:34 +02:00  
				
					
						
							
							
								 
						
							
							
								4691108a16 
								
							
								 
							
						 
						
							
							
								
								only increase offset if caret hasn't been found yet  
							
							... 
							
							
							
							also rename caret away as this isn't used for the caret solely anymore 
							
						 
						
							2019-09-04 16:40:34 +02:00  
				
					
						
							
							
								 
						
							
							
								7a01d1407f 
								
							
								 
							
						 
						
							
							
								
								make _replaceRange internal only  
							
							
							
						 
						
							2019-09-04 16:40:34 +02:00  
				
					
						
							
							
								 
						
							
							
								4c04bc19c9 
								
							
								 
							
						 
						
							
							
								
								fixup: remove now unused import  
							
							
							
						 
						
							2019-09-04 16:40:34 +02:00  
				
					
						
							
							
								 
						
							
							
								6e694c113a 
								
							
								 
							
						 
						
							
							
								
								add support for inline/block code formatting  
							
							
							
						 
						
							2019-09-04 16:40:34 +02:00  
				
					
						
							
							
								 
						
							
							
								b35a3531bb 
								
							
								 
							
						 
						
							
							
								
								move quote formatting out of react component  
							
							
							
						 
						
							2019-09-04 16:40:34 +02:00  
				
					
						
							
							
								 
						
							
							
								b72d1a78ec 
								
							
								 
							
						 
						
							
							
								
								move inline formatting code out of react component  
							
							
							
						 
						
							2019-09-04 16:40:34 +02:00  
				
					
						
							
							
								 
						
							
							
								47d8d86bbe 
								
							
								 
							
						 
						
							
							
								
								whitespace (in model)  
							
							
							
						 
						
							2019-09-04 16:40:23 +02:00  
				
					
						
							
							
								 
						
							
							
								7f501b2aef 
								
							
								 
							
						 
						
							
							
								
								first impl of quote formatting  
							
							
							
						 
						
							2019-09-04 16:40:13 +02:00  
				
					
						
							
							
								 
						
							
							
								d4c7992f5a 
								
							
								 
							
						 
						
							
							
								
								first impl of inline formatting  
							
							
							
						 
						
							2019-09-04 16:39:56 +02:00  
				
					
						
							
							
								 
						
							
							
								e7db660820 
								
							
								 
							
						 
						
							
							
								
								fixup: css, we have 5 buttons  
							
							
							
						 
						
							2019-09-04 16:39:07 +02:00  
				
					
						
							
							
								 
						
							
							
								c15dfc3c05 
								
							
								 
							
						 
						
							
							
								
								make Range start and end public  
							
							
							
						 
						
							2019-09-04 16:38:42 +02:00  
				
					
						
							
							
								 
						
							
							
								7dc39baaf3 
								
							
								 
							
						 
						
							
							
								
								implement bold support in format bar  
							
							
							
						 
						
							2019-09-04 16:35:03 +02:00  
				
					
						
							
							
								 
						
							
							
								77b14beb1f 
								
							
								 
							
						 
						
							
							
								
								add getter for intersecting parts of range, and total length  
							
							... 
							
							
							
							we'll need this when replacing selection, to preserve
newlines, etc ... in the selected range (e.g. we can't just
use range.text). 
							
						 
						
							2019-09-04 16:35:03 +02:00  
				
					
						
							
							
								 
						
							
							
								48f1bf1816 
								
							
								 
							
						 
						
							
							
								
								sort positions in Range constructor, so start always comes before end  
							
							
							
						 
						
							2019-09-04 16:35:03 +02:00  
				
					
						
							
							
								 
						
							
							
								65ddfc0a50 
								
							
								 
							
						 
						
							
							
								
								show format bar when text is selected  
							
							
							
						 
						
							2019-09-04 16:35:03 +02:00  
				
					
						
							
							
								 
						
							
							
								0d02ab59d6 
								
							
								 
							
						 
						
							
							
								
								allow starting a range with both positions known already  
							
							... 
							
							
							
							we'll need this to start a range for the selection 
							
						 
						
							2019-09-03 16:00:50 +02:00  
				
					
						
							
							
								 
						
							
							
								eb87301855 
								
							
								 
							
						 
						
							
							
								
								allow getting the DocumentOffset for any node+offset, not just focusNode  
							
							... 
							
							
							
							we need this to get both offsets of the selection boundaries
getSelectionOffsetAndText offers the extra flexibility,
getCaretOffsetAndText keeps the old api for focusNode/focusOffset
Also did some renaming here now that it's not just for the caret anymore 
							
						 
						
							2019-09-03 15:58:50 +02:00  
				
					
						
							
							
								 
						
							
							
								648ae37ff4 
								
							
								 
							
						 
						
							
							
								
								make DocumentOffset compatible with what is returned from dom/getCaret  
							
							... 
							
							
							
							so we can return a DocumentOffset from there without breakage 
							
						 
						
							2019-09-03 15:58:05 +02:00  
				
					
						
							
							
								 
						
							
							
								917700a1fc 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3383  from matrix-org/revert-3378-bwindels/cider-md-legend  
							
							... 
							
							
							
							Revert "New composer: show markdown legend on focus" 
							
						 
						
							2019-09-03 08:36:48 +00:00  
				
					
						
							
							
								 
						
							
							
								1063da0ed1 
								
									
								
							
								 
							
						 
						
							
							
								
								Revert "New composer: show markdown legend on focus"  
							
							
							
						 
						
							2019-09-03 08:27:45 +00:00  
				
					
						
							
							
								 
						
							
							
								71e13842b8 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3368  from matrix-org/travis/disable-msisdn  
							
							... 
							
							
							
							Disable MSISDN registration if the homeserver doesn't support it 
							
						 
						
							2019-09-02 11:25:17 -06:00  
				
					
						
							
							
								 
						
							
							
								5e8eb20c53 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3371  from matrix-org/travis/synapse_admin  
							
							... 
							
							
							
							Add a button to MemberInfo to deactivate a user 
							
						 
						
							2019-09-02 11:08:45 -06:00  
				
					
						
							
							
								 
						
							
							
								422f482a6d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3378  from matrix-org/bwindels/cider-md-legend  
							
							... 
							
							
							
							New composer: show markdown legend on focus 
							
						 
						
							2019-09-02 14:59:44 +00:00  
				
					
						
							
							
								 
						
							
							
								de9f923e36 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3380  from matrix-org/bwindels/cider-fix-dirty-flag-without-input-event  
							
							... 
							
							
							
							New composer: allow submitting after inserting newline 
							
						 
						
							2019-09-02 14:59:18 +00:00  
				
					
						
							
							
								 
						
							
							
								6a0842d1ab 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3379  from matrix-org/bwindels/cider-deserialize-headers  
							
							... 
							
							
							
							Message editing: deserialize headers from html back to markdown 
							
						 
						
							2019-09-02 14:58:54 +00:00  
				
					
						
							
							
								 
						
							
							
								c4d7df768d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3375  from matrix-org/bwindels/cider-colononmention  
							
							... 
							
							
							
							New composer: share user pill postfix between autocomplete and insert mention 
							
						 
						
							2019-09-02 14:58:23 +00:00  
				
					
						
							
							
								 
						
							
							
								ff74dd4b7f 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3374  from matrix-org/bwindels/fix-cider-command-detection  
							
							... 
							
							
							
							New composer: make command detection not break with pill candidates in command 
							
						 
						
							2019-09-02 14:58:12 +00:00  
				
					
						
							
							
								 
						
							
							
								eaed07fcbf 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3377  from matrix-org/bwindels/cider-noemptymsg  
							
							... 
							
							
							
							New composer: dont allow sending empty messages 
							
						 
						
							2019-09-02 14:57:41 +00:00  
				
					
						
							
							
								 
						
							
							
								6163cefa6a 
								
							
								 
							
						 
						
							
							
								
								set dirty flag when programatically inserting text like with newlines  
							
							
							
						 
						
							2019-09-02 16:29:25 +02:00  
				
					
						
							
							
								 
						
							
							
								5b54cf566d 
								
							
								 
							
						 
						
							
							
								
								deserialize headers from html back to markdown  
							
							
							
						 
						
							2019-09-02 16:23:56 +02:00  
				
					
						
							
							
								 
						
							
							
								f200327ef2 
								
							
								 
							
						 
						
							
							
								
								show/hide legend when focusing/blurring  
							
							
							
						 
						
							2019-09-02 16:15:18 +02:00  
				
					
						
							
							
								 
						
							
							
								b7768f34f2 
								
							
								 
							
						 
						
							
							
								
								Add legend and style it  
							
							
							
						 
						
							2019-09-02 16:15:18 +02:00  
				
					
						
							
							
								 
						
							
							
								5565eca0cb 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3376  from matrix-org/bwindels/cider-pills-spellcheck  
							
							... 
							
							
							
							New composer: disable spell check for pills 
							
						 
						
							2019-09-02 12:41:45 +00:00  
				
					
						
							
							
								 
						
							
							
								b9cb22e153 
								
							
								 
							
						 
						
							
							
								
								dont allow sending empty messages  
							
							
							
						 
						
							2019-09-02 14:36:31 +02:00  
				
					
						
							
							
								 
						
							
							
								2683627a82 
								
							
								 
							
						 
						
							
							
								
								disable spell check for pills in the new composer  
							
							
							
						 
						
							2019-09-02 14:26:15 +02:00  
				
					
						
							
							
								 
						
							
							
								c595371845 
								
							
								 
							
						 
						
							
							
								
								share user pill postfix between autocomplete and insert mention  
							
							... 
							
							
							
							where we decide to add a colon only if the composer is empty 
							
						 
						
							2019-09-02 14:06:30 +02:00  
				
					
						
							
							
								 
						
							
							
								b46e001d0a 
								
							
								 
							
						 
						
							
							
								
								allow pill-candidate parts in commands  
							
							
							
						 
						
							2019-09-02 13:51:46 +02:00  
				
					
						
							
							
								 
						
							
							
								c219f925c6 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3373  from matrix-org/jryans/dialog-link-colour  
							
							... 
							
							
							
							Restrict green link colours to address picker dialog 
							
						 
						
							2019-09-02 12:40:36 +01:00  
				
					
						
							
							
								 
						
							
							
								4329d8c4ef 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3372  from matrix-org/bwindels/fix-command-tab-complete  
							
							... 
							
							
							
							New composer: fix tab-complete in commands 
							
						 
						
							2019-09-02 11:38:13 +00:00  
				
					
						
							
							
								 
						
							
							
								3feeaceb68 
								
							
								 
							
						 
						
							
							
								
								Restrict green link colours to address picker dialog  
							
							... 
							
							
							
							This changes to a more targeted selection of what becomes green (just the
actionable links in address picker).
Fixes https://github.com/vector-im/riot-web/issues/10703  
							
						 
						
							2019-09-02 10:33:19 +01:00  
				
					
						
							
							
								 
						
							
							
								fdd23b34ae 
								
							
								 
							
						 
						
							
							
								
								also look backwards into commands for last word to tab-complete  
							
							
							
						 
						
							2019-09-02 11:27:22 +02:00  
				
					
						
							
							
								 
						
							
							
								00d81eece9 
								
							
								 
							
						 
						
							
							
								
								don't accept @/#/: as part of command, allow to create pill candidate  
							
							... 
							
							
							
							so if you type these 3 characters, you get the correct autocomplete 
							
						 
						
							2019-09-02 11:26:20 +02:00