Commit Graph

5774 Commits

Author SHA1 Message Date
mpl c88d81a2fd sorted/mysql: remove DB from pool when closing
Otherwise when openOrCachedDB is called for the second time,
it would return an actually closed DB.

Change-Id: I820834e508fed1a34ab7bd19a8a91e398badff9c
2016-01-06 20:42:52 +01:00
Mathieu Lonjaret 77dcc0559d Merge "dockertest: use official mysql image" 2016-01-06 18:39:32 +00:00
mpl 4662076934 dockertest: use official mysql image
Because orchardup/mysql is deprecated.

I had to increase the timeout, because this image takes at least twice
as long to start compared with the orchardup one. (tests went from ~5s to
~11s here).

Change-Id: I42c485d736c65ce9d93aabf02b1de73e6ac799ff
2016-01-06 19:38:13 +01:00
Mathieu Lonjaret 92568bd8b6 Merge "pkg/client: set camliType, use correct blobref" 2016-01-06 17:24:03 +00:00
mpl 00f370f38c pkg/serverinit: fix test after 7b78c50007
Change-Id: I36800bcf5f1a2e8f19890c97372297f9281999ba
2016-01-06 18:11:52 +01:00
Attila Tajti 0d49cffb44 pkg/client: set camliType, use correct blobref
- make sure camliType is set to "file" in UploadFile
- fileMapFromDuplicate uses the blob ref calculated from the
  file schema blob in the call to ReceiveBlob
- add test for above changes
- TestTransportSetup updated after field name change
- hasComponent fixed for case fullpath[:len(component)] == component
- hasComponent returns true if the first match is missing either separator,
  but there is another match down the path
- add special handling for Windows in hasCompontent and TestIgnoreFns

Change-Id: I96325b060e9421709bd9f684bcc9eceed7135f7b
2016-01-06 17:44:08 +01:00
mpl 8e2867a3e1 fastjpeg: remove work-around for os/exec bug
Because that was a hack for isssue #550 , which has been properly fixed
in Go 1.5

Issue #621

Change-Id: I5def4b0ea2f4887a052985997249d9e71a0b93c9
2016-01-04 22:10:34 +01:00
Brad Fitzpatrick 8e862472a4 website: update homepage's latest release
Change-Id: Ib972aa046b64cc3aab9d9f864db5a2d3de600499
2015-12-30 11:14:21 -08:00
Brad Fitzpatrick cf0c847fbf website: the 0.9 release is now named Astrakhan, and out.
And fix some text and redirects.

Change-Id: I8cf26a028fe79b6daa8817caff85279e314d12c6
2015-12-30 11:10:51 -08:00
Brad Fitzpatrick 33ce243eb9 website: redirect bare /dl to /download
Change-Id: Ie5f249d478fcb589824c056bf61c7af7c54155ab
2015-12-30 10:50:54 -08:00
Brad Fitzpatrick 01eb400955 misc/docker/dock.go: make final download tarballs public
Change-Id: I842b76ce68fe99530bd0a85f0dbdcdd6925e1b5a
2015-12-30 10:50:42 -08:00
Brad Fitzpatrick 7b78c50007 Update help handler's text, especially for GCE users.
Fixes camlistore/camlistore#666

Change-Id: Ifb2868a16d3adc425e42cf1d6d3184f31114fa19
2015-12-30 10:33:25 -08:00
Brad Fitzpatrick 9d6fba7ea3 misc/docker/dock.go: make the copied Docker image also public
Change-Id: I8c292605b17efe5e285ea399cd32ba053d9728ad
2015-12-30 09:24:34 -08:00
Brad Fitzpatrick fbbbc8a81f Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2015-12-30 09:07:10 -08:00
Brad Fitzpatrick 8888d4256f misc/docker/dock.go: fail if tarball_version and build_image both set
Change-Id: I985cba6a8de0eb9f5e5e008ea0153d4a417991da
2015-12-30 09:07:07 -08:00
Mathieu Lonjaret fc69651aad Merge "misc/docker: TODOs for public link and version stamping" 2015-12-30 10:59:42 +00:00
mpl 3a902458ef misc/docker: TODOs for public link and version stamping
Change-Id: Ic1573ffa85e10e8f330676bfd7a19369763e4a4d
2015-12-30 11:58:01 +01:00
Mathieu Lonjaret 4b76b169bf Merge "website: 0.9 notes: images resizing" 2015-12-30 10:56:59 +00:00
Mathieu Lonjaret f1b523d068 Merge "website: 0.9 notes: devcam hook" 2015-12-30 10:52:52 +00:00
Brad Fitzpatrick 66f0ddac0e pkg/client: fix directory upload deadlock, clean up HTTP handling
Unexports pkg/client.Client.TransportForConfig in the process.

Fixes camlistore/camlistore#662

Change-Id: Ifc2d6b0fee70d5db86654897d2d377b343b6d38b
2015-12-29 23:39:29 -08:00
mpl ddd27e90ae website: 0.9 notes: images resizing
Change-Id: I7284aacc3c54aad9c84c1291f20fc343c712ebb5
2015-12-30 00:30:49 +01:00
mpl 4e5d34c0db website: 0.9 notes: devcam hook
Change-Id: I682039b47cf48693efa12a97ee3b50141266ef5e
2015-12-30 00:19:51 +01:00
Brad Fitzpatrick 4086789731 pkg/httputil: also track protocol versions of HTTP response in StatsTransport 2015-12-29 13:36:50 -08:00
Brad Fitzpatrick c36a3a087e pkg/search: don't run a speculative search more than once a time
When new blobs arrive we re-run open search queries (those requested
by an active websocket client) in case they changed, and then push the
new result to the browser if they did change.

