Commit graph

577 commits

Author SHA1 Message Date
j
84c15c690a import text not html 2016-01-08 16:15:10 +05:30
j
664fc702c2 fix smart list update for nested queries 2016-01-08 11:01:57 +05:30
j
5d4ed8ffbc implement quit api. indicate if backend is offline 2016-01-08 10:02:38 +05:30
j
67ad0a82e9 make local lookup opt in 2016-01-08 10:02:38 +05:30
j
031b6ca7cd add socket base ip lookup 2016-01-07 17:33:18 +05:30
j
b188f702d6 fix local ip discovery on 15.04 2016-01-07 16:40:22 +05:30
j
5294a0cb50 ignore library list 2016-01-07 16:39:52 +05:30
j
529a01269d only migrate if user exists 2016-01-07 15:53:41 +05:30
j
0e71dcd9a8 fail 2016-01-07 15:42:48 +05:30
j
8eba8e41e5 use more sub selects 2016-01-07 12:25:39 +05:30
j
c166f19f80 fix validation of nested queries 2016-01-07 12:25:09 +05:30
j
7c438dc6b2 always return query in get_items. use for count and in/notin operator in query 2016-01-07 11:38:01 +05:30
j
650f30a776 dont include users in json. slow and not used 2016-01-07 11:38:01 +05:30
j
ffd615238e fix join tables 2016-01-07 11:38:01 +05:30
j
e0857fc00d fix import 2016-01-07 10:09:27 +05:30
j
a0c197026f really remove ghost lists 2016-01-07 10:07:44 +05:30
j
16c9807dbf remove more ghost lists 2016-01-07 10:00:15 +05:30
j
45edfdce12 0 list count for now 2016-01-07 09:58:48 +05:30
j
9689439161 remove [2] list 2016-01-07 09:44:56 +05:30
j
a0d7ba2ab5 use subquery for not in list 2016-01-07 09:38:00 +05:30
j
9b76d89cfa use sort name for files, fixes #51 2016-01-07 01:08:15 +05:30
j
7ca90dedfc better path, fixes #81 and fixes #25 2016-01-07 00:59:06 +05:30
j
d04636bf69 new session for restart 2016-01-07 00:58:29 +05:30
j
4c87307377 dump 2016-01-07 00:05:03 +05:30
j
bf2fc29b54 turn library into list, list cache fixes 2016-01-06 23:36:48 +05:30
j
d866b4de91 parse epubs without manifest 2016-01-06 18:40:23 +05:30
j
c86ba8ac99 clear list count on list edit 2016-01-06 10:07:18 +05:30
j
8fc084b852 use intermediate table for user matching, fix clear_smart_list_cache 2016-01-06 09:54:23 +05:30
j
8aef4a62ef dont fail without nodes 2016-01-05 23:22:34 +05:30
j
55ba49b631 support right click 2016-01-05 23:22:34 +05:30
j
8067825220 don't scrape, update 2016-01-05 23:22:34 +05:30
j
a5802eb077 fix meta keys 2016-01-05 22:28:11 +05:30
j
aa3ab25a30 disable background scraping 2016-01-05 21:55:38 +05:30
j
b6f5e9c0cc fix cache, lookup 2016-01-05 21:55:38 +05:30
j
592f79dc39 cache list count in pdict and clear where needed 2016-01-05 20:44:54 +05:30
j
86b6f47c9f increase cache to 60 2016-01-05 20:44:54 +05:30
j
c54dd8b853 dont quote . in pdict, manually trigger save for nested updates 2016-01-05 20:44:54 +05:30
Rolux
043abbd27c update models.py 2016-01-05 20:13:00 +05:30
j
9c1689178e typo 2016-01-05 19:36:42 +05:30
j
b827e0c6ab clear cache after edit 2016-01-05 19:34:03 +05:30
j
ef9b13b310 better results for batch edit 2016-01-05 15:57:35 +05:30
j
4ed4926bd8 epub: metadata.conver is id not name 2016-01-05 15:30:15 +05:30
j
86637401e1 avoid db lock 2016-01-05 15:21:02 +05:30
j
ca3888869b epub: use metadata.cover if set 2016-01-05 15:20:47 +05:30
j
78c9c5443f epub parser: take larges image from manifest, strip html tags from description 2016-01-05 14:42:02 +05:30
j
cd6d09c86c support batch edit 2016-01-05 14:01:38 +05:30
j
9aff4766e5 catch more 404s 2016-01-05 14:00:25 +05:30
j
9996c6b603 fix import 2016-01-05 13:23:29 +05:30
j
a350831792 dont include editors in authors 2016-01-05 13:16:30 +05:30
j
c3de15587c inital google books and amazon parser 2016-01-05 12:58:30 +05:30
j
75fbb88a78 find latest tor browser 2016-01-05 11:08:36 +05:30
j
499c6ebc56 revert ab1ac13909 (enable group_by again 2016-01-04 17:44:05 +05:30
j
2fbe881935 check for new version in getVersion 2016-01-04 17:32:40 +05:30
j
ab1ac13909 temporarily disable group_by 2016-01-04 16:03:37 +05:30
j
5e2410712e style 2016-01-04 15:55:18 +05:30
j
294ea33960 tune find api 2016-01-04 15:55:05 +05:30
j
b0f0446fcb remove debug 2016-01-04 15:54:46 +05:30
j
3132cc02fe increase cache ttl to 60 seconds 2016-01-04 15:54:25 +05:30
j
8537026ef1 use os.sep 2016-01-04 15:19:14 +05:30
j
aa34f96f48 also remove id from Metadata table 2016-01-03 23:46:35 +05:30
j
de7a555ce1 dont ignore metadata updates if item used to have primary id 2016-01-03 23:34:12 +05:30
j
b7bdd9da7a store classification without primary id 2016-01-03 23:33:19 +05:30
j
b67a1d354b dont store book id in metadata table 2016-01-03 23:06:20 +05:30
j
051b634008 ignore errors for non utf-8 html files 2016-01-03 21:00:30 +05:30
j
5feb82a080 start_new_session=True 2016-01-02 22:33:49 +05:30
j
9b2c76e464 dont unpublish hs 2016-01-02 15:08:08 +05:30
j
472d37dc01 no traceback if computer has no local network 2016-01-02 15:06:48 +05:30
j
3ec134864b use bytes not bits for bandwidth 2015-12-25 20:51:01 +05:30
j
d9bd113ee5 revert d817c67f83 2015-12-25 20:28:41 +05:30
j
619a2fbd37 split pdf author 2015-12-25 20:23:22 +05:30
j
d817c67f83 close db session per change 2015-12-25 20:20:08 +05:30
j
f8c09226de normalize language 2015-12-25 19:40:49 +05:30
j
c5afc46af1 cleanup pdf 2015-12-25 13:33:32 +05:30
j
935f8d7f2b shorter db sessions 2015-12-24 20:41:47 +05:30
j
ebc0b95022 better pdf parsing 2015-12-24 20:30:14 +05:30
j
ccd3b166d0 fix empty author 2015-12-24 19:07:36 +05:30
j
96a3cdb4b2 dont set global socket timeout 2015-12-24 17:58:11 +05:30
j
98714e35e7 fix path 2015-12-19 19:22:01 +01:00
j
5024414ed6 cover url can fail 2015-12-11 00:43:56 +00:00
j
fe7769a7ba dont fail if reading metadata.opf fails 2015-12-08 11:54:04 +00:00
j
58541fa303 use gtk status icon and open oml in browser 2015-12-07 16:17:57 +00:00
j
8a26285c88 better online/offline status handling 2015-12-02 22:05:23 +01:00
j
3b166eccbb scrape async 2015-12-02 16:30:37 +01:00
j
8d3cea2164 fall back to gtkwebkit 3.0 2015-12-02 14:13:17 +01:00
j
81cd9c2337 fix epub metadata parser 2015-12-01 17:20:32 +01:00
j
2665580383 allow jumps in changelog 2015-12-01 15:15:18 +01:00
j
70fcd5b20c meta. only show year 2015-12-01 14:54:22 +01:00
j
adcb6bca0a only pull changes if peered 2015-12-01 14:54:10 +01:00
j
57aaecd1db trigger upload speed(still wrong values) 2015-12-01 14:40:30 +01:00
j
ad1c341d35 fix editing metadata 2015-12-01 14:21:58 +01:00
j
c333d53a64 take some authors 2015-12-01 12:41:19 +01:00
j
72ed51881b no empty values 2015-12-01 12:32:42 +01:00
j
dcb0a16153 only scrape with item, move after editing metadata 2015-12-01 12:09:50 +01:00
j
14ede9d1b1 with session 2015-12-01 11:55:56 +01:00
j
03c24396e0 increase timeout 2015-12-01 11:51:58 +01:00
j
10330c8ca8 move files on update 2015-12-01 11:48:29 +01:00
j
01f33a5c50 move files after setting primaryid 2015-12-01 11:37:47 +01:00
j
c630852e68 work around unstable loc 2015-12-01 11:18:08 +01:00
j
0def130b4a dont queue pull if pull is running 2015-12-01 10:39:47 +01:00
j
5f46a68c01 no more authors 2015-12-01 10:38:00 +01:00
j
75164a8399 switch to pull based updates 2015-12-01 09:59:52 +01:00
j
077ea2bd84 dont fail without local ip 2015-12-01 09:58:41 +01:00
j
124a2b6593 disable git update notification 2015-12-01 09:58:03 +01:00
j
49763389be add/remove item can not depend on timestamp 2015-12-01 09:55:43 +01:00
j
fb95a1ec55 fix online check 2015-12-01 00:41:37 +01:00
j
68383b8834 report bandwidth, only pull changes 2015-12-01 00:26:35 +01:00
j
1e17e4a9d1 open folder and select file on osx 2015-11-30 18:07:07 +01:00
j
216cb411fe add option to open folder 2015-11-30 17:50:03 +01:00
j
aba444e2c4 upgrade OML.app if installed 2015-11-30 17:49:33 +01:00
j
3182d4eaeb less debug output, only log http requests if enabled 2015-11-29 17:07:01 +01:00
j
444c357e54 dont add local peers to db, just show them in user dialog 2015-11-29 16:39:26 +01:00
j
d497e89b2b use logging.getLogger(__name__) 2015-11-29 15:56:38 +01:00
j
8756e51090 only add peers with new id 2015-11-29 15:56:25 +01:00
j
cec7c12ac4 allow removing old ids 2015-11-26 13:40:39 +01:00
j
a0d0d6fd9e reduce debug output 2015-11-26 12:42:52 +01:00
j
553ee380fe only publish id to directroy once 2015-11-26 12:16:09 +01:00
j
66966570de more migration 2015-11-26 12:12:35 +01:00
j
2c3aa660bf typo 2015-11-26 12:08:22 +01:00
j
d8817d3c73 remove debug 2015-11-26 12:07:05 +01:00
j
504fb1b238 migrate users 2015-11-26 12:06:01 +01:00
j
7c1e5c691a use tor hidden service instead of ed25515 as peer id 2015-11-26 01:26:10 +01:00
j
cc258fb5ee more debugging 2015-11-19 18:40:42 +01:00
j
a0b66637d1 convert all unsuported image modes 2015-11-19 16:13:13 +01:00
j
13e360ac97 open external urls in browser 2015-11-19 15:11:18 +01:00
j
a400afc923 stop nodes last 2015-11-19 13:51:26 +01:00
j
7e86e68101 quit on ctrl-q 2015-11-18 13:36:24 +01:00
j
26da12dedd fix shutdown 2015-11-18 01:27:53 +01:00
j
1405582cc2 double check for closed connections 2015-11-17 19:23:21 +01:00
j
c3548a1530 cover can be in svg 2015-11-17 19:23:07 +01:00
j
20dc20c727 dont reuse variable 2015-11-17 14:21:05 +01:00
j
7ac7738c9e update path after scrape 2015-11-17 12:51:49 +01:00
j
fba2fa78ce ignore none as epub metadata value 2015-11-16 16:52:36 +01:00
j
d30ff2b4de try to not stop task queue on failure 2015-11-16 16:52:14 +01:00
j
909e38c302 cleanup scrape before removing book 2015-11-16 16:35:42 +01:00
j
a24061518a better epub parsing
- dont fail if epubs are invalid zip
- handle quoted filenames
- dont fail if file is missing
2015-11-16 16:02:45 +01:00
j
3119f2b5a9 use local ctl 2015-11-04 00:59:00 +01:00
j
a40c38248d first : 2015-11-03 23:58:55 +01:00
j
5ecb2aeafc fail better 2015-11-03 23:40:10 +01:00
j
7e37713c95 better metadata lookup 2015-11-03 23:36:19 +01:00
j
b0fa92ca6a typo 2015-11-03 18:32:53 +01:00
j
2c71bc44f2 launch oml in gtk webkit frame on linux 2015-11-03 12:13:27 +01:00
j
00f395e304 allow osx installer to connect to websocket 2015-11-03 00:29:16 +01:00
j
a85023d560 dont install launch agent on osx 2015-11-03 00:28:09 +01:00
j
28a1f3c268 fix load with recent chrome 2015-11-02 12:14:44 +01:00
j
62e50c29c6 import description from opf 2015-10-30 11:31:52 +01:00
j
25c24d6f20 support drag and drop 2015-06-06 19:54:44 +02:00
515a6d23f6 handle download menu entry 2015-05-14 13:08:16 +02:00
6bce40ad3a add sort names/titles 2015-05-14 13:03:49 +02:00
505d7efe9b faster sort/find update 2015-04-21 19:58:32 +02:00
6eb08bd464 use only nubers if integer contains a mixed string 2015-04-20 09:49:35 +02:00
393fe7eb6e move launcher installation from installer to oml 2015-03-31 20:24:14 +02:00
d65ad0e8ea default release url 2015-03-23 11:38:22 +05:30
ce47b8a64d log version 2015-03-22 19:34:42 +05:30
j
d933ca8f63 dont fail if old module does not exist 2015-03-14 17:44:08 +05:30
j
fe6f81505b versions are strings 2015-03-14 13:42:25 +05:30
j
6d19dd5e81 inital cbr support 2015-03-14 13:05:15 +05:30
j
60ab6a5244 ignore amazon utf-8 errors 2015-03-09 16:43:33 +05:30
j
32b31cd70c logging 2015-03-09 16:04:26 +05:30
j
0f937f2f42 no decode 2015-03-09 14:31:51 +05:30
j
06188c7fa0 remove leading 0s 2015-03-09 14:29:20 +05:30
j
8cea7302c6 add lookupbyisbn data too 2015-03-09 14:00:46 +05:30
j
61bc1a7267 fix author sort 2015-03-08 18:18:22 +05:30
j
da43cd75e1 oxjs fails if version contains letters 2015-03-08 17:56:38 +05:30
j
c8dc68bf64 fix debug exc_info 2015-03-08 17:03:27 +05:30
j
597e9c92ca oxjs. add option to release other file 2015-03-08 14:24:45 +05:30
j
6d3d0bbc43 txt.js/txt.py path has changed 2015-03-08 01:46:55 +05:30
j
76fe88ffcc split ebook readers into extra repo 2015-03-08 01:07:37 +05:30
j
4d4bd252fe move oxjs into extra module 2015-03-08 00:47:31 +05:30
j
2da0bed0ee fix update to support new modules 2015-03-08 00:47:31 +05:30
j
ea0277348b use first latin character if possible 2015-03-08 00:12:16 +05:30
j
2711fbb0c1 scrape metadata in background 2015-03-07 21:54:07 +05:30
j
e55df181db fix list repr 2015-03-07 21:49:24 +05:30
j
f69377408d fix postupdate 2015-03-07 21:47:52 +05:30
j
6bdd789b26 keep log of current session 2015-03-07 19:17:12 +05:30
j
fe71615a3f fall back to latin-1 if txt files is not utf-8 2015-03-07 17:29:59 +05:30
j
8b23ea9658 unlink pid file on exit, exec server in ctl script 2015-03-07 13:11:08 +05:30
j
2a7122d7fb send local node announcement every 60 seconds 2015-03-07 13:06:00 +05:30
j
67788f2a04 remotemetadata cleanup
- dont overwrite metadata if lookup does not return anything
- make find fail without error
2015-03-01 13:20:08 +05:30
j
0ec527dd02 fix ./ctl release 2015-02-27 18:46:50 +05:30
j
16a24fa5cc cleanup logging 2015-02-27 16:19:56 +05:30
j
f87f0b965e show public key of users, send nickname with peering request 2015-02-26 16:22:40 +05:30
j
919a8454de only try to connect if node has an ip 2015-02-26 14:11:46 +05:30
j
59062d40c7 dont fail if socket.SO_REUSEPORT is not defined 2015-02-26 12:18:28 +05:30
j
d5988bb292 bundled python on osx fails with ssl._create_default_https_context 2015-02-23 02:12:43 +05:30
j
14098e3c01 only verify fingerprint, dont do ca verification 2015-02-22 19:53:40 +05:30
j
08d30c2e67 fix off-by-one in range requests 2015-02-22 17:38:58 +05:30
j
689daa37db run app on ipv4 localhost, chrome on osx disables ipv6 if no global ipv6 address is present 2015-02-22 16:53:06 +05:30
j
ad0a2a7b03 add range request support 2015-02-22 16:38:06 +05:30
j
7a76e21e99 only strip strings 2015-02-22 16:37:42 +05:30
j
9faa54b2e4 fix interface detection osx 2015-01-22 16:07:51 +05:30
j
23aaf37740 url to download book with ok name 2014-12-13 21:01:54 +01:00
j
bc065c7fda move release url to config to be able to test updates before a release 2014-12-13 18:05:00 +01:00
j
f1863faf50 os.walk is generator 2014-12-13 15:56:17 +01:00
j
121a2c9ac3 ignore osx resource forks 2014-11-15 01:05:33 +00:00
j
d722ae004b handle utf-16 pdf info 2014-11-15 00:57:49 +00:00
j
89d9ab4f11 fix default icon 2014-10-31 19:49:36 +01:00
j
4f58d76eda fix update check 2014-10-31 18:53:10 +01:00
j
17406a3929 more python3 fixes 2014-10-31 18:47:48 +01:00
j
c6c8e0dc8a try to decrypt pdf with empty password if its encrypted 2014-10-31 16:13:02 +01:00
j
9304d14c5f dont log gzip data 2014-10-31 15:58:05 +01:00
j
38a0431fe0 bytes can not be serialized to json 2014-10-31 15:51:42 +01:00
j
5cd43be8c4 gizp data is bytes 2014-10-31 15:47:54 +01:00
j
a306370f0d more utf-8 issues 2014-10-31 15:41:46 +01:00
j
35cc6abd95 add Content-Disposition header 2014-10-31 12:48:20 +01:00
j
b6faab1573 python3 migration 2014-10-31 12:46:14 +01:00
j
89a24dd1d4 use utf-8 in changelog 2014-10-31 12:45:54 +01:00
j
3f3299e820 fix epub parsing 2014-10-31 09:58:52 +01:00
j
2fb5588d3d avoid loading items into python 2014-10-04 21:14:36 +02:00
j
afb025c154 decode bytes 2014-10-04 21:05:56 +02:00
j
a48f039e89 add autocomplete api 2014-10-04 20:57:09 +02:00
j
9db6adc222 run txt cover script with python3 2014-10-01 10:50:46 +02:00
j
d78c30b163 use python3 to update static files 2014-09-30 23:21:44 +02:00
j
c961aa5c64 fix text extraction on osx 2014-09-30 22:30:09 +02:00
j
536c3cbbbd more str/buffer 2014-09-09 16:35:44 +02:00
j
6e2c91fb4c cleanup tls fingerprint check 2014-09-09 16:29:31 +02:00
j
0956bd4966 fix localnodes 2014-09-09 16:28:59 +02:00
j
1e09e70574 encode/decode 2014-09-09 12:08:04 +02:00
j
26d3f1f8fb Merge branch 'master' into py3 2014-09-08 21:28:35 +02:00
j
461fe3b9cf more str/bytes 2014-09-08 21:17:35 +02:00
j
8c6164e0c4 use PyPDF2 2014-09-08 20:46:09 +02:00
j
0c11681de3 check if all modules are available 2014-09-06 01:56:37 +02:00
j
c3441c8a10 support longer tls fingerprints 2014-09-06 01:44:17 +02:00
j
2e09464c4d dont end download thread if one download fails 2014-09-05 19:10:47 +02:00
j
1e9a1ef4ef load new version 2014-09-05 19:02:19 +02:00
j
0ef522f620 reuse port 2014-09-05 18:36:03 +02:00
j
de68f4c4c4 more py3 porting 2014-09-03 01:09:42 +02:00
j
8e27b9f76e port to python3 2014-09-03 00:38:34 +02:00
j
14f426afd4 only handle exception if still active 2014-09-03 00:33:42 +02:00
j
f5bb5ee877 also check for git updates 2014-09-01 14:01:41 +02:00
j
b87eee40d0 from PIL import Image 2014-09-01 12:38:14 +02:00
j
e4cf322570 backport some localnode improvements from peerlink 2014-09-01 12:30:09 +02:00
j
4749f87d98 header 2014-09-01 09:52:01 +02:00
j
6f811b6093 fix websocket on_message 2014-09-01 09:51:48 +02:00
j
4dece6bc10 freebsd network support 2014-08-25 19:21:34 +02:00
j
5ede07edca move update api to update.py 2014-08-22 19:46:45 +02:00
j
2cd77e07a2 close_fds=True by default 2014-08-22 18:49:11 +02:00
j
0bd359f89d check for updates and offer option option to restart 2014-08-22 18:42:08 +02:00
j
309cf75606 move main commands code to commands.py 2014-08-17 19:17:14 +02:00
j
b26a22de5d its 127.0.0.1 not localhost 2014-08-12 15:35:50 +02:00
j
871a602acd allow websocket connections from files and localhost and use it in installer and static load file 2014-08-12 14:51:38 +02:00
j
12440acd96 cleanup imports 2014-08-12 10:16:57 +02:00
j
1e0f93bbf2 fix end of peering 2014-08-11 20:10:07 +02:00
j
7ff736465f place is array 2014-08-11 19:43:14 +02:00
j
d1f63bf0db create db on start/debug if missing 2014-08-11 19:32:49 +02:00
j
cb59b49ee3 fix os.path 2014-08-11 19:11:07 +02:00
j
a0cd8d8a1f trigger upgrade_db in postupdate 2014-08-11 15:02:24 +02:00
j
66b132efa4 ignore more covers 2014-08-11 13:30:32 +02:00
j
2d3a0b2247 tune worldcat parser 2014-08-11 13:27:11 +02:00
j
a8866ca3b3 fix api docs 2014-08-11 13:08:28 +02:00
j
bbb9832de6 cleanup 2014-08-09 23:40:13 +02:00