Commit Graph

2242 Commits

Author SHA1 Message Date
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 78ccdc24e9 rebuild embeds
Change-Id: I4e23ec211a5f14938eba250abcdc36e031f8f8a7
2013-02-07 19:34:10 -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 8d307d3e16 dev-cammount: make it start up again. needs auth env now.
Change-Id: If829a09f3fddee69ffb3839dfd8d0891e0862239
2013-02-06 21:56:44 -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 30db98e465 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-02-03 22:28:18 -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
mpl f7d048d4ee Merge "rm TODO" 2013-02-03 22:50:42 +00:00
Brad Fitzpatrick 26234163ef Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-02-03 12:52:31 -08:00
Brad Fitzpatrick 301214914e CONTRIBUTORS: sort
Change-Id: I839450059bf58cd962988ea2ac6e1bedd0b1f0c1
2013-02-03 12:52:25 -08:00
Brad Fitzpatrick 1c585f706e CONTRIBUTORS: add Marc-Antoine Ruel (Google CLA)
Change-Id: Ia823219ace44b60cf1d335533f6e179c145a3c25
2013-02-03 12:51:37 -08:00
Marc-Antoine Ruel 73870dc3c2 Enable the use of localhost as a proxy for debugging purposes.
This is useful to do blackbox performance analysis at the http layer.

Change-Id: Idf26f17e1fd0cb9421b3def9c846c4bffecaa433
2013-02-03 12:26:29 -08:00
Brad Fitzpatrick 8128b51bb7 android: add Version menu option
Change-Id: I64aeacf18421edd51517c92ec8782b4bb62ca1b1
2013-02-03 10:39:20 -08:00
Brad Fitzpatrick a8e3cfde54 update TODO
Change-Id: I5075de51cc8fa64658c1d74038a37c3f1a92383c
2013-02-03 10:26:18 -08:00
Brad Fitzpatrick e398532b4a buildinfo: include dirty + flag in version
Change-Id: Idc4763de41fdfa055fed5c06a36db9e9539f60bc
2013-02-03 10:14:21 -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 96ea9af952 camput: add debug mechanism CAMLI_NO_FILE_DUP_SEARCH to disable fileMapFromDuplicate
Change-Id: I1772ed69cccd4245e660887e257da2ab30bd59e4
2013-02-02 21:34:05 -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 40209ae45e website: update who
Change-Id: Iecf9cd971c443189a5ccfba742ed11fee59df84d
2013-02-02 11:42:34 -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
Brad Fitzpatrick 5d3bf0af0c website: some status updates. still old.
Change-Id: Ia2dbbeb1615d28356a5000fb90abd7c7ae7c7548
2013-02-02 10:05:09 -08:00
Brad Fitzpatrick 66e216ae4e website: unify run shell scripts, make it run on OS X (so rewrite in Perl)
Change-Id: I0b0d91935a988cdc9b66bfc4eaba4ee3c16cb407
2013-02-02 09:42:20 -08:00
Brad Fitzpatrick ed40fc89f7 Clean up the clients dir a bit
Change-Id: I1fb8e188044e8a552aa02acedb92c1c9b1d75330
2013-02-02 09:02:43 -08:00
Brad Fitzpatrick 2bc2ba019a Rearrange the server directory a bit, and update some READMEs
Change-Id: If0cb7b07d3b7a4c7e2c714807858d3b79d06b188
2013-02-02 08:56:57 -08:00
mpl ec5c7f2a3e Merge "signhandler: inject the claimdate (if present) in the signrequest" 2013-02-02 01:38:06 +00:00
mpl 83fa932f3c signhandler: inject the claimdate (if present) in the signrequest
This allows to set a signature time (instead of using time.Now()),
so that identical files will result in identical permanodes.

Change-Id: I315c06bd30e8ac5e4d36b0e3f758483c22a31063
2013-02-02 02:48:00 +01:00