Commit Graph

3095 Commits

Author SHA1 Message Date
mpl 304f5c4b38 camput attr: support -del
Change-Id: I28460fed5b572ba9a83cfcb04f38e42124fa723f
2013-10-03 15:07:43 +02:00
Aaron Boodman f322018816 Move the button to create permanode into toolbar.
Also:
* Make the entire BlobItemController a drop target for new files,
  except for when over a set, then the set is the target.
* Minor visual refinements to highlight states during dragging.
* Fix bugs/flicker in dragdrop code.
* Fix bug where there is an empty button in toolbar before the first
  item is selected.

Change-Id: I3c40a476395c885477e1316e6ff168399640e347
2013-10-01 00:16:29 -07:00
Brad Fitzpatrick 4741f89ebc Merge "Clean up testing in share_test.go" 2013-09-24 18:55:51 +00:00
Aaron Boodman d875fcad30 Clean up testing in share_test.go
Change-Id: I481d440636590086f11d8e97d0eb6fcf31f4a097
2013-09-24 11:49:17 -07:00
Burcu Dogan 251df7dc53 fs: unmount on linux
Unmount the mount point on quit key on Linux. Adding fallbacks
in case of umount failure.

Change-Id: Ibd52ff1886d396bb424ac8d8ba9f9d8cb94a36f9
2013-09-24 19:24:53 +02:00
mpl b4a5a36457 devcam put/get: read CAMLI_QUIET from current env
reverts 0015237713

Change-Id: Ie8ec46c1971a014cafe05d160d2f65a84d8cd466
2013-09-23 23:21:48 +02:00
mpl 0015237713 devcam put/get: do not use os.Getenv
Change-Id: I2e5b247835ec3febe7f312cabcfbf73f58bf43dd
2013-09-23 12:21:39 +02:00
mpl 70a167e922 devcam server: do not use os.Getenv
Since 0d854e106c, we do not
use the env directly, but a copy of it, so os.Getenv does
not work to retrieve vars that were set in that copy.

Change-Id: Ibc6ab40ea2ee51e1dea6a5e9ceac782304e0039a
2013-09-23 12:07:04 +02:00
Brad Fitzpatrick 7b1261bd42 Fix two jsonconfig.Obj used without calling its Validate method
Change-Id: I4ddefd049b804c23c1f0a7727ecd76d1f2754232
2013-09-22 16:03:47 -07:00
Brad Fitzpatrick 2b9db0a859 kvfile: say which lock file couldn't be acquired.
Still not a great error message, though.  Should say pid or something.

Change-Id: I4382f23e62e58f8fd472e8d84c3555f4f951d90d
2013-09-22 20:14:23 +01:00
Brad Fitzpatrick 0d854e106c devcam: don't use current environment as scratchpad for future process's environment
Remove calls to os.Setenv.

Change-Id: I9a0c611eb534b278459ddf724b8e7d181f2395ef
2013-09-22 20:13:28 +01:00
Brad Fitzpatrick 0385d88805 Update header's copyright holder.
Change-Id: I76acd86f442dfe85513a92061deb60e746100e8a
2013-09-22 19:42:41 +01:00
Brad Fitzpatrick 63b4f390cb client: upload public key if necessary whenever uploading a signed blob
Change-Id: I2e61da4fa2eeae2332c67902f8dd5f064b027835
2013-09-22 19:38:42 +01:00
Brad Fitzpatrick 1834d682b8 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-09-22 13:10:50 +01:00
Brad Fitzpatrick 99ea128752 schema: fix a race on errors in FileReader.GetChunkOffsets, add tests
Change-Id: I51635d01c3c88c5f97ac15172c5b565f07dde350
2013-09-22 13:10:16 +01:00
Brad Fitzpatrick 652719fd3f Merge "buildbot: Add more debugging." 2013-09-22 10:33:49 +00:00
Brad Fitzpatrick e70f258b0b Merge two copies of StatsReceiver into common location.
Change-Id: I05bd36aef3293927fb518296b43a088f284356ea
2013-09-22 11:19:10 +01:00
Bill Thiede 570ea2a82d buildbot: Add more debugging.
This adds the error returned from exec to the log message, and
provides '(empty)' placeholders when no stdout or stderr is present
from the called binary.

