Commit graph

906 commits

Author SHA1 Message Date
j
87be2e8aca fast shutdown if ids are still synced 2016-02-24 12:24:36 +05:30
j
dc7ff544a7 fix download state 2016-02-24 12:22:36 +05:30
j
7d27c4f3a1 honor bandwidth limit while sending previews 2016-02-24 10:58:33 +05:30
j
5a5b5baf7b compress txt files 2016-02-24 10:56:32 +05:30
j
28bbad1586 remove unused code 2016-02-23 23:34:39 +05:30
j
fae4458e8b dont log websocket events 2016-02-23 23:30:56 +05:30
j
e531419364 avoid concurrent key removal error 2016-02-23 20:51:26 +05:30
j
b50821ba85 more windows path fixes 2016-02-23 17:45:03 +05:30
j
a37a63d8da windows fixes 2016-02-23 17:27:15 +05:30
j
3a419b12c2 log less 2016-02-23 14:37:06 +05:30
j
edcd933f2b send diagnostics 2016-02-23 13:47:10 +05:30
j
695deb0947 log js errors 2016-02-23 13:45:37 +05:30
j
0e44e319c4 use tor from platform package 2016-02-23 12:35:52 +05:30
j
314bb863eb dont reuse same variable in loop 2016-02-23 09:43:33 +05:30
j
fba3f46787 exclude build/dist 2016-02-22 20:33:22 +05:30
j
f7bb58c3bc include win32 platform 2016-02-22 20:24:58 +05:30
j
5073fc1c52 add new operator &: {key: 'id', operator: '&', value: ['a', 'b'] 2016-02-22 19:54:15 +05:30
j
c0ce0a556a get_latest_release might fail if network is down 2016-02-22 19:52:55 +05:30
j
ed8e71e5c6 dont always return sharemetadata key 2016-02-22 19:52:18 +05:30
j
ba28d78280 make sure list names are unique per user 2016-02-22 19:17:27 +05:30
j
4571d5b636 dont fail if list does not exist 2016-02-22 18:57:15 +05:30
j
649b0553b4 update to sqlalchemy 1 2016-02-22 18:00:55 +05:30
j
0c0d87cadb fix except order 2016-02-21 00:29:52 +05:30
j
408ab2432f only print urlerror reason not traceback 2016-02-20 20:24:23 +05:30
j
cf3762dd7f remove id migration and directory lookup 2016-02-20 20:24:23 +05:30
j
9f396acd48 dont extract text if extract_text is false 2016-02-20 20:24:23 +05:30
j
e90e6c57a4 no error if network is down 2016-02-18 20:38:00 +05:30
j
a9d33dd2d8 fix cbz import 2016-02-18 20:35:54 +05:30
j
84259fb0c4 avoid rewriting cover cache if one resize fails 2016-02-18 19:23:49 +05:30
j
0f1cd9662d dont open to many sessions 2016-02-18 19:22:53 +05:30
j
56d72cb887 logging 2016-02-18 19:21:46 +05:30
j
7cd5befb8a dont overwrite key 2016-02-18 17:10:54 +05:30
j
fcb069c7de no traceback for proxy error 2016-02-18 17:08:41 +05:30
j
22099d4b9a mediastate can be undefined 2016-02-18 13:45:13 +05:30
j
030563c933 downloads can be accessed from tasks, start it earlier 2016-02-18 12:15:15 +05:30
j
9dda2f7303 dict might change, pull into list 2016-02-18 12:03:14 +05:30
j
563c2af2c3 better cache cleanup 2016-02-15 19:43:40 +05:30
j
045eb91be3 remove transfers table 2016-02-15 17:02:18 +05:30
j
acaeb203a1 commit after adding 2016-02-15 16:59:58 +05:30
j
a96b55e006 dont take pdf metadata if title starts with Microsoft Word 2016-02-14 20:26:30 +05:30
j
bb337a0a5d ignore empty authors 2016-02-14 17:47:52 +05:30
j
9e7b8445eb ignore just removed downloads 2016-02-14 16:11:18 +05:30
j
4cabfd0476 fix lookup by id 2016-02-14 16:05:35 +05:30
j
80f2d02dcc clear cache after removing files 2016-02-14 14:43:50 +05:30
j
59765b074e remove duplicate folder scanning code 2016-02-14 14:25:54 +05:30
j
2959f44e24 fix add missing 2016-02-14 14:02:07 +05:30
j
0689563c4d downloads might be gone in shutdown 2016-02-14 13:07:27 +05:30
j
f7d96747c0 scanimport priority 2016-02-14 13:03:15 +05:30
j
446d143d67 fix local node detection 2016-02-14 11:24:17 +05:30
j
9468d90714 more pings 2016-02-14 11:23:55 +05:30
j
d602191557 files might need moving after metadata change 2016-02-13 17:20:09 +05:30
j
2dbe65721c faster startup check 2016-02-13 17:10:37 +05:30
j
01a3d9d38f migrate listorder too 2016-02-13 16:14:19 +05:30
j
209ebeaab8 make extension lower case 2016-02-13 15:58:06 +05:30
j
44515eb031 refine logging 2016-02-13 15:38:56 +05:30
j
0c5edb38ef ignore isbn 1-111-11111-1 2016-02-13 15:01:16 +05:30
j
057c44df08 trigger peer status after going online 2016-02-13 14:57:55 +05:30
j
c842c3ae90 don't use notin_ with all items 2016-02-12 23:12:19 +05:30
j
37046903e0 tuple... 2016-02-12 22:50:42 +05:30
j
3b8787d15f typo 2016-02-12 22:48:55 +05:30
j
6ddbb04acf tupples all the way down 2016-02-12 22:42:11 +05:30
j
346bff0514 typo 2016-02-12 22:38:31 +05:30
j
518bb9a361 check tasks 2016-02-12 22:33:39 +05:30
j
f68f5f5669 try not to close sqlitedict more than once 2016-02-12 19:04:13 +05:30
j
a30c66c1a7 typo 2016-02-12 18:57:55 +05:30
j
54f5ba33e1 fedora 23 fails to write utf-8 errors otherwise 2016-02-12 18:37:21 +05:30
j
ca03f71659 fix transfer migration 2016-02-12 18:23:02 +05:30
j
6ce76dfa9c remove peers outside of horizon 2016-02-12 18:05:50 +05:30
j
051db29cb0 only traceback for unknown errors 2016-02-12 14:30:59 +05:30
j
55a858c410 use shallow checkouts by default 2016-02-12 13:58:50 +05:30
j
ed02b1772d faster list query 2016-02-11 23:53:32 +05:30
j
a71dab1c91 faster remove 2016-02-11 23:25:46 +05:30
j
83ceb5b63f only add items to list once they are available 2016-02-11 22:52:39 +05:30
j
10e651067c remove unknown ids from lists 2016-02-11 22:22:52 +05:30
j
b12e61c5b4 use peer.library for lists 2016-02-11 21:58:46 +05:30
j
9d7a553b95 move transfers into sqlitedict 2016-02-11 21:25:41 +05:30
j
9a9185d3d5 use peer.library in some places 2016-02-11 21:25:16 +05:30
j
647afcf2ab fix loading tasks 2016-02-11 21:24:32 +05:30
j
146e64e2ae dont print tasks by default 2016-02-11 19:59:51 +05:30
j
8a571a10a5 implement priority queue 2016-02-11 19:56:12 +05:30
j
0ca89db3cd user per peer library (sqlitedict) 2016-02-11 19:55:56 +05:30
j
cb382287f5 dont return full ui in setUI 2016-02-11 11:54:43 +05:30
j
d4e3ba407f pass commit to add_file 2016-02-11 11:54:43 +05:30
j
acd64d3186 save queued task on shutdown, add getcover task 2016-02-11 11:54:43 +05:30
j
813e3b591b faster update_find 2016-02-11 11:54:43 +05:30
j
ea9de0f311 fix inital peering 2016-02-10 19:32:55 +05:30
j
3cde05b9ba make commit optional 2016-02-10 19:32:54 +05:30
j
c82efdaff1 pull changes in peer sort order, fixes #228 2016-02-08 14:33:21 +05:30
j
4549a4be4e epubs can be invalid 2016-02-07 20:00:04 +05:30
j
836ff68f4c fix utc_0 2016-02-07 19:23:22 +05:30
j
8070b3b8a9 send shutdown signal to tor 2016-02-07 19:22:56 +05:30
j
2bad1b30d2 dont use print 2016-02-07 18:24:07 +05:30
j
9747f27d31 run pdftotext only once 2016-02-07 17:11:00 +05:30
j
d799e690b5 local peers should always be online 2016-02-07 13:55:12 +05:30
j
828705923c ignore asin 2016-02-07 13:54:38 +05:30
j
ca62bd051f split platform 2016-02-06 16:07:08 +05:30
j
e96847a3f4 only download cover if online 2016-02-05 18:17:35 +05:30
j
66d6f475b2 stop applying changes on shutdown 2016-02-04 18:42:37 +05:30
j
46ee94813f peer is offline if download fails 2016-02-04 18:37:19 +05:30
j
8c5f21c83d strip html tags from book metadata 2016-02-04 15:25:27 +05:30
j
b8fc91142a better author names 2016-02-03 14:45:09 +05:30
j
404842f849 use old google api 2016-02-03 01:00:40 +05:30
j
1412cb4e39 log move/remove errors during update 2016-02-01 16:46:35 +05:30
j
de875a6cb4 start tor in tor folder 2016-02-01 16:39:54 +05:30
j
31e05d0b5c set oxCACHE path on win32 2016-02-01 16:39:35 +05:30
j
ac38f928b4 import error 2016-02-01 13:36:48 +05:30
j
ed70856172 fix download 2016-02-01 13:32:59 +05:30
j
d32e1527a8 fix windows restart 2016-02-01 13:15:34 +05:30
j
d0c19737f9 win32 path 2016-02-01 12:30:39 +05:30
j
65f02fdd13 pass geoip path if found 2016-02-01 12:14:31 +05:30
j
e58f5b1e95 avoid console popup 2016-02-01 01:02:02 +05:30
j
0e3794e6a3 hide window, open file not folder 2016-02-01 00:49:25 +05:30
j
e0ba5ec2b2 set LD_LIBRARY_PATH for tor 2016-02-01 00:03:53 +05:30
j
24d4c4dc70 pdftotext also need short names 2016-01-31 23:01:52 +05:30
j
5dead44107 windows pathnames 2016-01-31 22:58:53 +05:30
j
5f1325c7aa cleaner api shutdown 2016-01-31 22:16:28 +05:30
j
567952d91d use one variable to track app shutdown state 2016-01-31 22:15:59 +05:30
j
0cc3a4523e trigger status for all peers on ws connect 2016-01-31 22:14:00 +05:30
j
fe9e2c65bc Work around pyopenssl exception to shutdown (win32) 2016-01-31 18:59:17 +05:30
j
7380c9aab7 dont cloes_fds if stdout/stderr is piped 2016-01-31 18:55:12 +05:30
j
591374d6d1 no postupdate for new versions, dont stop daemon in install 2016-01-31 18:54:37 +05:30
j
b7d784a0f8 open file/folder windows 2016-01-31 18:53:11 +05:30
j
a0b16fc841 faster shutdown 2016-01-31 18:52:45 +05:30
j
c844aae72e support platform specific modules 2016-01-31 15:08:16 +05:30
j
ea7e01ec3d set sitedir for win32 2016-01-31 14:09:21 +05:30
j
a55773f4d5 tor versions can be N.N and N.N.N, install expert bundle on win32 2016-01-31 14:07:14 +05:30
j
5bbb5849cb don't call external build script for own js files 2016-01-31 12:58:15 +05:30
j
a3f6e3da3a only run ip on linux 2016-01-31 12:17:03 +05:30
j
3c58e95948 one / to much 2016-01-31 12:16:53 +05:30
j
c00c6755d8 typo 2016-01-30 11:44:02 +05:30
j
142f3bcc6e peer pending clients on pullChanges 2016-01-30 11:40:55 +05:30
j
aac0a069d2 increase db timeout 2016-01-29 22:21:13 +05:30
j
95af9f4f4a pdf with html description 2016-01-29 22:17:39 +05:30
j
5d92e0b397 various authors 2016-01-29 22:05:59 +05:30
j
36fc6e7e73 pages can also end with xml 2016-01-28 17:53:50 +05:30
j
8a92429587 check for cancel before overwriting activity 2016-01-28 17:18:01 +05:30
j
27943bf1a5 avoid loop in get_sort_name 2016-01-27 15:09:10 +05:30
j
62c0c9337f slightly faster filter update 2016-01-27 14:25:36 +05:30
j
e27e429fd6 trigger fs scan after changing path, move folder if new path does not exist, fixes #214 2016-01-27 11:58:11 +05:30
j
2e04379838 no node status during update 2016-01-26 11:28:41 +05:30
j
47942e204c basic sort title api 2016-01-25 23:03:37 +05:30
j
7e40c2667b fix nodes shutdown 2016-01-25 23:02:47 +05:30
j
afbb4e638f only update name if name changes 2016-01-25 23:02:27 +05:30
j
2b3edd40dc faster filters 2016-01-25 23:02:04 +05:30
j
27908619ef end current import task 2016-01-25 17:16:19 +05:30
j
b5be527aca optionally send api key 2016-01-25 16:38:57 +05:30
j
c03f72b47c dont fail parsing parts of the pdf 2016-01-25 15:51:54 +05:30
j
ceffe456db fix import state before import started 2016-01-25 12:18:42 +05:30
j
26f2a40601 logging format 2016-01-25 12:18:42 +05:30
j
ea40e64b9c restart tor daemon if its no longer running 2016-01-24 18:01:42 +05:30
j
ac3dd595cf only one scanimport 2016-01-24 16:04:29 +05:30
j
cfb6913ef6 dont fail on resize 2016-01-24 16:04:18 +05:30
j
35c0c02d16 log format 2016-01-24 15:35:43 +05:30
j
d70bd8797a s/exc_info=1/exc_info=True/g 2016-01-24 14:43:03 +05:30
j
6b70fa36c7 catch more errors in debug log 2016-01-24 14:41:40 +05:30
j
adf2eef34a fix resync 2016-01-24 13:52:18 +05:30
j
3845189b4c call migrate_8 2016-01-24 13:29:18 +05:30
j
5c5c8ac39b get preview in tasks 2016-01-24 13:14:43 +05:30
j
168b293514 fix sync_metadata peer sort 2016-01-24 13:13:32 +05:30
j
4d9d54ad8f remove record_ts 2016-01-24 12:25:04 +05:30
j
139f7aee67 unused imports 2016-01-24 12:18:03 +05:30
j
fd922cc83c faster changelog rebuild 2016-01-24 12:05:58 +05:30
j
4691279b3d missing import 2016-01-24 12:05:29 +05:30
j
ff5917ade0 rebuild changelog and redownload from peers. 2016-01-23 22:19:34 +05:30
j
5bb1d4c162 futher google api tuning 2016-01-23 18:56:36 +05:30
j
f008f3d200 disable PIL debug logging 2016-01-23 18:56:13 +05:30
j
ea7826d398 don't pull changes while import is running 2016-01-23 18:36:16 +05:30
j
cded8b586a more logging, reset cancel imort 2016-01-23 18:07:25 +05:30
j
216fd0c232 rate limit google requests 2016-01-23 18:06:40 +05:30
j
609ff07214 dont use like query to remove resize cache 2016-01-23 17:47:33 +05:30
j
b2f5005598 make ./ctl update more verbose 2016-01-22 17:57:02 +05:30
j
d5b9697c44 better cache key 2016-01-22 13:54:58 +05:30
j
b31e73c740 only create list if it does not exist 2016-01-22 12:39:06 +05:30
j
ab959a4728 reset sharemetadata on removing file 2016-01-22 11:17:32 +05:30
j
f8651c123f local import 2016-01-21 22:01:20 +05:30
j
a95277e0ba fix Metadata.edit 2016-01-21 21:40:10 +05:30
j
e8e2535913 indexes are created later now. no need to fail in postupdate 2016-01-21 21:32:02 +05:30
j
e9b6a51fff use api.addListItems instead of api.download, fixes #180 2016-01-21 12:45:38 +05:30
j
97fe8731b8 remove unused scrape table 2016-01-21 12:38:02 +05:30
j
5f8094bba3 try to get preview from peers, fixes #79 2016-01-21 12:35:49 +05:30
j
0ff3b9ee3c fix removing peer while pulling changes 2016-01-21 12:24:41 +05:30
j
6f4672d296 remove unused per isbn metadata table and related apis 2016-01-21 11:58:07 +05:30
j
8267fa8b39 add editpeer to changelog, record name/contact changes of peers 2016-01-21 11:44:01 +05:30
j
bae70fd829 export library.json into data, fixes #82 2016-01-20 13:22:00 +05:30
j
97ef26f7e7 fire progress -1 after current download is canceled, fixes #186 2016-01-20 13:05:44 +05:30
j
2548e2cd77 use os.sep 2016-01-20 12:49:19 +05:30
j
3df71b72b3 use one import folder to put files before moving them into place 2016-01-20 12:42:45 +05:30
j
86a9fafad2 dont fail in cancelDownloads, fixes #158 2016-01-20 12:23:18 +05:30
j
9e7dcf75a8 fix sort for empty strings, fixes #167 2016-01-20 12:16:46 +05:30
j
9fa06bbde7 use ephemeral_hidden_service if available 2016-01-20 11:15:11 +05:30
j
4d37ef2821 do not extract preview while updating cover 2016-01-19 21:45:32 +05:30
j
a5fd6a3d09 update cover if shared via metadata 2016-01-19 21:43:39 +05:30
j
f43fc6a172 add meta.extract_text 2016-01-19 21:34:32 +05:30
j
a91358d574 dont fail without mediastate 2016-01-19 17:42:45 +05:30
j
51c5c38477 reduce debug output 2016-01-19 16:50:24 +05:30
j
b2c3d9f47b always return true or false for sharemetadata 2016-01-19 16:49:30 +05:30
j
54b3982787 add sharemetadata to itemKeys. fix queries for boolean keys 2016-01-19 16:44:11 +05:30
j
cd63cca194 remove debug info 2016-01-19 16:44:11 +05:30
j
7a42473919 implement sharemetadata, fixes 165 2016-01-19 15:35:16 +05:30
j
8c5e39448b run lists if queries 2016-01-19 15:11:07 +05:30
j
e5995a6423 migrate old isbn arrays again, fixes #193 2016-01-19 11:43:57 +05:30
j
a2b55bc24e open file 2016-01-19 10:51:43 +05:30
j
906d48a04b reset added on remove 2016-01-19 10:51:27 +05:30
j
200c6df686 get pages from file if no longer in item.info 2016-01-19 09:48:33 +05:30
j
9f3374a7dc implement bandwidth throttling, fixes #189 2016-01-18 21:15:59 +05:30
j
defbbf290f remove unused code 2016-01-18 19:40:06 +05:30
j
14b2c99ab3 sign release with OpenSSL.crypto.sign (last remaining use of ed25519) 2016-01-18 19:36:21 +05:30
j
5a920ca053 close gtk menuitem if pid is gone 2016-01-18 17:47:36 +05:30
j
75fd720b19 import books from import folder, fixes #136 2016-01-18 17:32:42 +05:30
j
171834bd12 use secondary sort in filters, fixes #21 2016-01-18 16:22:38 +05:30
j
a4de5127dc migrate TorData path 2016-01-18 13:02:11 +05:30
j
52bc986260 cancel active download and reset state if downloading again, fixes #187 2016-01-18 12:30:54 +05:30
j
b05618f50a move config to data folder, fixes #171 2016-01-18 12:09:39 +05:30
j
0e87b10079 cleanup 2016-01-18 12:09:39 +05:30
j
9c1c653582 log remote id if versions do not match, allow file:// to access websocket 2016-01-17 20:30:19 +05:30
j
954491759e accept peering requests based on prefs 2016-01-17 18:43:52 +05:30
j
1266fb9133 trigger transfer progress -1 if download is canceled 2016-01-17 17:01:47 +05:30
j
9ceb1c80f4 remove debug 2016-01-17 16:36:13 +05:30
j
0a4689387b fix group cache 2016-01-17 16:32:17 +05:30
j
2c57b043cd implement api.resetUI, fixes #176 2016-01-17 15:40:10 +05:30
j
7e2d6728aa migrate data before adding unique index 2016-01-17 14:45:15 +05:30
rlx
f57f9b1fcd fix json indentation 2016-01-17 14:30:11 +05:30
j
0faea277d1 better get_table_columns 2016-01-17 14:01:06 +05:30
j
b00647e3f3 fix drop column 2016-01-17 14:01:06 +05:30
j
6b25845660 dont print warning while tor is installed 2016-01-17 12:34:43 +05:30
j
021c418622 use local tor if no registed version can be found 2016-01-17 12:28:55 +05:30
j
9fcd9491ac more linux install 2016-01-17 12:14:08 +05:30
j
78c62d813e update database on startup 2016-01-17 11:59:06 +05:30
j
69710090e0 sync sort table to config 2016-01-16 21:27:48 +05:30
rlx
d7975a870b update strings 2016-01-16 20:14:09 +05:30
j
ad45b32fdc also alwyas allow cancelPeering 2016-01-16 18:51:32 +05:30
j
cfbc90b50b send contact message 2016-01-16 18:41:55 +05:30
j
f1ba3fbd34 dont create old userid 2016-01-16 18:41:55 +05:30
j
59894b0df7 clear cover/preview cache on delete 2016-01-16 16:27:52 +05:30
j
591fa089ce more sort fixes. []->None 2016-01-16 15:19:25 +05:30
j
6838a2f0f2 fix return value for cancelDownloads, fixes #114 2016-01-16 12:33:58 +05:30
j
6692e9f3a8 remove .DS_Store if its the only file left 2016-01-16 12:14:54 +05:30
j
b21d216d8c keep pages from file 2016-01-16 11:28:12 +05:30
j
d876768771 empty lists are None not '', fixes #102 2016-01-16 11:17:55 +05:30
j
b899768130 clear all cached sizes 2016-01-16 10:50:49 +05:30
j
280cb56b38 include – in search for isbns 2016-01-16 10:18:30 +05:30
j
08e9472d2a get size from zip 2016-01-16 09:19:22 +05:30
j
b66e76c01a install tor if needed, fixes #11 2016-01-15 18:34:07 +05:30
j
90b788e48b move after import 2016-01-15 14:02:13 +05:30
j
fa916d11b7 make sure folder exists 2016-01-15 13:58:42 +05:30
j
b961086475 add per list export_json 2016-01-15 13:30:48 +05:30
j
4528ab60c4 try not to break if file can not be parsed 2016-01-15 13:03:42 +05:30
j
3339c641c1 make preview available to peers 2016-01-15 12:58:01 +05:30
j
8e3d8b5f8e cleanup in progress apply_changes on peer removal 2016-01-14 19:06:07 +05:30
j
ec50a04097 cleanup 2016-01-14 18:39:56 +05:30