Commit Graph

582 Commits

Author SHA1 Message Date
Bill Thiede b899b80ca9 Send auth header with GET requests too.
Change-Id: I14d5e5655f5b3137a0ad0d121504993df7f0ed9f
2013-08-02 21:13:53 -07:00
Sarath Lakshman 778a607c67 client: fix blobserver path in curl and python clients
Change-Id: Ie7a204ee64a9373c696e447ccf93a790584676d6
2013-01-01 00:27:11 +05:30
Brad Fitzpatrick 0714a463c9 Update from r60 to [almost] Go 1.
A lot is still broken, but most stuff at least compiles now.

The directory tree has been rearranged now too.  Go libraries are now
under "pkg".  Fully qualified, they are e.g. "camlistore.org/pkg/jsonsign".

The go tool cannot yet fetch from arbitrary domains, but discussion is
happening now on which mechanism to use to allow that.

For now, put the camlistore root under $GOPATH/src.  Typically $GOPATH
is $HOME, so Camlistore should be at $HOME/src/camlistore.org.

Then you can:

$ go build ./server/camlistored

... etc

The build.pl script is currently disabled.  It'll be resurrected at
some point, but with a very different role (helping create a fake
GOPATH and running the go build command, if things are installed at
the wrong place, and/or running fileembed generators).

Many things are certainly broken.

Many things are disabled.  (MySQL, all indexing, etc).

Many things need to be moved into
camlistore.org/third_party/{code.google.com,github.com} and updated
from their r60 to Go 1 versions, where applicable.

The GoMySQL stuff should be updated to use database/sql and the ziutek
library implementing database/sql/driver.

Help wanted.

