Commit graph

736 commits

Author SHA1 Message Date
j
b2f5005598 make ./ctl update more verbose 2016-01-22 17:57:02 +05:30
j
d5b9697c44 better cache key 2016-01-22 13:54:58 +05:30
j
b31e73c740 only create list if it does not exist 2016-01-22 12:39:06 +05:30
j
ab959a4728 reset sharemetadata on removing file 2016-01-22 11:17:32 +05:30
j
f8651c123f local import 2016-01-21 22:01:20 +05:30
j
a95277e0ba fix Metadata.edit 2016-01-21 21:40:10 +05:30
j
e8e2535913 indexes are created later now. no need to fail in postupdate 2016-01-21 21:32:02 +05:30
j
e9b6a51fff use api.addListItems instead of api.download, fixes #180 2016-01-21 12:45:38 +05:30
j
97fe8731b8 remove unused scrape table 2016-01-21 12:38:02 +05:30
j
5f8094bba3 try to get preview from peers, fixes #79 2016-01-21 12:35:49 +05:30
j
0ff3b9ee3c fix removing peer while pulling changes 2016-01-21 12:24:41 +05:30
j
6f4672d296 remove unused per isbn metadata table and related apis 2016-01-21 11:58:07 +05:30
j
8267fa8b39 add editpeer to changelog, record name/contact changes of peers 2016-01-21 11:44:01 +05:30
j
bae70fd829 export library.json into data, fixes #82 2016-01-20 13:22:00 +05:30
j
97ef26f7e7 fire progress -1 after current download is canceled, fixes #186 2016-01-20 13:05:44 +05:30
j
2548e2cd77 use os.sep 2016-01-20 12:49:19 +05:30
j
3df71b72b3 use one import folder to put files before moving them into place 2016-01-20 12:42:45 +05:30
j
86a9fafad2 dont fail in cancelDownloads, fixes #158 2016-01-20 12:23:18 +05:30
j
9e7dcf75a8 fix sort for empty strings, fixes #167 2016-01-20 12:16:46 +05:30
j
9fa06bbde7 use ephemeral_hidden_service if available 2016-01-20 11:15:11 +05:30
j
4d37ef2821 do not extract preview while updating cover 2016-01-19 21:45:32 +05:30
j
a5fd6a3d09 update cover if shared via metadata 2016-01-19 21:43:39 +05:30
j
f43fc6a172 add meta.extract_text 2016-01-19 21:34:32 +05:30
j
a91358d574 dont fail without mediastate 2016-01-19 17:42:45 +05:30
j
51c5c38477 reduce debug output 2016-01-19 16:50:24 +05:30
j
b2c3d9f47b always return true or false for sharemetadata 2016-01-19 16:49:30 +05:30
j
54b3982787 add sharemetadata to itemKeys. fix queries for boolean keys 2016-01-19 16:44:11 +05:30
j
cd63cca194 remove debug info 2016-01-19 16:44:11 +05:30
j
7a42473919 implement sharemetadata, fixes 165 2016-01-19 15:35:16 +05:30
j
8c5e39448b run lists if queries 2016-01-19 15:11:07 +05:30
j
e5995a6423 migrate old isbn arrays again, fixes #193 2016-01-19 11:43:57 +05:30
j
a2b55bc24e open file 2016-01-19 10:51:43 +05:30
j
906d48a04b reset added on remove 2016-01-19 10:51:27 +05:30
j
200c6df686 get pages from file if no longer in item.info 2016-01-19 09:48:33 +05:30
j
9f3374a7dc implement bandwidth throttling, fixes #189 2016-01-18 21:15:59 +05:30
j
defbbf290f remove unused code 2016-01-18 19:40:06 +05:30
j
14b2c99ab3 sign release with OpenSSL.crypto.sign (last remaining use of ed25519) 2016-01-18 19:36:21 +05:30
j
5a920ca053 close gtk menuitem if pid is gone 2016-01-18 17:47:36 +05:30
j
75fd720b19 import books from import folder, fixes #136 2016-01-18 17:32:42 +05:30
j
171834bd12 use secondary sort in filters, fixes #21 2016-01-18 16:22:38 +05:30
j
a4de5127dc migrate TorData path 2016-01-18 13:02:11 +05:30
j
52bc986260 cancel active download and reset state if downloading again, fixes #187 2016-01-18 12:30:54 +05:30
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