This has the effect of changing the silent errors I was seeing on my
buildbot from:

"""
Error:
	:
"""

To:

"""
Error:

	exec: "devcam": executable file not found in $PATH

Stdout:
(empty)

Stderr:
(empty)
"""

Also provides a /stderr handler linked from the status page that
allows all the logs to be viewed.  This is handy when the logs from an
individual test don't provide enough info to debug a build problem.

Change-Id: I4b3ef5a5db6aac1ddf41c41bc2fff310f19a82a1
2013-09-21 12:04:39 -07:00
Brad Fitzpatrick cfc9ce026b Add 0.5 to misc/release-history-tags
Change-Id: Id5756cd120ebd2548ac314f34e5f0095280fd71f
2013-09-21 19:57:49 +01:00
Brad Fitzpatrick 894a51a5b1 Remove dev-pass-camput from make-release.
Change-Id: I503895e1555b6c7eefef1e0af2baefceb623557d
2013-09-21 19:56:44 +01:00
Brad Fitzpatrick e8f89f609b website: document the 0.5 release, Castletownbere
Change-Id: I825bd08fdc60d84137e7b68663058ba7fa2fc42d
2013-09-21 18:27:42 +01:00
Brad Fitzpatrick 0f911b0ef4 Require transitive on shares when assembling file schema blobs.
Change-Id: I48be9855829448ddcb076d3b826c0394c1499f99
2013-09-21 17:51:13 +01:00
Brad Fitzpatrick 445e3f18fd Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-09-21 13:23:23 +01:00
Brad Fitzpatrick b377055f1f make.go: preserve executable bit when copying binaries to bin
Change-Id: Ia2c415aaaa2ab5ffa52766f5adfb4f5af7377961
2013-09-21 13:23:07 +01:00
Brad Fitzpatrick 56afabe249 Merge "Check IsTransitive in share handler and add tests." 2013-09-21 12:17:32 +00:00
Aaron Boodman 43135068a5 Check IsTransitive in share handler and add tests.
Also fix a bug in interpretation of via chain, which caused sharing
to be overly permissive.

BUG=https://code.google.com/p/camlistore/issues/detail?id=226

Change-Id: I4459a67d1b40e4a50f111ce708dbfcbd975f3f15
2013-09-21 13:16:01 +01:00
Brad Fitzpatrick bec961cc00 make.go: don't use GOBIN; copy binaries out from temp GOPATH/bin by hand
Fixes http://camlistore.org/issue/229

Change-Id: I7769330e0982a92d4fa90bbce44330b6a473ee0b
2013-09-21 12:45:36 +01:00
Aaron Boodman 586b4cc5ab Check IsTransitive in share handler and add tests.
Also fix a bug in interpretation of via chain, which caused sharing
to be overly permissive.

BUG=https://code.google.com/p/camlistore/issues/detail?id=226

Change-Id: I4459a67d1b40e4a50f111ce708dbfcbd975f3f15
2013-09-21 01:54:07 -07:00
mpl db63bcc6d0 Merge "devcam test: generate keyblob with devcam put init" 2013-09-20 18:05:28 +00:00
mpl 0c1dc0d6e4 devcam test: generate keyblob with devcam put init
The integration tests run by devcam test require a
GPG keyblob in the default location (for camput), and
we do not track in git such a keyblob.
This change allows devcam test to create the keyblob
with devcam put init before running the tests.

Also, devcam server is now using CAMLI_KEYID instead
of hardcoding the key id in the dev server config file.

