zadam 
							
						 
					 
					
						
						
						
						
							
						
						
							5dab189815 
							
						 
					 
					
						
						
							
							recovery for tree cycle errors,  #2831  
						
						 
						
						
						
						
							
						
					 
					
						2022-05-03 00:30:09 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								zadam 
							
						 
					 
					
						
						
						
						
							
						
						
							a9dc62505d 
							
						 
					 
					
						
						
							
							fix height of textarea of SQL console  
						
						 
						
						
						
						
							
						
					 
					
						2022-05-02 21:23:40 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								zadam 
							
						 
					 
					
						
						
						
						
							
						
						
							26e1ff4e16 
							
						 
					 
					
						
						
							
							release 0.51.2  
						
						 
						
						
						
						
							
  v0.51.2
 
						
					 
					
						2022-05-01 23:18:35 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								zadam 
							
						 
					 
					
						
						
						
						
							
						
						
							b3763eed61 
							
						 
					 
					
						
						
							
							make sure shaca is loaded before any request  
						
						 
						
						
						
						
							
						
					 
					
						2022-05-01 23:16:47 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								zadam 
							
						 
					 
					
						
						
						
						
							
						
						
							f9c01851ef 
							
						 
					 
					
						
						
							
							fix missing closing div tag in word count demo widget,  closes   #2829  
						
						 
						
						
						
						
							
						
					 
					
						2022-05-01 22:47:26 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								zadam 
							
						 
					 
					
						
						
						
						
							
						
						
							6b61b0604a 
							
						 
					 
					
						
						
							
							improve hiding of edit button  #2787  
						
						 
						
						
						
						
							
						
					 
					
						2022-05-01 22:44:23 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								zadam 
							
						 
					 
					
						
						
						
						
							
						
						
							f705c432fd 
							
						 
					 
					
						
						
							
							allow combining tokens in text and title/attributes,  fixes   #2820  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-29 22:59:00 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								zadam 
							
						 
					 
					
						
						
						
						
							
						
						
							70edd9a210 
							
						 
					 
					
						
						
							
							allow searching within mermaid diagrams,  closes   #2821  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-29 22:36:05 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								zadam 
							
						 
					 
					
						
						
						
						
							
						
						
							0a45b58784 
							
						 
					 
					
						
						
							
							fix doubling of icon tooltips,  closes   #2811  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-24 13:23:01 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								zadam 
							
						 
					 
					
						
						
						
						
							
						
						
							dbd312c88d 
							
						 
					 
					
						
						
							
							addTextToEditor appends text to the end instead of the beginning  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-23 23:07:08 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								zadam 
							
						 
					 
					
						
						
						
						
							
						
						
							11578b1bc3 
							
						 
					 
					
						
						
							
							fix "isActive()" detection to work well with splits,  #2806  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-23 23:06:42 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								zadam 
							
						 
					 
					
						
						
						
						
							
						
						
							569c80f551 
							
						 
					 
					
						
						
							
							release 0.51.1-beta  
						
						 
						
						
						
						
							
  v0.51.1-beta
 
						
					 
					
						2022-04-22 00:07:59 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								zadam 
							
						 
					 
					
						
						
						
						
							
						
						
							3b58b83f8b 
							
						 
					 
					
						
						
							
							improved logging  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 23:36:21 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								zadam 
							
						 
					 
					
						
						
						
						
							
						
						
							643a5e5b16 
							
						 
					 
					
						
						
							
							moving deleteNote and deleteBranch into entities to make them accessible to scripts,  #2792  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 23:06:46 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							4e4010e15e 
							
						 
					 
					
						
						
							
							update styles, fix share view  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 21:46:25 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							6bdaf050c5 
							
						 
					 
					
						
						
							
							replace excalidraw.com asset in svg with EXCALIDRAW_ASSET_PATH, clean up code  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 14:39:53 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							05c8c6cfaa 
							
						 
					 
					
						
						
							
							set express same as master 4.17.3  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:24:41 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							2441515666 
							
						 
					 
					
						
						
							
							set EXCALIDRAW_ASSET_PATH to avoid loading from unpkg.com  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:21:29 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							c42bcd6c59 
							
						 
					 
					
						
						
							
							remove icon-set so long as not clear how to use (preferably use special trilium note!)  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:21:29 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							fc95bb8f18 
							
						 
					 
					
						
						
							
							add onLinkHandler experimental  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:21:29 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							cb88f316db 
							
						 
					 
					
						
						
							
							basic share view render (css wrong)  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:21:29 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							e19ddc10d3 
							
						 
					 
					
						
						
							
							make revision and renderer svg to shrink to box but not enlarge  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:21:29 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							d3e86acfaa 
							
						 
					 
					
						
						
							
							explain checkFullHeight() due to missleading name  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:21:29 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							536643ed3b 
							
						 
					 
					
						
						
							
							add undefined check for branch  
						
						 
						
						... 
						
						
						
						unclear why this happens 
						
						
							
						
					 
					
						2022-04-19 00:21:29 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							9771b441ad 
							
						 
					 
					
						
						
							
							missing path2d support for freedawings, remove node-side rendering, allow async getContent()  
						
						 
						
						... 
						
						
						
						* ## Excalidraw and SVG
 * 2022-04-16 - @thfrei
 *
 * Known issues:
 *  - excalidraw-to-svg (node.js) does not render any hand drawn (freedraw) paths. There is an issue with
 *    Path2D object not present in node-canvas library used by jsdom. (See Trilium PR for samples and other issues
 *    in respective library. Link will be added later). Related links:
 *     - https://github.com/Automattic/node-canvas/pull/2013 
 *     - https://github.com/google/canvas-5-polyfill 
 *     - https://github.com/Automattic/node-canvas/issues/1116 
 *     - https://www.npmjs.com/package/path2d-polyfill 
 *  - excalidraw-to-svg (node.js) takes quite some time to load an image (1-2s)
 *  - excalidraw-utils (browser) does render freedraw, however NOT freedraw with background
 *
 * Due to this issues, we opt to use **only excalidraw in the frontend**. Upon saving, we will also get the SVG
 * output from the live excalidraw instance. We will save this **SVG side by side the native excalidraw format
 * in the trilium note**.
 *
 * Pro: we will combat bit-rot. Showing the SVG will be very fast, since it is already rendered.
 * Con: The note will get bigger (maybe +30%?), we will generate more bandwith.
 *      (However, using trilium desktop instance, does not care too much about bandwidth. Size increase is probably
 *       acceptable, as a trade off.) 
						
						
							
						
					 
					
						2022-04-19 00:21:20 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							c295fdb142 
							
						 
					 
					
						
						
							
							rename excalidraw icon libraries  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:20:21 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom Free 
							
						 
					 
					
						
						
						
						
							
						
						
							ee7aa3d3da 
							
						 
					 
					
						
						
							
							remove manually added, static libraries for excalidraw, react, etc.  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:20:21 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom Free 
							
						 
					 
					
						
						
						
						
							
						
						
							e437a9d70f 
							
						 
					 
					
						
						
							
							note about buggy excalidraw-utils for browser svg rendering  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:20:21 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom Free 
							
						 
					 
					
						
						
						
						
							
						
						
							a8655fcd27 
							
						 
					 
					
						
						
							
							add canvas-note-type at some missing places after rebase  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:20:21 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							aefc9f1593 
							
						 
					 
					
						
						
							
							add excalidraw excalidraw/utils, react and react-dom as npm-dependencies  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:20:13 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom Free 
							
						 
					 
					
						
						
						
						
							
						
						
							73671671d7 
							
						 
					 
					
						
						
							
							remove obsolete fabric/hammer/jquery from canvas-note early trials  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:17:39 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							f53a93e828 
							
						 
					 
					
						
						
							
							make :filename for GETing an image optional  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:17:39 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							e156c6292b 
							
						 
					 
					
						
						
							
							improve status 500 for canvas-note api/image.js  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:17:39 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							e365521d5e 
							
						 
					 
					
						
						
							
							add support for sharing canvas-note  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:17:39 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							f354821f25 
							
						 
					 
					
						
						
							
							basic support for using api/images with canvas-note  
						
						 
						
						... 
						
						
						
						http://localhost:8080/api/images/ <noteId>/some-rando-text 
						
						
							
						
					 
					
						2022-04-19 00:17:16 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							82e278a2a2 
							
						 
					 
					
						
						
							
							add comment about excalidraw-error message on insert  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:13:27 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Frei 
							
						 
					 
					
						
						
						
						
							
						
						
							b4d4606c73 
							
						 
					 
					
						
						
							
							add a selection of excalidraw-drawing-libraries  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:13:27 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Frei 
							
						 
					 
					
						
						
						
						
							
						
						
							b14b7b6ad1 
							
						 
					 
					
						
						
							
							add _meta to note, in case it got changed to type json  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:13:27 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Frei 
							
						 
					 
					
						
						
						
						
							
						
						
							32aa7bb540 
							
						 
					 
					
						
						
							
							ensure that fresh note has empty scene, no bleeding  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:13:27 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Frei 
							
						 
					 
					
						
						
						
						
							
						
						
							300f4ad357 
							
						 
					 
					
						
						
							
							remove obsolete comments / code  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:13:27 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							cf6b5c3b6e 
							
						 
					 
					
						
						
							
							ensure only active/referenced files are saved  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:13:27 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							f1c9dda366 
							
						 
					 
					
						
						
							
							make sure nothing breaks on fresh empty note or note that has already content  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:13:27 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							7f01032b6d 
							
						 
					 
					
						
						
							
							add support for render excalidraw in book view (copy of note_revision)  
						
						 
						
						... 
						
						
						
						maybe one should think about extract a function there and make it reusable 
						
						
							
						
					 
					
						2022-04-19 00:13:27 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							f08afd4723 
							
						 
					 
					
						
						
							
							remove empty line break  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:13:27 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							afe2a03aef 
							
						 
					 
					
						
						
							
							fix initial load and safe issue by storing noteId  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:13:27 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							272bb136d8 
							
						 
					 
					
						
						
							
							make canvas_note height 100%  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:13:27 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							27d0388d79 
							
						 
					 
					
						
						
							
							add some comments  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:13:26 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							025032de42 
							
						 
					 
					
						
						
							
							make note revisions work  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:13:26 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							15a3b42124 
							
						 
					 
					
						
						
							
							remove some debug/testing code  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:13:26 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom 
							
						 
					 
					
						
						
						
						
							
						
						
							4266156cee 
							
						 
					 
					
						
						
							
							fix curser mismatch by manually setting offset  
						
						 
						
						
						
						
							
						
					 
					
						2022-04-19 00:13:26 +02:00