Change-Id: If71217dc5c8f0e70dbe46e9504ca5131c6eeacde
2012-02-18 21:53:06 -08:00
mpl c53860538d fix histogram algo
Change-Id: Ib26321785f388d0863fedf542b9bb4d8a0deb548
2012-01-02 20:35:21 +01:00
Andrew Gerrand 25542a9c68 BlobSniffer.Body return []byte instead of string 2012-01-02 15:21:13 +11:00
mpl e15ae7b7bf mongo index tests, details
Change-Id: I8fee05b2c7bfc8521add54ccfb56581f80158951
2012-01-01 00:00:34 +01:00
mpl a7b2879e43 mongodb indexer + dependencies (mgo, bson, gocheck).
Change-Id: I6a54ff99777b6283829f3dfcafb0295b6022d5a7
2011-12-31 23:36:16 +01:00
Brad Fitzpatrick 80fe50a29c set mime types in download
Change-Id: I65ac8467f8377a5d703d7a86dfb0ab99281510db
2011-12-10 17:52:35 -08:00
Brad Fitzpatrick be45ed886b require auth for ui, search, jsonsign, sync handlers
Change-Id: I2fec6688af87344c09fbe9099bded230efa745c7
2011-12-10 17:18:19 -08:00
Brad Fitzpatrick b16d440543 auth: add auth.Handler, remove some leftover debug logs
Change-Id: I424984acc33e9eaff36a6b5e1e9e490ed79d71b8
2011-12-10 16:56:35 -08:00
Brad Fitzpatrick a16b1f43ca jsonsign: make sure armored public key ends in a newline
Change-Id: Ia0e52c6e011db295c21eb8b1b6b6534873bf6310
2011-12-07 14:39:40 -08:00
Brett Slatkin b781b3b0b1 Merge "AE: Beginning to hook up syncer; needs refactoring for background tasks" 2011-12-04 23:20:34 +00:00
Brett Slatkin 3941dec356 AE: Beginning to hook up syncer; needs refactoring for background tasks
Change-Id: I809cfbc98f7ec58aca58db82dc6ce27b28b7fd65
2011-12-04 15:19:28 -08:00
Brad Fitzpatrick 6fe63c33be remove debug logs
Change-Id: I2f34d591b86145e4a4b028c6f878a1a5f7acb121
2011-12-04 15:12:53 -08:00
Brad Fitzpatrick d1cb36da9f Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2011-12-04 14:47:17 -08:00
Brad Fitzpatrick b648a17de9 index: implement some of SearchPermanodesWithAttr (untested, fighting)
Change-Id: I703f6432dba0781e4b125f2cd959fd7fa90efedb
2011-12-04 14:47:05 -08:00
Brett Slatkin 894c3c66ae Moves sync module into lib/go/server
Change-Id: Iccf8674712f4ecb70d9eb28e8316d151a88e842f
2011-12-04 14:35:26 -08:00
Brett Slatkin 1272ff17e9 AE: Fix typo in remove.go
Change-Id: I065066b2b8d9c4c728fce150348254730d1aecd5
2011-12-04 14:10:35 -08:00
Brad Fitzpatrick f643adf778 search: clarify SearchPermanodesWithAttr behavior
Change-Id: I10ae57ae3632e3f40e5d3d1f7b3a7f93006847d8
2011-12-04 13:19:16 -08:00
Brad Fitzpatrick 741a59352f index: GetFileInfo
Change-Id: I9da3dd3b88d6960abfcee4fdb7406bb7d000da94
2011-12-03 13:56:05 -08:00
Brad Fitzpatrick 6b2e866693 magic: use the http's sniffer as a fallback.
Change-Id: Ic87b1224fb9401eb5f96d165162d9d1d9e11be82
2011-12-03 13:37:07 -08:00
Brad Fitzpatrick c2124b6e13 index: implement ExistingFileSchemas
Change-Id: Ia4cb6ab4fd17d71b9c49d3be14b95b8ac184d66c
2011-12-03 11:26:42 -08:00
Brad Fitzpatrick c2adabf5a7 whoops, make it compile.
Change-Id: I4ce39324d578b5010a740c69013e9237553ed4e0
2011-12-03 08:20:36 -08:00
Brad Fitzpatrick 1498bd173b Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2011-12-03 08:14:21 -08:00
Brad Fitzpatrick c9d036f475 index: bigger comment on ExistingFileSchemas
Change-Id: Id9511ea0f516306038f74e9223e867230291fe1e
2011-12-03 08:14:17 -08:00
Brad Fitzpatrick df7d19a4b7 index: move the TODO items together.
Change-Id: Iaae06d94a77dfcbf3169002bcbdcb3690a2a93e4
2011-12-03 08:05:34 -08:00
mpl 0a120f5c34 client: move auth stuff to auth package
Change-Id: Ib0cd25d48fb2ba37fb49c5c91c503aee1ab5713f
2011-12-02 23:44:26 +01:00
Brad Fitzpatrick 9b3a652868 index: PathLookup and PathsLookup
Change-Id: Ia39a828e21b0293afacdf9eacdef0ab88577444c
2011-12-01 18:06:25 -08:00
Brad Fitzpatrick ff9fca7354 index: fix PathsOfSignerTarget bug; add more tests
Change-Id: I38170625a619979f0b790f3e6af14408d202e976
2011-12-01 17:28:32 -08:00
Brad Fitzpatrick f7ab48b0d8 blobref: Equal on nils
Change-Id: Idb6a2ba14a4e92b2b619e5cce87174bf80f2090f
2011-12-01 17:28:05 -08:00
Brad Fitzpatrick 476329cfb3 blobref: Equals is named Equal everywhere else
Change-Id: Ic45c05a8467e8d597ef4c8038a6067e075a1fdcc
2011-12-01 17:13:42 -08:00
Brad Fitzpatrick ffb43a01a8 index: PathsOfSignerTarget
Change-Id: Ie82117ed5c0c5479e456c7a0d8ee554cdc783cc5
2011-12-01 10:43:57 -08:00
mpl d3ff726d49 name members in Userpass
Change-Id: I902e2b4fe101ad76ab5eac56ab512b9536ad98f6
2011-11-30 10:38:18 +01:00
Brad Fitzpatrick cd7289a332 Merge "some more auth, continuation of I14a047f1a164b64062d94da0db7a64a658b086ae" 2011-11-30 02:15:59 +00:00
Brad Fitzpatrick 352db24f46 index: move more key building into keyType
Change-Id: I2928f4ba345ebe11a3d6c9f63a1a381cb13bfb28
2011-11-29 18:14:34 -08:00
Brad Fitzpatrick dd5726a4d1 index: cleanup and formalizing key formats into their own types
Change-Id: I36aaa74ee7a4349bb00c1ac06285d4c43f4c61bc
2011-11-29 17:33:10 -05:00
Brad Fitzpatrick f23aadf801 index: implement GetOwnerClaims
Change-Id: I142f7294a5346a8405d5a726abaa9267528e15f7
2011-11-29 15:40:33 -05:00
Brad Fitzpatrick 52dcc554a7 index: implement GetBlobMimeType
Change-Id: I733c80fe73db2234a7a551f37130cb9b34620c2f
2011-11-29 14:40:15 -05:00
Brad Fitzpatrick 5c75a59f22 index: implement GetRecentPermanodes
Change-Id: I9eb30001c4db6955fb66990efb5743aeed657b76
2011-11-29 14:19:32 -05:00
mpl 9bfe46208f some more auth, continuation of I14a047f1a164b64062d94da0db7a64a658b086ae
Change-Id: I763c797f110854e0a3c906aceac72fff234f43df
2011-11-29 00:10:50 +01:00
Brad Fitzpatrick 25dbbeb244 index: implement and test PermanodeOfSignerAttrValue
Change-Id: Iefe2d60ec28fbf53f8d2e99bf9b08bf19a3bdd62
2011-11-27 22:29:23 -05:00
Brad Fitzpatrick db84536371 auth: fix advertised password to actually advertise.
Change-Id: I3c5dc19acabb2ddcca4877000bad69f3f9074ef2
2011-11-27 22:23:23 -05:00
Brad Fitzpatrick 7619e6c174 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2011-11-27 21:51:15 -05:00
Brad Fitzpatrick 3e9fc4c28a Move special-casing of certain properties out of mysqlindexer and up to a common spot.
Change-Id: I543ce701e081d2b261b03b6721d5aa053bd231af
2011-11-27 21:50:50 -05:00
Brad Fitzpatrick 1ad31ef6c8 Merge "auth: added username, camput can do https" 2011-11-28 02:06:43 +00:00
Brad Fitzpatrick 8193a463bd index: more tests
Change-Id: Ie1d40d62a7252e22da2706d95d7c2adcdba6f320
2011-11-27 20:37:14 -05:00
Brad Fitzpatrick e0117f190b index: start of indexing claims
Change-Id: I598dbe6b794ed132626251d97cbf0febd1241f67
2011-11-27 18:21:26 -05:00
Brad Fitzpatrick a79893b370 use Go style, not mixing acronym case
Change-Id: Id3a741c9f5106899dea08b6efcb167b39c83f61e
2011-11-27 14:06:12 -05:00
Brad Fitzpatrick d1fc9afec0 index: move dump to a method
Change-Id: I784bca14185db9eb255b0d6adc96adddc721cd02
2011-11-27 13:37:59 -05:00
Brad Fitzpatrick baf8a13918 index: log memtable keys & values at end of test
Change-Id: I19748ac8f832189691365b00ede46effa34c6d62
2011-11-27 13:24:51 -05:00