Commit Graph

118 Commits

Author SHA1 Message Date
Brad Fitzpatrick 467ae0a9e0 Rename server/go/blobserver to server/go/camlistored
.. in prep for it getting more front-end stuff.  I'll make a smaller
server/go/blobserver binary later for people just wanting a
stand-alone blobserver.
2011-03-29 20:29:32 -07:00
Brad Fitzpatrick c9f36a83ec Fix copyright license. Not mine. 2011-03-29 17:42:49 -07:00
Brad Fitzpatrick 787576f396 Some binary names changed (match directories now) 2011-03-19 01:30:18 -07:00
Brad Fitzpatrick 184afbc2a3 Auto-generate Go Makefiles.
Dependencies are now only in one place (in source code, enforced for correctness by Go)
instead of three places.
2011-03-19 00:27:03 -07:00
Brad Fitzpatrick 010da9d9a7 Move some libraries from server/go to lib/go.
These were just in server/ before the directory structure was figured out.
2011-03-18 21:30:29 -07:00
Brad Fitzpatrick 44dbbd2c40 Remove old Makefile 2011-03-18 21:27:07 -07:00
Brad Fitzpatrick 19a3910ec0 Add flag to name the webserver's base URL. 2011-03-18 18:00:45 -07:00
Brad Fitzpatrick bbe3fab9f4 Add flag for MySQL database name. 2011-03-18 18:00:17 -07:00
Brad Fitzpatrick a30aefad30 TLS webserver support. Untested. 2011-03-17 18:56:55 -07:00
Brad Fitzpatrick ce0d30eb1a Remove hard-coding of my public key; use config file. 2011-03-15 23:16:24 -07:00
Brad Fitzpatrick 8946a88bdc Start of wiring up search to mysql to http. 2011-03-13 16:38:32 -07:00
Brad Fitzpatrick f70cc6d2e5 Updates to latest Go language + library changes. 2011-03-12 12:32:40 -08:00
Brad Fitzpatrick 77e4ebe48f Epic refactoring around partition handling; MySQL indexer starting to work
The MySQL indexer storage implementation now does Receive, Enumerate,
and Stat.

So I can now just camsync from a localdisk blobserver to a
mysqlindexer blobserver and push-index stuff.
2011-03-06 20:11:36 -08:00
Brad Fitzpatrick 9652999910 Paranoia: use db name 'devcamlistore', not 'camlistore' 2011-03-06 13:13:39 -08:00
Brett Slatkin dfe4b27fa2 gofmt 2011-03-05 15:32:08 -08:00
Brett Slatkin e36a7679b2 mysql client pool work for indexer; temporary glue in blobserver 2011-03-05 15:10:50 -08:00
Brad Fitzpatrick 9924b32691 Temporarily wiring up mysqlindexer to blobserver. 2011-03-05 14:25:08 -08:00
Brad Fitzpatrick 113de1f3a3 get handler cleanup, break apart into smaller bits 2011-03-05 00:03:53 -08:00
Brad Fitzpatrick 38a85571ca Add dev-blobserver wrapper; remove run.sh 2011-03-02 21:46:07 -08:00
Brad Fitzpatrick 1300b213f2 Update for Go's new http.Request.Header type. 2011-02-25 07:38:12 -08:00
Brad Fitzpatrick 6b4b726c69 Revert "Update for Go's new http.Request.Header type."
This reverts commit b021345ed6.
2011-02-24 10:28:00 -08:00
Brad Fitzpatrick b021345ed6 Update for Go's new http.Request.Header type. 2011-02-23 17:56:40 -08:00
Brad Fitzpatrick 73587e6085 Rename the blobserver 'preupload' method to 'stat'
This is prep for more additions to stat.
2011-02-08 08:24:16 -08:00
Brad Fitzpatrick 4db299e74b blobserver: library-ify preupload and upload. 2011-02-04 14:31:23 -08:00
Brad Fitzpatrick 1af31f30db blobserver: move get to handlers library + random cleanup 2011-02-03 17:28:05 -08:00
Brad Fitzpatrick 9411f9b8da blobserver: move enumerate to handlers library; make it use Storage interface 2011-02-03 17:08:04 -08:00
Brad Fitzpatrick ba48b63543 Enumerate spec was inconsistent; fix it. 2011-02-03 17:06:01 -08:00
Brad Fitzpatrick 197819e4cb Ignore more 2011-02-03 17:05:19 -08:00
Brad Fitzpatrick c0261e5b95 update README 2011-02-03 15:58:37 -08:00
Brad Fitzpatrick c027ca9d9e Libraryify: create lib/go/blobserver/handles; move Remove 2011-02-03 15:56:02 -08:00
Brad Fitzpatrick 850623f932 Start ripping up blobserver into libraries, starting with blobserver.Storage 2011-02-03 15:45:35 -08:00
Brad Fitzpatrick 4df8d2ba04 Use switch, not ifs. 2011-02-03 08:28:47 -08:00
Brad Fitzpatrick 8b8f462f6a blobserver work: remove, enumerate, partition URL changes, cleanup
* Blob "remove" support for blobs in the non-default partition.

