server/publish.go: use go html template for publishing

Change-Id: Ic1c55d35e52e407864d339927b453de58a64e03c
Merge "server/publish.go: use go html template for publishing"
index: move Storage interface to its own file, start of constructor registration system

Change-Id: I49547ec8cd12e2f559876fa17063d7f16e73195d
Merge branch 'master' of https://camlistore.googlesource.com/camlistore
Fix thumbnails, broken in cb31dd58d2c5513e2568e241174d0bf7fbdbf0cc

Change-Id: I82defd54f53d4f6c1a594185d5e9b7d3a4a92c07
Ugh. Make importer.Object.SetAttr() actually ignore duplicate values.

I'm going to spend some time writing unit tests for this next I think.

Change-Id: Id19f24882f33adea4060ff852a986626ea8de171
dummy importer: upload a file and make a node.
fs: put all importer roots in the roots folder too
buildbot/master: add Basic Auth support.

Moved BasicAuth parsing and localhost detection code from pkg/auth ->
pkg/httputil for use by buildbot master.

Added user config file for remote access.  The file's name is
"masterbot-config.json" and is located in osutil.CamliConfigDir(),
which on Unix will resolve to $XDG_CONFIG_HOME/camlistore/, if
XDG_CONFIG_HOME set, or ~/.config/camlistore/.  On Windows it will be
under %APPDATA%\Camlistore\.  The expected format is a json object
with usernames as the keys and sha1 sums of the password as the
values, i.e.:

    {
        "user1": "1234567890abcdef12341234567890abcdef1234",
        "user2": "1234abcdef12345678901234abcdef1234567890"
    }

This file is polled at a 1 minute interval and reparsed if the file's
modification time is more recent then the previous parse attempt.  It
is ok for the file to go missing, it will zero out the remote user
list. A malformed file will result in the master exiting.

New commandline flags, -tlsCertFile & -tlsKeyFile, added.  Specifying
both will enable TLS on the listener specified by -host.  The go
source contains generate_cert.go in crypto/tls that can be used to
generate self-signed cert.pem and key.pem for testing.

Added -skiptlscheck commandline option to builder.  This allows the
builder to report to https:// addresses with self-signed certs as we
don't currently have a way to specify the cert chains to be used
for TLS verification.  This is a stop-gap solution.

When launching a master that listens for secure connections, we
currently need tell the builders to skip certificate validation. Add
'-builderopts="-skiptlscheck"' to the master's commandline to skip
cerfication verification.

Change-Id: I0750b5c9fa8f4def67fc05a841087b50abded2f7
website: more redirects to the issues tracker

http://camlistore.org/issue/243

Change-Id: I25424ae5e69f602e8a8bb8d69954f37f28b8f687
Merge "buildbot/master: add Basic Auth support."
serverconfig: fix tests because of previous publish config changes

Change-Id: I643b31be80dcc86b4cdb76bc8a9012dcb57e65ee
Merge "website: more redirects to the issues tracker"
Flickr importer: store credentials in Camlistore, not weird JSON file.

Change-Id: I07ed4e9043c9fa448425144886dc3b7047c4e85b
Merge "Flickr importer: store credentials in Camlistore, not weird JSON file."
Flickr importer: Don't refetch or import unmodified photos.

Change-Id: I2ade0aa70e3caca8c3c1153ffee448d09d819da6
Flickr importer: import sets and populate with links to photos.

Change-Id: I6c53dade3e96373fb3fb9ea4b172c53d5e22d988
remote storage