Commit Graph

511 Commits

Author SHA1 Message Date
mpl 252a653892 website: update the download page
It should have been done along with ece654c596

Change-Id: Ie796cce674dace2e9b1cc41ff7fe96c2f2318cc4
2017-03-21 23:58:01 +01:00
mpl ece654c596 website: 2017-03-01 release
The image deployed by the launcher is also at
dc4d1650b3

Change-Id: Ifb22c5501aa31dde3ca5a0af2ad25c6127b293e1
2017-03-01 20:09:52 +01:00
mpl 21dc8531a5 website: restore the staging instance changes
The changes from 7f59a27060 were lost due
to a careless merging of 1e69b9f784 , so
this CL re-adds them.

Other differences:
-in staging, do not try to send e-mails to the production smtp server
-in staging, use our own, distinct, logging name
-remove commented out code of logging V1 that had been introduced in
1e69b9f784.

I have tested that logging V2 works on GCE for the staging instance.

Change-Id: I4b3afebabc94efb28dc55856ce4fd1945ab53559
2017-02-10 16:15:24 +01:00
mpl 7e4bdbf1b4 website: fix nil based panic
The parent's fileInfo (outer block) was replaced with the child's
fileInfo (in the for loop) even when os.Lstat failed, i.e. when the latter
fileInfo was actually nil. The next fi.IsDir() (outer block) call would
then panic.

This change only updates the fileInfo when os.Lstat did not fail (i.e.
when a child was actually found).

Change-Id: Id508981354e661b6e8d6f2a0ef6818fbd6b7393e
2017-02-07 17:09:43 +01:00
mpl 1e69b9f784 vendor: update cloud.google.com/go/logging to V2 API
In addition to API changes, the V2 logging API uses
google.golang.org/grpc, which does not rely directly on net/http. This
is a problem for us because, among other things, when needed (on
CoreOS), we insert the system Root CAs in the TLSConfig of the
default http client through httputil.InstallCerts, which has no effect
on google.golang.org/grpc calls. Therefore, we switch to
github.com/bradfitz/grpc-go instead, which does rely on net/http.