Change-Id: I030b88c9a9321016fedb62424e0e707621206922
2013-09-20 20:03:21 +02:00
mpl 5ce37244f5 zappy: make it pure Go so it builds on windows
Change-Id: I46c3c74db668b988c295ec3342d1b876f2b63e79
2013-09-20 19:21:55 +02:00
mpl 3cc63433bd Merge "osutil: take into account env var for default secret ring" 2013-09-20 12:23:52 +00:00
mpl c556debcc5 osutil: take into account env var for default secret ring
http://camlistore.org/issue/227

Change-Id: I40eac298d7d5d74760be65d9e13d531b562830b9
2013-09-20 14:22:12 +02:00
mpl 0bd61c829f Merge "devcam server: sqlite support." 2013-09-20 12:05:41 +00:00
mpl 6210cc8d56 devcam server: sqlite support.
Also makes kv use CAMLI_DBNAME for the index file instead of
CAMLI_KVINDEX_FILE; one less env var to care about.

http://camlistore.org/issue/225

Change-Id: I954cc2e5ff8ed1bb213435af18f1ecc2948c4e59
2013-09-20 14:04:03 +02:00
Brad Fitzpatrick 740b8eec48 Close static-set blob after done parsing it.
Fixes http://camlistore.org/issue/230 I think.

No test, though.

Change-Id: I3b23d7e4c39bd19ba6ca9e33ec382fe3e0fd33f2
2013-09-20 12:23:28 +01:00
mpl 97fe4be9d6 Merge "devcam test, replaces make presubmit" 2013-09-19 15:05:07 +00:00
mpl ba8f88c21a devcam test, replaces make presubmit
http://camlistore.org/issue/223

Change-Id: Iaaea9926a98d7d3335fd6ee52daa225e51ec4703
2013-09-19 17:00:59 +02:00
Brad Fitzpatrick 5dad68ae49 Add TODOs on pkg/server/share.go
Change-Id: Ibc01fc6f9c266669bd556348075fdfae66cfc408
2013-09-19 10:28:51 +01:00
Brad Fitzpatrick 5c7653b9b0 Merge "Add support for downloading an assembled blob via the share URL." 2013-09-19 09:24:16 +00:00
Brad Fitzpatrick 79065de4b9 For SQLite compile errors, link to the wiki.
Change-Id: I34b1485daba6173d6665cfc56b6bba43164534d8
2013-09-19 10:17:57 +01:00
Aaron Boodman 544d901840 Add support for downloading an assembled blob via the share URL.
Bug: https://code.google.com/p/camlistore/issues/detail?id=220

Change-Id: I4604105d2679010d6f546692abbce0d57bae2983
2013-09-19 00:14:45 -07:00
Brad Fitzpatrick f0a00be32b Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-09-16 15:57:17 +01:00
Brad Fitzpatrick 8319411ab4 Convert more ReceiveBlob into blobserver.Receive or blobserver.ReceiveNoHash
Change-Id: I9199555324b617167a6062a8b55ed09b449bae4f
2013-09-16 15:57:14 +01:00
Brad Fitzpatrick 128f56887b Handle GET and HEAD the same in more (all?) places.
Change-Id: I486a95f0a6fc127d17dcf0abeb94eab292980156
2013-09-15 20:12:26 +01:00
Brad Fitzpatrick e0db033ab7 Merge "Add ./dev/... to multiple build targets." 2013-09-15 17:09:13 +00:00
Brad Fitzpatrick fbd9a38201 Merge "server/image: properly set image format." 2013-09-15 16:56:28 +00:00
Brad Fitzpatrick a3fcac8def Merge "server: set Content-Type on debug message." 2013-09-15 16:54:13 +00:00
Brad Fitzpatrick 7842e9e476 C: add Ali Afshar
Change-Id: I5b0e77a9371c884aaa8251998000f62a0369947e
2013-09-15 17:45:13 +01:00
Bill Thiede 88748612f7 server: set Content-Type on debug message.
It is currently autodetecting as text/plain which prevents chrome from
rendering content as HTML.

Change-Id: I58b99bf4d8719f37269937001461bdf71610d786
2013-09-14 15:23:22 -07:00