Commit Graph

283 Commits

Author SHA1 Message Date
Brad Fitzpatrick 2c66ab38ad whoops, was using offset wrong in filewriter 2011-05-30 19:24:19 -07:00
Brad Fitzpatrick ae221c0712 Fighting GoMySQL library; see https://groups.google.com/group/gomysql/browse_thread/thread/594ffd08c6370261 2011-05-30 18:10:13 -07:00
Brad Fitzpatrick 7de40d3b5c more mysql paranoia 2011-05-30 17:20:15 -07:00
Brad Fitzpatrick 335f3187a8 blob info page 2011-05-30 16:41:56 -07:00
Brad Fitzpatrick a3dc3f3ad7 close stmt on exit? 2011-05-30 16:39:56 -07:00
Brad Fitzpatrick 1c6470b3b3 Search: add a describe handler for javascript UI 2011-05-30 15:44:25 -07:00
Brad Fitzpatrick 4e08e4805f Move some key stuff from camlistored to jsonsign, use from camput. 2011-05-30 12:38:26 -07:00
Brad Fitzpatrick 10c3ec682c convert search to use handler registry 2011-05-29 22:52:31 -07:00
Brad Fitzpatrick c4fa4d25b4 Protocol change: remove some upload restrictions that were only for App Engine.
Now effective SHOULDs.  Not changing the spec yet, though.  Need to fix App Engine python impl.
2011-05-29 21:39:51 -07:00
Brad Fitzpatrick 884e8a63ea fix WriteFileFromReader bug when chunks already exist. 2011-05-29 18:22:56 -07:00
Brad Fitzpatrick f9b879d3bf Add schema.WriteFileFromReader and use it in UI upload helper 2011-05-29 10:50:17 -07:00
Brad Fitzpatrick 90405dc424 schema: PopulateRegularFileMap take just size, not FileInfo, add NewCommonFilenameMap 2011-05-29 10:39:41 -07:00
Brad Fitzpatrick 5ea8b64217 client: Use blobref.Sha1FromString 2011-05-29 10:38:53 -07:00
Brad Fitzpatrick f4512d3c6c blobref: add Sha1FromString helper and SizedBlobRef Equal/String 2011-05-29 10:38:21 -07:00
Brad Fitzpatrick eb0bf1e3d1 schema: move FileReader to its own file 2011-05-26 16:46:27 -07:00
Brad Fitzpatrick 50abe93da6 gofmt on camput and little style things 2011-05-26 16:41:49 -07:00
Brad Fitzpatrick 4317da0308 camlistored: convert ui, root, jsonsign to use handler registry 2011-05-26 07:34:39 -07:00
Brad Fitzpatrick 9ad7346474 blobserver registry: finish RegisterHandlerConstructor stuff
going to use it now.
2011-05-25 22:15:55 -07:00
Brad Fitzpatrick 513b594dbc replica: notify blob hub 2011-05-22 21:23:23 -07:00
Brad Fitzpatrick ccf33926c8 Replica blob handler for live replication. 2011-05-22 21:22:21 -07:00
Brad Fitzpatrick 11c959caab jsonconfig: clean up duplication, add Optiona/RequiredInt 2011-05-22 21:20:54 -07:00
Brad Fitzpatrick 9e7233bd4c shard: notify hub when file received. 2011-05-22 16:02:44 -07:00
Brad Fitzpatrick 7fb3c5a5e1 Implement MergedEnumerate; finishes shard handler. 2011-05-22 12:39:54 -07:00
Brad Fitzpatrick 3765151953 Move ChanPeeker into blobref pkg. Need it elsewhere. 2011-05-22 12:38:50 -07:00
Brad Fitzpatrick 21797e2150 Make shard Enumerate use new blobserver.MergedEnumerated; not yet implemented.
Will need for replica target too.
2011-05-21 18:19:37 -07:00
Brad Fitzpatrick 941ac98281 Shard handler implementation, except for enumerate. 2011-05-21 14:32:25 -07:00
Brad Fitzpatrick 5b1657a2d4 Make blob storage constructors take a blobserver.Loader 2011-05-21 13:40:17 -07:00
Brad Fitzpatrick 621d3e2cc9 Start of 'shard' handler. 2011-05-21 09:26:20 -07:00
Brad Fitzpatrick 0e9921e6f3 Update to get dev-server working again after jsonsign & Go changes. 2011-05-21 08:51:49 -07:00
Brad Fitzpatrick 415f2b903a pinentry: default to reading from stdin if pinentry not found 2011-05-17 20:48:57 -07:00
Brad Fitzpatrick 19b822efdd More gpgagent, pinentry, and jsonsign work. 2011-05-17 20:25:00 -07:00
Brad Fitzpatrick e9918ac445 Flesh out gpgagent library. 2011-05-17 19:32:01 -07:00
Brad Fitzpatrick 7af8ab94e6 use cachekey in code + test 2011-05-16 22:06:03 -07:00
Brad Fitzpatrick 2ac8794abe Start of gpgagent client too, similar to pinentry. 2011-05-16 21:52:01 -07:00
Brad Fitzpatrick 27ddde1db4 Add caching of decrypted entity private keys. 2011-05-16 14:35:38 -07:00
Brad Fitzpatrick ca19b8ddaa jsonsign: use Go's openpgp library; don't shell out to gpg 2011-05-16 09:01:35 -07:00
Brad Fitzpatrick bbf3408920 client config: use JSON errorutil.HighlightBytePosition helper 2011-05-15 21:56:17 -07:00
Brad Fitzpatrick 5cf560c600 osutil paths: let CAMLI_CONFIG_DIR environment override the default config directory 2011-05-15 21:55:46 -07:00
Brad Fitzpatrick e2c955bddb blobref fetcher: use osutil.CamliConfigDir, don't duplicate 2011-05-15 21:55:19 -07:00
Brad Fitzpatrick 2bc5d53aea pinentry library to be used with jsonsign shortly here. 2011-05-14 18:43:07 -07:00
Brad Fitzpatrick 95ea9ac630 Use new Go http.Request.SetBasicAuth 2011-05-14 17:14:54 -07:00
Brad Fitzpatrick 6faab75120 gofix: open for fuse 2011-05-14 16:40:39 -07:00
Brad Fitzpatrick 35e61582db gofix: get finalurl 2011-05-14 16:40:31 -07:00
Brad Fitzpatrick c5e93ceecd Rename CorruptBlobError -> ErrCorruptBlob, per Go convention 2011-05-12 19:19:49 -07:00
Brad Fitzpatrick 860f020ec4 This bug is already filed. 2011-05-12 19:18:20 -07:00
Brad Fitzpatrick 475561d74c Remove old partition interface. 2011-05-12 19:17:59 -07:00
Brad Fitzpatrick f3c7d79a2d Update NoImplStorage to latest API; add type check 2011-05-12 19:16:08 -07:00
Brad Fitzpatrick 8bfcb6a5a3 Move CountingReader to new camli/misc library 2011-05-11 08:19:23 -07:00
Brad Fitzpatrick 54057fb914 fix some logging printfs 2011-05-11 08:07:02 -07:00
Brad Fitzpatrick 76dd41e18a localdisk: use defer to reliably close the channel. missed a case on enumerate timeout before. 2011-05-11 06:55:14 -07:00