31934 Commits

Author SHA1 Message Date
Kovid Goyal
d522770230 Fix counting for hierarchical user categories 2015-11-22 11:42:24 +05:30
Kovid Goyal
d63837f814 Implement hidden categories in the server tag browser 2015-11-22 11:28:09 +05:30
Kovid Goyal
96ba7178cb Match prefs when comapring tag browsers 2015-11-22 11:17:17 +05:30
Kovid Goyal
2193d50e65 Fix counting for collapse nodes 2015-11-22 11:07:35 +05:30
Kovid Goyal
491cd2478c Compare output of GUI and server tag browsers 2015-11-22 10:57:35 +05:30
Kovid Goyal
3387169dca Allow overriding prefs used when constructing tags model 2015-11-22 10:42:21 +05:30
Kovid Goyal
b9e071e72b Add a convenient way to display string diffs 2015-11-22 10:41:46 +05:30
Kovid Goyal
e6380faa01 Start work on generating JSON representation of Tag Browser tree 2015-11-22 10:23:02 +05:30
Kovid Goyal
b44951a46c Do not run the post-installer through a shell 2015-11-22 07:31:02 +05:30
Kovid Goyal
27e4bd5b81 Simplify the main() function 2015-11-22 07:25:27 +05:30
Kovid Goyal
bea78ce197 Merge branch 'master' of https://github.com/cbhaley/calibre 2015-11-21 20:40:42 +05:30
Charles Haley
08dffd890f Recover the memory used to process intermediate nodes. 2015-11-21 15:12:07 +01:00
Charles Haley
09c43ac86d Reuse the node information (not the nodes themselves) for generated hierarchical nodes so that search indications show everywhere the node appears. 2015-11-21 15:10:24 +01:00
Charles Haley
3fe3e66880 Build the node tree in the tag browser in the necessary order (user categories last), then hide and reorder the tree as needed. 2015-11-21 11:29:08 +01:00
Kovid Goyal
c68b9b7d64 Update Amazon metadata download plugin to handle amazon.com website change that was preventing any metadata from being downloaded
Fixes a bug in the default html5lib lxml treebuilder that caused it to
fail on pages that have comments with -- or trailing hyphens.
2015-11-21 13:32:21 +05:30
Kovid Goyal
9a9e5d5d7b Allow USBMS sub-classes to override delete extra book files behavior easily 2015-11-21 10:02:42 +05:30
Kovid Goyal
e150b9f159 Edit Book: Fix error when trying to add words to user dictionary for a book with a language that has no dictionary available. Fixes #1517928 [problem with spellchecker](https://bugs.launchpad.net/calibre/+bug/1517928) [problem with spellchecker](https://bugs.launchpad.net/calibre/+bug/1517928) 2015-11-20 10:07:16 +05:30
Kovid Goyal
45e732332d Merge branch 'master' of https://github.com/JimmXinu/calibre 2015-11-20 09:53:17 +05:30
Jim Miller
052351795a sanitize_html shouldn't error when handed an empty string. 2015-11-19 13:02:39 -06:00
Kovid Goyal
069e77b9b9 Remove no longer working recipes 2015-11-19 08:13:47 +05:30
Kovid Goyal
e49746dd07 Merge branch 'master' of https://github.com/cbhaley/calibre 2015-11-19 08:06:26 +05:30
Charles Haley
e4bc8d29e1 Bug fixes:
1) a GST is not included in the tag browser unless at least one "real" user category is defined.
2) GSTs are supposed to be consolidated: identical (case insensitive) items are supposed to only appear once.

