Commit graph

791 commits

Author SHA1 Message Date
j
5f1325c7aa cleaner api shutdown 2016-01-31 22:16:28 +05:30
j
567952d91d use one variable to track app shutdown state 2016-01-31 22:15:59 +05:30
j
0cc3a4523e trigger status for all peers on ws connect 2016-01-31 22:14:00 +05:30
j
fe9e2c65bc Work around pyopenssl exception to shutdown (win32) 2016-01-31 18:59:17 +05:30
j
7380c9aab7 dont cloes_fds if stdout/stderr is piped 2016-01-31 18:55:12 +05:30
j
591374d6d1 no postupdate for new versions, dont stop daemon in install 2016-01-31 18:54:37 +05:30
j
b7d784a0f8 open file/folder windows 2016-01-31 18:53:11 +05:30
j
a0b16fc841 faster shutdown 2016-01-31 18:52:45 +05:30
j
c844aae72e support platform specific modules 2016-01-31 15:08:16 +05:30
j
ea7e01ec3d set sitedir for win32 2016-01-31 14:09:21 +05:30
j
a55773f4d5 tor versions can be N.N and N.N.N, install expert bundle on win32 2016-01-31 14:07:14 +05:30
j
5bbb5849cb don't call external build script for own js files 2016-01-31 12:58:15 +05:30
j
a3f6e3da3a only run ip on linux 2016-01-31 12:17:03 +05:30
j
3c58e95948 one / to much 2016-01-31 12:16:53 +05:30
j
c00c6755d8 typo 2016-01-30 11:44:02 +05:30
j
142f3bcc6e peer pending clients on pullChanges 2016-01-30 11:40:55 +05:30
j
aac0a069d2 increase db timeout 2016-01-29 22:21:13 +05:30
j
95af9f4f4a pdf with html description 2016-01-29 22:17:39 +05:30
j
5d92e0b397 various authors 2016-01-29 22:05:59 +05:30
j
36fc6e7e73 pages can also end with xml 2016-01-28 17:53:50 +05:30
j
8a92429587 check for cancel before overwriting activity 2016-01-28 17:18:01 +05:30
j
27943bf1a5 avoid loop in get_sort_name 2016-01-27 15:09:10 +05:30
j
62c0c9337f slightly faster filter update 2016-01-27 14:25:36 +05:30
j
e27e429fd6 trigger fs scan after changing path, move folder if new path does not exist, fixes #214 2016-01-27 11:58:11 +05:30
j
2e04379838 no node status during update 2016-01-26 11:28:41 +05:30
j
47942e204c basic sort title api 2016-01-25 23:03:37 +05:30
j
7e40c2667b fix nodes shutdown 2016-01-25 23:02:47 +05:30
j
afbb4e638f only update name if name changes 2016-01-25 23:02:27 +05:30
j
2b3edd40dc faster filters 2016-01-25 23:02:04 +05:30
j
27908619ef end current import task 2016-01-25 17:16:19 +05:30
j
b5be527aca optionally send api key 2016-01-25 16:38:57 +05:30
j
c03f72b47c dont fail parsing parts of the pdf 2016-01-25 15:51:54 +05:30
j
ceffe456db fix import state before import started 2016-01-25 12:18:42 +05:30
j
26f2a40601 logging format 2016-01-25 12:18:42 +05:30
j
ea40e64b9c restart tor daemon if its no longer running 2016-01-24 18:01:42 +05:30
j
ac3dd595cf only one scanimport 2016-01-24 16:04:29 +05:30
j
cfb6913ef6 dont fail on resize 2016-01-24 16:04:18 +05:30
j
35c0c02d16 log format 2016-01-24 15:35:43 +05:30
j
d70bd8797a s/exc_info=1/exc_info=True/g 2016-01-24 14:43:03 +05:30
j
6b70fa36c7 catch more errors in debug log 2016-01-24 14:41:40 +05:30
j
adf2eef34a fix resync 2016-01-24 13:52:18 +05:30
j
3845189b4c call migrate_8 2016-01-24 13:29:18 +05:30
j
5c5c8ac39b get preview in tasks 2016-01-24 13:14:43 +05:30
j
168b293514 fix sync_metadata peer sort 2016-01-24 13:13:32 +05:30
j
4d9d54ad8f remove record_ts 2016-01-24 12:25:04 +05:30
j
139f7aee67 unused imports 2016-01-24 12:18:03 +05:30
j
fd922cc83c faster changelog rebuild 2016-01-24 12:05:58 +05:30
j
4691279b3d missing import 2016-01-24 12:05:29 +05:30
j
ff5917ade0 rebuild changelog and redownload from peers. 2016-01-23 22:19:34 +05:30
j
5bb1d4c162 futher google api tuning 2016-01-23 18:56:36 +05:30
j
f008f3d200 disable PIL debug logging 2016-01-23 18:56:13 +05:30
j
ea7826d398 don't pull changes while import is running 2016-01-23 18:36:16 +05:30
j
cded8b586a more logging, reset cancel imort 2016-01-23 18:07:25 +05:30
j
216fd0c232 rate limit google requests 2016-01-23 18:06:40 +05:30
j
609ff07214 dont use like query to remove resize cache 2016-01-23 17:47:33 +05:30
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