Brad Fitzpatrick
9720652971
Add disabled failing test for http://camlistore.org/issue/114
...
Change-Id: Iae5dbf1f28ca89793f43bc5e2df2493cf2747a77
2013-02-17 21:42:50 -08:00
Brad Fitzpatrick
a44e75435b
fs: support directories in recent files, and fix directory data race
...
Change-Id: I32b4989ed9b68c79168e91077d56ee65f6f62611
2013-02-17 11:43:03 -08:00
Brad Fitzpatrick
bba9ba1e9a
Merge branch 'master' of ssh://camlistore.org:29418/camlistore
2013-02-16 23:04:43 -08:00
Brad Fitzpatrick
5ae17e8216
fs: don't ever return an empty filename. it confuses OS X a lot.
...
Change-Id: I3ad5620b3e44ef445d59e0777abe512862b95bfa
2013-02-16 23:04:18 -08:00
Brad Fitzpatrick
83002f748c
localdisk: work on Linux w/ non-Unixy filesystem
...
Change-Id: I97f062a44d536866c6c5cd690f2c2409a08cbdf1
2013-02-13 16:48:28 -08:00
mpl
7913f653f0
Merge "types: make Time3339 work for Go 1 too"
2013-02-13 18:06:15 +00:00
mpl
76d6a101b2
types: make Time3339 work for Go 1 too
...
Fixes http://code.google.com/p/camlistore/issues/detail?id=109
Change-Id: I4c30a77465e7774a0a867e95767f3e0ef1be7ec6
2013-02-13 18:52:58 +01:00
mpl
1b06e32f30
search handler: formalize and split serveSignerPaths
...
Change-Id: I8399b55aed45d3456b0cad89a4cf5bb6f4c57d69
2013-02-13 17:51:39 +01:00
mpl
46846e0844
search handler: getClaims: error out if nil permanode
...
Change-Id: Ieeb36ec3c3ed0c9f68abc6a659ba8f0b23a5bbb1
2013-02-12 16:46:16 +01:00
Brad Fitzpatrick
bc83a617ef
Merge branch 'master' of ssh://camlistore.org:29418/camlistore
2013-02-11 20:33:59 -08:00
Brad Fitzpatrick
4c7e985c14
uploadhelper: use a type for JSON response, not maps.
...
Change-Id: I642af4daf97829a813bf7dad61cc7683ec780e69
2013-02-11 20:33:53 -08:00
Brad Fitzpatrick
f29024ce37
throttle: fix crash I saw hitting reload
...
Change-Id: I2df79e7a2f37c44c2a8bf4f8a0968caf058ec624
2013-02-11 20:33:37 -08:00
mpl
1f2b140bbd
search handler: formalized and split serveClaims
...
Plus a few related cleanups (better httputil use).
Change-Id: I9ea34f2fe658624d05b7a6f347f5d946759a07b5
2013-02-12 01:18:46 +01:00
Brad Fitzpatrick
1f31c21cec
Generate and server Closure sourcemaps.
...
Change-Id: Ida17718eeffa1f5f1f3c849790d977921707d440
2013-02-10 17:39:18 -08:00
Brad Fitzpatrick
f1845db855
search: split metaMap into metaMap and metaMapThumbs
...
Change-Id: I5a29166be7ed44a7c6a954ba689f1f3dbfbe57d7
2013-02-10 12:59:05 -08:00
Brad Fitzpatrick
9efdf83d3e
schema: use better types in superset: blobref and Time3339
...
Change-Id: I7004220789e1048c1ebcc8703bf2948a733bae10
2013-02-10 12:58:51 -08:00
Brad Fitzpatrick
11e07730ca
types: add Time3339.String and fix bug to use RFC3339Nano
...
Change-Id: Ib86b7ea86d9afe7738fc9a3ee9fa18fd2abef3b1
2013-02-10 12:57:56 -08:00
Brad Fitzpatrick
7300184066
httputil, search: more HTTP util usage, deleting code.
...
Change-Id: I90e51a3e8b3fdd868b26a40446f9715aaa7f89c0
2013-02-08 22:21:09 -08:00
Brad Fitzpatrick
e624e24c46
httputil/handler: start of more formal approach to input validation and HTTP error handling
...
Change-Id: I219a6263e1ba2d0e64819c01a885078dbf1c8b4c
2013-02-08 19:04:24 -08:00
Brad Fitzpatrick
3605285924
Add pkg/types with types.Time3339; use it in search/handler JSON types
...
Change-Id: I79bf1484ef8b3548bca2e732f189352bcfbcd6db
2013-02-08 18:10:31 -08:00
mpl
0a84607099
search handler: all funcs now rid of manual maps responses.
...
serveDescribe, servePermanodesWithAttr, and serveSignerPaths
rewritten like serveRecent. Got rid of populateJSON.
http://code.google.com/p/camlistore/issues/detail?id=101
Change-Id: Id730d40005476634b138b13260248e497d1a87d0
2013-02-09 02:12:06 +01:00
Brad Fitzpatrick
76735113f9
fs: recent directory works.
...
Change-Id: I13fb418e7ef32c8be8ab635b8179fbded5e18c79
2013-02-07 22:43:50 -08:00
Brad Fitzpatrick
e867ea7dc0
client, search, fs: cammount now getting search queries back
...
Change-Id: I68541e9f9d54fa4240872d440972ad39f6bad33f
2013-02-07 21:55:17 -08:00
Brad Fitzpatrick
a068e4d7aa
search: separate out query logic from HTTP/JSON on GetRecentPermanodes
...
Change-Id: I4afb34aa548e83a2db2374a4cca2a9d5368473be
2013-02-07 21:34:25 -08:00
Brad Fitzpatrick
14239a5c23
index: cap reindex parallelism
...
Change-Id: Iaf8a54a547e7d74f9b3702901180b2253aef58aa
2013-02-07 21:02:42 -08:00
Brad Fitzpatrick
51d79e8759
index: re-index on file failure. Issue 103.
...
Change-Id: I740dbcf951d865df32c2f54d9d4119af135713db
2013-02-07 19:31:44 -08:00
Brad Fitzpatrick
f8639c5c5c
search: fix error message
...
Change-Id: Ic89e3a32a919414746eeb1c96f3b694fabf9798a
2013-02-07 19:20:37 -08:00
Brad Fitzpatrick
4e5d32d7c3
Merge branch 'master' of ssh://camlistore.org:29418/camlistore
2013-02-07 17:12:28 -08:00
Brad Fitzpatrick
0309c22285
schema: work-around fix for Issue 97/100 until 102 is fixed
...
Change-Id: Ied51ffe2b50acc390d068696ebbe88e60061ef91
2013-02-07 17:12:08 -08:00
Brad Fitzpatrick
6d562c65d5
localdisk: minor cleanups, copy one paranoia check earlier
...
Change-Id: I81cc2bf054dae6fdc5428d8e44cb710b2aae6d88
2013-02-07 10:04:03 -08:00
Brad Fitzpatrick
cfa43225d4
search: move thumbnailSize out into a func
...
Change-Id: If7d6ab242fe7fcef2174aa9dad12a85a06ce0091
2013-02-07 09:40:59 -08:00
Brad Fitzpatrick
6cc5f33da1
search: handler response type cleanup (Issue 99).
...
Notably, don't mix 'meta' bag keys with rest of response. Makes it easier for both Go and Closure types to not mix keys from one type with another type.
Change-Id: I65e51f2a6c236c5111b5a9b88830e1220d6b29d4
2013-02-07 09:33:00 -08:00
Brad Fitzpatrick
0987bad1f5
fs: playing with dynamic directories, seeing how often OS X refreshes
...
Change-Id: Ic22d59f16f25ced71d06cf22e404ed3c2a1d6e66
2013-02-07 08:05:51 -08:00
Brad Fitzpatrick
c34fc8c345
search: use a struct for recent items, not manual map
...
Change-Id: I443983b3689434afc0471a55357a78d03c0bb18f
2013-02-07 08:05:31 -08:00
Brad Fitzpatrick
cbc682e3b8
Merge branch 'master' of ssh://camlistore.org:29418/camlistore
2013-02-07 07:54:58 -08:00
Brad Fitzpatrick
5a8afdf951
search: rename populateJSONThumbnails to populateJSONAndThumbnails
...
Change-Id: Ibd4db3909c01c8a352df1875de703c71d657c428
2013-02-07 07:54:45 -08:00
mpl
306213b32b
Merge "Make newui ready to dev on with closure compiler, plus misc cleanup."
2013-02-07 15:24:08 +00:00
mpl
ee29f1f8e7
Make newui ready to dev on with closure compiler, plus misc cleanup.
...
Added env var in dev-server and rules in Makefile to build
all.js with the closure compiler from the js files in newui.
Misc related changes:
-fixed a few closure annotations and added a few as well.
-added missing options to dev-server usage.
-renamed CAM_HTTP_DEBUG into CAMLI_HTTP_DEBUG for consistency.
Change-Id: Ica2c12358150aec24147628201e6f7a5852f9383
2013-02-07 15:25:10 +01:00
Brad Fitzpatrick
b95b796d3c
fs: move some common code to fs; create recent.go
...
Change-Id: I25c5e906988efecbabc266c407d9129e42993fb4
2013-02-06 21:57:07 -08:00
Brad Fitzpatrick
574a338910
fs: cleanup
...
Change-Id: Iae3404afe5fc5cf0d83cc45e7822886bce25fe21
2013-02-06 21:47:37 -08:00
Brad Fitzpatrick
1b06c3a8c1
NewCamliFileSystem needs a client. Work on Issue 95.
...
Change-Id: I417d9d04398e734d88d3139a91309a8f0eb8084d
2013-02-06 21:47:01 -08:00
Brad Fitzpatrick
16c70de194
schema: fix hang in WriteFileChunks, used by vivify & the Android app
...
Change-Id: I6099633a300119ef3f0e47266bb6196c475b6378
2013-02-03 22:28:11 -08:00
Brad Fitzpatrick
9eed2f6082
schema: remove FileWriter's serial byte/file schema uploads after chunks are uploaded
...
Change-Id: I1c3a9c496ce168cc8b6d087ef1a0de99cac22127
2013-02-02 22:35:08 -08:00
Brad Fitzpatrick
bdfc5b0c6c
client: remove debug logs
...
Change-Id: Iba67ff3daceb17766d17337d8b84e58ed3e96ab7
2013-02-02 22:27:54 -08:00
Brad Fitzpatrick
9e34a07b91
client: batch and split stat requests
...
Change-Id: I40e64cc2de58040bb67c6560a64ba108c421b18d
2013-02-02 21:51:08 -08:00
Brad Fitzpatrick
6a4eff5b84
schema: make serverHasBlob just use blobserver.StatBlob
...
Change-Id: I3012763660c9ed87eb48b2d95b8265c3c77f32df
2013-02-02 21:50:03 -08:00
Brad Fitzpatrick
9d339355f0
schema: make FileWriter upload different chunks in parallel
...
Change-Id: I4608a21ffc45324512a696dfe070b38416aae130
2013-02-02 20:17:14 -08:00
Brad Fitzpatrick
f266b843ed
schema: simplify WriteFileChunks
...
Change-Id: Icf9077db0adb5081b93f89ddc9d74a4cc45f20e1
2013-02-02 19:34:23 -08:00
Brad Fitzpatrick
ddcec4e92c
Add --version flags to tools.
...
Change-Id: I1c86c3de09fb59bc20539f7d1efbd4d4710bf494
2013-02-02 10:59:39 -08:00
Brad Fitzpatrick
ebb6fc85c2
schema: simplify uploadBytes signature
...
Change-Id: I508934ab83b25ef3a066de9128e16a18a7d82dd3
2013-02-02 10:58:47 -08:00