Commit Graph

865 Commits

Author SHA1 Message Date
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
j 753724a23c end peering in task thread if we get a 403 2016-01-14 17:56:01 +05:30
j 78e48e65bd remove unused pushChanges 2016-01-14 17:55:15 +05:30
j f6cfb255a6 add peering task 2016-01-14 17:52:39 +05:30
j 173fde1d1b move files;cleanup empty folders 2016-01-14 16:14:24 +05:30
j d54f524953 export 2016-01-14 14:29:20 +05:30
j 82d11e412f better filenames 2016-01-14 14:29:20 +05:30
j af5f84919e make files read only 2016-01-14 12:29:59 +05:30
j 3748930d7c only download while online 2016-01-14 09:57:36 +05:30
j 82f7e83e74 make sure index does not get cached 2016-01-14 09:33:26 +05:30
j 3fd6f8735d removepeer 2016-01-14 00:50:40 +05:30
j b33d066322 import kepub as epub, http://wiki.mobileread.com/wiki/Kepub 2016-01-13 23:18:32 +05:30
j 3ba16900e6 no geo 2016-01-13 23:16:24 +05:30
j fb9d7f7572 wording 2016-01-13 23:16:09 +05:30
j 76bf80f395 fix ui on depmand 2016-01-13 22:09:25 +05:30
j 4ad2fbf698 always record edititem 2016-01-13 21:46:53 +05:30
j 54d6d43fab update lists on list change 2016-01-13 21:46:31 +05:30
j c66433c740 fix addpeer 2016-01-13 20:50:03 +05:30
j e6e52d53d5 ignore covers that are to tall or to wide 2016-01-13 16:41:28 +05:30
j 40a7d478de send aggregated changes 2016-01-13 15:28:17 +05:30
rlx 1d8c9eaf12 update json formatting for ui settings 2016-01-13 13:58:33 +05:30
j 47fe90329c oxjs might be replaced get replaced right now, only use js 2016-01-13 12:17:13 +05:30
j 768df8dc7c hide some unused commands, disable install_update 2016-01-13 11:35:43 +05:30
j ff58cd9295 fix new installs 2016-01-13 11:34:30 +05:30
j b9a8c91868 some attributes don't work 2016-01-13 11:33:47 +05:30
j a723709641 end update thread to restart 2016-01-13 10:58:55 +05:30
j 44cb61da96 file must exist 2016-01-13 10:58:55 +05:30
j d72158d78f return new version as version 2016-01-13 10:58:55 +05:30
j 4ed0eee032 fix debug messages 2016-01-13 10:58:55 +05:30
j e654d391fd install update before restart 2016-01-13 10:58:55 +05:30
j 1efe02c87c avoid [''] 2016-01-13 10:58:55 +05:30
j 516397ae44 visual feedback during updates 2016-01-12 20:30:54 +05:30
j e3f0064157 extract tableofcontents from existing pdfs 2016-01-12 14:59:09 +05:30
j de984a344e extract tableofcontents from pdf 2016-01-12 14:57:33 +05:30
j c3ecb178cf always load autoreload in shell 2016-01-12 14:57:33 +05:30
j c85ec239a2 autocomplete: group after join, use findvalue 2016-01-12 13:47:15 +05:30
j cf6d6acc5f avoid stale db sessoins in nodes thread 2016-01-12 13:02:39 +05:30
j cf74e622be update findMetadata api 2016-01-12 11:59:26 +05:30
j d472d778cb filter_by 2016-01-12 11:14:16 +05:30
j d68dcb69ca add toc from file if possible 2016-01-12 11:09:25 +05:30
j 72c3df0ee9 typo 2016-01-12 11:09:25 +05:30
j 3dd1af5bd5 fix gtk menubar 2016-01-12 11:09:25 +05:30
j 01132a8163 ids changes, dont confuse last released version 2016-01-12 00:29:41 +05:30
j 18a72db811 cleanup toc and extract for all epubs 2016-01-12 00:23:11 +05:30
j 6061f2d754 fix edit 2016-01-12 00:22:27 +05:30
j 1405ccb6ca update findMetadata 2016-01-11 20:26:11 +05:30
j 10acaacbd9 cleanup orphan file records 2016-01-11 19:59:55 +05:30
j 8fa5d10122 avoid one commit 2016-01-11 19:59:28 +05:30
j fc11869088 allow all meta keys from file 2016-01-11 19:59:07 +05:30
j bb09596566 toc href can contain # 2016-01-11 19:25:33 +05:30
j 02e040d9f5 store metadata per user. remove primaryid. only store isbn13 2016-01-11 19:17:12 +05:30
j 90648f9e65 store json as utf-8 2016-01-11 19:14:17 +05:30
j 1875068a2f more list cache removals (followup to bc593b65) 2016-01-10 23:04:10 +05:30
j cc3a394dd5 set oml.version 2016-01-10 19:23:48 +05:30
j cda61c5560 install_tor 2016-01-10 19:23:48 +05:30
j bc593b65fd remove unused list cache 2016-01-10 19:23:48 +05:30
j ad6afd599e only add item to list once 2016-01-10 19:23:48 +05:30
j 8db9bdb9e2 make api query more accessible in shell 2016-01-10 19:23:48 +05:30
j 2f108290f0 migrate html tags (again), also update find values 2016-01-10 13:38:40 +05:30
j 59a3709f84 use new default poster, remove black posters from icon cache 2016-01-10 12:58:25 +05:30
j fbf06a1545 make sure dropped file is owned by user 2016-01-10 12:58:25 +05:30
j 070281c248 add title to context menu 2016-01-09 19:54:11 +05:30
j 5e13402dd1 remove webkit version 2016-01-09 19:48:53 +05:30
j 5f2d20b286 better cover link 2016-01-09 19:40:30 +05:30
j 5c6d39952b better linux launcher description 2016-01-09 16:25:49 +05:30
j 094097b26d dont add empty subtitle 2016-01-09 16:11:04 +05:30
j f57b75ac03 use appindicator to also show icon in unity 2016-01-09 16:01:51 +05:30
j 6ade6c0928 close status icon on quit(linux) 2016-01-09 15:41:42 +05:30
j 6e8d78c595 typo 2016-01-09 15:37:23 +05:30
j 26ab9a2f39 switch to local lookup 2016-01-09 12:52:17 +05:30
j 4a1aa73c76 slower online check 2016-01-09 11:16:35 +05:30
j 4f9e3d9c4d fix record_ts 2016-01-09 02:30:31 +05:30
j 031665bc24 dont record changes from other users
increase protocol version to block outdated users.
2016-01-08 23:19:11 +05:30
j 980e68ccc6 record changes with old timestamp 2016-01-08 22:54:46 +05:30
j 9cf8417c30 use timestamp from changelog 2016-01-08 22:43:33 +05:30
j 165f9650ec use select to check for network data 2016-01-08 16:56:35 +05:30
j 11a20a5063 save changes 2016-01-08 16:23:14 +05:30
j d4a961f470 decode existing metadata 2016-01-08 16:15:10 +05:30
j 5d02474ce8 decode html 2016-01-08 16:15:10 +05:30
j 71d8825783 normalize names 2016-01-08 16:15:10 +05:30
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
Jan Gerber 515a6d23f6 handle download menu entry 2015-05-14 13:08:16 +02:00
Jan Gerber 6bce40ad3a add sort names/titles 2015-05-14 13:03:49 +02:00
Jan Gerber 505d7efe9b faster sort/find update 2015-04-21 19:58:32 +02:00
Jan Gerber 6eb08bd464 use only nubers if integer contains a mixed string 2015-04-20 09:49:35 +02:00
Jan Gerber 393fe7eb6e move launcher installation from installer to oml 2015-03-31 20:24:14 +02:00
Jan Gerber d65ad0e8ea default release url 2015-03-23 11:38:22 +05:30
Jan Gerber 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
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