Commit graph

968 commits

Author SHA1 Message Date
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
j
d2465539c8 make context optional for oxtornado 2014-08-09 23:40:05 +02:00
j
c236bef25a use p3k print 2014-08-09 23:39:10 +02:00
j
59e9966430 send user-agent to directory service 2014-08-09 23:06:34 +02:00
j
4b790722ae cleanly shut down 2014-08-09 20:32:41 +02:00
j
9ecf102c01 create db again 2014-08-09 20:32:22 +02:00
j
496ebff888 remove Flask from requirements 2014-08-09 19:09:48 +02:00
j
7bd6181e06 replace flask.ext.script with custom command interface 2014-08-09 19:06:53 +02:00
j
fc4ccb8083 get rid of more app references 2014-08-09 19:06:06 +02:00
j
abf2bbf6a8 remove flask app 2014-08-09 18:33:59 +02:00
j
8b46a85d56 one sqlalchemy session per thread 2014-08-09 18:14:14 +02:00
j
0c08d37c56 WIP: dont use flask 2014-08-09 17:03:16 +02:00
j
d5a57708d3 include user-agent in update requests 2014-08-07 12:12:03 +02:00
j
537eba0f0f install updates on startup, check for updates 2014-08-07 11:46:23 +02:00
j
d4ad1466be dont print url 2014-08-05 12:12:55 +02:00
j
33327094e3 fix update 2014-08-05 12:10:42 +02:00
j
0ff98f616b only update new modules 2014-08-05 11:51:17 +02:00
j
81e29d1fc2 add release update 2014-08-05 11:47:16 +02:00
j
90b305e26d dont trigger activity event more than every 5 seconds 2014-05-28 17:42:19 +02:00
j
9cd4f35229 remove debug 2014-05-28 17:37:36 +02:00
j
0704e315ba scan in tasks queue 2014-05-28 17:36:26 +02:00
j
8ab68826b5 remove null strings from file metadata 2014-05-28 13:36:44 +02:00
j
1e082c3d1b query fixes, avoid empty authors 2014-05-27 20:10:55 +02:00
j
81065fe26c ./ctl start to run without logging 2014-05-27 16:53:06 +02:00
j
74d5b21df0 dont give up on localnodes if there is no network 2014-05-27 16:48:50 +02:00
j
7430d1b483 make sure values are unicode 2014-05-27 16:20:14 +02:00
j
93fcdc60ac dont wrap errors 2014-05-27 16:19:50 +02:00
j
95085bde8c use metadata.opf or metadata if available 2014-05-27 16:08:14 +02:00
j
a33f1b18de find unicode 2014-05-27 13:06:39 +02:00
j
8279a55785 fix icon fallback 2014-05-27 11:59:23 +02:00
j
7e7478be30 fix pdf info 2014-05-27 11:09:06 +02:00
j
21d6324eb6 performance 2014-05-27 01:45:29 +02:00
j
d451eb3063 fix lists, handle async requests 2014-05-26 18:02:41 +02:00
j
8e7bb8815c fix count 2014-05-26 14:01:40 +02:00
j
56be46d82e add state.cache and cache some stuff 2014-05-26 13:41:59 +02:00
j
5b33721c87 one tasks queue instead of one per websocket 2014-05-26 13:21:19 +02:00
j
e210d9329c only trigger activity on new files 2014-05-26 12:41:01 +02:00
j
a7db68236c avoid db lookups for icons 2014-05-26 12:11:13 +02:00
j
05db6f042d disable autoreload 2014-05-26 12:10:56 +02:00
j
bc9e6cc92d cache file hash 2014-05-26 11:27:20 +02:00
j
60a454d929 cancel while reading in directory 2014-05-26 10:34:09 +02:00
j
f2c7491d4c place 2014-05-26 10:30:18 +02:00
j
67d1814192 cleanup meta parser 2014-05-26 10:23:10 +02:00
j
fc7b3ee049 move addlist 2014-05-26 10:22:43 +02:00
j
00c286b3d3 count up while scanning folder 2014-05-26 00:38:29 +02:00
j
5e606b21d8 meta 2014-05-26 00:23:48 +02:00
j
4521f5b14b ignore default poster 2014-05-25 23:27:03 +02:00
j
013598af22 update name 2014-05-25 23:19:56 +02:00
j
81279f4ed2 debug 2014-05-25 22:58:53 +02:00
j
833faa5a6c async img serving 2014-05-25 22:32:00 +02:00
j
af3c133d02 fix import 2014-05-25 22:09:55 +02:00
j
e15ce62ee5 lists, change loops 2014-05-25 22:08:44 +02:00
j
8ddf228068 sort lists/peers, rename peers 2014-05-25 20:06:12 +02:00
j
eac91e7a3a download progress 2014-05-25 16:21:00 +02:00
j
f28e3816ff fix removing file 2014-05-25 16:05:06 +02:00
j
b3caaf335a use poppler pdftocairo for preview 2014-05-25 14:44:07 +02:00
j
04cdb8f5b5 fix get_local_ipv4 on 12.04 2014-05-25 14:40:57 +02:00
j
98d1725d19 add user.name, list fixes 2014-05-25 14:16:04 +02:00
j
ed2b7cebfc enable gzip 2014-05-25 12:59:43 +02:00
j
797606db01 expose timeout 2014-05-25 12:59:19 +02:00
j
9e53bfe236 update ratio 2014-05-24 23:50:22 +02:00
j
d96d4300c2 dont download available books, parse worldcat covers 2014-05-24 23:21:03 +02:00
j
a1833cc937 cleanup ids 2014-05-24 12:50:27 +02:00
j
bea8efe6c4 local nodes 2014-05-24 11:39:45 +02:00
j
d22c08e97c dont fail without ip 2014-05-23 22:10:02 +02:00
j
6169c36b62 date 2014-05-23 14:52:36 +02:00
j
d787cec8e2 always use ip/route to detect local ipv4 2014-05-23 13:22:30 +02:00
j
d2bec145fa detect ipv4 on osx 2014-05-22 16:40:18 +02:00
j
dc2121293e fall back to ipv4 for local nodes if no ipv6 connection is available 2014-05-22 16:20:40 +02:00
j
0a95189a52 fix deleting items 2014-05-22 11:20:30 +02:00
j
5bbf612a38 add metaserver and use meta lookup service 2014-05-22 11:06:30 +02:00
j
f2221188ea serve all files without flask 2014-05-22 01:06:08 +02:00
j
08fac3e131 scan book folder for changes 2014-05-22 00:50:59 +02:00
j
046af0e777 add protocol version, reset migrations, move db 2014-05-22 00:41:29 +02:00
j
e14c686dac get_type, no authors 2014-05-21 13:07:41 +02:00
j
2749f22703 resolve author from work, add subtitle to title (ol) 2014-05-21 12:37:00 +02:00
j
feddea0ccd lots of stuff 2014-05-21 02:02:21 +02:00
j
c0cab079bc trigger ativity after cancel 2014-05-20 19:03:58 +02:00
j
8b77c634f3 changelog timestamp 2014-05-20 19:03:31 +02:00
j
4d1d96c07c dont fail in folders with spaces 2014-05-20 12:30:53 +02:00
j
0815ccd930 changelog 2014-05-20 02:43:54 +02:00
j
cfa8b2686b data->request 2014-05-20 02:33:06 +02:00
j
326a8f75c6 postupdate, pdf osx fixes 2014-05-20 02:08:38 +02:00
j
2c5fe9db09 dont loop 2014-05-20 00:59:02 +02:00
j
f4f0554635 add missing file 2014-05-20 00:50:41 +02:00
j
0dbc92d027 more tornado 2014-05-20 00:49:39 +02:00
j
b690aabe1b serve covers with tornado 2014-05-19 23:39:52 +02:00
j
040bdd1b03 P as jpg 2014-05-19 23:15:37 +02:00
j
996a754db5 allow custom metadata 2014-05-19 22:58:00 +02:00
j
ed7053c0cb use tornado for api requests 2014-05-19 22:14:24 +02:00
j
b6daa19d73 covers/links 2014-05-19 20:12:02 +02:00
j
75a14fed1e nodes 2014-05-19 17:00:33 +02:00
j
1436b14003 fixes 2014-05-19 14:07:08 +02:00
j
a35eb0db92 filenames 2014-05-19 13:09:12 +02:00
j
2b46ad2c16 extract cover while importing 2014-05-19 12:57:07 +02:00
j
9aef3616ba extract textsize, take timestamp for changelog entries update peers on peering events 2014-05-19 11:38:41 +02:00
j
b6866cb2be dont fail with inconsistent changelogs 2014-05-19 03:36:37 +02:00
j
224864bace timeout 2014-05-19 01:50:05 +02:00
j
d6f350e5a1 import/lists/autocompleteFolder 2014-05-19 01:24:16 +02:00
j
94443ee667 remove item 2014-05-18 12:46:56 +02:00
j
30357763e8 cancelDownloads 2014-05-18 12:44:56 +02:00
j
e4ca454c41 queue peering requests and send again 2014-05-18 05:01:24 +02:00
j
255bb6ce5c lower timeout, add to library 2014-05-18 01:14:29 +02:00
j
fe65cd39bf update 2014-05-18 00:32:08 +02:00
j
53fc94139c remove unused code 2014-05-18 00:25:57 +02:00
j
53a9c296fb move utils to one utils.py file 2014-05-18 00:18:32 +02:00
j
084c8271c2 fix ./ctl help text 2014-05-17 23:40:34 +02:00
j
058120a405 logging 2014-05-17 17:16:18 +02:00
j
59da96fc7b fix logging 2014-05-17 16:57:34 +02:00
j
660512e38f ./ctl setup 2014-05-17 16:31:05 +02:00
j
6a8a7b956d use python logging 2014-05-17 16:26:59 +02:00
j
877e867d03 updateElement 2014-05-17 13:46:09 +02:00
j
7443e33270 no shared connection 2014-05-17 11:24:17 +02:00
j
ecf782af64 ddg 2014-05-17 11:19:32 +02:00
j
bceb5e6d4a import/export 2014-05-17 10:17:49 +02:00
j
dbfdd50a29 import/export 2014-05-17 02:14:15 +02:00
j
c58a8a5bcb osx fixes 2014-05-16 19:08:33 +02:00
j
f134f1ff62 add ui [folder|file] 2014-05-16 17:48:48 +02:00
j
823ae2a676 import items 2014-05-16 16:30:16 +02:00
j
e41942ea99 find 2014-05-16 10:06:11 +02:00
j
a9c5fb43fe identify 2014-05-15 01:28:49 +02:00
j
0e6b9533b4 meta 2014-05-14 20:46:31 +02:00
j
d385853186 meta 2014-05-14 11:57:11 +02:00
j
edd42dfd76 sign local node broadcasts 2014-05-13 12:58:49 +02:00
j
2f821bf6a7 use local nodes for requests 2014-05-13 12:36:02 +02:00
j
0c18dad1b5 and more... 2014-05-13 01:43:27 +02:00
j
10d2f35b7b more... 2014-05-12 23:21:26 +02:00
j
2ee2bc178a Open Media Library 2014-05-12 04:09:31 +02:00