Commit graph

480 commits

Author SHA1 Message Date
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
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