Commit graph

958 commits

Author SHA1 Message Date
j
56df24baad attempt to cleanup library 2019-01-12 23:11:33 +05:30
j
7a000bf199 join with timeout 2019-01-12 23:11:14 +05:30
j
07300f83f3 add lost items 2019-01-12 22:34:15 +05:30
j
0169f5bf57 use super 2019-01-12 22:34:02 +05:30
j
dcc5e859a5 style 2019-01-11 15:18:53 +05:30
j
cd18efa40d don't fail in debug 2019-01-10 21:52:49 +05:30
j
4539792cdc fix resolv loop 2019-01-01 01:44:33 +01:00
j
a73b93b6ec client might have disconnected just now 2019-01-01 00:20:25 +01:00
j
fd6bba5004 load truncated images 2019-01-01 00:19:55 +01:00
j
c27ddd4170 log peer id 2018-12-25 18:24:23 +01:00
j
3bddb36fcb fix loading 1024 bit keys in debian 2018-12-14 11:36:05 +01:00
j
ff7cee2be1 use ThreadPoolExecutor 2018-08-26 16:03:48 +02:00
j
ee586ee194 use gio open if available 2017-10-08 12:55:53 +02:00
j
216b880151 space 2017-08-31 19:46:14 +02:00
j
9145ef5df6 another fix for new installs 2017-08-19 18:32:09 +02:00
j
58f516ff46 typo 2017-08-19 18:19:59 +02:00
j
fa22ee34de fix init 2017-08-19 18:18:45 +02:00
j
6211253675 az fixes 2017-07-30 11:37:44 +02:00
j
b4f42256d8 don't overwrite first 2017-06-14 17:45:12 +02:00
j
ca3909abed add api debug flag 2017-06-14 13:08:22 +02:00
j
aae3407860 folder might not exist 2017-06-14 12:49:23 +02:00
j
9a6b212ec4 move all non ascii first letters into _ 2017-06-12 17:00:32 +02:00
j
643e2e587e some filesystems are case insensitive, always use case insensitive lookup 2017-06-12 16:49:08 +02:00
j
7ec42cab8d no newliens in path 2017-06-12 10:38:08 +02:00
j
d5ba41ac1e 255 is to long 2017-06-03 23:26:01 +02:00
j
e966256fa2 simple changelog 2017-06-03 22:50:14 +02:00
j
04f994d4b7 only remove one peer 2017-05-30 22:56:07 +02:00
j
66989a78e5 end is size-1 2017-05-30 21:03:14 +02:00
j
56477d2757 fix permissions 2017-05-30 21:02:58 +02:00
j
3ecd742bd8 PEP 8 2017-05-30 12:51:40 +02:00
j
f811d74b5e permissions 2017-05-11 02:11:48 +02:00
j
6ac693e705 new tar wants exclude before folder 2017-05-05 11:42:39 +02:00
j
6356e9acf2 only pass data to json.dumps/loads 2017-01-06 16:37:02 +01:00
j
6e06214104 remove unused util functions 2016-12-26 16:55:07 +01:00
j
3dd7569d1f exfat has issues with more stuff 2016-11-13 21:17:04 +02:00
j
78a8061c8c better linux launcher
- catch ctrl-c and shut down properly
- only run one instance
- support custom ports
2016-09-29 11:26:58 +02:00
j
cd3bbc3cb6 ping local nodes without beeing online 2016-09-29 10:35:47 +02:00
j
f66e0fbb15 remove unused code, only isbn lookup works 2016-07-17 13:07:25 +02:00
j
33e672c32b log url timeouts 2016-07-04 15:36:50 +05:30
j
6126b5dfa2 add arm platforms 2016-07-03 17:22:09 +05:30
j
805486e8fc use sqlalchemy.sql.expression.text 2016-07-03 17:21:51 +05:30
j
386284693d use _create_stdlib_context if _create_default_https_context does not exist 2016-06-24 14:32:20 +02:00
j
4fcad3bddf tor browser only exists for x86 2016-06-24 13:18:14 +02:00
j
4c34cbed3c add linux arm support: RaspberryPi(armv7l) and aarch64 2016-06-24 12:51:01 +02:00
j
abc0b82961 not in 2016-06-24 12:28:30 +02:00
j
18aebe76d3 windows autostart 2016-04-14 22:51:48 +02:00
j
0551a18cc9 autostart 2016-04-14 12:57:45 +02:00
j
720076d5d1 only publish static lists 2016-04-05 11:04:30 +02:00
j
876f511f45 trigger peering.accept if peering in requestPeering 2016-04-05 10:40:57 +02:00
j
0b2db6fd80 re-announce local node if username changes 2016-04-05 09:57:34 +02:00
j
9d1603cfb2 better logging 2016-04-05 01:39:31 +02:00
j
99777a78e7 pullRequest can take longer 2016-04-05 01:29:49 +02:00
j
6eff308468 better logging 2016-04-05 01:28:55 +02:00
j
c7ce20a3b9 dont fail with old downloads 2016-04-05 01:21:43 +02:00
j
f16ac0e3c1 nicer way to handle no peers 2016-04-05 00:43:15 +02:00
j
eb11424003 fix first user 2016-04-04 23:19:17 +02:00
j
55c1388e72 remove unused metaremote 2016-04-02 16:03:16 +02:00
j
a172e7b4b7 remove unused scrapers 2016-04-02 16:00:36 +02:00
j
47647a7b86 cleanup broken file db entries 2016-03-28 15:51:08 +02:00
j
dcdf864dd7 move can fail 2016-03-26 17:55:22 +01:00
j
8872141032 state.nodes might not exist 2016-03-26 17:55:12 +01:00
j
a1ea4943c5 start with -2 2016-03-26 17:26:19 +01:00
j
ad03b7ef2e broadcast mdns on each local interface with the matching local ip 2016-03-24 15:15:15 +01:00
j
6f5deada62 remove nesting 2016-03-23 20:15:26 +01:00
j
0401f76621 wait for Zeroconf to init before registering service 2016-03-23 19:48:15 +01:00
j
abfe0809fa create import folder 2016-03-23 19:47:21 +01:00
j
72002fc4a1 darwin still does not default to utf-8, set encoding 2016-03-23 14:42:16 +01:00
j
417195cfd1 use mdns for local peer discovery 2016-03-23 12:14:22 +01:00
j
bea7c57515 new users should be at end of list 2016-03-22 14:04:31 +01:00
j
e877371a0b avoid space titles 2016-03-18 18:35:41 +01:00
j
992dc568c2 give tor a bit more time 2016-03-18 11:29:18 +01:00
j
ebc0f28799 micro optimization 2016-03-17 16:03:03 +01:00
j
8c23d73bd3 avoid high cpu load for invalid range request 2016-03-17 15:44:06 +01:00
j
2ee8249cd5 remove unused code 2016-03-17 15:09:53 +01:00
j
a95960321a dont use tor for ip hosts 2016-03-14 14:25:51 +01:00
j
635e718708 username might be undefined 2016-03-13 18:45:08 +01:00
j
dc65b74389 pass timeout and increase 2016-03-01 20:31:38 +05:30
j
eb231baa62 slower download loop 2016-03-01 17:55:50 +05:30
j
771c8b205e don't create user in response 2016-03-01 17:08:58 +05:30
j
490acdbd23 dont download again 2016-03-01 17:07:45 +05:30
j
6ed6e6bb95 sort tasks only on first element 2016-02-29 18:20:56 +05:30
j
5ce8fa99de only send diagnostics if online 2016-02-27 15:50:10 +05:30
j
e86b9a210a fix cbz import 2016-02-27 13:02:32 +05:30
j
2199971ba5 dont add newline 2016-02-27 12:36:58 +05:30
j
0fb3d1a65a only send new debug data, send more often 2016-02-27 12:31:12 +05:30
j
0fbef43b71 only get required item keys 2016-02-27 12:03:06 +05:30
j
54f301ff71 cleanup sort/find table 2016-02-27 11:24:51 +05:30
j
be1c4085f2 save remaining syncmetadata tasks on shutdown 2016-02-27 10:19:45 +05:30
j
ec81b80d2e sharemetadata should never be '' 2016-02-26 18:36:00 +05:30
j
2345fc885d avoid extra condition containing all items 2016-02-26 18:06:45 +05:30
j
b9508b623a typo 2016-02-26 17:31:30 +05:30
j
75afa33a6e lock cache key during update 2016-02-26 17:14:56 +05:30
j
a026d42428 log cleanup 2016-02-26 11:24:31 +05:30
j
bdba52185c use text() for autocomplete 2016-02-26 11:21:16 +05:30
j
9fd2beb147 only go online if we can connect via tor 2016-02-25 17:13:22 +05:30
j
d7528f634f avoid extra lookup 2016-02-25 13:10:13 +05:30
j
1c2ef33353 info might be empty 2016-02-25 13:09:10 +05:30
j
988d030f92 cleanup download, download from local nodes if offline, cache per download users syndb only at startup 2016-02-25 12:50:00 +05:30
j
ba4f311fe1 pull changes while offline 2016-02-24 12:49:00 +05:30
j
130a900bb0 fix shutdown if oml never went online 2016-02-24 12:48:01 +05:30
j
c8722855e2 log db sync 2016-02-24 12:43:55 +05:30
j
9744653701 wait for local interface to show up 2016-02-24 12:25:17 +05:30
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