Commit Graph

162 Commits

Author SHA1 Message Date
Aaron Boodman 290413a692 My import of picasa was failing because the number of photos
returned by the API was different (by one) than the number of
photos claimed in the top-level NumPhotos attribute.

Instead of relying in the NumPhotos attribute, just keep
requesting until we get a response with nothing in it.

This is also more robust against the (admitted edge-case of
the album contents changing while the importer is running.

Change-Id: Id928a6526e2805aa64e2e59828e2575235bcf9b9
2014-08-19 22:58:01 -07:00
mpl 00832f8ecb third_party/kv: update to a9e92863f9c096cd0de82eb9c71af2a59174e671
with dependencies:
bufs: 3dcccbd7064a1689f9c093a988ea11ac00e21f51
exp: 9b0e4be12fbdb7b843e0a658a04c35d160371789
fileutil: 73109188c05569cd7eaf09a523a090e714fa9d37
mathutil: 1dc74626b71a300f674026585083535b6a4d3853
sortutil: e14776c5119b49f2cf829486056e411043b6b6b2
zappy: be0e6f7682658396e2ce883e87d9de3abc08fb74

Change-Id: I00c6ea4e85a62fe8268c41b1e3524ded64c235fb
2014-08-18 23:03:56 +02:00
Brad Fitzpatrick cf380d917f Update gce to aef7815
Change-Id: I35df55eebae3d2e18898d82d4bbab8c8825af78a
2014-08-15 22:04:36 -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
Aaron Boodman 03f0f598da Moved the nav from the side to across the top.
Various other related improvements.

Change-Id: I4469991ef4327a9a80f1bbf5ba5fed2a10f4eb79
2014-08-09 21:07:29 -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 1d09bd4ebb update gce library in third_party
Change-Id: I9b06b0c39e71f1d7b9d59d795d31596238fc3e44
2014-08-02 21:47:37 -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
Brad Fitzpatrick bebfe1bc7f Add github.com/bradfitz/gce to third_party.
Change-Id: Id5f504da159223ac6c695ea18b277ce1f3bc7960
2014-08-02 19:13:16 -07:00
Brad Fitzpatrick 8fbd54c09b picasa: set url property on photos and albums
Change-Id: If89ee61138e4fb80e68f87130c5fe189b7d82582
2014-07-31 14:34:52 -07:00
Brad Fitzpatrick d4f22274cd picasa: document and simplify Photo fields in picago.
Be smarter about title vs description. Don't use caption as an attribute name.

Change-Id: I746fc6d88e27b6b85a8505456e6eb423443d7840
2014-07-30 16:24:56 -07:00
Brad Fitzpatrick 95492813b1 picasa: clean up album attributes, add tests, fix keywords with spaces
Change-Id: I32faae16334e3999731f3980502eb6a1a6d38595
2014-07-30 15:50:34 -07:00
Brad Fitzpatrick 29c63cc2ab picasa, picago: support video, change struct definitions, add start of more tests 2014-07-29 11:44:44 -07:00
mpl cc4a7bb737 third_party/picago: update to 748d17b605ea675a56859678b1b0a57b38d082d0
Fixes off by one error.

For reference: picago was first vendored in at camli ref
65fa5d6d3e

Change-Id: Id58e067a4f89199e9b20cea834bccac5decfac89
2014-07-25 16:05:51 +02:00
Brad Fitzpatrick b6d3d1a103 exif: add Exif.LatLong accessor
Change-Id: I5d5d1d3d8124e665d6bb7e6cb7d06107aa39bda7
2014-07-13 10:23:30 -07:00
Brad Fitzpatrick a827380644 exif: make DateTime return time.Local location when unknown timezone
Change-Id: Id3ea677389e3e2e4e765116e85c0c60fb74fdff8
2014-07-13 10:22:45 -07:00
Brad Fitzpatrick 06cd39ebb8 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-07-11 21:09:46 -07:00
Brad Fitzpatrick 3967119923 Import github.com/bradfitz/latlong to third_party.
Change-Id: Ia952a23995b91ac9865bd0ae912bf0bf88289146
2014-07-11 21:08:50 -07:00
Bill Thiede 9d58809e8f lock: Merge added FreeBSD support from upstream.
Change-Id: I2cb6de1fe32069a675eed405744d632054d67a11
2014-07-04 19:21:02 -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
Bill Thiede c919f12cf1 jpeg: import images/jpeg from go tip.
Imported @ version:

  parent: 20306:04c9a977b540 tip
   runtime: make runtime·usleep and runtime·osyield callable from cgo callback
  branch: default
  commit: (clean)
  update: (current)

Addresses https://camlistore.org/issue/463

Change-Id: I5a38144cb944f6474085d305f86bd2231d7fb0a2
2014-07-02 21:22:02 -07:00
Brad Fitzpatrick fce14a4f19 Merge "third_party: Update bazil.org/fuse" 2014-06-10 16:44:53 +00:00
Eric Drechsel 826e1e2933 third_party: Update bazil.org/fuse
import bazil.org/fuse at 9802bb510ca4cd1c18ffc840cf6fe9ef5d1546a8

Change-Id: I8f50cc8aa779265f43fdfbcbee646015d3453d39
2014-06-09 02:47:29 +00:00
Bill Thiede 4becc15cec third_party/github.com/nf/cr2: sync with upstream.
commit 6fc9728c6d1f6a9cf3ed81763e8cdcad762ad060
Author: Bill Thiede <git@xinu.tv>
Date:   Mon May 26 15:17:57 2014 -0700

    Add NewReader to public API.

    NewReader allows direct extraction of the embedded JPEG thumbnail found in
    CR2 images, without first needing to decompress the thumbnail.

commit 3198f1193fd4f9eca7b1b0bd6645b94208128fa0
Author: Bill Thiede <git@xinu.tv>
Date:   Sat May 24 20:25:46 2014 -0700

    Doc cleanup and s/tiff/cr/ in error messages.

    This library was forked from the tiff library, but is distinct.  The error
    messages should indicate that to aid in debugging.

    Removed one limitation in package doc, more tests were added in commit
    a67a1ab62fb3eb9e699f85116ab4e24b639de04e

Change-Id: I64c519f7cdd4a0b85fd7a2499c0bdcd76c02f2ce
2014-05-27 21:52:42 -07:00
Tamás Gulácsi cbb777ffb0 Rewrite Picasa importer for the new Importer API
Reorganizes common OAuth2 things into importer/oa2_importers.go
Rewrites CallbackURLParameters to return url.Values.

A controversial workaround for nil context has been left out,
and this may cause panic and will need a proper fix.

Change-Id: I0789f4732412aa559078ec2c6b6797925ab8cd05
2014-05-21 22:37:50 +02:00
Aaron Boodman 632366d148 Upgrade React to 0.10.0.
Change-Id: I1c47fec4293b762f26103d41ebd1faacb96e26e5
2014-05-02 19:10:09 -07:00
mpl 45ce6cfdd3 mysql: replace mymysql with go-sql-driver
from github.com/go-sql-driver/mysql at 9a7aa3606b82e2081a13a008ada88dfdb96c20fd

Context: http://camlistore.org/issue/428

Change-Id: Ia93ac35da02933bd03d2c6b7b8e5e549ba0472cb
2014-05-01 17:42:51 +02:00
Brad Fitzpatrick 05f8eca282 Merge "third_party/kv: bump lldb to 72d8c73cb89f78f33c3a63243b4d24c0b4b1d60b. should fix corruptions." 2014-04-10 02:12:55 +00: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
mpl 5f9e4bbcb8 third_party/kv: bump lldb to 72d8c73cb89f78f33c3a63243b4d24c0b4b1d60b. should fix corruptions.
http://camlistore.org/issue/394

Change-Id: Ib0ddd40dc4af6d69d595ef4429fc71cef28a9450
2014-04-08 20:59:17 +02:00
Matt Jibson c2c08f80a8 Third party imports for feed importer
Change-Id: I2c834426f3214836d00cf623caf0915433334320
2014-04-07 01:47:27 -04:00
Aaron Boodman 2c675b3a87 Add FontAwesome. This will be used for icons in the UI.
Change-Id: I92fecd44f12cce83f4daee88bce062d9123a48a7
2014-04-05 17:19:29 -07:00
mpl 697fd3b840 cznic/kv: bump to ad6be3ee976d5a8ec01072bac898a5db0a5c61ce (bugfix)
Change-Id: I967c691fc30dfc16620e569182817afa65a24529
2014-03-20 12:18:34 +01:00
mpl 1ededef4ca cznic/kv: bumped to acb8d1b9040438369038812735a8fff92ec11048
Change-Id: I2a4dc85aba4d215847224b2a8d00ad8198783f1b
2014-03-19 23:06:23 +01:00
Tamás Gulácsi 65fa5d6d3e Picasa: add importer.
Imports all images from all albums, and puts each image in its album.
Each album is linked under "Picasa (<username>)".
Tries to skip already imported files (check based on album/filename).
See Issue #391.

Change-Id: If00751671a429891c05bbe41f59c1421b2ff2de8
2014-03-17 10:52:51 +01:00
Brad Fitzpatrick a61c921750 Merge "ui: Add QR code for configuring mobile clients." 2014-02-24 01:43:28 +00:00
Brad Fitzpatrick 70b886dd5a react: Add a better package comment
Change-Id: I427bcc0e8554323def325bf2d15707963299e45e
2014-02-23 09:08:33 -08: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
Daniel Erat 404548d31a pkg/index: Index more music-related properties.
Add disc and mediaref (a hash of the audio portion of the
file).

Also relocate taglib code to
third_party/github.com/hjfreyer/taglib-go.

Change-Id: I58364f525b787484af894663125163095256d7c6
2014-01-22 21:25:05 -08:00
Aaron Boodman 69cb19ccdb Throttle updates to history so the URL bar doesn't flicker so much.
Change-Id: Ie2b1cc8a6abe2d41083dcd1116940508b22661f5
2014-01-20 12:00:04 -08:00
Daniel Erat 2c03760157 third_party/taglib: Update to ef5ded85df.
Change-Id: I536e08d2c0184b1d2abe52f3f139be35e9f331dd
2014-01-19 18:55:18 -08:00
Aaron Boodman a9dde0d354 Wire drag and drop file uploads back up.
Change-Id: I19939d152cfb66e10cf87105bef71849a508c82d
2014-01-19 01:06:05 -08:00
Aaron Boodman e06eb5e50d Update Closure
Change-Id: Ia2a27bb78f5f85423940e177bc7b56913bb672a9
2014-01-18 23:07:50 -08:00
Brad Fitzpatrick c7946165a1 Update gooauth2 to 5877582f0cb0
Change-Id: Icac0141baa636dfe6867ab487235f61f7e5c24b1
2014-01-14 20:21:42 -08:00
Brad Fitzpatrick 2f022a4444 Update cznic/kv to 1a1aa67018afcbe34b1448bae94661feab6c5ecd
Fixes camlistore.org/issue/332

Change-Id: Ie2de810b4572077263418fc6fdd17e2508ff7b24
2014-01-10 09:22:04 -08:00