Switch branches/tags
Nothing to show
Commits on Jul 14, 2012
Commits on Jul 13, 2012
  1. tumblr_backup: move two functions into module scope

    save_style() and get_theme() don't access any instance variables.
    bbolli committed Jul 13, 2012
  2. tumblr_backup: use custom.css if it is present

    It should be put in the base folder (where index.html is).
    bbolli committed Jul 13, 2012
Commits on Jul 4, 2012
Commits on Jul 3, 2012
Commits on Jun 26, 2012
Commits on May 8, 2012
  1. tumblr_backup: refactor the getting and parsing of XML

    Add retries and better error handling.
    bbolli committed May 8, 2012
Commits on Apr 19, 2012
Commits on Apr 15, 2012
Commits on Apr 1, 2012
Commits on Mar 21, 2012
  1. tumblr_backup: sort the posts by ID before checking limits

    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.
    bbolli committed Mar 21, 2012
Commits on Mar 19, 2012
  1. tumblr_backup: drop the main exception handler

    This prints the full stack trace to ease debugging.
    bbolli committed Mar 19, 2012
  2. tumblr_backup: pick up the avatar image in save_index()

    This gets rid of self.avatar.
    bbolli committed Mar 19, 2012
Commits on Mar 18, 2012
  1. tumblr_backup: refactor the inner backup loop

    This gets rid of that ridiculous "i = None to exit the outer loop" hack.
    bbolli committed Mar 18, 2012
Commits on Mar 17, 2012
Commits on Mar 16, 2012
  1. tumblr_backup: refactor the Blosxom differences into a subclass

    This gets rid of a number of "if options.blosxom"s all over the place.
    Polymorphism is a good thing!
    bbolli committed Mar 16, 2012
Commits on Mar 15, 2012
  1. tumblr_backup: don't automatically save in XML format with -a

    -x on the same command line has the same effect.
    bbolli committed Mar 15, 2012
  2. tumblr_backup: provide command-line help

    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.
    bbolli committed Mar 15, 2012
Commits on Mar 14, 2012
  1. tumblr_backup: add the -r and -R options

    They reverse order of the monthly archive and index pages.
    bbolli committed Mar 14, 2012
  2. tumblr_backup: rebuild the index after each backup

    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.
    bbolli committed Mar 14, 2012
  3. tumblr_backup: use CSS to hide the unwanted permalink

    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.
    bbolli committed Mar 13, 2012