Commit graph

156 commits

Author SHA1 Message Date
azivner
31b4186e17 optional cleanup of unused images 2018-01-07 14:07:59 -05:00
azivner
8bc2a21d80 auth exception for images in electron 2018-01-07 09:59:05 -05:00
azivner
743d72a0c3 added express-promise-wrap to catch and respond to unhandled exceptions immediately, previously the requests just hanged 2018-01-07 09:35:44 -05:00
azivner
20b1357be6 gif support 2018-01-07 09:22:55 -05:00
azivner
d9f2bb37e7 PNG alpha channel is converted to white instead of default ugly black 2018-01-07 08:26:42 -05:00
azivner
97c1b3061f correct detection of optimized image format 2018-01-07 08:24:04 -05:00
azivner
c0e45a73a8 relation between notes and images 2018-01-06 21:49:02 -05:00
azivner
784cd62df1 image sync 2018-01-06 15:56:00 -05:00
azivner
91cf090820 compressing PNGs with pngquant 2018-01-06 13:53:02 -05:00
azivner
d9f29cbf27 resizing and optimizing jpeg images with mozjpeg 2018-01-06 12:38:25 -05:00
azivner
23a5e38e02 added basic support for uploading and serving files 2018-01-05 23:54:02 -05:00
azivner
663bd1a8fe added sync mutex for consistency checks and backup 2018-01-04 21:37:36 -05:00
azivner
b6d617aefa returned missing requires 2018-01-03 22:43:01 -05:00
azivner
7921850186 added missing map file and unminified context menu js file 2018-01-03 22:36:27 -05:00
azivner
07c33979c3 consistent checking of is_deleted, some small refactorings 2018-01-03 22:13:02 -05:00
azivner
548ecd4171 removed unique index again - from now on the invariant is that there's unique undeleted relationship between note and parent note 2018-01-03 21:29:13 -05:00
azivner
664a87cdd5 checks against moving note to where it already exists 2018-01-02 19:56:45 -05:00
azivner
ad7fa5e096 better conflict detection 2018-01-01 22:28:19 -05:00
azivner
99b163a042 fix for forced note sync 2017-12-30 21:55:44 -05:00
azivner
fdcc833f6d added force note sync functionality to context menu 2017-12-30 21:44:26 -05:00
azivner
0d3b3ec7c5 alt+s toggles search instead of just showing it 2017-12-26 19:16:04 -05:00
azivner
0dc142ff06 fix cloning already existing (deleted) node 2017-12-23 23:31:17 -05:00
azivner
79a4a6eb01 fixes for DB initalization and import of demo data 2017-12-23 13:55:13 -05:00
azivner
cf8334607e added demo document SQL scripts 2017-12-23 13:16:18 -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
c07c18f08a auth changes 2017-12-23 09:57:20 -05:00
azivner
215c3a414f cleanup of soft deleted items
vacuuming database
consolidation of "advanced" operations in settings
2017-12-23 09:35:00 -05:00
azivner
eba00e6ff8 target note is expanded after cloning into it
CTRL-V pastes into instead of after
showing messages about clipboard operations
2017-12-23 08:24:03 -05:00
azivner
84faa41321 added cloning to the "add link" dialog 2017-12-21 21:54:25 -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
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
f5e87db988 making sure that recent notes don't try to display deleted notes 2017-12-18 22:37:31 -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
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
5b08dfefd3 db anonymization implementation 2017-12-16 00:05:37 -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
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
b0cbe91784 implementation of forcing full (re)sync 2017-12-13 23:03:48 -05:00
azivner
e6686c4b32 not deleting recent notes because it causes sync hash failures (cleanup is not triggered if server isn't used) 2017-12-13 20:52:33 -05:00
azivner
d025b2b3fb using space-around instead of space-evenly for tree actions because that one is supported in Chrome 59 used in electron 2017-12-10 21:46:12 -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
6fad30e9af renamed start_note_tree_id option to startNotePath 2017-12-06 23:15:53 -05:00
azivner
6546548848 implemented initial setup of the app 2017-12-03 22:29:23 -05:00
azivner
3a26054619 fixes to recent changes 2017-12-03 17:46:56 -05:00
azivner
15faefe8a3 recent notes are now keyed by note tree id which simplifies things 2017-12-03 10:06:53 -05:00