Commit Graph

4759 Commits

Author SHA1 Message Date
mpl f54a51dc82 twitter: fix format verb in error
Change-Id: I36e11ac4b506391f8b94c22fa0d28f652ade4a4c
2014-08-06 16:21:42 +02:00
Brad Fitzpatrick 23f153da5b jsonconfig: allow registration of other expander funcs
Change-Id: I50a1212bb0fd553336851b5f98cefcf9daa57236
2014-08-05 20:52:39 -07:00
Brad Fitzpatrick 7d7eb4d28e jsonsign: use wkfs.Open instead of os.Open directly, so it can open GCS files
Change-Id: Ie447207b33790dd458c1e27d5517e0c88dbaf27c
2014-08-05 19:27:01 -07:00
Brad Fitzpatrick 966d25cb62 add wkfs.ReadFile, use it in serverinit
Change-Id: I2870568e41de9ddb879c51606c77aec0ec77c4ef
2014-08-05 12:51:17 -07:00
Brad Fitzpatrick 5540a38dbd More work towards making the /gcs/ filesystem paths work on GCE. Incomplete.
Change-Id: I58ceec5d1c1cb61cbaa7d7e68a13ed5482dfbb0d
2014-08-05 12:45:10 -07:00
Brad Fitzpatrick acf2eeb2d4 remove redunant part of error message
Change-Id: I87958658d5af5f4b52cdadbf0b9d0b3748bd1738
2014-08-04 22:50:56 -07:00
Brad Fitzpatrick a01175d45c On GCE, use VM instance attribute camlistore-config-bucket to find config dir (bucket)
Change-Id: I56a7df55c182938eaf787b2ac6a32e20867409d5
2014-08-04 22:49:22 -07:00
Brad Fitzpatrick c8322af356 Add well-known filesystem abstraction package 'wkfs' for cloud deployment ease.
Part of Camlistore deploy to GCE easily. Will use paths like /gcs/bucket/foo or /gce-meta/attr for some
things previously-assumed to only be stored on the OS filesystem.

Change-Id: I2ed6cf5759c4d277f4e89a33a0fcfeee8bcbbf82
2014-08-04 21:27:07 -07:00
Brad Fitzpatrick e08e638cf5 Remove stray URL pasted on accident.
Change-Id: I709a4f36f639654a1e402e327bbcf4e666d1ed16
2014-08-04 10:03:18 -07:00
mpl 795595dec5 website: small typo in 0.8 notes
Change-Id: Ib98c4e5148b483fd80288e98ae135d5753b4eabe
2014-08-04 17:15:59 +02:00
Brad Fitzpatrick 73b5665805 re-tag 0.8
Change-Id: Ibbeb9027fd5719a8faca915a32207564041dce7d
2014-08-03 18:27:18 -07:00
Brad Fitzpatrick d57489b521 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-08-03 18:26:38 -07:00
Brad Fitzpatrick 992ae392fa tagging 0.8
Change-Id: I0aaed33cb582a7b2aeecacd33e70ee5effda86c2
2014-08-03 18:17:54 -07:00
Brad Fitzpatrick 665d65200c website updates for the 0.8 release.
Change-Id: I739741ae89954ef755ea624475de0eb113b8edee
2014-08-03 18:11:59 -07:00
Brad Fitzpatrick f2f7b01160 google cloud storage: support blobserver.Generationer
Change-Id: I9dd5bbaeb99e809bd4fff6f135d8141f4e1b051a
2014-08-02 21:55:57 -07:00
Brad Fitzpatrick 1d09bd4ebb update gce library in third_party
Change-Id: I9b06b0c39e71f1d7b9d59d795d31596238fc3e44
2014-08-02 21:47:37 -07:00
Brad Fitzpatrick 43a50b9fbf google cloudstorage: stat bucket at start. WIP.
Change-Id: Ia5c0981a1f31e347218d334a0748af19867b1adf
2014-08-02 21:00:43 -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 935bc81fe9 google cloud storage: add some sanity checks when using service accounts
Change-Id: I9fe5efcb75816d5c7770e589e2d102884e2e6131
2014-08-02 19:51:41 -07:00
Brad Fitzpatrick c3a3883395 googlecloudstorage: whren running on GCE, get access tokens automatically from the VM
Change-Id: Ibfcca0c52ff01a8f82bb0d3081119e0ac6e16ba9
2014-08-02 19:29:57 -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 90175c209c Add some GCE+Docker+CoreOS notes.
Change-Id: I67d37b3aaf08e22315bda6aae9e7c7d48c67dba5
2014-08-02 17:24:21 -07:00
Brad Fitzpatrick 1bfd1b7d98 camlistored, serverinit: allow server config from URLs.
paves the way for server config from GCE metadata, too.

