Commit Graph

6007 Commits

Author SHA1 Message Date
Mathieu Lonjaret 5e5c77096c Merge "docker/go: bump to Go1.6" 2016-03-09 16:49:38 +00:00
Mathieu Lonjaret 92e04441e6 Merge "third_party: remove code.google.com/p/goauth2" 2016-03-09 16:10:41 +00:00
Mathieu Lonjaret 2bd515d244 Merge "third_party/picago: remove unneeded oauth helpers" 2016-03-09 16:10:00 +00:00
Mathieu Lonjaret 13495756fa Merge "importer/picasa: use golang.org/x/oauth2" 2016-03-09 16:09:31 +00:00
Mathieu Lonjaret a4233ba5e4 Merge "ui: fix symlink in filetree view" 2016-03-09 15:03:18 +00:00
Steve Armstrong 93dba45f8d ui: fix symlink in filetree view
Fixes issue #687

Change-Id: I385b5c86d736f798aaaf1416221bee05598c6c4c
2016-03-08 20:30:14 -08:00
mpl 74b4a5e445 doc/release.txt: fix typo
Change-Id: Ic0fbb80bce03d3022077da8a5c3965a1264f065b
2016-03-08 23:03:28 +01:00
mpl 07a633ecdb third_party: remove code.google.com/p/goauth2
Fixes Issue #489

Change-Id: Ic8e431f8ce3ae406379ea502ed6220a1ec7ccf07
2016-03-04 17:05:59 +01:00
mpl a3851d2726 third_party/picago: remove unneeded oauth helpers
They were the last user of third_party/code.google.com/p/goauth2/oauth

Issue #489

Change-Id: Id130968ab846eb92badb0cbfd44c0dbe1174cc57
2016-03-04 16:52:01 +01:00
mpl 0d2fb2747e importer/picasa: use golang.org/x/oauth2
Issue #489

Change-Id: Icb748a90f2ae9cf7a758d8f248ec7e566b46b006
2016-03-04 00:52:01 +01:00
mpl 6a205ba71a importer/foursquare: use golang.org/x/oauth2
Issue #489

Change-Id: I6eb39e16a9e409d86359858c509dd086e6075cd4
2016-03-03 16:53:24 +01:00
Mathieu Lonjaret 34d292a6f3 Merge "importer/pinboard: kill World after test" 2016-03-03 14:33:52 +00:00
Mathieu Lonjaret 87b12ad6f4 Merge "vendor/goexif: unvendor old import path" 2016-03-03 14:28:20 +00:00
Mathieu Lonjaret 489b967943 Merge "third_party/rsc/qr: rm unused web pkg" 2016-03-03 14:27:52 +00:00
Mathieu Lonjaret adb3502add Merge "third_party/goleveldb: rm tests that need other deps" 2016-03-03 14:27:16 +00:00
Mathieu Lonjaret 14a8a9f6a4 Merge "pkg/deploy/gce: fix error overescaping" 2016-03-02 23:57:24 +00:00
mpl 35c1e2feb5 docker/go: bump to Go1.6
Change-Id: I03d015ef7cf51477626e9a80762580f3ee22cfef
2016-03-02 19:07:26 +01:00
Mathieu Lonjaret be5440563a Merge "test/integration: fix TestCamputUploadOnce for devcam test" 2016-03-01 23:30:41 +00:00
mpl 47f1dd423f test/integration: fix TestCamputUploadOnce for devcam test
Because the data file used in the devcam test case is different from the
one when running directly with go test

Change-Id: I881015e0f3870a6d68e328d9aa77090af7aaff60
2016-03-02 00:25:24 +01:00
mpl f6c9604b1c vendor: update http2
rev 6acef71eb69611914f7a30939ea9f6e194c78172

Context: Issue #686

Change-Id: I6f0ccb5c64e647aae2893450a952c2abb7cfe0a4
2016-03-01 15:36:15 +01:00
Mathieu Lonjaret 85f5917983 Merge "devcam hook: add commit-msg hook" 2016-02-27 23:47:50 +00:00
Mathieu Lonjaret 475179b9d7 Merge "integration/camput: check we upload same file only once" 2016-02-26 15:49:56 +00:00
Stephen Searles f1e4939201 blobserver/shard: added tests
Change-Id: Idd0c9d13223bd5ce2996991fc29f8ffcb7520f6c
2016-02-26 05:01:03 +00:00
mpl 7fa4f9a2ee integration/camput: check we upload same file only once
Fixes issue #547

Change-Id: If9d4dcb9003f2374efb0c0f4adcfa3ee94088e10
2016-02-26 00:39:27 +01:00
mpl 8d37fd1a6f pkg/deploy/gce: remove old TODO
I don't think we will ever want that wiping feature for the production handler.
As for the command-line tool, people who use it know enough to destroy
their instances themselves if they need to.

Change-Id: I94cd92ebc4904cc3249b8dcff946a025daace589
2016-02-25 23:28:55 +01:00
mpl cde9dcb6f3 devcam hook: add commit-msg hook
To replace the misc/commit-msg.githook bash script

Code mostly copied from golang.org/x/review/git-codereview/hook.go

Fixes issue #590

Change-Id: I887cd32f9b6113d1a6b5d8b6eea6355da5706074
2016-02-25 17:50:44 +01:00
mpl 5c7a4bef6b travis: build with Go 1.6
Change-Id: Iad2dcd05431264b5ce05959b1d629facbfb05ae1
2016-02-24 19:05:41 +01:00
Mathieu Lonjaret 026099474c Merge "vendor/future/mime/multipart: remove" 2016-02-24 17:58:28 +00:00
mpl 8d5d761ff5 vendor/future/mime/multipart: remove
revert changes afe28ebf90 and
666d525530 because Go 1.6 is out.

