Commit Graph

4129 Commits

Author SHA1 Message Date
Brian Gitonga Marete d373f86d9f pkg/client: Fix ignored files matching.
Because of Go's rules regaring closures (function literals) and bound
variables, in the case in which there were multiple patterns in the
ignoredFiles configuration variable, the entire slice (vector) of
registered matching functions was being called with the
last-configured ignoredFiles pattern as the first variable. This meant
that ignoredFiles did not work if it contained more than one pattern
and in certain circumstances, such a configuration would lead to a
crash.

Change-Id: I0b991aa74d079d4ce27fc0ba373e2ee2cf9eb772
2014-03-04 17:30:50 +03:00
Brad Fitzpatrick e3491e5515 camput: fix tests 2014-03-03 12:53:40 -08:00
mpl 08923e1c00 camtool sync: warn when src and dest have different identities
http://camlistore.org/issue/281

Change-Id: I2e2d595534b14476293a031b88e312de3e0b3f4a
2014-03-01 23:47:49 +01:00
Brad Fitzpatrick 11cd3127c8 Backwards-compatible protocol + handler change on boundary of enumerating blobs.
The handler was adding 1 to things to see if it was at the end, but that was causing
HTTP requests to Amazon like: limit 1000, limit 1, limit 1000, limit 1, etc.

This makes it twice as fast.

Change-Id: Ibb7e3f6ae7229a21c87817c7438324d36e7b491a
2014-03-01 13:12:05 -08:00
Brad Fitzpatrick 440d0c461e blobserver/handler: rename conn to rw, per more recent conventions
Change-Id: Ibd28bc66f9d1f6c9dac776ce78a9da9baddba7c4
2014-03-01 12:24:56 -08:00
Brad Fitzpatrick 448bbfa0e2 client: better enumerate docs
Change-Id: Id46950fb578f31e17a7600bedf3108eb386826c8
2014-03-01 11:48:20 -08:00
Brad Fitzpatrick bbfcc27d85 sync: use blob.Ref.Less instead of stringify to compare, fix API wart, more tests
Change-Id: Iffd98463becbcf6d62dd666b38fb00572b34725b
2014-03-01 11:34:57 -08:00
Brad Fitzpatrick 9f70025a29 Add 0.7 to the release history
Change-Id: Ieb895939d302c594b35dfd51361c93fe9078a039
2014-02-28 15:33:48 -08:00
Tamás Gulácsi 46da1cdcdb serverinit: shared camli-cache for multiple publish roots
czninc/kv cannot be shared (locks), so a separate directory
is needed in the multiple publish root case, for the thumbs caches.