Change-Id: I9e54e3ad79eb53e7ae96159f2aa02f4a017e8e11
2014-08-02 16:53:58 -07:00
Brad Fitzpatrick 4188fefaa0 sqlite: Empty file to make the go tool happy with a test-only directory.
Not sure if this is still needed but had it sitting on my filesystem, never
checked in.

Change-Id: I06a5efd265032b6a4f867a8d0504cfb4f061304b
2014-08-02 16:51:47 -07:00
Brad Fitzpatrick 14bb3f48e4 serverinit: remove unused configPath field
Change-Id: Ide4c2eb07d7c3353563e5f354e833f9429542b65
2014-08-02 15:10:08 -07:00
Brad Fitzpatrick afe0bfc5ac Rename flag for consistency.
Change-Id: Iaa2d0fc4bf02a27a30eb85aee9b8f757440a35c6
2014-08-02 14:31:02 -07:00
Brad Fitzpatrick 511c3aad12 sqlite: skip test instead of failing when not compiled in
Change-Id: If7ef7308cdb7b6aec5490ec332d4dace7b7565a0
2014-08-02 10:45:49 -07:00
mpl f75081072d importers: newOauthClient refactoring
Change-Id: Ic5864ab2f7bb63bd801fe965c68b36a245edc447
2014-08-02 01:37:43 +02:00
mpl 349d3d8cc4 Merge "importers: some refactoring around oauthContext" 2014-08-01 19:46:58 +00:00
mpl 6d269cb37b importers: some refactoring around oauthContext
Change-Id: I0a7e1dabb9efdaedbda138cdd1c52afcddee5210
2014-08-02 00:50:00 +02:00
Brad Fitzpatrick 1577fc1e56 Merge "netutil: add HostPort, serverinit: return app baseURL" 2014-08-01 18:50:59 +00:00
Brad Fitzpatrick f3758ae239 Merge "pkg/serverinit: fix tests for windows" 2014-08-01 18:50:59 +00:00
Aaron Boodman 00552a0ded Merge "Require date and username before custom rendering Twitter items." 2014-08-01 18:50:59 +00:00
Aaron Boodman 6c78cb5c22 Merge "Render containers with the camliContentImage attr as folders for now." 2014-08-01 18:50:59 +00:00
Aaron Boodman 8dba194013 Render containers with the camliContentImage attr as folders for now.
Something fancier would be better, but without this change they'd get
rendered as single images, which would be confusing.

Change-Id: Icd08eb1716ae1f3bebe2f064388cac822a0a4e63
2014-08-01 11:52:24 -07:00
mpl 044ac54a20 pkg/serverinit: fix tests for windows
Fixes: http://camlistore.org/issue/304

Change-Id: Ieb29ffefd1daf8d62704374d8e1eecd9cfea3156
2014-08-01 01:05:41 +02:00
mpl 0a869ad067 netutil: add HostPort, serverinit: return app baseURL
Context: http://camlistore.org/issue/479

This patch allows camlistored to wait for all the apps to be serving,
before printing its own listening address.

Change-Id: I4035b115a03ef6a2a43177b83b5b65ebc50a2188
2014-08-01 00:01:27 +02:00
Brad Fitzpatrick 10252d1951 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-07-31 14:35:30 -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 31c324c206 corpus: respect more attributes when looking up permanode's time
Change-Id: I2ed9f9f100109510c1617e465a8d3e2b3261d244
2014-07-31 14:24:03 -07:00
Brad Fitzpatrick 1ff2918602 importers: add SupportsIncremental accessor
If an importer is efficient at running regularly, it returns true.

If it's not true, the UI won't allow turning on automatic runs.

Flickr doesn't set it (yet).
2014-07-31 11:34:31 -07:00
mpl b1346fa07a website/camweb: redirect to right scheme on www. request
Fixes http://camlistore.org/459

Change-Id: Icf69e404a6985c984688c291e88da365721ee029
2014-07-31 17:37:33 +02:00
Brad Fitzpatrick b3637337be Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-07-30 17:28:02 -07:00
Brad Fitzpatrick 4ea387545a picasa: ignore shard number when comparing URLs for equality.
Change-Id: I9e31756f3f8122f7bc563ba2a2f1e19aee553f65
2014-07-30 17:26:46 -07:00
mpl 2437ada83f foursquare: some attributes cleanup
Change-Id: I7a1d794e58b47edeef06c3d181991c8aa1eb0534
2014-07-31 01:50:36 +02:00
Brad Fitzpatrick a5c802ec21 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-07-30 16:25:20 -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
mpl fd4d43ff5d Merge "flickr: set primary photo as camliContentImage on album" 2014-07-30 20:57:13 +00:00
mpl c032a4a8e7 flickr: set primary photo as camliContentImage on album
Change-Id: I3e805e3e64878d7f0057957c0be476a1a613cb21
2014-07-31 23:17:44 +02:00