Commit graph

694 commits

Author SHA1 Message Date
j
b05618f50a move config to data folder, fixes #171 2016-01-18 12:09:39 +05:30
j
0e87b10079 cleanup 2016-01-18 12:09:39 +05:30
j
9c1c653582 log remote id if versions do not match, allow file:// to access websocket 2016-01-17 20:30:19 +05:30
j
954491759e accept peering requests based on prefs 2016-01-17 18:43:52 +05:30
j
1266fb9133 trigger transfer progress -1 if download is canceled 2016-01-17 17:01:47 +05:30
j
9ceb1c80f4 remove debug 2016-01-17 16:36:13 +05:30
j
0a4689387b fix group cache 2016-01-17 16:32:17 +05:30
j
2c57b043cd implement api.resetUI, fixes #176 2016-01-17 15:40:10 +05:30
j
7e2d6728aa migrate data before adding unique index 2016-01-17 14:45:15 +05:30
rlx
f57f9b1fcd fix json indentation 2016-01-17 14:30:11 +05:30
j
0faea277d1 better get_table_columns 2016-01-17 14:01:06 +05:30
j
b00647e3f3 fix drop column 2016-01-17 14:01:06 +05:30
j
6b25845660 dont print warning while tor is installed 2016-01-17 12:34:43 +05:30
j
021c418622 use local tor if no registed version can be found 2016-01-17 12:28:55 +05:30
j
9fcd9491ac more linux install 2016-01-17 12:14:08 +05:30
j
78c62d813e update database on startup 2016-01-17 11:59:06 +05:30
j
69710090e0 sync sort table to config 2016-01-16 21:27:48 +05:30
rlx
d7975a870b update strings 2016-01-16 20:14:09 +05:30
j
ad45b32fdc also alwyas allow cancelPeering 2016-01-16 18:51:32 +05:30
j
cfbc90b50b send contact message 2016-01-16 18:41:55 +05:30
j
f1ba3fbd34 dont create old userid 2016-01-16 18:41:55 +05:30
j
59894b0df7 clear cover/preview cache on delete 2016-01-16 16:27:52 +05:30
j
591fa089ce more sort fixes. []->None 2016-01-16 15:19:25 +05:30
j
6838a2f0f2 fix return value for cancelDownloads, fixes #114 2016-01-16 12:33:58 +05:30
j
6692e9f3a8 remove .DS_Store if its the only file left 2016-01-16 12:14:54 +05:30
j
b21d216d8c keep pages from file 2016-01-16 11:28:12 +05:30
j
d876768771 empty lists are None not '', fixes #102 2016-01-16 11:17:55 +05:30
j
b899768130 clear all cached sizes 2016-01-16 10:50:49 +05:30
j
280cb56b38 include – in search for isbns 2016-01-16 10:18:30 +05:30
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