Commit Graph

2278 Commits

Author SHA1 Message Date
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 1a79ebeb30 Merge "dev-server: rm closure from svn now that git repo is used." 2013-02-14 02:00:06 +00:00
Brad Fitzpatrick 825e40b903 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-02-13 16:48:49 -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 59566cd0ab camsync: some verbiage
Change-Id: Id386173d5710021e13dc6a3f9c4ab56dc05edc32
2013-02-14 01:24:20 +01:00
mpl 0898db8331 dev-server: rm closure from svn now that git repo is used.
Change-Id: I040b5f30354759a7b8798188c0eaabba971ee816
2013-02-13 22:53:43 +01:00
Brad Fitzpatrick 365aa41263 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-02-13 10:23:30 -08:00
Brad Fitzpatrick 6936fac42f C+A: Add Jani Monoses (Individual CLA)
Change-Id: I871814358ca8022671086090464ef6eb86084926
2013-02-13 10:22:51 -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 fefd1b5cac Merge "search handler: formalize and split serveSignerPaths" 2013-02-13 16:40:40 +00:00
mpl 1b06e32f30 search handler: formalize and split serveSignerPaths
Change-Id: I8399b55aed45d3456b0cad89a4cf5bb6f4c57d69
2013-02-13 17:51:39 +01:00
Jani Monoses 48838c6651 Use git instead of svn for fetching closure.
Change-Id: I3fc4af0f17d59aa951bdd59176fcbce5072226cf
2013-02-13 11:38:16 +02:00
mpl 981a4c9fbd camput: even with -vivify, do not reupload "big" file when server has it
This change takes advantage of Uploader.fileMapFromDuplicate to avoid
reuploading "large" files when the server already has them and the
client has lost its cache (and hence does not know about it).

Fixes: http://code.google.com/p/camlistore/issues/detail?id=88

Change-Id: I9fa819cef37e1d930a5393c9bdce5f8bb71da9c6
2013-02-12 19:02:05 +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 9e694121d0 More closure annotations. Down to 12 warnings.
Change-Id: I40bd64d02c94b52eac7f522e52b694266163ea93
2013-02-10 21:05:30 -08:00
Brad Fitzpatrick 2ee7bb3359 More type annotations. 16 warnings.
Change-Id: I67350719305279c0d3e7c3869f53476f56f256a4
2013-02-10 20:42:48 -08:00
Brad Fitzpatrick 77d248076f More Closure annotations. Down to 17 warnings.
Change-Id: I9671072d9020e37c95be8dcdf8574017ccd3457d
2013-02-10 20:36:25 -08:00
Brad Fitzpatrick 40fb683aad Makefile: add clean target
Change-Id: I4ec279e3e39fe5388d75f694542149d72d588d49
2013-02-10 20:06:42 -08:00
Brad Fitzpatrick ab0db703ea More Closure type annotations.
Change-Id: I8d1d4af37add37a5512017cdd3dccade1ccf6d9e
2013-02-10 20:01:21 -08:00
Brad Fitzpatrick 2752bfa80c fuse: minimal handling of opInterrupt
Change-Id: Idd00f531fdc63d894a41103f2c25e418c397bad5
2013-02-10 19:20:58 -08:00
Brad Fitzpatrick f8912713ca newui: more js type annotation fixes
Change-Id: I0c7bdc265c8f0ff746dcd1e1a90d54054958c8b7
2013-02-10 18:14:42 -08:00
Brad Fitzpatrick b6f588abcc newui: use SIMPLE_OPTIMIZATION. turns out ADVANCED_OPTIMIZATIONS won't work without lots of pain and isn't worth it.
Change-Id: I2313c2815f6264256d24f5ad176ca580eef6b2ad
2013-02-10 18:02:06 -08:00
Brad Fitzpatrick 1f31c21cec Generate and server Closure sourcemaps.
Change-Id: Ida17718eeffa1f5f1f3c849790d977921707d440
2013-02-10 17:39:18 -08:00
Brad Fitzpatrick 1fe472a202 newui: more closure deps, reduces compiler warnings
Change-Id: Ifc20c3cbee34b1158195231e20646f1f68a4b1ef
2013-02-10 17:12:10 -08:00
Brad Fitzpatrick 3a8c4f1cdc Makefile: add more minijs deps
Change-Id: I827cf023e927e1b5068525783816200c16e85438
2013-02-10 17:11:50 -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 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