Issues #642 and #644

Change-Id: Ide422b5164576c77d72061bb05ea0984c68d55e4
2016-02-24 18:11:20 +01:00
mpl 33a8eec553 make.go: require Go 1.6
Change-Id: I8ebf1c96795adc22348de36917066bbbbb7b8f06
2016-02-24 17:55:42 +01:00
mpl 831d6a9ea1 pkg/deploy/gce: fix error overescaping
Fixes issue #659

Change-Id: I74171bd215b1bffedda88111b8fe1f6772532b18
2016-02-23 19:05:48 +01:00
Attila Tajti 364ed6be3e website/client-config: hint about paths, multiple aliases and sync
Change-Id: I9c5ce60a458da7888e30137486e9a6eb22a35c76
2016-02-18 08:02:14 +01:00
mpl 9a16f566fd vendor/goexif: unvendor old import path
Change-Id: I4e17629bfa7965f1fc68dd3b47be834459bb7e9f
2016-02-15 16:07:59 +01:00
mpl ae173fff27 third_party/rsc/qr: rm unused web pkg
Change-Id: Ib49071b4955d92fc268dcfe95f920e368e4dbb86
2016-02-15 15:56:49 +01:00
mpl a9cbb93cd8 third_party/goleveldb: rm tests that need other deps
Change-Id: Ic8d5f0af2f1e9d7417ee3a15a3c37571f61694a8
2016-02-15 15:45:10 +01:00
Brad Fitzpatrick d16ac53ffd server: HTML escape each sync validation error, put on their own lines
Updates camlistore/camlistore#683

Change-Id: I239bb2441b8b23aebb43e77d7e61c7ccdf708754
2016-02-13 13:22:06 -08:00
Brad Fitzpatrick d1fea28536 sorted/mysql: cap number of queries to 20 at a time
Arbitrary limit, but prevents things from exploding during request spikes.

Fixes camlistore/camlistore#683

Change-Id: I3699d25416fb6bbc1ea4f3b984b0ce05e6abf31b
2016-02-13 13:21:00 -08:00
Brad Fitzpatrick 8cf4f297eb pkg/sorted/sqlkv: don't release gate until iterator is closed
Change-Id: I4c3f5406b89294c09fb1d64aaeffc3c581664acd
2016-02-13 13:20:10 -08:00
Brad Fitzpatrick b3ba9aa7cd sorted/sqlkv, sorted/sqlite: replace Serial bool with a *syncutil.Gate
Change-Id: I820220d49b1d316d2be0ab7fe5bf302d204108b0
2016-02-13 13:01:46 -08:00
mpl eb0db1f1ff importer/pinboard: kill World after test
Related: Issue #680

Change-Id: I10a1ffc611d159288b4dc9d52e96524bbb385ee1
2016-02-13 00:46:20 +01:00
mpl 6fd35bd4de C+A: add Attila Tajti (Individual CLA)
Change-Id: Icd62937813b95c996b5678332393e901a79295d4
2016-02-10 23:28:10 +01:00
Mathieu Lonjaret 1383f340db Merge "pkg/blobserver: fix deadlock in MergedEnumerate" 2016-02-10 22:18:51 +00:00
Attila Tajti b306c1fccd pkg/blobserver: fix deadlock in MergedEnumerate
Change-Id: I45a13d5dbc1659640c44a5898ee1068a4a335a66
2016-02-10 23:14:17 +01:00
mpl 243c7c146a deploy/gce: do not ask for password
Issue #656

Change-Id: Ida28675588b30eed786957aaaca674cadbf9c404
2016-02-10 19:43:56 +01:00
Mathieu Lonjaret 2c20c02597 Merge "ui: use authentication token instead of Basic Auth" 2016-02-10 16:00:44 +00:00
mpl e03d0af04f ui: use authentication token instead of Basic Auth
Since issue #660 showed that we could not rely on Basic Auth for some
very particular cases (of POST requests), we wanted to replace Basic
Auth with a pre-generated token based authentication mechanism for these
cases.

However, as there already is such a mechanism used to authenticate
websocket connections, we simply extended the use of that mechanism.
Therefore, the token that is initially generated for websocket
connections is also now a valid token to authenticate any other
connection. The relevant types and method names have been changed to
reflect that. The javascript code pertaining to the sensitive cases
mentioned above has been changed to use that token.

Some doc has been added to point out how security-sensitive the
OpDiscovery permission is, since it gives access to the auth token.

Fixes issue #660

Change-Id: Iafed3b6e4804364ca2559414c8d87dc4a30f6637
2016-02-10 16:58:34 +01:00
mpl 21604dbe56 misc/docker: stamp version as well to binaries
Version in binaries will now be:
"X.Y (git rev xxxxx)"
if X.Y is specified with --tarball_version,
"xxxx"
otherwise.

Also uniformized the flags names and use in other programs.

Fixes #665

Change-Id: I958094f69b279437504854a3ff10e924d42c4fb6
2016-02-09 17:31:29 +01:00
mpl 255b51a5a0 website: always remove old demoblob3179 container
Because it can happen that we end up with with an already stopped/killed
demoblob3179, in which case we need to remove it even when killing it is
unsuccessful (because it was already dead).

Change-Id: I289e96284deebeaaa775c23ef6f3fe3bffc3777c
2016-02-08 22:05:37 +01:00
mpl 1a90fe806d vendor: update go4.org
rev 40a0492aa096a3be30c750c4e2216de52a6cf2e3

adds writerutil package

Change-Id: Ia771e38283afb9750a8dad0cd462ca12ce42dd15
2016-02-08 21:30:09 +01:00
Mathieu Lonjaret 134c276cd9 Merge "website: print error for demo blobserver" 2016-02-08 13:53:13 +00:00