Commit Graph

56 Commits

Author SHA1 Message Date
mpl 6af01f6c71 vendor: move pkg/images dependencies from third_party
This change is in anticipation of moving pkg/images to go4.org, where it
should not depend on packages in third_party.

So:
third_party/github.com/nf/cr2 -> vendor/github.com/nf/cr2
third_party/github.com/rwcarlsen/goexif -> vendor/github.com/rwcarlsen/goexif
third_party/golang.org/x/image/tiff -> vendor/golang.org/x/image/tiff

Note that third_party/go/pkg/image/jpeg was also a dependency of
pkg/images. We had vendored image/jpeg from tip at the time because it
offered advantages over the version from Go1.3
(https://github.com/camlistore/camlistore/issues/463).
Since we now depend on Go1.5, we can go back to depend on the stdlib
version, so we simply remove third_party/go/pkg/image/jpeg and adjust
the imports accordingly.

Change-Id: Ifc8ffae0551102e644a0a0c67f3ff89e04df15c7
2015-12-18 22:15:33 +01:00
Brad Fitzpatrick 6f58fc2426 Fix build, move more stuff from third_party to vendor. 2015-08-18 10:19:49 +02:00
Brad Fitzpatrick aada432c52 third_party: add oauth2/google, google.golang.org/cloud, google.golang.org/api
oauth2 at 267028f9bc2a1177dc5769be38c68c1b4fbe91c4
google cloud at 2e43671e4ad874a7bca65746ff3edb38e6e93762
google api at fc402b0d6f2a46ba7dcf0a4606031f45fb82a728
  (partial commit only, since it's 16+ MB)

And update all callers from the old
code.google.com/p/google-api-go-client over to google.golang.org/api.

Change-Id: Ide190e04bb863928f98369a7c4d2b8c19fda1f66
2015-01-22 15:10:36 -08:00
Bill Thiede 1fee0f1816 third_party: cleanup imports.
I think these snuck in because not everyone has the client side git
hooks registered to check on misc/review.
Removed third_party/github.com/bradfitz/latlong/gen_test.go (per
review feedback)

Change-Id: Ide09d152b28157a043009d7285f1afd4a60ac9de
2014-10-01 22:08:13 -07:00
Brad Fitzpatrick df6d04cce9 oauth: fix Token.Expired
also sent off as https://codereview.appspot.com/134830043

Change-Id: Id15fd7adb77c87a012112cbfda1d02084bd8e895
2014-08-25 18:58:18 -07:00
Brad Fitzpatrick 41a27edde5 Add code.google.com/p/google-api-go-client/compute/v1 to third_party.
For creating GCE instances running Camlistore.

Change-Id: I8633053e41f47c055bf40d99a4322be0d0730379
2014-08-14 13:39:06 -07:00
Brad Fitzpatrick 57856c092f Make Google oauth2 support work again.
Change-Id: I7f5f3c714c7385685c283fec5362db5ca1c31f81
2014-08-13 17:17:21 -07:00
Brad Fitzpatrick 1b22acca30 Update goauth2 to f06a85362aa5
Change-Id: I581d449099b6201dc78593c3394fa3ae0954e0c3
changeset:   75:f06a85362aa5
tag:         tip
user:        Brad Fitzpatrick <bradfitz@golang.org>
date:        Tue Aug 12 13:58:32 2014 -0700
summary:     oauth: clean up docs, code, fix data race, don't send client_secret in two places
2014-08-12 14:03:22 -07:00
Brad Fitzpatrick 90de301210 Update goauth2 in third_party to 8273d5a0e11a
Change-Id: Ibe23ad22887ba8ddc6c6a02e8ff81525015e96e6
2014-08-10 10:52:19 -07:00
Brad Fitzpatrick 4c3420808e Add Google API 'sqladmin' to third_party.
Change-Id: I163e64a208f420e6fb856f532bfa4bd73774312d
2014-08-06 16:17:52 -07:00
Brad Fitzpatrick dd4ebed033 third_party: add code.google.com/p/google-api-go-client/storage/v1, update googleapi
Change-Id: Ic5bd4cd44eecda87824c710f0b98675870894940
2014-08-02 21:00:09 -07:00
Bill Thiede eb7f66fe28 jpeg: enable images/jpeg imported from Go tip.
Addresses https://camlistore.org/issue/463

Change-Id: Ie7b8f937ded78d95875f4cd13b024d0429136981
2014-07-02 21:22:15 -07:00
mpl 06ce6b5eae third_party/go-charset: remove useless generate.go
generate.go cannot be used without the datafiles, which we
have not imported.

also rewrote some commented out imports.

Change-Id: If97e4604df52b9533fc0412a7ebd8a3be0470233
2014-04-09 01:34:45 +02:00
Matt Jibson c2c08f80a8 Third party imports for feed importer
Change-Id: I2c834426f3214836d00cf623caf0915433334320
2014-04-07 01:47:27 -04: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
mpl c4f3a5b215 third_party,jsonsign: bump openpgp to 188:61c59dda830a
http://camlistore.org/issue/370

Change-Id: I0066b1ad1455ff7960bda1f64ee953daa1195e1c
2014-02-09 01:04:36 +01:00
Tommi Virtanen 6cda29582b third_party: Switch FUSE library to bazil.org/fuse
import bazil.org/fuse at f6649cd46fb76b1e04ba9eeffb773cb189278d31
remove code.google.com/p/rsc/fuse.

Huge thanks to Tommi Virtanen for the fuse support.

Change-Id: I44b95ac1ea344648593c7376f83ca675a56077b3
2014-01-24 13:28:08 -08:00
Brad Fitzpatrick c7946165a1 Update gooauth2 to 5877582f0cb0
Change-Id: Icac0141baa636dfe6867ab487235f61f7e5c24b1
2014-01-14 20:21:42 -08:00
Dustin Sallings 214aaf2587 third_party/fuse: remove verbose xattr logging
Change-Id: I620cf6829e6059196f2368392d8882227dd7edbb
2014-01-06 23:47:28 -08:00
Dustin Sallings aa7196e33b fuse: support extended attributes
Change-Id: I0698d5adfc756bf8f589f2cdbb0057f2789cd40a
2014-01-02 00:03:06 -08:00
Brian Gitonga Marete 981f3867db third_party: Import code.google.com/p/go.crypto/scrypt.
Change-Id: I39a2e08749a68e0a1234d0488a592b8f43eec594
2013-12-23 20:39:30 +03:00
mpl 071525e06c google drive: fix import example to shut rewrite-imports.sh up
Change-Id: Id699b35e9beb99f2ba84a1e427a04c892a5e7b73
2013-08-19 17:33:59 +02:00
Burcu Dogan 6e6e910af1 Adding Google Drive as a storage backend experimentally. No cheap-enough way
of enumerating Drive files, needs to be fixed once Drive supports
range queries. Allows you to sync to /sto-googledrive/, but not from.

Change-Id: I6ac5ef02c5f51a6abdab5c207a3a5693c6bb8581
2013-08-17 15:30:02 +02:00
Brad Fitzpatrick 40b70311d2 fuse: maybe handle opFsyncdir.
Change-Id: I899a2bd07aa60be38e10f062f3607fa9c07ac3c9
2013-07-20 22:40:19 -07:00
Andrew Gerrand 16047a787f fuse: add Truncate method to Handle
Change-Id: I8aff0473356d1e0a95489ba9d3d0c4a0435b16eb
2013-07-11 16:51:14 +10:00
Brad Fitzpatrick dde968e763 Mark FUSE & pkg/fs files as Linux & Mac only, to fix FreeBSD build.
Also start of cross-compiling support in make.go.

Change-Id: Ic11ca2d433f135b07b3f6d7738eec9fe98590905
2013-07-05 10:41:07 -07:00
Brad Fitzpatrick a82d394066 On Linux, don't assume fusermount is in /bin. Use PATH.
Change-Id: If6c59a3776dcc679e9fabaa989e35c8be38baa00
2013-06-17 07:43:44 -07:00
Brad Fitzpatrick 612a421df3 Add xsrftoken to third_party
Change-Id: Ic2b8baf625d6afc70fb7eb42e9434b483024c936
2013-06-11 16:04:03 +02:00
Brad Fitzpatrick 2752bfa80c fuse: minimal handling of opInterrupt
Change-Id: Idd00f531fdc63d894a41103f2c25e418c397bad5
2013-02-10 19:20:58 -08:00
Brad Fitzpatrick 51e88cac65 Support for "planned permanodes" in pkg/jsonsign, pkg/schema and cmd/camput.
A planned permanode involves setting the contents of the permanode
(instead of a random string) as well as the OpenPGP signing time so
the resultant bytes of the blob (and thus its blobref) is deterministic.

This allows multiple independent devices (my laptops) to create the
same permanodes for the same files (photos backed up from my phone)
when offline (airplane) and then when they sync later, still only have
one permanode per unique file.  This means that tagging and other
metadata applied to permanodes on one laptop merge cleanly with
metadata from the other.
2012-07-28 16:32:31 -07:00
Brad Fitzpatrick 2fa7812557 remove more debug 2012-05-08 14:54:15 +10:00
Brad Fitzpatrick 793237b2e8 fuse: remove debugging 2012-05-08 14:52:09 +10:00
Brad Fitzpatrick ad5df4d614 fuse: remove 1 second pause during testing.
Change-Id: I6a708907ae5881b5225c0ef944b7cda7aed0cfba
2012-03-18 18:29:41 -07:00
Brad Fitzpatrick 9b9b837148 fuse: add fsync support
Change-Id: Ia7351e70437df32b16648793dfc47d11ad8fdbea
2012-03-18 18:25:09 -07:00
Brad Fitzpatrick 1ea7c0c8c9 fuse: use os.FileMode everywhere instead of uint32
Change-Id: I227990c86172c7b28ad2823badaaa3a1ce852f9a
2012-03-18 17:38:51 -07:00
Brad Fitzpatrick b2d09ed669 fuse: mknod support
Change-Id: If52bba5b9d67ac68378c26068edf437b17986788
2012-03-18 17:30:45 -07:00
Brad Fitzpatrick 7423bd6d44 fuse: add Link support
Change-Id: I263fe6ec57fdf1bbbca4e1896d2485aa0f40fd56
2012-03-18 14:53:56 -07:00
Brad Fitzpatrick 3a36a0fff9 fuse: implement Rename
this is different from how Russ documented it, so we might change it yet.

Change-Id: I992b95c5087201b5c99f8ced5e5764834bd3f664
2012-03-18 13:20:43 -07:00
Brad Fitzpatrick 22495fb473 fuse: handle RemoveRequest in serve.
Change-Id: I9d4f89340b62a60f903e64b9be04a9da4b4f4de3
2012-03-18 11:43:59 -07:00
Brad Fitzpatrick 3b690b659d fuse: readlink support
Change-Id: I81e325057bf8e6cc38a0a499ab9a8ad91ad92bcb
2012-03-18 10:16:25 -07:00
Brad Fitzpatrick 3702e2b9b5 fuse: add symlink support.
Change-Id: I42f04e1962e37c6117431046762080e3fefef650
2012-03-18 09:46:31 -07:00
Brad Fitzpatrick 9acdff1cce fuse: fix BUG. Linux works. Only FreeBSD remains.
Change-Id: Ie76906188ec797a386a77c0d32318bb14299d66c
2012-03-17 16:34:47 -07:00
Brad Fitzpatrick d1aef52044 fuse: all tests pass on Linux and OS X now.
when truncating nodes without the Handle valid bit set, seek out
all open handles for that Node.

requires maintaining mapping info between nodes and handles.

Change-Id: I27955a60dda2ca354d66e87e34b31f3894615c41
2012-03-17 16:07:42 -07:00
Brad Fitzpatrick aa65743b58 fuse: remove dead code, implemented already elsewhere.
Change-Id: I177ac8338aba45a798abfd08964f8184b19224d5
2012-03-17 16:03:22 -07:00
Brad Fitzpatrick f70c2e12c0 fuse: import time on darwin
Change-Id: Ifd43921e6f26eb3e5959732a224afb05fff8517f
2012-03-14 11:30:39 -07:00
Brad Fitzpatrick 32dab2e9ea fix write test
Change-Id: I9a9c1947024518e551a8eba3b7b0d6c08deb3516
2012-03-14 10:58:05 -07:00
Brad Fitzpatrick 93ec5aa9a8 fuse: add fuse_kernel_linux.go, forgotten earlier.
Change-Id: If3e5333ee670b6a6fce2689649c68053974abe84
2012-03-14 10:50:28 -07:00
Brad Fitzpatrick 7f722b4cd9 fuse: flag to run specific tests.
Change-Id: I53f156619ef6381f70f0af741b63b85281c71239
2012-03-14 10:49:52 -07:00
Brad Fitzpatrick d20e0504f0 fuse: get further on linux, still fails in Write.
Change-Id: I83c9651808898e7b28823a15f7c29d1f07852c52
2012-03-14 09:13:47 -07:00
Brad Fitzpatrick f6791051cc fuse: start of per-OS struct separation
Change-Id: I6b247122d9cfc43acd3c0a4ee0a07f582745955b
2012-03-13 10:30:32 -07:00