| 
							
							
								 azivner | 79a4a6eb01 | fixes for DB initalization and import of demo data | 2017-12-23 13:55:13 -05:00 |  | 
			
				
					| 
							
							
								 azivner | bd2a5f6d82 | change in naming of SQL methods added assert methods to note tree | 2017-12-23 11:02:38 -05:00 |  | 
			
				
					| 
							
							
								 azivner | d9e3a40ee4 | during sync login we check that sync server source ID isn't local (can happen after document fork if server is not restarted) | 2017-12-22 06:48:24 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 333735543e | yet another attempt at fixing reporting sync changes to client | 2017-12-19 23:22:21 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 72712bc24b | added foreign keys to relations to guarantee data consistency | 2017-12-19 21:40:48 -05:00 |  | 
			
				
					| 
							
							
								 azivner | e206269457 | got rid of request context and related refactorings | 2017-12-16 21:23:35 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 03d86209ca | changed order of syncs to maybe improve racing problems | 2017-12-16 12:30:37 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 0c0e95b91e | fix pulling changes | 2017-12-16 12:21:56 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 5b08dfefd3 | db anonymization implementation | 2017-12-16 00:05:37 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 0fbb3f08e5 | extra sync consistency check for extra sync rows | 2017-12-15 22:16:28 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 3132daa466 | better logging of sync | 2017-12-15 21:49:46 -05:00 |  | 
			
				
					| 
							
							
								 azivner | df69dbb2e1 | if note doesn't exist we don't try to activate it | 2017-12-15 21:36:21 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 6edaf0ed00 | split hash checks per table with recent notes not reported into frontend as error | 2017-12-15 21:14:10 -05:00 |  | 
			
				
					| 
							
							
								 azivner | b0cbe91784 | implementation of forcing full (re)sync | 2017-12-13 23:03:48 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 643069e8d6 | sync check failure is now shown as error message in frontend | 2017-12-12 23:47:17 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 64e8777ed5 | small clarification of the sync logs | 2017-12-12 23:39:02 -05:00 |  | 
			
				
					| 
							
							
								 azivner | f68ffe1581 | fixes for dates in sync | 2017-12-10 15:45:17 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 021f02bd8c | converted all timestamps to string representation | 2017-12-10 12:56:59 -05:00 |  | 
			
				
					| 
							
							
								 azivner | bbd1774815 | fix migration in electron build | 2017-12-06 20:58:59 -05:00 |  | 
			
				
					| 
							
							
								 azivner | a0bbd8c853 | throwException instead of throwing exceptions manually (includes stacktrace) | 2017-12-06 19:53:23 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 6546548848 | implemented initial setup of the app | 2017-12-03 22:29:23 -05:00 |  | 
			
				
					| 
							
							
								 azivner | a3f57622ff | distinguishing between when DB is just connected and when it's ready for queries (validated) | 2017-12-03 19:18:33 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 15faefe8a3 | recent notes are now keyed by note tree id which simplifies things | 2017-12-03 10:06:53 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 02e5d20d44 | https support (with custom ca) for sync | 2017-12-01 20:39:48 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 3386cd790e | cleaned up images and links which are not used nor supported | 2017-11-29 20:47:01 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 54c0ff15b3 | using server.method() instead of direct call to $.ajax - preparation for electron without network requests | 2017-11-28 20:52:38 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 3d84f5c3b0 | synchronization of transactions using promise so only one can be active | 2017-11-28 17:24:08 -05:00 |  | 
			
				
					| 
							
							
								 azivner | fd764f6163 | separate DB connection for each transaction (just for the record, will be reverted probably) | 2017-11-28 17:04:47 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 1a36daa088 | sync fixes | 2017-11-23 23:54:54 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 5cec7a497b | fix pulling recent notes by note path (which contains '/' so needs to be escaped) | 2017-11-21 22:18:37 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 79a803ccc9 | added content hash check | 2017-11-21 22:11:27 -05:00 |  | 
			
				
					| 
							
							
								 azivner | a3030f845b | unified SQL syntax to uppercase | 2017-11-20 23:51:28 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 00151beded | fixed recent notes | 2017-11-19 12:06:48 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 9a819cafed | sync changes for note_tree_id and fixed recent notes | 2017-11-18 17:17:46 -05:00 |  | 
			
				
					| 
							
							
								 azivner | e53926738c | sync fixes | 2017-11-16 22:18:25 -05:00 |  | 
			
				
					| 
							
							
								 azivner | b2d1ca1c28 | we now remember past source ids so app restart won't change anything in sync operation | 2017-11-16 21:50:00 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 9e7fcdfe15 | experimental implementation of sync toggle | 2017-11-16 20:08:04 -05:00 |  | 
			
				
					| 
							
							
								 azivner | ff411f00b1 | server side WIP - saving encrypted note now works, changing terminology of "encrypted note" to "protected note" | 2017-11-14 21:54:12 -05:00 |  | 
			
				
					| 
							
							
								 azivner | c18799b938 | Merge branch 'stable' | 2017-11-13 23:42:23 -05:00 |  | 
			
				
					| 
							
							
								 azivner | f9056c6754 | proxy support | 2017-11-13 19:45:13 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 8f1eedfe0d | refactoring of password change and preparations for server side encryption | 2017-11-09 23:25:23 -05:00 |  | 
			
				
					| 
							
							
								 azivner | a3b2e705ce | refactoring of sync code | 2017-11-09 20:52:47 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 5d5ea6a5c2 | configurable sync timeout | 2017-11-09 20:06:33 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 1c501beea9 | sync debugging tweaks etc. | 2017-11-05 21:56:42 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 2a9a8da045 | sync fixes | 2017-11-05 20:37:25 -05:00 |  | 
			
				
					| 
							
							
								 azivner | b890c9982b | some tweaks mainly for electron support | 2017-11-05 17:58:55 -05:00 |  | 
			
				
					| 
							
							
								 azivner | 0481b1b79c | more granular detection of changes which forces less disruptive realoding. Refactoring of audit functions | 2017-11-05 10:41:54 -05:00 |  | 
			
				
					| 
							
							
								 azivner | ae23f2ea84 | added sync for recent notes | 2017-11-05 00:16:02 -04:00 |  | 
			
				
					| 
							
							
								 azivner | 900f169dab | tree changes as a module | 2017-11-04 22:10:41 -04:00 |  | 
			
				
					| 
							
							
								 azivner | 68c2edea45 | better reporting of sync error when "sync now" | 2017-11-04 21:21:09 -04:00 |  |