And since GRPC requires HTTP/2, we also now need to manually configure
the default transport (since we're already modifying it) to be HTTP/2
enabled.

Related dependencies updated/added:

updated:

cloud.google.com/go/logging
a64eb5d53f434cc548fd6b2898b5a3e8a0c31b78

github.com/golang/protobuf
8ee79997227bf9b34611aee7946ae64735e6fd93

added:

github.com/bradfitz/grpc-go
188a132adcfba339f1f2d5da52498451341f9ee8
as a replacement for google.golang.org/grpc

github.com/googleapis/gax-go
da06d194a00e19ce00d9011a13931c3f6f6887c7

google.golang.org/genproto/googleapis/logging
08f135d1a31b6ba454287638a3ce23a55adace6f

google.golang.org/genproto/googleapis/datastore
08f135d1a31b6ba454287638a3ce23a55adace6f

google.golang.org/api/support/bundler
e4c04685e5d7db47ff294aa9e514b3a638c431c9

google.golang.org/genproto/googleapis/rpc/status
08f135d1a31b6ba454287638a3ce23a55adace6f

Fixes #873

Change-Id: I3ba14c94122dd9f1b88ef61c2dc26430690d28a9
2017-02-06 19:59:24 +01:00
mpl 7f59a27060 website: run on staging instance
Add the -staging flag to camweb so one can deploy on a staging
instance.
The instance name is then "camweb-staging" instead of "camweb", and its
hostname is "staging.camlistore.net", instead of "camlistore.org".

server/camnetdns: automatically and regularly discovers the IP of the
"camweb-staging" instance, so it can keep the record for
"staging.camlistore.net" up to date.

Change-Id: I7d64a774049ac01472666ee7e351fd6fb5e4c287
2017-01-24 15:34:37 +01:00
mpl b211cd72b7 website: log when SMTP down
Change-Id: I37f9e6f72db04ef48d3e45226f6bd0223e998ed7
2016-12-15 17:19:30 +01:00
mpl 89f50dcf69 misc/monthly.go: improve download boxes style
Issue #858

Change-Id: I65aa6b0d2c60d7ed273679d30f148566750badbe
2016-10-31 16:53:51 +01:00
Mathieu Lonjaret b274dc6fc3 Merge "website/camweb: do not send mail when no smtp" 2016-10-14 13:17:30 +00:00
mpl 5db007dc74 website: make sure autocert is given a host name
Change-Id: I306e69a0833c345f86ebc5412a914aa0991a68d9
2016-10-14 02:04:53 +02:00
mpl 9bba338a79 website: use golang.org/x/crypto/acme for Lets Encrypt
vendor: add golang.org/x/crypto/acme/{autocert}
at 8e06e8ddd9629eb88639aba897641bff8031f1d3

remove rsc.io/letsencrypt and its deps.

Issue #859

Change-Id: I292543e88476bd4658846496f96a2a07bb25a186
2016-10-14 01:17:21 +02:00
Mathieu Lonjaret e49b3679b9 Merge "website: update google cloud dependencies" 2016-10-13 21:55:50 +00:00
mpl 6297d0d570 website: update google cloud dependencies
This change follows the changes at
ab06dbd80d

google.golang.org/genproto/googleapis/datastore updated to
44808ed2d86e258615bb701d395cbbfe6686a3e6

As a consequence:
google.golang.org/genproto/protobuf added at
44808ed2d86e258615bb701d395cbbfe6686a3e6
google.golang.org/genproto/googleapis/api/{label, metric, monitoredres,
serviceconfig} added/updated to 44808ed2d86e258615bb701d395cbbfe6686a3e6
github.com/golang/protobuf/ptypes{any, struct, timestamp, wrappers}
added/updated to 1f49d83d9aa00e6ce4fc8258c71cc7786aec968a

Test locally, and in "pseudo-production", i.e. with -cloudlaunch but with
a different projectID (hence with some of the hard-coded stuff changed).

Change-Id: Iad0caa78b19619bf153bf05870e6cb3a2ab669dd
2016-09-30 18:08:44 +02:00
mpl bccd1c5ed7 website/camweb: do not send mail when no smtp
Fixes #860

Change-Id: Ic16ec744ba58a929b71cc5f142807a659b47466e
2016-09-30 16:47:59 +02:00
mpl 1de54b84fd website: specify Go 1.7 requirement
Also fix latest monthly release date

Change-Id: Ia8b1cab9f8baabca8ffaa3ad33a8eab8d21475e1
2016-09-27 17:49:37 +02:00
mpl 2ab4d44e79 website: clean up previous docker git container
All the camweb features depending on docker had been stuck for a couple
of weeks because one of the docker containers was wedged somehow. I
don't know exactly what was wrong, but I figure it can't hurt to add the
same kind of cleanup that we have for the demo blobserver.

So in this CL, we name each container running a git command, so we can
stop and remove said container the next time we run the same command.

Change-Id: I66592fbbde73ea30e4cee7477ada450e0c6a645e
2016-09-05 23:51:41 +02:00
mpl 9beb003f30 website: feature monthly releases
Fixes #690

Change-Id: I05db5f29656d76237621fc2479d59d71cb917bb0
2016-07-06 16:41:15 +02:00
mpl ce8b329d1d website: update CLA instruction
Change-Id: I399ad44a0ebdeff05efd1dabb3137299b01f112b
2016-06-24 18:12:42 +02:00
Mathieu Lonjaret 77f50b2579 Merge "website: mv downloadBox to all.css" 2016-06-20 15:55:54 +00:00
mpl 1087a9d837 website: mv downloadBox to all.css
Rids us of the IsMonthly hack.

We still need to do something about AddTemplateTheme in handler.go
though, see TODO there. In another change.

Also, change servePage to take a struct for its args, more in line with
Go style of few arguments.

Context: issue #815

Change-Id: Ib6799be31b78af3010eee942034f2ac0e8e1d76e
2016-06-20 17:51:46 +02:00
Eric Drechsel 6321f9b951 Instantiate markdownRenderer per-request
We were reusing markdownRenderer per-launch,
which was leading to auto-generated ids incrementing
on each request. See

https://github.com/russross/blackfriday/pull/129

Fixes #814.

Change-Id: Idb97348b076e4514cf22abe462bbdf3f8e7f6f9e
2016-06-19 14:32:07 -07:00
mpl 1ab6ff4176 website: use Let's Encrypt
rsc.io/letsencrypt vendored at rev
a019c9e6fce0c7132679dea13bd8df7c86ffe26c

vendor/github.com/xenolf/lego was vendored within rsc.io/letsencrypt

vendor/gopkg.in/square/go-jose.v1/ was vendored within
rsc.io/letsencrypt

golang.org/x/crypto at rev 77f4136a99ffb5ecdbdd0226bd5cb146cf56bc0e for
github.com/xenolf/lego

golang.org/x/time/rate at rev a4bde12657593d5e90d0533a3e4fd95e635124cb
for rsc.io/letsencrypt

Fixes #805

Change-Id: I4ccdee328d8832e361fa5a39e5b94edc7c90ec34
2016-06-10 17:55:16 +02:00
Eric Drechsel 71d323bb02 Document workflow for editing documentation.
Change-Id: Ia8e19770a45528ef2fee18cffa007e7fcf96ebe3
2016-06-03 14:43:00 -07:00
Eric Drechsel 7ab869d542 Convert code, community, and download pages to md.
Output differences:

 - Changed the heading "Contributing to Camlistore" to just
   "Contributing", so the heading ID stays the same.
 - Remove "ul.lispaced" class, just put newlines
   between list items instead (visually identical)
 - One instance of obsolete <tt> tag in /code replaced with <code>

Site index page has non-typographic elements, so converting to markdown
seems pointless.

Change-Id: I7b19337742f727f85e58639a1168cc46fd8a4e62
2016-06-03 14:43:00 -07:00
Eric Drechsel d9c28e5267 Comment explaining that contributors.html is a fallback.
This file would seem to be the source for /contributors, but actually
it's a fallback for /website/content/tmpl/contrib.html.

Add a comment explaining the automatic generation to avoid confusion
for folks attempting to edit the website.

Also rename the template to contributing.html for consistency.

Change-Id: Ic98c494b0cc24292dac8a4a22c751aded87f5b48
2016-06-03 14:06:30 -07:00
Alok Parlikar 7b9b9d58a9 Website: Update Min Go Version to 1.6
Fixes #794

Change-Id: I0d6fd6b32862bef24a2fcd87fff20b82db4b0426
2016-05-30 20:43:15 +05:30
Kate Pek ac0cc13beb Add links for the latest presentation
Change-Id: I47ab9b831167734892bca5cebc0f7bd3cac39bf6
2016-05-05 17:26:38 -07:00
mpl 4232071cb3 misc/monthly.go: automatically generate a monthly release
Current version of doc/release/monthly.html generated with
go run ./misc/monthly.go -rev cdadfd650b

Change-Id: Icdebf60cb64dfcc12766976572f3a34eaeb135f3
2016-05-05 23:16:57 +02:00
Will Norris 7312e50924 website: strip directory index and file extensions
redirect to cleaner URLs without file extension or directory index
filename (index.html or README.md)

Fixes #732

Change-Id: I6332571b2d8ec1ea48e697d31017eb6a63fe1a12
2016-05-02 06:22:49 -07:00
Will Norris 1f0340b436 website: simplify docHandler
don't strip the "/doc" prefix, which simplifies some of the file
handling logic.  Also add a test case for the /docs/ => /doc/ redirect.

Change-Id: I96c60bc031daaeff7f78ca854b60bdc542913b3d
2016-05-01 21:53:22 -07:00
mpl d2ee6fe5dd website: redirect builder to travis
Fixes #658

Change-Id: I16f7d840e74320aad518ae7bdfd5702bace85cd4
2016-04-30 17:35:29 -07:00
Brad Fitzpatrick b8b310ac14 Merge "Fix permissions for files" 2016-04-30 21:28:02 +00:00
Will Norris 5dd8671051 vendor: update cloud,grpc,protobuf libraries
update additional supporting libraries needed with
219f966a95

github.com/golang/protobuf @ 7cc19b78d562895b13596ddce7aafb59dd789318
google.golang.org/grpc @ b062a3c003c22bfef58fa99d689e6a892b408f9d
google.golang.org/cloud @ 36e3752134d445180a77cd40c922c48850b6fe9c
 - same as before, just added missing 'internal' package

Tests:
 - go run make.go succeeds
 - camweb builds and runs
 - go test ./pkg/... has a couple of failures, but nothing that wasn't
 already failing before this change

Fixes #743

Change-Id: I0a81f471f79255fcb4e0d615630eecce1c5cd966
2016-04-29 19:42:33 -07:00
Tilman Dilo d208b531c9 Fix permissions for files
Use mode 0644 instead of 0755 for non-vendored files.

Change-Id: Ifbe1d5e21f24814531248a8a6c84d6f0a72c071c
2016-04-28 21:15:09 +02:00
Will Norris a1ec9bf60e rename HACKING to CONTRIBUTING.md
GitHub treats the CONTRIBUTING file special, in that it is referenced
any time someone files a new issue or starts to create a pull request.
Also make minor updates to file to use markdown and current hacking
instructions.

Change-Id: I68f0d7a69397851ee6c65671ae692cbfb2b93946
2016-04-27 12:16:29 -07:00
Will Norris 7ec2b0ac2e website: update doc URLs
s/docs/doc/ and s/http/https/ for camlistore.org doc URLs in website and
code.

Change-Id: I875e2acece1f594a304f2bdb63f756fcb315abc8
2016-04-27 08:48:50 -07:00
Will Norris 3cc1efc75e website: serve non-HTML files as raw bytes
The website has several non-HTML files that mostly serve as examples
(eg: https://camlistore.org/doc/json-signing/example/signing-before.camli).
Today these files are parsed and rendered the same as HTML files, which
is particularly bad for these json-signing examples.  Instead, they
should be served raw, without any interpretation.

Change-Id: I09f7de130e55da7b2e585f1a110bbbf391f2279f
2016-04-26 16:25:45 -07:00
Will Norris 066db0952c website: use custom markdown options
This is all so that we can enable auto creating header IDs based on the
text of the header.  For example "# Foo" is converted to:

  <h1 id="foo">Foo</h1>

I'm not really sure why this isn't a default option, but whatever.  It's
also unfortunate that we have to copy all of the flags and extensions
from MarkdownCommon, but at least this will make it easier to add more
options in the future, I gues.

Change-Id: I65800c75560ad3b9a3fd0389b722c07ba11ee098
2016-04-26 12:47:40 -07:00
Brad Fitzpatrick f7e40292cb camweb: redirect /doc/dir to /doc/dir/ with trailing slash
Also fix up non-canonical links in docs after rename of /docs/ to /doc/

Updates #732

Change-Id: I7131f57cc7f8edf150cc785f42fe48917835c361
2016-04-26 09:46:07 -07:00
Will Norris fc619464df website: serve godocs for /app/ packages
Change-Id: If2836840aa5523e74a734051111e0ed614ea200e
2016-04-25 22:40:17 -07:00
Mathieu Lonjaret 7df8dbb2db Merge "website: always remove old demoblob3179 container" 2016-04-26 05:21:34 +00:00
Mathieu Lonjaret d422b6e942 Merge "website: serve /doc/ URLs from top-level doc dir" 2016-04-26 05:17:54 +00:00
Will Norris 7cb074bfde website: serve /doc/ URLs from top-level doc dir
- move existing content from website/content/docs to top-level doc
  directory
- redirect /docs/ URLs to /doc/

Fixes #720

Change-Id: I92e26bbc1fdbe994089080ae3a971d85c12921ab
2016-04-25 22:13:09 -07:00
Mathieu Lonjaret e0d422768d Merge "website: refactor mainHandler to allow diff roots" 2016-04-26 01:02:23 +00:00
Will Norris 6196e6ab98 website: refactor mainHandler to allow diff roots
This helps set up serving /docs/ requests out of different file root.
Additional, this allows the actual files on disk used to satisfy
requests to contain a .md or .html file extension (basically simulating
Apache multiviews).  Finally, requests that map to directories can be
satisfied by either a index.html or README.md file.

Ref #720

Change-Id: Id6076c242edd74b99a12699cd58c4567973d0d42
2016-04-25 18:01:27 -07:00
Brad Fitzpatrick 3c5b519c1e Merge "website: redirect to https" 2016-04-26 00:40:22 +00:00
mpl d9fa1ed87e website: do a full cloning of camlistore.org on startup
We used to have --depth=1 when cloning camlistore.org on startup, for
efficiency reasons.
But not having all the commits locally caused problems when pushing to
github, because it would see the remote had commits that we didn't.
So we're now doing a full cloning.

It looks like it's now taking ~4s (as opposed to ~2.5s before), and
consuming ~50MB diskspace (as opposed to 35MB before).

Plus a few bugfixes.

Change-Id: If7dbae1d3119d8b3336fb7d735f6bd0ba7606fc6
2016-04-25 17:30:17 -07:00
Brad Fitzpatrick 8a2f1f4a65 website: redirect to https
Fixes #721

Change-Id: Ib75e1023eb56afc6c15e826bc0d26ff6b3c7a859
2016-04-25 15:12:08 -07:00
mpl fe8372e117 website: fix ssh for git push to github
issue #708

Change-Id: Ib01f6c378924becb03173724c452d42907b995e8
2016-04-25 14:00:10 -07:00
mpl 2766655a24 Test commit for github syncing
Change-Id: I7232c8735bde2a7155e8cb91370ffde5d0ef56a9
2016-04-25 09:42:19 -07:00
Mathieu Lonjaret 36d9d8d7eb Merge "website: sync commits to github" 2016-04-25 16:25:56 +00:00
mpl 43f2e48dd0 website: sync commits to github
Fixes issue #708

Change-Id: I0e081724134ab08c736b00bd2ebe81eb9028ace7
2016-04-24 22:28:16 -07:00
Brad Fitzpatrick 75d60962f6 Move remaining stuff in third_party/* to vendor/*
Change-Id: Ifbcc02817083cba68d8c1acec3e6ec50e8f61149
2016-04-20 16:49:15 -07:00
Daniel Heath a48a240cfa website: document importers in server-config
Change-Id: I314a1be002ea5983a52e0e4bf2a8e8d7b1e5d2f1
2016-03-24 15:22:22 +11:00
Will Norris 77ed42edf8 add canonical import paths
The import path was added to the go file that included the package
documentation if one existed.  Otherwise, I used what seemed to be the
primary file for the package.

Fixes #689

Change-Id: If51be0e86529fd6f179e80af6781e639f8550fd2
2016-03-13 19:57:14 -07: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 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 88b9dc826f website: print error for demo blobserver
Change-Id: Ic582b65d94dd17379feb2ac9e8f15d8e3bb4a05c
2016-02-08 14:52:18 +01:00
mpl 60a2885a20 website: fix missing return from prev commit
Change-Id: Ia74013db252601a9dbd7eb7911e1dc892e1c56b4
2016-01-19 00:46:46 +01:00
mpl 528a201827 website: make /apiget in demo authenticated too
Change-Id: Ief662a69774fcc919c4e3618df91886cb1f05b84
2016-01-19 00:39:13 +01:00
mpl f478c6cc67 website: chrome bug repro demo
For issue #660

Change-Id: I7b53da99b4ba50a6ec5818d291083aab72f994ab
2016-01-19 00:03:36 +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
Mathieu Lonjaret 4b76b169bf Merge "website: 0.9 notes: images resizing" 2015-12-30 10:56:59 +00: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
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 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
mpl 48fbe83efb website: 0.9 notes: markdown
Change-Id: I29a622486e2abc94628771daf44ef0691a1dfd34
2015-12-29 18:26:20 +01: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 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
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
mpl c256aeb240 website: 0.9 notes: travis
Change-Id: I81da6f7b9a0c3cbc2bd032ee7e35ffbdbeec641f
2015-12-29 01:13:44 +01:00
mpl b2a039a004 website: 0.9 notes: filename search predicate
Change-Id: I3b68043d877470f22b2726e13e4c0cf1b8cf8571
2015-12-28 23:52:54 +01:00
mpl df9f2c81dc website: 0.9 release notes, typo
Change-Id: I924e4aeea5d41ea0b99a2ca77ec0e85ca79ae525
2015-12-28 23:27:35 +01:00
mpl 12fa8de284 website: 0.9 release, typo
Change-Id: I1055d992e035bfa64c58a9cdb3e14f82e4f1ec09
2015-12-28 23:22:51 +01:00
mpl 66eef7a9b9 website/server-config: add optional dir to bucket config
Change-Id: I54275bceb7af69008c4d629998fa5c71229fd60d
2015-12-28 15:14:37 +01:00
Brad Fitzpatrick b22a78deda Fix launcher. Work in localhost dev mode more easily. 2015-12-27 13:52:35 -08:00
Brad Fitzpatrick 2815a8cf99 doc: more 0.9 release note work 2015-12-26 20:49:38 -08:00
Brad Fitzpatrick a728492a68 website: add -dev flag, always install something at /launcher/
Make it at least show the error reason if it can't install
the launcher.
2015-12-26 20:49:29 -08:00
Brad Fitzpatrick 535b2783e6 website: add log.sh tool 2015-12-24 15:31:21 -08:00
Brad Fitzpatrick 921bf3d290 website: some more work on 0.9 release notes 2015-12-24 15:29:12 -08:00
Brad Fitzpatrick 5c3f3dcd90 website: some work on 0.9 release notes 2015-12-24 15:10:15 -08:00
Brad Fitzpatrick 1ef5252da3 website: flag doc cleanup, and log before listening 2015-12-24 14:51:15 -08:00
mpl 4b2b539e0c website: use cloud/storage Client instead of googlestorage
Context: issue #652

Change-Id: I7f36eeeb4be015ef117704742ec8ab4e4eeea7ba
2015-12-07 19:27:28 +01:00
Mathieu Lonjaret 49734969eb Merge "website: add doc for packRelated, and direct confused users to /pkg/types/serverconfig" 2015-11-27 18:11:23 +00:00
Eric Drechsel 919f91570d website: add doc for packRelated, and direct confused users to /pkg/types/serverconfig
Change-Id: I1168087e57521db3c0434d2adce430a37dad9d47
2015-11-27 10:08:58 -08:00
mpl 1e2a306e8d vendor: add go4.org/cloud, update google.golang.org/api, and golang.org/x/net/context
Import go4.org/cloud/cloudlaunch and go4.org/cloud/gceutil, which were
previously in pkg/cloudlaunch, at rev
2c497a8c195996d6c48402c150da4919c1d99f33

Because the version on go4.org was updated to use the latest
google.golang.org/api/* , we also update our
vendor/google.golang.org/api/* to rev
030d584ade5f79aa2ed0ce067e8f7da50c9a10d5

This in turns requires to add vendor/golang.org/x/net/context/ctxhttp
(and update vendor/golang.org/x/net/context/) to rev
4f2fc6c1e69d41baf187332ee08fbd2b296f21ed

Also adding vendor/google.golang.org/api/gensupport for the same reason.

Change-Id: I9d6c3059626f7ecc0fbf2df0415043a464d27caa
2015-11-25 19:29:46 +01:00
mpl e1798e796e website: set builder redirect in production
Change-Id: I36c9be9786b14a564b4c67e3562cd06ae402ae25
2015-11-20 16:47:43 +01:00
mpl cca20e7080 website: revert latest to 0.8, add blank line because markdown
I believe the added blank line is needed for markdown to "realize" it's
a comment tag, or whatever. The comment is actually hidden again now.

Change-Id: Ia8f63177e9363db676e970b866fe1ffa6f3cab10
2015-11-17 00:27:09 +01:00
mpl 621388f0bf camweb: send deploy handler logs to GCLogging as well
When logging to Google Cloud Logging, make sure the deploy handler logs
are written there too.

We tag them with the from:camli-gce-launcher label.

Change-Id: I4dab010009f98efd2aeba7c57dc4ab3ca6a566b3
2015-11-16 23:40:05 +01:00
mpl a2aee25cfb website: update (camlistored) deployer to run on GCE
Change-Id: I205c6df51e8d8c4bcf2710fc9da1db68419fc2df
2015-11-13 17:41:46 +01:00
Brad Fitzpatrick afd28ae279 website: name the demo blobserver container, kill on start-up 2015-11-11 14:45:50 +00:00
Brad Fitzpatrick 321272d65c website: make sure 'src/camlistore.org' is in our source path for godoc
It was making that assumption and crashing otherwise.
2015-11-11 14:32:00 +00:00
Brad Fitzpatrick ee2ec3bce1 website: revert the pre-0.9 download page for now 2015-11-11 13:03:43 +00:00
Brad Fitzpatrick 96dc004af7 website: run on GCE under CoreOS. Containerize demo blob server. 2015-11-11 12:58:01 +00:00
Brad Fitzpatrick b4ef019bc2 website: now runs on GCE/coreos with cloudlaunch 2015-11-10 12:10:16 +00:00
mpl 96bde7b1d4 website/camweb: setup TLS for when in production (on GCE)
Change-Id: I7d3ec69d0a4cdae4493cbe62ec14ea4e41f5d0ba
2015-11-10 10:14:07 +01:00
Brad Fitzpatrick 5b00bc2617 website: untar content to local disk when running in prod on GCE 2015-11-08 21:45:09 +00:00
Brad Fitzpatrick 1ce6518f68 website: more work on moving to GCE 2015-11-08 21:20:35 +00:00
Brad Fitzpatrick 3a473f32d3 cloudlaunch: upload binary, create instance 2015-11-08 20:29:04 +00:00
Brad Fitzpatrick 7578502c33 Start of a new cloudlaunch package, to be used by the website first. 2015-11-08 16:49:59 +01:00
mpl 07a2721f65 camweb: make it build
Because of cloud logging changes from
9106ce8296

Change-Id: I0620c72c2ada3cf916750586194c18077c8f942a
2015-10-12 19:36:46 +02:00
mpl 32228e451e website: prepare for 0.9 binaries and release
Addresses #538

Change-Id: I695f5b8d910cdea1d01f7efadaf2454c1a07ad0f
2015-09-09 19:39:24 +02:00
Brad Fitzpatrick 6f58fc2426 Fix build, move more stuff from third_party to vendor. 2015-08-18 10:19:49 +02:00
Brad Fitzpatrick 4486071e26 website: logging to Google Cloud Logging 2015-08-16 18:39:10 +02:00
Brad Fitzpatrick e5dd09807c website: refactor logging in prep for Google Cloud Logging support 2015-08-16 14:30:09 +02:00
Brad Fitzpatrick b0c9fcc71f Start of a Google Cloud Logging package.
Will implement here and then upstream.
2015-08-15 22:49:27 +02:00
Will Norris f49f395efc website: convert docs pages to markdown
This includes all of the top-level files in the docs folder except for
status and terms, which are going to be a little trickier to convert.

This includes no editorial changes.  There are a few minor stylistic
changes (like the auth value table in server-config converted into a
list).  Text has also been mostly wrapped at 80 columns, which accounts
for a lot of the changes as well.

Change-Id: I3782158f05d2b3c72e6cb44bff92c46ccc231a96
2015-07-26 17:00:25 -07:00
Mathieu Lonjaret 085905c938 Merge "website: update to 0.9 release notes" 2015-07-24 13:27:12 +00:00
mpl 7981c57990 website: update to 0.9 release notes
Probably needs some more trimming and reorganizing, but I think it's now
pretty much up to date in terms of contents.

Change-Id: I3d04dc2d01098ae7b19f13627d6a6b47256c75f6
2015-07-24 02:05:55 +02:00
Will Norris b7ca3ff09d website: use blackfriday to render markdown files
convert a simple file (/docs/todo) to markdown as initial proof of
concept.  All other existing files which contain HTML but no markdown
should be passed through blackfriday unmolested.

Change-Id: I6ec79f3bb0998fcb54712b748f94b5ae5bbed1c0
2015-07-23 16:23:11 -07:00
Will Norris d1f6e62321 remove CLA text regarding electronic signatures
Both individual and corporate CLAs support electronic signatures now, so
it's probably not worth specifically calling that out on either.

Change-Id: I3bc531351d28c97b3a68c37eb46fc1f8b5e749ab
2015-07-20 16:48:22 -07:00
mpl b247305c40 website,contributing: read HACKING for commit msg instruction
Change-Id: I8afc39e010b404246817f63b75395a2d8ac22633
2015-07-01 19:59:48 +02:00
mpl 3ec28bef79 Merge "website: easier launcher dev workflow" 2015-05-12 22:30:48 +00:00
mpl f336dc8331 website: easier launcher dev workflow
Use the website/launcher-config.json JSON config file to provide
all the deploy handler parameters.

Change-Id: I6156eaa80269ad3e70e9d48d7b8253a9a507036e
2015-05-13 00:26:25 +02:00
Mario Russo 2ed76105e2 added ui improvements to 0.9 release notes
Updates #601

Change-Id: I9ff85dd44f651fdeacab04804abe15bc560a52e2
2015-04-23 11:17:38 +02:00
mpl 484d7f05d2 website: FOSDEM 2015 slides
Change-Id: I2e82a8f4290d9b7fd0ff062da7797e55bb81d7c1
2015-02-06 14:45:28 +01:00
mpl ebdb89fcfa camweb: default to camlistore.org:443 as the host for the Camlistore deployer
Because the deploy handler needs to know its own host to build the
RedirectURL for oauth.

Change-Id: I04801909dfe9d5fafc56417befdffcc747f5490a
2015-01-27 16:21:45 +01:00
mpl ae95cbc8c1 website: transparent piggy for deploy handler
Change-Id: Id4c12a6d3277ceb9c65e4ab0f5cf9b4e4bf7cadc
2015-01-20 15:24:12 +01:00
mpl e3f16b8ead pkg/deploy/gce: add web wizard to deploy on Google Cloud
Issue #531

Change-Id: I47900eb7b82b7775ec1d26b1d6796e5701ee672d
2015-01-19 16:24:37 +01:00
Brad Fitzpatrick ddbe440e45 Update more (all remaining) issue links to Github.
Change-Id: Ia796410afb292615e63f7f42b5ecda3d18d7c325
2014-12-13 17:40:54 +11:00
Brad Fitzpatrick ad145260c0 Update more links to use the camlistore.org redirector.
Change-Id: I1ef94301d7ac0df69abc4f3f27bcb363fa8e8082
2014-12-13 17:25:16 +11:00
mpl c6217321bf website: update bug tracker link to github move
Change-Id: Ic29756e46bc7468e2515cfd827f7b7036074f40d
2014-12-11 16:29:38 +01:00
Brad Fitzpatrick 17804ff0b5 website: link to Github issue tracker
Change-Id: I6b051519c5b7c394ce3557c07e3e0f3ac9953d66
2014-12-11 17:33:33 +11:00
Brad Fitzpatrick 088e5d850e website: redirect issues to github instead of google code
Change-Id: I0216bfc33be79f137277180f71a3492c69e39835
2014-12-11 17:08:18 +11:00
Salmān Aljammāz 974a431169 Dynamically generate the contributors page from git log.
This change moves scripts/gencontrib/gencontrib.go into the
website's main codebase. Not as fancy as
https://github.com/bradfitz/camlistore/graphs/contributors but
it's a start.

https://code.google.com/p/camlistore/issues/detail?id=15

Change-Id: I9a806556f91084bf4069cf82a8b653bc8de444a9
2014-10-27 13:21:18 +00:00
Brad Fitzpatrick 3a43fd6430 camtool: add 'makestatic' subcommand
It converts a permanode set (with a bunch of camliMember) into a static-set.
Mostly for sharing a snapshot. Will likely evolve over time.

Change-Id: I9906750223a27e9a491c91f1ce2490c15d1d3986
2014-10-19 18:25:45 +02:00
mpl 9c42d7b562 website: server doc and release note about levelDB for indexer
Change-Id: Ibf7528cba07ab1843845d91e7b4e1234f1ed1d8a
2014-10-16 17:08:49 +02:00
Brad Fitzpatrick 6c4c339e7b 0.9 notes: add UI feature note
Change-Id: Ic0519cd44f23be0d24b9c9fe19276e3ec262e70a
2014-09-22 23:29:31 -07:00
mpl 95885192eb serverinit: enable memory storage in config
http://camlistore.org/issue/416

Change-Id: Idde32273ed651a5876581ad0ea06010970b92a9b
2014-09-11 01:11:07 +02:00
Brad Fitzpatrick 59bd675e50 Add pinboard importer to unreleased 0.9 release notes
Change-Id: I29111d96f8f375a3ad3dff9c0086c96adfb0de5e
2014-09-01 15:16:24 -07:00
mpl bb49185463 serverinit: add support for memory-only indexer. Enable in devcam.
To avoid confusion, the previously named "memoryIndex" configuration
parameter, which actually meant to slurp the index into the memory
corpus, has been renamed to "copyIndexToMemory". "memoryIndex" is now
the parameter to enable a memory-only indexer.

http://camlistore.org/issue/416

Change-Id: I7026e5463fda3a1887a88e0b07d4e3431c60c8b7
2014-08-26 22:46:13 +02:00
mpl e8522cca36 website: allow HTML in camli errors. use website for client error.
http://camlistore.org/issue/276

Change-Id: I16f139fe2b6f1200250db668fa415ae42ff2c171
2014-08-21 23:13:56 +02:00
mpl eb0578a17c website: add camlistore error handler
http://camlistore.org/issue/276

Change-Id: I786d8a858624caeb9258ae6b2a21056a4f79d246
2014-08-19 02:25:52 +02:00
Brad Fitzpatrick dcf482b3e4 start of 0.9 release notes
Change-Id: I2a0ae60f0be17de99ad30c661981bc1baf1a57c7
2014-08-11 22:11:18 -07:00
mpl 27102a044e 0.8 release: document and force Go 1.3 requirement
http://camlistore.org/issue/485

Change-Id: If5304e6aafee21b77ced4b34ecef29a2a1bd6712
2014-08-06 19:11:16 +02: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 665d65200c website updates for the 0.8 release.
Change-Id: I739741ae89954ef755ea624475de0eb113b8edee
2014-08-03 18:11:59 -07:00