Change-Id: I8c07302778e597a2ccf9b3265111a503dd037249
2014-02-28 18:31:07 +01:00
Nick O'Neill 4ab503399d Merge "Updates to front page." 2014-02-28 06:12:14 +00:00
Nick O'Neill 43198b5a3a Updates to front page.
Change-Id: I759fc11d5c0807b14d31c74b8b10a8089106b863
2014-02-27 22:11:18 -08:00
Brad Fitzpatrick acef7ddd8a website: add 0.7 to download page
Change-Id: I4c703abb8ebeb06b90e0a22071fb6af0957ee779
2014-02-27 22:05:56 -08:00
Brad Fitzpatrick 249eea79b8 Website: more 0.7 docs
Change-Id: I4ede3866db99a75087cb25950dec32bac615a9e6
2014-02-27 22:04:29 -08:00
Brad Fitzpatrick 8ce47c69d4 make-release: don't clean stuff from the zip
Change-Id: I775926080f7cec04b3de4b574f78396613ae27c5
2014-02-27 22:03:52 -08:00
Nick O'Neill ae048b06a2 Merge "Almost finalized release notes for 0.7" 2014-02-28 05:43:18 +00:00
Nick O'Neill 926e3fcef8 Almost finalized release notes for 0.7
Change-Id: I5db1362d893af760af6b03131fd993e30d9b2245
2014-02-27 21:42:33 -08:00
Brad Fitzpatrick 4a079bbec4 Move dev-db shell script out of the root.
Change-Id: Iddb0b2316121ad13395b0624b1c1fdf61150bb6a
2014-02-27 21:26:02 -08:00
Brad Fitzpatrick 26cbd36e0b camput, camtool: update docs
Change-Id: If54df42be3b95ec9f10782454bc247449e1a74e6
2014-02-27 21:23:01 -08:00
Brad Fitzpatrick 306f727e9e TODO: remove done item
Change-Id: Ia3ac1d922953df3c6ab33863581fd823d6a8a1a6
2014-02-27 21:06:42 -08:00
Brad Fitzpatrick 01f2173e64 ui: fix link from old detail page to new UI detail page
Change-Id: Iaa36f532169d3f6697060d9baa2178caaa19423d
2014-02-27 21:06:03 -08:00
Brad Fitzpatrick 40e0a86315 genfileembed: touch the file modtime, even if contents are same, but it's old
Change-Id: I88d429445da6e251e4aebc0e31017e4ca8f0dd51
2014-02-27 21:00:01 -08:00
Brad Fitzpatrick 593e0f0f81 cmdmain, camput: PreExit should always run, not just in verbose mode
Change-Id: I6001a3474071a00f0ab56b031ac8c5504e5e9da5
2014-02-27 20:47:15 -08:00
mpl a73715c92a Merge "client: default to None auth if no auth in config" 2014-02-27 15:23:02 +00:00
Aaron Boodman ff16bcf1e9 Merge "Starting to fool around with property sheet UI" 2014-02-27 09:59:35 +00:00
Aaron Boodman 7ecc4858b9 Starting to fool around with property sheet UI
Looks like: http://i.imgur.com/HxE1oFi.png

Change-Id: Id3188148fd1ef97dac16a53e96ebe41f64cf1ee7
2014-02-27 01:57:49 -08:00
mpl c4c4d6407a client: default to None auth if no auth in config
Defer warning until discovery fails.
Also fix SetupAuth error checks in camtool.

Change-Id: Ib554595603994e929d465e4e0de6acaf319d5b42
2014-02-27 01:37:59 +01:00
Brad Fitzpatrick a3d915e5a9 leak: fix racy test
Based largely on Mathieu Lonjaret's Gerrit CL 2267.

Change-Id: I14634b6fc892e84cbdc718a9bb5a1aafca1ec4e9
2014-02-25 16:06:56 -08:00
Brad Fitzpatrick bf35e5f011 camput: fix camput blob from stdin
Change-Id: Ic9997c408e1241e16dd4470b3f733ef3fb4f79c9
2014-02-25 14:34:26 -08:00
mpl b4c684dd07 tests: ping camlistored before camput
Change-Id: Icf66bd5b990db07e9516b8ab8945cbf681caf25e
2014-02-24 19:57:44 +01:00
mpl 3f0974ef13 tests: make sure camlistored is running before cammount
Context: http://camlistore.org/issue/385

Change-Id: I793298745096fc1696f01226698eb6682b24806d
2014-02-24 18:29:08 +01:00
Brad Fitzpatrick a61c921750 Merge "ui: Add QR code for configuring mobile clients." 2014-02-24 01:43:28 +00:00
Brad Fitzpatrick cd7e723088 osutil: fail if tests access host paths
Change-Id: I21e20698ebc6b1d3b3499299f6d3dd9ed3031baf
2014-02-23 10:59:56 -08:00
Brad Fitzpatrick 897591a444 camput: hermetic client config for test
Change-Id: I3c77b500da2d445851b0d8383a11e7f0942b2ff2
2014-02-23 10:59:41 -08:00
Brad Fitzpatrick 520191ecc5 client: don't access UserClientConfigPath or osutil.Homedir unless necessary
Change-Id: I618941204eb561461aab960bde576963296cea87
2014-02-23 10:59:20 -08:00
Brad Fitzpatrick 6d30b8d274 camlistored: make test use CAMLI_VAR_DIR instead of tweaking HOME/HOMEPATH/APPDATA
For upcoming change to enable strictness in osutil's use of host paths
during tests.