But when uploading lots of data if the browser has a big search query
active, it was possible to start running the same query in many
goroutines over the same data. Don't do that.

Verified that this was the case with some temporary logging in the
already-refreshing case.

Updates camlistore/camlistore#519
2015-12-29 13:33:45 -08:00
Mathieu Lonjaret adbd439a14 Merge "website: 0.9 notes: camput init" 2015-12-29 20:08:34 +00:00
mpl fc77c14010 website: 0.9 notes: camput init
Change-Id: I27914e56a76561f0654b57811ae1b143729e7630
2015-12-29 21:07:38 +01:00
Mathieu Lonjaret 7ad6b38be1 Merge "make.go: mirror .pb.go files as well" 2015-12-29 19:58:10 +00:00
mpl 79199b2fe9 make.go: mirror .pb.go files as well
Change-Id: I27c2fe697bb107dc30dec2ea878213e4c5d3796e
2015-12-29 20:56:56 +01:00
Brad Fitzpatrick 8d7b3fce62 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2015-12-29 11:35:02 -08:00
Brad Fitzpatrick fba8b457de pkg/client: wire up http2 support, unexported Client.InsecureTLS
Also add a flag to camtool discovery:

$ camtool discovery -httpversion
HTTP/2.0

Fixes camlistore/camlistore#661

Change-Id: I6db392e01bd176a2757ebdb4a0e881eebaec9b03
2015-12-29 11:33:38 -08:00
Mathieu Lonjaret c3bbefe9f9 Merge "website: 0.9 notes: leveldb" 2015-12-29 19:15:20 +00:00
mpl dad13d4e5e website: 0.9 notes: leveldb
Change-Id: I49c8dc6a6ffe9ef54fd0f7c4b921472492979150
2015-12-29 20:13:33 +01:00
Mathieu Lonjaret e67998ee12 Merge "UI: add to set when dropped is a dup but not yet a member of the set" 2015-12-29 18:22:48 +00:00
mpl 4cf54fb196 UI: add to set when dropped is a dup but not yet a member of the set
Follow-up to 82c6feb61a and builds upon the work of Mathieu Lonjaret's Change 5345.

When viewing a set, and the dropped file is a dup for an existing permanode('s content), we still need to add the permanode to the set if it is not already a member of it. The above commit overlooked that point.

Fixes #622

Change-Id: I694e583625886a7bf164ab9fd5bf8874a7cc2b23
2015-12-29 10:57:34 -07:00
mpl 48fbe83efb website: 0.9 notes: markdown
Change-Id: I29a622486e2abc94628771daf44ef0691a1dfd34
2015-12-29 18:26:20 +01:00
Brad Fitzpatrick a3d6ed6fa6 launcher: don't default password to the project ID
Change-Id: I9e68d768a436a5e3d3b445982feba3a9520fb643
2015-12-28 21:35:57 -08:00
Brad Fitzpatrick 833fbf0c85 website: use datastore to record which commits we've emailed about
Change-Id: I55d2b0e5f6de3377ef7240246e4ee44c8c2ebfa5
2015-12-28 21:08:17 -08:00
Brad Fitzpatrick 8c2c601317 vendor: add google.golang.org/cloud/datastore at 6fdcab49
Change-Id: Ide2a5b66fd5a80c850fd89691a51bded826835a6
2015-12-28 20:39:55 -08:00
Brad Fitzpatrick a21a65eeb5 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2015-12-28 17:23:36 -08:00
Brad Fitzpatrick 6fd2db4ccd website: add website binary to gitignore
Change-Id: Ia2df043a75c80b8393e5572db0f702aa98a9e6b0
2015-12-28 17:23:19 -08:00
Brad Fitzpatrick 6abb512bae vendor: update golang.org/x/net/http2 to 5d0a0f8cd48
Change-Id: Ie7fe8c346ef23f9faeb46a41015bd964ff7d90ca
2015-12-28 17:21:14 -08:00
Brad Fitzpatrick 2cfe160e3f vendor: update go4.org to 3b6feb5c
Change-Id: Ief1ad254d746a28129f994d7d969661f7daf9553
2015-12-28 17:20:28 -08:00
mpl f755ea4d4e misc/docker: bump Go to 1.5.2
Change-Id: Ida1ccb619ba4fceb0ce9ce813f03a5637040ba02
2015-12-29 02:00:52 +01:00
Mathieu Lonjaret 0d792ca2f4 Merge "website: 0.9 notes: travis" 2015-12-29 00:54:24 +00:00
Mathieu Lonjaret 9f3f76bcf8 Merge "website: 0.9 notes: vendoring" 2015-12-29 00:53:38 +00:00
mpl dc0561cd52 website: 0.9 notes: vendoring
Change-Id: I42d8da7bc021d6bd23aec57eac07a2b33405319c
2015-12-29 01:52:21 +01:00
Mathieu Lonjaret 229094d3fe Merge "website: 0.9 notes: cloud storage" 2015-12-29 00:44:16 +00:00
mpl 617860fcee website: 0.9 notes: cloud storage
Change-Id: Ie38baef2f592f091ed8e81cdc7b775651e50cff5
2015-12-29 01:43:32 +01:00
Mathieu Lonjaret f1656bd3d9 Merge "website: 0.9 notes: camweb" 2015-12-29 00:40:06 +00:00
mpl 464a16bdf9 website: 0.9 notes: camweb
Change-Id: I39b28a996bd9d61e850d6e59c3d323e7eedeb92d
2015-12-29 01:39:29 +01:00