244 Commits

Author SHA1 Message Date
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
4a3169dfdd reset radio to "html" type link when displaying dialog again 2017-12-21 23:13:28 -05:00
azivner
84faa41321 added cloning to the "add link" dialog 2017-12-21 21:54:25 -05:00
azivner
57c4465a37 remove all other foreign keys from synced entities 2017-12-20 22:43:24 -05:00
azivner
111d92bd81 remove also second foreign key from notes_tree 2017-12-20 22:39:18 -05:00
azivner
9ca7223aea removed foreign key from notes_tree parent_note_id because of sync issues 2017-12-20 22:30:17 -05:00
azivner
333735543e yet another attempt at fixing reporting sync changes to client 2017-12-19 23:22:21 -05:00
azivner
f54d855f55 sql console now shows error message if any SQL error ocurred 2017-12-19 22:33:44 -05:00
azivner
2df81c3a83 forgot to enable the constraints immediatelly after connecting 2017-12-19 22:24:41 -05:00
azivner
5403f340ec functionality to fill up / cleanup sync rows compared to the entity rows 2017-12-19 22:04:51 -05:00
azivner
72712bc24b added foreign keys to relations to guarantee data consistency 2017-12-19 21:40:48 -05:00
azivner
eddb3ed58a hook on hash change which allows us navigation with alt-left, alt-right 2017-12-19 19:31:02 -05:00
azivner
0d6ccd7f61 change in default keyboard shortcuts 2017-12-18 23:41:13 -05:00
azivner
1ebf9d4e56 better sync implementation of ping job 2017-12-18 21:58:46 -05:00
azivner
1b900bb907 fix sync of date_modified in notes_tree which caused failed hash check 2017-12-18 20:58:13 -05:00
azivner
f96e38fd13 fix tooltip 2017-12-17 17:37:19 -05:00
azivner
cf7ab2b8d6 fix for non-sync WS messages 2017-12-17 13:46:18 -05:00
azivner
e206269457 got rid of request context and related refactorings 2017-12-16 21:23:35 -05:00
azivner
50ff5da947 per-browser source id so we support having notecase opened in multiple tabs/windows 2017-12-16 20:48:34 -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
206a6dd6e7 set last synced push to avoid full sync after DB upgrade 2017-12-14 23:38:03 -05:00
azivner
6e783f4686 success log message if all consistency checks pass 2017-12-14 23:30:38 -05:00
azivner
612c7d9144 more cleanups 2017-12-14 23:28:50 -05:00
azivner
92992a3e2a cleanup inconsistencies from prod DB. Show error message on frontend in case of inconsistencies 2017-12-14 23:21:03 -05:00
azivner
2e11494cac filling up missing sync rows 2017-12-14 22:47:55 -05:00
azivner
d1329de760 implemented consistency checks 2017-12-14 22:16:26 -05:00
azivner
581f406a24 sql console implementation 2017-12-14 20:38:56 -05:00
azivner
45fba6d7f8 save sync records even if sync isn't configured, but don't put them as outstanding pushes (should be still available for pulls) 2017-12-14 07:57:31 -05:00
azivner
55bf903623 fix storing date_modified for note 2017-12-13 23:27:02 -05:00
azivner
b0cbe91784 implementation of forcing full (re)sync 2017-12-13 23:03:48 -05:00
azivner
17c90262c2 create sync records only if sync is configured. This will prevent sync conflicts after document fork. 2017-12-13 20:34:21 -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
f71d71104a set db as ready only if migration fully succeeded 2017-12-12 23:35:41 -05:00
azivner
c24d9a0afa added search for electron + sourcemap for jquery 2017-12-12 21:40:55 -05:00
azivner
f68ffe1581 fixes for dates in sync 2017-12-10 15:45:17 -05:00
azivner
cba457bd61 using ISO8601 format instead of custom 2017-12-10 15:31:43 -05:00
azivner
021f02bd8c converted all timestamps to string representation 2017-12-10 12:56:59 -05:00
azivner
e3b708c322 expanding server request timeout for long tree requests 2017-12-10 00:02:13 -05:00
azivner
f55f0a4ed3 make sure entity IDs are generated only with alphanumeric characters (base62) 2017-12-09 20:44:06 -05:00
azivner
d2a5921489 add links in ckeditor 2017-12-09 14:11:35 -05:00
azivner
4187ff36fb generating all IDs with secure method (important now since it's used as salt for encryption) 2017-12-07 22:57:39 -05:00
azivner
b81f1ed93a fix saving history for encrypted notes 2017-12-06 23:39:43 -05:00
azivner
6fad30e9af renamed start_note_tree_id option to startNotePath 2017-12-06 23:15:53 -05:00