Commit graph

156 commits

Author SHA1 Message Date
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
azivner f1256423ac fix handling of note history - when saving note history we save previous state, not current 2017-12-06 22:31:28 -05:00
azivner 4f47c4d6e9 better fix for migration in electron + electron upgrade to 1.8.2 beta 3 2017-12-06 21:15:46 -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 a7831ebfcd log data dir location 2017-12-06 19:42:23 -05:00
azivner 3789ead2da creating new starting page when creating database 2017-12-04 00:17:08 -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 119d085856 export subtree to filesystem 2017-12-02 21:48:22 -05:00
azivner cba9d8b5c1 logging JS errors to backend logs 2017-12-01 22:28:22 -05:00
azivner 02e5d20d44 https support (with custom ca) for sync 2017-12-01 20:39:48 -05:00
azivner ff3f14c3e2 websocket requires logged in session in upgrade request 2017-11-30 23:50:42 -05:00
azivner 5f3a11af47 even though trilium APIs are still exposed in electron, they require login if not called directly from electron 2017-11-30 23:29:21 -05:00
azivner 81719f84a0 not creating note history immediatelly after creating a note since it's empty at that point which is useless 2017-11-30 22:49:40 -05:00
azivner 471821ebe5 separated electron routing into separate file 2017-11-30 20:51:35 -05:00
azivner 7bdf269095 migration now works also in electron 2017-11-30 19:58:00 -05:00
azivner d0a0366b05 more complete support for network-less electron frontend-backend communication including protected session 2017-11-29 23:30:35 -05:00
azivner e6629b2c93 cosmetic sync related changes 2017-11-29 21:04:30 -05:00
azivner 6d603eda86 drop links and images tables 2017-11-29 20:48:58 -05:00
azivner 3386cd790e cleaned up images and links which are not used nor supported 2017-11-29 20:47:01 -05:00
azivner d019d0a690 Merge branch 'master' into stable 2017-11-29 20:30:56 -05:00
azivner e47027cbef recent notes are kept only for one day 2017-11-29 20:30:47 -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 cd90200272 fixed sync 2017-11-28 18:33:23 -05:00
azivner 91c2f9e7cb websocket stuff separated into messaging.js 2017-11-28 17:52:47 -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 b809971fd1 using dotted underlining for cloned notes because dashed looks ugly in chrome 2017-11-27 18:16:42 -05:00
azivner 1231e02449 show 0 changes to sync for instances without configured sync 2017-11-26 23:16:47 -05:00
azivner 8b5988e13c sync fix to prefix and some usability improvements 2017-11-26 23:10:23 -05:00
azivner 160c1c455c initial implementation of tree prefix 2017-11-26 22:34:25 -05:00
azivner cb31e0acf2 broadcast messages to all clients, send also number of outstanding syncs 2017-11-25 18:31:38 -05:00
azivner 992238f0b3 websocket reimplementation of status requests 2017-11-25 17:43:05 -05:00
azivner f433b30089 removed audit_log 2017-11-24 20:51:44 -05:00
azivner 1a36daa088 sync fixes 2017-11-23 23:54:54 -05:00
azivner acba72ec4c cloning in context menu (copy & paste) and a lot of related refactoring and fixes 2017-11-22 23:16:54 -05:00
azivner c1fca4764b fixed password change (broken since migration to CBC encryption) 2017-11-22 20:57:06 -05:00