* Partition URL support:  /partition-<name>/camli/*

* Create interface.go for the interface of the storage layer.
  Once everything uses this, we can do different storage layers.

* Webserver work to let you do pre-mux dispatch, which is
  directory-level granularity only.
2011-02-02 22:42:31 -08:00
Amir Mohammad Saied d6488c32c4 Making the codebase compatible with latest Go release (2011-02-01.1) 2011-02-02 12:27:30 -08:00
Brad Fitzpatrick 38b4f153e0 go blobserver: queue partition support, via flag. 2011-02-01 22:48:12 -08:00
Brad Fitzpatrick 39f1ebb895 go blobserver: Partition support for enumerate 2011-02-01 20:50:01 -08:00
Brad Fitzpatrick adf13c6123 go blobserver: fix crash if short blobrefs requested. 2011-01-31 10:19:37 -08:00
Brad Fitzpatrick 749f73866d gofmt style changes only. 2011-01-29 00:05:07 -08:00
Brad Fitzpatrick 19d0934558 Send HTML in the blobserver unauthorized responses. Easier to demo. 2011-01-29 00:04:32 -08:00
Brad Fitzpatrick 873cb075d8 Go blobserver: guess a MIME type for better demos 2011-01-29 00:00:59 -08:00
Brad Fitzpatrick f7d76303e7 Slap on copyright headers. 2011-01-27 23:07:18 -08:00
Brad Fitzpatrick 3bcba74f41 Fix copyright lines.
Put this under Google's copyright, not our personal ones.
2011-01-27 23:03:57 -08:00
Brad Fitzpatrick 296efd6e99 Remove stealth mode. 2011-01-26 13:09:39 -08:00
Brad Fitzpatrick 3f7e7288e0 Sharing works. Woot. 2011-01-26 10:03:36 -08:00
Brad Fitzpatrick d1eb213ec0 Merge branch 'master' of danga.com:camlistore 2011-01-25 22:48:26 -08:00
Brad Fitzpatrick 6132d7f9e7 Start of blobserver support for share/via requests. 2011-01-25 22:46:21 -08:00
Brett Slatkin 02717908ef adds -via to camget; adds -reqlog to blobserver 2011-01-25 21:34:17 -08:00
Brad Fitzpatrick 22819c72eb remove accidental strace file 2011-01-23 21:47:30 -08:00
Brett Slatkin b909bc32c3 Attempt at writing a camli object signing/verify server for app engine (in java); foiled by security manager restrictions preventing bouncycastle from working in App Engine 2011-01-22 17:02:27 -08:00
Brett Slatkin 2521ed5f9e move app engine blobserver into its own directory 2011-01-21 12:51:44 -08:00