Some efficiency improvements
2015-11-18 18:48:03 +01:00
Kovid Goyal
11ca9bc818 Move code to update user categories in field metadata from the tag browser into db.cache. This way it works everywhere, and is only run once unless the user actually changes the preference. 2015-11-18 18:41:32 +05:30
Kovid Goyal
737059052a Remove unused code 2015-11-18 13:27:11 +05:30
Kovid Goyal
0ae1391095 Remove unneeded fields from JSON rep of categories 2015-11-18 12:56:03 +05:30
Kovid Goyal
ebc641d894 Code to get categories as JSON 2015-11-18 12:44:02 +05:30
Kovid Goyal
16f80aed36 ... 2015-11-18 11:26:07 +05:30
Kovid Goyal
5f89dcf6e4 Fix session data for anonymous users not being restored on startup 2015-11-18 09:02:53 +05:30
Kovid Goyal
bae7f40165 Implement changing sort order 2015-11-18 08:54:26 +05:30
Kovid Goyal
50f058ed86 Fix ajax modals 2015-11-18 08:20:21 +05:30
Kovid Goyal
58c7d4a5b7 ... 2015-11-18 08:03:42 +05:30
Kovid Goyal
b5801dc63d ... 2015-11-18 07:40:31 +05:30
Kovid Goyal
8538c08b03 ... 2015-11-18 01:35:55 +05:30
Kovid Goyal
33b165bfce When sending books without a cover to the device, generate a cover with book metadata instead of using the blank book icon 2015-11-18 01:03:37 +05:30
Kovid Goyal
95471f746a Fix rendering of banner cover style at small scale factors 2015-11-18 00:47:10 +05:30
Kovid Goyal
5164e4b005 Update RapydScript 2015-11-17 23:52:42 +05:30
Kovid Goyal
9175ef0925 Use atomic_write() for duktape writefile implementation 2015-11-17 23:51:25 +05:30
Kovid Goyal
66b0234c8b ... 2015-11-17 23:49:08 +05:30
Kovid Goyal
271be4e9bd ... 2015-11-17 23:48:00 +05:30
Kovid Goyal
1b086443ca ... 2015-11-17 22:02:36 +05:30
Kovid Goyal
0c73b725f4 Modal wrapper for ajax_send 2015-11-17 21:19:05 +05:30
Kovid Goyal
817d966e3c ... 2015-11-17 21:18:35 +05:30
Kovid Goyal
4a3a104c4c Cover browser: Allow customizing the text that appears under the covers with a template in Preferences->Look & Feel->Cover browser 2015-11-17 20:46:59 +05:30
Kovid Goyal
ba8c06fedf Bulk metadata edit: Fix search and replace not working for text like custom columns if the column contains only a single value. Fixes #1516890 [Bulk search-and-replace has no effect under certain specific conditions](https://bugs.launchpad.net/calibre/+bug/1516890)
Merge branch 'master' of https://github.com/cbhaley/calibre
2015-11-17 16:33:10 +05:30
Charles Haley
c39a755177 Fix #1516890: in bulk metadata update, the "apply changes" checkbox for text-like custom columns was erroneously checked if only one value exists for the column, causing the value to be reset when the edit applied. 2015-11-17 11:52:36 +01:00
Kovid Goyal
56c31d8067 Convenience function to run an AJAX call with a progress dialog 2015-11-17 16:04:45 +05:30
Kovid Goyal
81dfbd90f9 A modal progress dialog 2015-11-17 15:37:01 +05:30
Kovid Goyal
d6f40f2d8c When using copy to library also create missing composite columns in the destination library. Fixes #1516880 [Logic custom columns NOT copying from one library to another](https://bugs.launchpad.net/calibre/+bug/1516880)
Merge branch 'master' of https://github.com/cbhaley/calibre
2015-11-17 15:29:40 +05:30
Charles Haley
ed129d1187 bug #1516880: composite column definitions not copied when books are copied between libraries. Note that because the templates can vary, there is no guarantee that composite column A in library 1 will produce the same answer as column A in library 2. 2015-11-17 10:48:27 +01:00
Kovid Goyal
d05da909b5 Update version of poppler bundled with calibre 2015-11-16 13:11:36 +05:30