Change-Id: Ied1602d6dc4f5c92e97f760e04b97cc965610b20
2014-02-23 10:19:01 -08:00
Brad Fitzpatrick 09266d5960 osutil: add CAMLI_VAR_DIR for CamliVarDir
Change-Id: Idcb0a32ccc49cf24e61bdb81a4fdb1a0f049595c
2014-02-23 10:18:15 -08:00
Brad Fitzpatrick f318ad4410 googlestorage: don't use host configuration during tests
Change-Id: Id1415f170dbff650d876fc4c01cff04fb8d41415
2014-02-23 10:04:48 -08:00
Brad Fitzpatrick 99a4ee0fd3 osutil: don't use host config during tests
Change-Id: I28171f0dc9c3c21c9693805781275c39ed517d25
2014-02-23 10:00:45 -08:00
Brad Fitzpatrick 8bbe100bbc osutil: fail if used during tests
Disabled by default for now. Will fix cases and set by default, to proactively
catch future testing mistakes.

Change-Id: If292ccd105e214ee888bcad98efb4e49f052e4fd
2014-02-23 09:45:23 -08:00
Brad Fitzpatrick b099f5b101 leak: disable test by default for now
Change-Id: Idf590dc4b69b69e860c0d321428b18a30bf77254
2014-02-23 09:44:27 -08:00
Brad Fitzpatrick 2237aee0f3 leak: fix test print
Change-Id: I936cf556bf2e26d4862d6427f790aa4f5fca32f1
2014-02-23 09:40:44 -08:00
Brad Fitzpatrick 830864b715 client: don't call osutil.HomeDir during test.
Prep for future changing which makes this crash.

Change-Id: Ic02f7319deffb1d47e89f45d066fa4e62d45e499
2014-02-23 09:34:16 -08:00
Brad Fitzpatrick 18daf0b601 buildinfo: add func TestingLinked
Change-Id: I664f72ec04748079929d0ad96e24b33bc14c6c77
2014-02-23 09:21:11 -08:00
Brad Fitzpatrick 70b886dd5a react: Add a better package comment
Change-Id: I427bcc0e8554323def325bf2d15707963299e45e
2014-02-23 09:08:33 -08:00
mpl 831a81f2d9 Merge "buildbot: send sigterm instead of sigkill to child" 2014-02-22 18:06:44 +00:00
Bill Thiede 58b6497b14 ui: Add QR code for configuring mobile clients.
Creates new page @ /ui/mobile.html for generating a QR code that
embeds configuration data for setting up mobile clients.

Imports code.google.com/p/rsc/{gf256,qr} version:

parent: 149:a3cbaf2339c4 tip

This addresses the server and web components of
https://camlistore.org/issue/372

Change-Id: If9239dd138707080afd7dedb5770d04893cbf0ba
2014-02-21 19:58:54 -08:00
Brad Fitzpatrick 593682dc2d New Android app uploaded to Play. Version 2 aka '0.6.1'.
Change-Id: I0f655de272e15f854a909b629b68a2dd012e36c2
2014-02-21 18:17:59 -08:00
Brad Fitzpatrick 84fa82e0d0 Add the website to the top-level Dockerfile too
Change-Id: I5c6116c629dc31db215c0ec4ffba67a45d9b8516
2014-02-21 18:17:16 -08:00
Brad Fitzpatrick ccacf76451 camput: re-enable deadlock test, now that it's fixed
And tweak limits a bit lower.

Change-Id: I7a38ffce37a997aa6ce9943e13605e76476f5646
2014-02-21 15:38:21 -08:00
Brad Fitzpatrick 735aca5825 Merge "camput: limit upload concurrency (number of goroutines)" 2014-02-21 23:35:19 +00:00