mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	Compare commits
	
		
			9 Commits
		
	
	
		
			v0.24.2-be
			...
			v0.24.3-be
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					acd001501b | ||
| 
						 | 
					0019865807 | ||
| 
						 | 
					137ffcc4e3 | ||
| 
						 | 
					585398ad5c | ||
| 
						 | 
					50401954d1 | ||
| 
						 | 
					32a9df8489 | ||
| 
						 | 
					5bf5d1cac4 | ||
| 
						 | 
					3608857f25 | ||
| 
						 | 
					16a1dc12df | 
							
								
								
									
										
											BIN
										
									
								
								db/demo.tar
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								db/demo.tar
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -288,7 +288,7 @@
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -730,7 +730,7 @@
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3814,7 +3814,7 @@ transactional by default.
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -511,7 +511,7 @@ Each note can have multiple (at least one) branches, meaning it can be placed in
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -216,7 +216,7 @@
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -358,7 +358,7 @@ this is different concept than attribute/relation.</div>
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7297,7 +7297,7 @@ Cache is note instance scoped.
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -403,7 +403,7 @@
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -311,7 +311,7 @@
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -288,7 +288,7 @@
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -75,7 +75,7 @@ module.exports = ApiToken;</code></pre>
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -151,7 +151,7 @@ module.exports = Attribute;</code></pre>
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -105,7 +105,7 @@ module.exports = Branch;</code></pre>
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -93,7 +93,7 @@ module.exports = Entity;</code></pre>
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -92,7 +92,7 @@ module.exports = Link;</code></pre>
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -651,7 +651,7 @@ module.exports = Note;</code></pre>
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -91,7 +91,7 @@ module.exports = NoteRevision;</code></pre>
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -78,7 +78,7 @@ module.exports = Option;</code></pre>
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -75,7 +75,7 @@ module.exports = RecentNote;</code></pre>
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -594,7 +594,7 @@
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -56,7 +56,7 @@
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -278,7 +278,7 @@ module.exports = BackendScriptApi;</code></pre>
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:27 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -719,7 +719,7 @@
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:28 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2846,7 +2846,7 @@ Internally this serializes the anonymous function into string and sends it to ba
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:28 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -279,7 +279,7 @@
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:28 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1316,7 +1316,7 @@ Its notable omission is the note content.</div>
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:28 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -76,7 +76,7 @@ export default Branch;</code></pre>
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:28 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -64,7 +64,7 @@ export default NoteFull;</code></pre>
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:28 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -128,7 +128,7 @@ export default NoteShort;</code></pre>
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:28 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -339,7 +339,7 @@
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:28 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -56,7 +56,7 @@
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:28 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -271,7 +271,7 @@ export default FrontendScriptApi;</code></pre>
 | 
				
			|||||||
