diff --git a/Changelog.yaml b/Changelog.yaml
index b0c231ce3a..699aa3a531 100644
--- a/Changelog.yaml
+++ b/Changelog.yaml
@@ -4,6 +4,134 @@
# for important features/bug fixes.
# Also, each release can have new and improved recipes.
+- version: 0.7.37
+ date: 2011-01-02
+
+ new features:
+ - title: "This realease is mostly a bug fix release to fix various things that got broken by all the changes in 0.7.36"
+
+ - title: "Tag browser: Move the configuration of the sub-category grouping from tweaks to the Preferences dialog"
+
+ - title: "Tag browser: Allow changing the sub-categorization scheme from the right click menu"
+
+ bug fixes:
+ - title: "Fix regression in 0.7.36 that caused the Tag Browser to break if you have items in it with empty sort values"
+
+ - title: "Catalog generation: Fix various regressions introduced in 0.7.36 on windows"
+ description: >
+ "Database integrity check not working after catalog generation. Catalog generation failing with a file in use error. Spurious question marks appearing in the catalog"
+
+ - title: "Catalog generation: Work on a copy of the library database so as not to lock it"
+
+ - title: "Catalog generation: Handle merge of comments + custom field when custom filed is None"
+
+ - title: "Fix regression that broke sort_columns_at_startup tweak in 0.7.36"
+
+ - title: "Tag Browser: Fix the Manage X items in the right click menu, which broke in 0.7.36"
+
+ - title: "Tag Browser: Fix grouping by name for authors"
+
+ - title: "Nook color: Fix main memory and SD card swapped in calibre"
+ tickets: [8159]
+
+ - title: "Fix regression in 0.7.36 that broke PDF Output when specifying a cover"
+
+ - title: "Catalog generation: Fix regression in MOBI catalog that caused it to not appear as periodical on Kindle"
+
+ - title: "Fix regression in 0.7.36 that broke opening the book details dialog by double clicking on the book details panel"
+
+
+- version: 0.7.36
+ date: 2011-01-01
+
+ new features:
+ - title: "Tag browser: Add subcategories and search"
+ description: "When a category has many items, it will be automatically split up. Also add a search to quickly find an item in the Tag Browser. The sub categories can be controlled via preferences->Tweaks. Also add a button to collapse all categories"
+ type: major
+
+ - title: "Device drivers for the Google Nexus S, Motorola Backflip, Samsung Galaxy Tablet, PocketBook 603/903, EEEReader DR900 and the NextBook"
+
+ - title: "Tag editor dialog now remebers its last used size"
+ tickets: [8063]
+
+ - title: "OS X dmg: Add a symlink pointing to the Applications folder for easy installation"
+ tickets: [8052]
+
+ - title: "Catalog generation: CSV/XML catalogs now support custom fields. Also write UTF-8 BOM to CSV output file."
+ tickets: [8014]
+
+ - title: "EPUB/MOBI catalogs: Various new features"
+ description: "Added a custom field/value for excluding books, OR'd with existing tag list. Added a thumbnail width hint, from 1.0 - 2.0 inches. Deprecated support for special note tag '*', added support for custom column containing note to be inserted in Description header. Added 'Merge with comments' feature, which non-destructively combines Comments with a custom field when generating Descriptions. Moved Description header into a user-editable template file. All fields except thumb and comments accessible to template."
+ tickets: [7820, 5297, 6765]
+
+ - title: "SONY driver: Allow the creation of an All by Something category via the tweaks."
+
+ - title: "Add a tweak to control the delay when sending mails using gmail or hotmail."
+ tickets: [8064]
+
+ - title: "Add output encoding option for TXT/PDB/PMLX output plugins to the GUI"
+
+ - title: "Add an environment variable to control the temporary directory calibre uses"
+
+ - title: "Use the new HTML editor widget for comments custom columns as well"
+
+ - title: "Content server: Fix regression that broke saved searches"
+ tickets: [8047]
+
+ - title: "E-book viewer: Fix regression that broke previous page button"
+
+ - title: "Add a tweak to allow double clicking on the book list to open the edit metadata dialog"
+ tickets: [8032]
+
+ - title: "Add a tweak to use a template for formatting SONY collection names"
+ tickets: [8033]
+
+ - title: "Bulk edit metadata, search and replace: Show all values for multiple fields in the text region, separated by :::"
+ tickets: [8030]
+
+ - title: "Update user agent used by calibre when connecting to websites"
+
+ bug fixes:
+ - title: "FB2 Output: Fix regression that broke images in generated FB2 files"
+ tickets: [8142]
+
+ - title: "When unzipping zip files that contain filenames with unknown character encoding, sanitize the filenames correctly"
+ tickets: [8050]
+
+ - title: "TCR Output: Fix TCR compression adding junk to the end of the text. Remove compression level option."
+
+ - title: "PDF Output: Fix regression that broke the margin options."
+
+ - title: "FB2 Input: Handle non UTF-8 encodings on OS X"
+ tickets: [8115]
+
+ - title: "SNB Input: Better error handling if some metadata is missing in the SNB file. Add Wi-Fi connection support for the Bambook"
+
+ - title: "Allow hyperlinks to be clicked in comments metadata in the book details panel"
+ tickets: [8054]
+
+ improved recipes:
+ - Brand Eins
+ - Volksrant
+ - Smithsonian
+ - Business World
+ - El Universal
+ - Salon
+ - The Week
+ - EL Pais
+ - Wired Magazine
+ - Heraldo de Aragon
+
+ new recipes:
+ - title: "Karlsruhe News"
+ author: "tfeld"
+
+ - title: "El Periodico and Red Aragon"
+ author: "desUBIKado"
+
+ - title: "Business Insider"
+ author: "Darko Miletic"
+
- version: 0.7.35
date: 2010-12-23
diff --git a/resources/catalog/stylesheet.css b/resources/catalog/stylesheet.css
index 057c6c9f42..bf83a4c60b 100644
--- a/resources/catalog/stylesheet.css
+++ b/resources/catalog/stylesheet.css
@@ -2,19 +2,29 @@ body { background-color: white; }
p.title {
margin-top:0em;
- margin-bottom:1em;
+ margin-bottom:0em;
text-align:center;
font-style:italic;
font-size:xx-large;
- border-bottom: solid black 2px;
+ }
+
+p.series_id {
+ margin-top:0em;
+ margin-bottom:0em;
+ text-align:center;
+ }
+
+a.series_id {
+ font-style:normal;
+ font-size:large;
}
p.author {
+ font-size:large;
margin-top:0em;
margin-bottom:0em;
text-align: center;
text-indent: 0em;
- font-size:large;
}
p.author_index {
@@ -26,7 +36,8 @@ p.author_index {
text-indent: 0em;
}
-p.tags {
+p.genres {
+ font-style:normal;
margin-top:0.5em;
margin-bottom:0em;
text-align: left;
@@ -108,6 +119,13 @@ p.date_read {
text-indent:-6em;
}
+hr.annotations_divider {
+ width:50%;
+ margin-left:1em;
+ margin-top:0em;
+ margin-bottom:0em;
+ }
+
hr.description_divider {
width:90%;
margin-left:5%;
@@ -117,20 +135,37 @@ hr.description_divider {
border-left: solid white 0px;
}
-hr.annotations_divider {
- width:50%;
- margin-left:1em;
- margin-top:0em;
- margin-bottom:0em;
+hr.header_divider {
+ width:100%;
+ border-top: solid white 1px;
+ border-right: solid white 0px;
+ border-bottom: solid black 2px;
+ border-left: solid white 0px;
+ }
+
+hr.merged_comments_divider {
+ width:80%;
+ margin-left:10%;
+ border-top: solid white 0px;
+ border-right: solid white 0px;
+ border-bottom: dashed gray 2px;
+ border-left: solid white 0px;
}
td.publisher, td.date {
font-weight:bold;
text-align:center;
}
-td.rating {
- text-align: center;
+
+td.rating{
+ text-align:center;
}
+
+td.notes {
+ font-size: 100%;
+ text-align:center;
+ }
+
td.thumbnail img {
-webkit-box-shadow: 4px 4px 12px #999;
}
\ No newline at end of file
diff --git a/resources/catalog/template.xhtml b/resources/catalog/template.xhtml
new file mode 100644
index 0000000000..97da23243a
--- /dev/null
+++ b/resources/catalog/template.xhtml
@@ -0,0 +1,41 @@
+
+
+
+
diff --git a/resources/default_tweaks.py b/resources/default_tweaks.py
index efa46fa7ae..4ae0278133 100644
--- a/resources/default_tweaks.py
+++ b/resources/default_tweaks.py
@@ -55,6 +55,24 @@ author_sort_copy_method = 'invert'
# categories_use_field_for_author_name = 'author_sort'
categories_use_field_for_author_name = 'author'
+# When partitioning the tags browser, the format of the subcategory label is
+# controlled by a template: categories_collapsed_name_template if sorting by
+# name, categories_collapsed_rating_template if sorting by average rating, and
+# categories_collapsed_popularity_template if sorting by popularity. There are
+# two variables available to the template: first and last. The variable 'first'
+# is the initial item in the subcategory, and the variable 'last' is the final
+# item in the subcategory. Both variables are 'objects'; they each have multiple
+# values that are obtained by using a suffix. For example, first.name for an
+# author category will be the name of the author. The sub-values available are:
+# name: the printable name of the item
+# count: the number of books that references this item
+# avg_rating: the averate rating of all the books referencing this item
+# sort: the sort value. For authors, this is the author_sort for that author
+# category: the category (e.g., authors, series) that the item is in.
+categories_collapsed_name_template = '{first.sort:shorten(4,'',0)} - {last.sort:shorten(4,'',0)}'
+categories_collapsed_rating_template = '{first.avg_rating:4.2f:ifempty(0)} - {last.avg_rating:4.2f:ifempty(0)}'
+categories_collapsed_popularity_template = '{first.count:d} - {last.count:d}'
+
# Set whether boolean custom columns are two- or three-valued.
# Two-values for true booleans
@@ -289,3 +307,11 @@ locale_for_sorting = ''
# metadata one book at a time. If True, then the fields are laid out using two
# columns. If False, one column is used.
metadata_single_use_2_cols_for_custom_fields = True
+
+# The number of seconds to wait before sending emails when using a
+# public email server like gmail or hotmail. Default is: 5 minutes
+# Setting it to lower may cause the server's SPAM controls to kick in,
+# making email sending fail. Changes will take effect only after a restart of
+# calibre.
+public_smtp_relay_delay = 301
+
diff --git a/resources/images/news/business_insider.png b/resources/images/news/business_insider.png
new file mode 100644
index 0000000000..7e86e583e8
Binary files /dev/null and b/resources/images/news/business_insider.png differ
diff --git a/resources/recipes/brand_eins.recipe b/resources/recipes/brand_eins.recipe
index 3d62079716..9b77c7f279 100644
--- a/resources/recipes/brand_eins.recipe
+++ b/resources/recipes/brand_eins.recipe
@@ -1,19 +1,16 @@
#!/usr/bin/env python
# -*- coding: utf-8 mode: python -*-
-# Find the newest version of this recipe here:
-# https://github.com/consti/BrandEins-Recipe/raw/master/brandeins.recipe
-
__license__ = 'GPL v3'
__copyright__ = '2010, Constantin Hofstetter , Steffen Siebert '
-__version__ = '0.96'
+__version__ = '0.97'
''' http://brandeins.de - Wirtschaftsmagazin '''
import re
import string
+from calibre.ebooks.BeautifulSoup import Tag
from calibre.web.feeds.recipes import BasicNewsRecipe
-
class BrandEins(BasicNewsRecipe):
title = u'brand eins'
@@ -28,6 +25,8 @@ class BrandEins(BasicNewsRecipe):
language = 'de'
publication_type = 'magazine'
needs_subscription = 'optional'
+ # Prevent that conversion date is appended to title
+ timefmt = ''
# 2 is the last full magazine (default)
# 1 is the newest (but not full)
@@ -66,6 +65,13 @@ class BrandEins(BasicNewsRecipe):
new_p = "