Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Jul 14, 2012
  1. @bbolli
Commits on Jul 13, 2012
  1. @bbolli

    tumblr_backup: move two functions into module scope

    bbolli authored
    save_style() and get_theme() don't access any instance variables.
  2. @bbolli

    tumblr_backup: use custom.css if it is present

    bbolli authored
    It should be put in the base folder (where index.html is).
  3. @bbolli
Commits on Jul 4, 2012
  1. @bbolli
Commits on Jul 3, 2012
  1. @bbolli
  2. @bbolli
  3. @bbolli
Commits on Jun 26, 2012
  1. @bbolli
Commits on May 8, 2012
  1. @bbolli

    tumblr_backup: refactor the getting and parsing of XML

    bbolli authored
    Add retries and better error handling.
Commits on Apr 19, 2012
  1. @bbolli
Commits on Apr 15, 2012
  1. @bbolli
  2. @bbolli
Commits on Apr 1, 2012
  1. @bbolli
Commits on Mar 21, 2012
  1. @bbolli
  2. @bbolli

    tumblr_backup: sort the posts by ID before checking limits

    bbolli authored
    This fixes the problem that back-dated posts were not saved by the
    incremental backup mode. When a post is back-dated, its ID is higher
    than the currently most recent post (IDs always increase), but it
    is not the first one in the XML (the XML is ordered by descending time).
    
    Sorting the posts by ID descending solves this.
Commits on Mar 19, 2012
  1. @bbolli

    tumblr_backup: drop the main exception handler

    bbolli authored
    This prints the full stack trace to ease debugging.
  2. @bbolli

    tumblr_backup: pick up the avatar image in save_index()

    bbolli authored
    This gets rid of self.avatar.
Commits on Mar 18, 2012
  1. @bbolli

    tumblr_backup: refactor the inner backup loop

    bbolli authored
    This gets rid of that ridiculous "i = None to exit the outer loop" hack.
  2. @bbolli
  3. @bbolli
  4. @bbolli
Commits on Mar 17, 2012
  1. @bbolli
  2. @bbolli
  3. @bbolli
Commits on Mar 16, 2012
  1. @bbolli

    tumblr_backup: refactor the Blosxom differences into a subclass

    bbolli authored
    This gets rid of a number of "if options.blosxom"s all over the place.
    Polymorphism is a good thing!
  2. @bbolli
Commits on Mar 15, 2012
  1. @bbolli

    tumblr_backup: don't automatically save in XML format with -a

    bbolli authored
    -x on the same command line has the same effect.
  2. @bbolli

    tumblr_backup: provide command-line help

    bbolli authored
    This means to replace getopt with the more modern (but already deprecated)
    optparse. The reason why I don't use the current argparse is that it was
    only added to Python's standard library in release 2.7. Anyway, optparse
    is relatively close to argparse API-wise, so most of the work can be reused.
  3. @bbolli
Commits on Mar 14, 2012
  1. @bbolli
  2. @bbolli
  3. @bbolli

    tumblr_backup: add the -r and -R options

    bbolli authored
    They reverse order of the monthly archive and index pages.
  4. @bbolli

    tumblr_backup: rebuild the index after each backup

    bbolli authored
    By reading the existing files in posts/ and using their mtime,
    the index can be rebuilt after each backup operation. This means
    that archive/current.html goes away.
  5. @bbolli

    tumblr_backup: use CSS to hide the unwanted permalink

    bbolli authored
    The archive pages show the link to the single post page;
    The single post page shows the link to the original Tumblr post.
    
    This allows to use the same HTML source for archive and post pages,
    which will become important in the next commit.
Something went wrong with that request. Please try again.