Commit Graph

334 Commits

Author SHA1 Message Date
Brad Fitzpatrick a56420c984 mysqlindexer: use receiver for populate methods
Change-Id: If2cbaee7acd86db837d1ca6c31aeee6a97be67e5
2011-06-19 14:54:57 -07:00
Brad Fitzpatrick 6ca4b975f7 Work on search/index/schema of PermanodeOfSignerAttrValue
Change-Id: I8c0c75ae8e4a62717ab69246f535b3fd5d594c47
2011-06-19 14:52:11 -07:00
Brad Fitzpatrick 30adc073f5 Version the mysql db schemas; warn on startup if wrong with tip to fix.
Change-Id: I3bc881bc5b078062bc96f80dec1e8f9ac71ece61
2011-06-19 14:36:46 -07:00
Brad Fitzpatrick d8f7bc9d98 jsonconfig: add OptionalList
Change-Id: I51bd6a785e47ddeca7b2ddd23c4665f61ef1d099
2011-06-19 13:09:05 -07:00
Brad Fitzpatrick bd15b4a4c2 Serve UI files from binary's embedded copy.
Change-Id: Ibb7902381f80111c943897e82e1eaa2b0ee7fc2c
2011-06-18 12:01:34 -07:00
Brad Fitzpatrick 81547a9eb6 Support for embedding static files (html/js) into the resulting binary.
Also build system changes for start of move to camlistore.org/* namespace
for Go packages.

Not yet wired up to ui.go.

Potential changes required for Go's http package first:
http://codereview.appspot.com/4629047/

Change-Id: I3ae264a5401d3a41e0b6e42b12010f19a9c9dcf7
2011-06-17 14:13:01 -07:00
Brett Slatkin 58bb35939e beginning of setting URL mount points for permanodes; nothing working yet
Change-Id: I9c33d67121e101369cdd797ef3b1c0ef74c8bdb0
2011-06-16 21:24:59 -07:00
Brad Fitzpatrick 0d7581ede6 Start of publish handler.
Change-Id: I229c9e00a19aa985050373beda696c5468a94105
2011-06-16 20:48:06 -07:00
Brad Fitzpatrick 8f38212408 Update for gofix httpheaders 2011-06-16 18:38:21 -07:00
Brad Fitzpatrick a170c567a3 Merge "auth: add SendUnauthorized" 2011-06-15 08:38:14 -07:00
Brad Fitzpatrick 6b77e2dd57 Merge "httputil: add ForbiddenError and RequestEntityTooLargeError" 2011-06-15 08:37:18 -07:00
Julien Danjou b07e7f61b3 auth: add SendUnauthorized
Change-Id: I6bf97fee5097af56dfa4b1d1cd1157f5e15d08e5
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-06-15 11:48:36 +02:00
Julien Danjou 310e0474be httputil: add ForbiddenError and RequestEntityTooLargeError
Change-Id: Ie013c2b79bd75b3c1ba14f94b334bb009b61c4d3
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-06-15 11:48:28 +02:00
mpl 34c776c81c thumbnail support
Change-Id: Ie0ee67ce278c1d9790c43a9270fc909dd6e68923
2011-06-15 10:42:18 +02:00
Brad Fitzpatrick 20c4ef7154 search / file work 2011-06-12 00:20:57 -07:00
Brad Fitzpatrick 72c4a42d06 more jpeg sniffing 2011-06-12 00:13:06 -07:00
Brad Fitzpatrick 2086b96993 errorText to error 2011-06-11 20:10:10 -07:00
Brad Fitzpatrick 691273a284 index more about files: filename, properties set, mime type 2011-06-11 10:55:35 -07:00
Brad Fitzpatrick 42d80271d8 show children in describe 2011-06-11 10:12:39 -07:00
Brad Fitzpatrick 60e3fa2574 more content -> camliContent cleanup 2011-06-11 09:51:08 -07:00
Brad Fitzpatrick d2b9f80a03 send error response JSON 2011-06-11 09:30:01 -07:00
Brad Fitzpatrick 179b706248 don't promote camliContent attr, make member be camliMember 2011-06-11 00:27:17 -07:00
Brad Fitzpatrick 3c6c4207be download handler: support for verifying a digest in a HEAD request
for use in javascript uploads.
2011-06-09 18:33:26 -07:00
Brad Fitzpatrick 6f35e66385 let file reader be closed 2011-06-09 18:28:07 -07:00
Brad Fitzpatrick bdfde0a5fe Advertise the dev server password in the realm. 2011-06-09 16:09:21 -07:00
Brad Fitzpatrick 0ada583435 UI: js file upload work 2011-06-09 15:00:20 -07:00
Brad Fitzpatrick 3b3b682c1e Search interface + impl to find file schema refs by their content ref 2011-06-09 12:55:38 -07:00
Brad Fitzpatrick e5acdb2e38 send 400 or 500 with some json replies 2011-06-09 12:54:53 -07:00
Brad Fitzpatrick 97978b56d4 don't retry forever indexing files. 2011-06-08 18:56:56 -07:00
Brad Fitzpatrick c61317703c indexer: index file sha1s, sizes (for js search lookup later) 2011-06-08 18:26:57 -07:00
Brad Fitzpatrick fa3715134a Start of indexer indexing file schema's content digests. 2011-06-08 17:49:31 -07:00
Brad Fitzpatrick a4c43c359f Add blobref.SeekerFromStreamingFetcher, moving it from UI code. 2011-06-08 17:48:56 -07:00
Brad Fitzpatrick f31959c24c Update for Go: use http.Values 2011-06-08 13:41:39 -07:00
Brad Fitzpatrick d65fc1391a schema & blobref: implement JSON [Un]Marshal interfaces, clean up code 2011-06-07 17:00:21 -07:00
caine tighe 1fabcfbeb0 osutil/paths.go : update for windows support 2011-06-07 16:25:44 -04:00
Brad Fitzpatrick 1f0aec0612 rollsum: add a benchmark, and more attribution 2011-06-06 19:09:58 -07:00
Brad Fitzpatrick 39ac2c072e schema: filereader support for hash tree files. 2011-06-06 13:30:54 -07:00
Brad Fitzpatrick 319a12f982 schema/filereader: support zero regions, start of subfile support 2011-06-06 11:31:45 -07:00
Brad Fitzpatrick fac6b7f020 schema filewriter: rollsum chunking version 2011-06-06 08:54:31 -07:00
Brad Fitzpatrick 5f86c64b95 schema filereader: verify top-level size matches part sizes when reading 2011-06-06 08:50:20 -07:00
Brad Fitzpatrick 8ab1532a15 rollsum: OnSplit, Bits. add camput debug mode for it. 2011-06-04 16:14:33 -07:00
Brad Fitzpatrick 742051f813 rollsum: Port of apenwarr's bar rollsum to Go. 2011-06-04 12:00:53 -07:00
Brad Fitzpatrick 1ed6a4a50c search: remove dup attributes 2011-06-04 10:18:38 -07:00
Brad Fitzpatrick 8d84a4de10 Add blobref.SeekTester interface; fixing UI downloads from cond storage. 2011-06-04 09:58:50 -07:00
Brad Fitzpatrick b652dc62e8 make CachingFetcher also a StreamingFetcher 2011-06-04 09:12:02 -07:00
Brad Fitzpatrick 59e577c023 Rename blobref.Fetcher to blobref.SeekFetcher 2011-06-04 08:56:03 -07:00
Brad Fitzpatrick 0df00167ec cond: implement it (routing incoming blobs) and use it. 2011-06-04 08:46:42 -07:00
Brad Fitzpatrick 0a7752afe5 jsonconfig: RequiredStringOrObject, OptionalStringOrObject 2011-06-04 08:45:03 -07:00
Brad Fitzpatrick c6cfe2fda4 Start of 'cond' handler. 2011-06-03 21:52:56 -07:00
Brad Fitzpatrick 811f75954a magic: add a fake text/ mime type for public keys 2011-06-03 18:41:26 -07:00