<br class="clear">
 | 
					<br class="clear">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<footer>
 | 
					<footer>
 | 
				
			||||||
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 15 2018 13:33:28 GMT+0100 (Central European Standard Time)
 | 
					    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script> prettyPrint(); </script>
 | 
					<script> prettyPrint(); </script>
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										7
									
								
								jsdoc-conf.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								jsdoc-conf.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "templates": {
 | 
				
			||||||
 | 
					    "default": {
 | 
				
			||||||
 | 
					      "includeDate": false
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							@@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "trilium",
 | 
					  "name": "trilium",
 | 
				
			||||||
  "version": "0.24.1-beta",
 | 
					  "version": "0.24.2-beta",
 | 
				
			||||||
  "lockfileVersion": 1,
 | 
					  "lockfileVersion": 1,
 | 
				
			||||||
  "requires": true,
 | 
					  "requires": true,
 | 
				
			||||||
  "dependencies": {
 | 
					  "dependencies": {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,7 @@
 | 
				
			|||||||
  "name": "trilium",
 | 
					  "name": "trilium",
 | 
				
			||||||
  "productName": "Trilium Notes",
 | 
					  "productName": "Trilium Notes",
 | 
				
			||||||
  "description": "Trilium Notes",
 | 
					  "description": "Trilium Notes",
 | 
				
			||||||
  "version": "0.24.2-beta",
 | 
					  "version": "0.24.3-beta",
 | 
				
			||||||
  "license": "AGPL-3.0-only",
 | 
					  "license": "AGPL-3.0-only",
 | 
				
			||||||
  "main": "electron.js",
 | 
					  "main": "electron.js",
 | 
				
			||||||
  "bin": {
 | 
					  "bin": {
 | 
				
			||||||
@@ -15,8 +15,8 @@
 | 
				
			|||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
    "start": "node ./src/www",
 | 
					    "start": "node ./src/www",
 | 
				
			||||||
    "start-electron": "electron . --disable-gpu",
 | 
					    "start-electron": "electron . --disable-gpu",
 | 
				
			||||||
    "build-backend-docs": "jsdoc -d ./docs/backend_api src/entities/*.js src/services/backend_script_api.js",
 | 
					    "build-backend-docs": "jsdoc -c jsdoc-conf.json -d ./docs/backend_api src/entities/*.js src/services/backend_script_api.js",
 | 
				
			||||||
    "build-frontend-docs": "jsdoc -d ./docs/frontend_api src/public/javascripts/entities/*.js src/public/javascripts/services/frontend_script_api.js",
 | 
					    "build-frontend-docs": "jsdoc -c jsdoc-conf.json -d ./docs/frontend_api src/public/javascripts/entities/*.js src/public/javascripts/services/frontend_script_api.js",
 | 
				
			||||||
    "build-docs": "npm run build-backend-docs && npm run build-frontend-docs"
 | 
					    "build-docs": "npm run build-backend-docs && npm run build-frontend-docs"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "dependencies": {
 | 
					  "dependencies": {
 | 
				
			||||||
@@ -62,7 +62,7 @@
 | 
				
			|||||||
    "tar-stream": "1.6.2",
 | 
					    "tar-stream": "1.6.2",
 | 
				
			||||||
    "turndown": "5.0.1",
 | 
					    "turndown": "5.0.1",
 | 
				
			||||||
    "unescape": "1.0.1",
 | 
					    "unescape": "1.0.1",
 | 
				
			||||||
    "ws": "6.1.0",
 | 
					    "ws": "6.1.2",
 | 
				
			||||||
    "xml2js": "0.4.19"
 | 
					    "xml2js": "0.4.19"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "devDependencies": {
 | 
					  "devDependencies": {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -114,7 +114,7 @@ function AttributesModel() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    function isValid() {
 | 
					    function isValid() {
 | 
				
			||||||
        for (let attributes = self.ownedAttributes(), i = 0; i < attributes.length; i++) {
 | 
					        for (let attributes = self.ownedAttributes(), i = 0; i < attributes.length; i++) {
 | 
				
			||||||
            if (self.isEmptyName(i)) {
 | 
					            if (self.isEmptyName(i) || self.isEmptyRelationTarget(i)) {
 | 
				
			||||||
                return false;
 | 
					                return false;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
@@ -209,7 +209,35 @@ function AttributesModel() {
 | 
				
			|||||||
    this.isEmptyName = function(index) {
 | 
					    this.isEmptyName = function(index) {
 | 
				
			||||||
        const cur = self.ownedAttributes()[index]();
 | 
					        const cur = self.ownedAttributes()[index]();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return cur.name.trim() === "" && !cur.isDeleted && (cur.attributeId !== "" || cur.labelValue !== "" || cur.relationValue);
 | 
					        if (cur.name.trim() || cur.isDeleted) {
 | 
				
			||||||
 | 
					            return false;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        if (cur.attributeId) {
 | 
				
			||||||
 | 
					            // name is empty and attribute already exists so this is NO-GO
 | 
				
			||||||
 | 
					            return true;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        if (cur.type === 'relation-definition' || cur.type === 'label-definition') {
 | 
				
			||||||
 | 
					            // for definitions there's no possible empty value so we always require name
 | 
				
			||||||
 | 
					            return true;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        if (cur.type === 'label' && cur.labelValue) {
 | 
				
			||||||
 | 
					            return true;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        if (cur.type === 'relation' && cur.relationValue) {
 | 
				
			||||||
 | 
					            return true;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        return false;
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    this.isEmptyRelationTarget = function(index) {
 | 
				
			||||||
 | 
					        const cur = self.ownedAttributes()[index]();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        return cur.type === "relation" && !cur.isDeleted && cur.name && !cur.relationValue;
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    this.getTargetAttribute = function(target) {
 | 
					    this.getTargetAttribute = function(target) {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -15,6 +15,8 @@ function initAttributeNameAutocomplete({ $el, attributeType, open }) {
 | 
				
			|||||||
            minLength: 0
 | 
					            minLength: 0
 | 
				
			||||||
        }, [{
 | 
					        }, [{
 | 
				
			||||||
            displayKey: 'name',
 | 
					            displayKey: 'name',
 | 
				
			||||||
 | 
					            // disabling cache is important here because otherwise cache can stay intact when switching between attribute type which will lead to autocomplete displaying attribute names for incorrect attribute type
 | 
				
			||||||
 | 
					            cache: false,
 | 
				
			||||||
            source: async (term, cb) => {
 | 
					            source: async (term, cb) => {
 | 
				
			||||||
                const type = typeof attributeType === "function" ? attributeType() : attributeType;
 | 
					                const type = typeof attributeType === "function" ? attributeType() : attributeType;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -97,12 +97,14 @@ function registerEntrypoints() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    $(document).bind('keydown', 'ctrl+f', () => {
 | 
					    $(document).bind('keydown', 'ctrl+f', () => {
 | 
				
			||||||
        if (utils.isElectron()) {
 | 
					        if (utils.isElectron()) {
 | 
				
			||||||
            const searchInPage = require('electron-in-page-search').default;
 | 
					            alert("In page search doesn't work in this beta");
 | 
				
			||||||
            const remote = require('electron').remote;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
            const inPageSearch = searchInPage(remote.getCurrentWebContents());
 | 
					            // const searchInPage = require('electron-in-page-search').default;
 | 
				
			||||||
 | 
					            // const remote = require('electron').remote;
 | 
				
			||||||
            inPageSearch.openSearchWindow();
 | 
					            //
 | 
				
			||||||
 | 
					            // const inPageSearch = searchInPage(remote.getCurrentWebContents());
 | 
				
			||||||
 | 
					            //
 | 
				
			||||||
 | 
					            // inPageSearch.openSearchWindow();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            return false;
 | 
					            return false;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -92,7 +92,7 @@ function initNoteAutocomplete($el, options) {
 | 
				
			|||||||
        $el.on('autocomplete:selected', (event, suggestion) => $el.setSelectedPath(suggestion.path));
 | 
					        $el.on('autocomplete:selected', (event, suggestion) => $el.setSelectedPath(suggestion.path));
 | 
				
			||||||
        $el.on('autocomplete:closed', () => {
 | 
					        $el.on('autocomplete:closed', () => {
 | 
				
			||||||
            if (!$el.val().trim()) {
 | 
					            if (!$el.val().trim()) {
 | 
				
			||||||
                $el.setSelectedPath("");
 | 
					                clearText($el);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -32,7 +32,10 @@ async function show() {
 | 
				
			|||||||
            lint: true,
 | 
					            lint: true,
 | 
				
			||||||
            gutters: ["CodeMirror-lint-markers"],
 | 
					            gutters: ["CodeMirror-lint-markers"],
 | 
				
			||||||
            lineNumbers: true,
 | 
					            lineNumbers: true,
 | 
				
			||||||
            tabindex: 100
 | 
					            tabindex: 100,
 | 
				
			||||||
 | 
					            // we linewrap partly also because without it horizontal scrollbar displays only when you scroll
 | 
				
			||||||
 | 
					            // all the way to the bottom of the note. With line wrap there's no horizontal scrollbar so no problem
 | 
				
			||||||
 | 
					            lineWrapping: true
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        onNoteChange(noteDetailService.noteChanged);
 | 
					        onNoteChange(noteDetailService.noteChanged);
 | 
				
			||||||
@@ -43,7 +46,9 @@ async function show() {
 | 
				
			|||||||
    const currentNote = noteDetailService.getCurrentNote();
 | 
					    const currentNote = noteDetailService.getCurrentNote();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // this needs to happen after the element is shown, otherwise the editor won't be refreshed
 | 
					    // this needs to happen after the element is shown, otherwise the editor won't be refreshed
 | 
				
			||||||
    codeEditor.setValue(currentNote.content);
 | 
					    // CodeMirror breaks pretty badly on null so even though it shouldn't happen (guarded by consistency check)
 | 
				
			||||||
 | 
					    // we provide fallback
 | 
				
			||||||
 | 
					    codeEditor.setValue(currentNote.content || "");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    const info = CodeMirror.findModeByMIME(currentNote.mime);
 | 
					    const info = CodeMirror.findModeByMIME(currentNote.mime);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1 +1 @@
 | 
				
			|||||||
module.exports = { buildDate:"2018-11-19T17:17:08+01:00", buildRevision: "3fd45b15e7042c12f140524297b50677f9851044" };
 | 
					module.exports = { buildDate:"2018-11-20T13:01:41+01:00", buildRevision: "0019865807db83621dab71b206d5ea80ba29f002" };
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -209,6 +209,16 @@ async function runAllChecks() {
 | 
				
			|||||||
            AND type != 'relation-map'`,
 | 
					            AND type != 'relation-map'`,
 | 
				
			||||||
        "Note has invalid type", errorList);
 | 
					        "Note has invalid type", errorList);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    await runCheck(`
 | 
				
			||||||
 | 
					          SELECT
 | 
				
			||||||
 | 
					            noteId
 | 
				
			||||||
 | 
					          FROM
 | 
				
			||||||
 | 
					            notes
 | 
				
			||||||
 | 
					          WHERE
 | 
				
			||||||
 | 
					            isDeleted = 0
 | 
				
			||||||
 | 
					            AND content IS NULL`,
 | 
				
			||||||
 | 
					        "Note content is null even though it is not deleted", errorList);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    await runCheck(`
 | 
					    await runCheck(`
 | 
				
			||||||
          SELECT 
 | 
					          SELECT 
 | 
				
			||||||
            parentNoteId
 | 
					            parentNoteId
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -219,7 +219,7 @@ function findRelationMapLinks(content, foundLinks) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
async function saveLinks(note, content) {
 | 
					async function saveLinks(note, content) {
 | 
				
			||||||
    if (note.type !== 'text' && note.type !== 'relation-map') {
 | 
					    if (note.type !== 'text' && note.type !== 'relation-map') {
 | 
				
			||||||
        return;
 | 
					        return content;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    const foundLinks = [];
 | 
					    const foundLinks = [];
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -48,6 +48,10 @@
 | 
				
			|||||||
                    <input class="form-control relation-target-note-id"
 | 
					                    <input class="form-control relation-target-note-id"
 | 
				
			||||||
                         placeholder="search for note by its name"
 | 
					                         placeholder="search for note by its name"
 | 
				
			||||||
                         data-bind="noteAutocomplete, value: relationValue, valueUpdate: 'blur', event: { blur: $parent.attributeChanged }">
 | 
					                         data-bind="noteAutocomplete, value: relationValue, valueUpdate: 'blur', event: { blur: $parent.attributeChanged }">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                    <div style="color: red" data-bind="if: $parent.isEmptyRelationTarget($index())">Relation target note
 | 
				
			||||||
 | 
					                      can't be empty.
 | 
				
			||||||
 | 
					                    </div>
 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                  <div data-bind="visible: type == 'label-definition'">
 | 
					                  <div data-bind="visible: type == 'label-definition'">
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user