Commit Graph

473 Commits

Author SHA1 Message Date
mpl 326de1d794 website: revert bin name to camlistored for demo
We have not updated the camlistore/demoblobserver image that the website
runs, so the binary it should execute is camlistored, not perkeepd.
As it is, it keeps on trying to run it every 10s, which makes it busy
for nothing. And I don't think it's worth spending time on updating the
image for now, so it's easier to just revert to the old name.

Change-Id: I769aecaaecdb027d686a78adf9a37a14e9ef9b9d
2018-05-01 10:19:43 -07:00
mpl 76e61108c7 doc: add lfnw 2018 talk
Change-Id: I512a0620b13c0d070db28198271ad2ca0e80ad3b
2018-04-30 22:40:50 -07:00
Brad Fitzpatrick c806ab4bcd doc: update build instructions
Fixes #1135

Change-Id: I7e5897308594acc591c66dd6656605cdad1a7f3c
2018-04-30 16:38:29 -07:00
mpl 87a8e7ad54 website: fix test working dir
Change-Id: If92dc43b4ee3e5fd2ac9c6490d242d3dacff74b1
2018-04-25 23:18:16 -07:00
Mathieu Lonjaret 03b0ab4601 Merge "website: add links to android app" 2018-04-25 01:53:10 +00:00
mpl e02c044e67 website: add links to android app
Change-Id: I90ed3cbe168b95dfaeaa674b330c1b704145f6e6
2018-04-24 18:51:58 -07:00
mpl 2286b6442b website: move go code to pk-web package
Fixes #1109

Change-Id: Ibcba1addf25da414f4d9cb42f621d6b9184898da
2018-04-23 16:42:35 -07:00
Brad Fitzpatrick ca76a40bbc Rename camlistored to perkeepd.
Updates #981

Change-Id: I8fe43c240c149074c23128a89ab426af9cbf94b4
2018-04-21 11:06:09 -07:00
mpl 11d1e107b2 website: mention CoC on community page
Also fix related markdown typo in README.

Change-Id: I90d89e88d00ee2225bea4bd65ce213e729218616
2018-03-19 16:39:20 +01:00
Paul Lindner 72f2fa2586 Merge "website: add header anchor links on hover" 2018-02-28 19:24:04 +00:00
Peter Etelej 5e7f6dfb6e
website: add header anchor links on hover
Adds header link icons on hover. Check for headers (h1-h4) with
defined id's and adds link icon with relevant fragment link.

Fixes #1028

Change-Id: Ic9c8744efe12dda251f4a461adb0b09cf84604c3
2018-02-25 00:46:45 +03:00
mpl c7baf2027d website: change mailing-list to perkeep
Change-Id: I5249b9eee35786dfef24d1c1be767fe5af66cd13
2018-02-16 02:30:21 +01:00
Brad Fitzpatrick f9f109ffa1 all: more Camlistore to Perkeep renamings
Updates #981

Change-Id: I7fd4958bceaa4ada63d07aacf08af11cc03f32d7
2018-01-30 13:31:59 -08:00
Paul Lindner 459c75410e all: more renaming of Camlistore to Perkeep
Change-Id: I118e3cbcf20d80afeffc84f001388c4556f21628
2018-01-30 03:02:56 -08:00
Will Norris cf7cd27d50 website: include blackfriday's CommonExtensions
WithExtension() options passed to Run() are not additive, so the
AutoHeadingIDs extension must be ORed together with CommonExtensions.

Fixes #1046

Change-Id: Ib0984397b251ff9277b7b2e4dac79add962709b7
2018-01-30 05:23:21 +00:00
Mathieu Lonjaret 6ff8a5ccd5 Merge "website: use Lets Encrypt http-01 challenge" 2018-01-24 16:43:00 +00:00
mpl b80f29d9c8 website: use Lets Encrypt http-01 challenge
Also remove the the chrome bug repro stuff, because the bug in question
has now been fixed in chrome for 2 years
(https://bugs.chromium.org/p/chromium/issues/detail?id=567692).

Issue #1033

Change-Id: I8dc4b595c3854a9f5479d0b7240bc98d1fe4aca3
2018-01-24 17:14:20 +01:00
Paul Lindner 6d2d9714de all: simpify constructs by running gofmt -s on all code
Change-Id: Idc12ddcfe8f735d77c6baa942f5bb7a2c7d9b40b
2018-01-21 10:27:12 -08:00
Paul Lindner 45aed2db49 vendor: upgrade github/russross/blackfriday to v2
This upgrades the markdown conversion library to v2 and
switches camweb to use the new, simplified API.

Change-Id: I710110431fdfa32104c591abdf9b01c74a214f48
2018-01-12 18:11:02 -08:00
Will Norris 9399eb13d1 website: properly calculate domainName in prod
move calculation of domainName into main rather than init.  This is
necessary because the root var, which domainName is based on, is not
passed as a command line flag when run in production.

Also clean up a few minor things in godoc.go from previous CLs, such as
removing the docRx var which is no longer used.

Fixes #1036

Change-Id: I7145b87d5f1ed13e143bd3750ce22f2d41d6169d
2018-01-12 19:25:03 +00:00
Paul Lindner b3e91ad9f0 website: fix docHandler test when run via devcam
The test added for proper markdown title generation
do not work when run via devcam.  This is caused by
depending on doc/uses.md as the input testdata.
devcam does not copy markdown files into the target tmp
directory so this test fails when run that way.

Solution is create a markdown file in a testdata directory.
These are copied to the target tmp directory and the test
succeeds.

Change-Id: Iae654dca2374b925e6c895a71d4d93b12ccc188b
2018-01-08 06:08:19 -08:00
Adam Shannon c8ec846787 website: rename perkeep irc room
Updates #981

Change-Id: I7c30a3d1271e608422dc04c5e1ac703bcfc16c67
2018-01-07 10:09:49 -06:00
Paul Lindner 3c9440708e website: generate proper titles for markdown files
It appears that markdown generation added class ids at some point.
This means that all pages on perkeep.org have the title "Perkeep"

Also added a test for this case.

This issue was flagged by the Google Webmaster Tools.

Change-Id: I7ddab56e03a506b84aab415d94856b8f1c126250
2018-01-06 15:46:59 -08:00
Brad Fitzpatrick 9265c980de all: change github.com/camlistore/camlistore to github.com/perkeep/perkeep
Change-Id: I0d612bf450e9e8d9ce0767c5a0cb0c44c0d8704f
2018-01-05 19:49:59 -08:00
Will Norris 9787462d49 website: allow serving godoc for any valid package
Fixes #1010

Change-Id: I15575227eb881a0c83ab2e60af0d344fedaf1850
2018-01-06 00:54:22 +00:00
Will Norris 101ce48bdc website: derive godoc package domain from serving dir
this is a straight revert of 02938281 plus the additional logic to
derive the domain name from the serving directory. This allows package
docs to also be served from localhost during development.

Updates #1010

Change-Id: I07f817edb0b83b03e363373945d143ed3cb82fbf
2018-01-05 23:57:46 +00:00
Brad Fitzpatrick 57648c6b83 all: update copyright holder from Google Inc to The Perkeep Authors
The AUTHORS file is the list of copyright holders.
2018-01-03 16:52:49 -08:00
Brad Fitzpatrick c3d05cdce9 Move more packages out of pkg/ and into internal/
Moved hashutil, httputil, osutil, netutil,
images, media, magic, video, and rollsum.
2018-01-02 21:03:30 -08:00
Adam Shannon 7318189e81 website: ~/.gitcookies holds Gerrit auth info
Change-Id: I63cd1ca0603c72ef424a05dd85dcf6166de4e74c
2018-01-02 20:14:06 -06:00
Brad Fitzpatrick cee73a1da7 website: Perkeep updates
Fix case of Twitter handle PerkeepOrg (no capital K).

Add a /keepy page about Keepy the Perkeep parakeet.

Embolden anchor text so it stands out from regular text.

Embed tweets on main page.

Change-Id: I07bdaab3c1bb480eab849fbdb8a516b772905e38
2018-01-02 16:36:48 -08:00
Brad Fitzpatrick 9427d6eef4 website: update logo/mascot/colors
This is Keepy the Perkeep Parakeet, from Ashley McNamara, @ashleymcnamara.

The CSS & HTML changes are my fault. We can revise later.

For the rename, issue #981

Change-Id: Ifaf4e4d9a92b5d6d79473f0e9aec9db8f51aa7b1
2018-01-02 12:46:51 -08:00
mpl 658f353a87 website: update Go 1.9 version as requirement
Change-Id: I27b825aa19af2c94aa3f86655a2aee92216f5f50
2018-01-02 01:59:11 +01:00
Brad Fitzpatrick 930f049ec9 Merge "website: make camlistore.org go-import meta tags reference a snapshot" 2018-01-02 00:42:06 +00:00
Brad Fitzpatrick d6a0b05df0 Rename import paths from camlistore.org to perkeep.org.
Part of the project renaming, issue #981.

After this, users will need to mv their $GOPATH/src/camlistore.org to
$GOPATH/src/perkeep.org. Sorry.

This doesn't yet rename the tools like camlistored, camput, camget,
camtool, etc.

Also, this only moves the lru package to internal. More will move to
internal later.

Also, this doesn't yet remove the "/pkg/" directory. That'll likely
happen later.

This updates some docs, but not all.

devcam test now passes again, even with Go 1.10 (which requires vet
checks are clean too). So a bunch of vet tests are fixed in this CL
too, and a bunch of other broken tests are now fixed (introduced from
the past week of merging the CL backlog).

Change-Id: If580db1691b5b99f8ed6195070789b1f44877dd4
2018-01-01 16:03:34 -08:00
Will Norris ce00f4cac4 website: support /gw/ redirects for more paths
If it doesn't look like a commit hash, assume it's a directory and
redirect accordingly. This won't support top-level directories that are
entirely hex characters, but those weren't being handled before anyway.
None exist today, and if they ever do, they could be manually supported
the way "client" and "server" were previously.

Change-Id: Id65187ab86e76f1121e18f09d5b2a93b5b37d79a
2018-01-01 20:49:27 +00:00
Brad Fitzpatrick eefe75193f Merge "website: remove remaining remnants of gitweb" 2018-01-01 18:30:16 +00:00
Will Norris 4ede70d95a website: fix links on doc pages
Remove gerrit redirect for /doc/* links, and instead link directly to
the on-site doc page. This allows us to remove special handling of any
/gw/doc/* URLs. However, we also need to add special handling for
/gw/server/* URLs to fix a couple of broken links on /doc/status.md.

Change-Id: Ica73c3d78b47dd363c5c3e736123af2977dedb0d
2018-01-01 10:49:09 +00:00
Will Norris b96e2dcbc2 website: remove remaining remnants of gitweb
Change-Id: I1e684cc7551fa69f77c755db3112d79035effcee
2018-01-01 10:06:53 +00:00
Brad Fitzpatrick b9a68c3000 website: make camlistore.org go-import meta tags reference a snapshot
I created https://github.com/camlistore/old-cam-snapshot with a snapshot
of our git repo before we start rearranging things.

This way we won't break anybody depending on camlistore.org/* Go
packages after the move. They just won't get any updates. Actually
things will probably break if they run "go get -u". Need to
investigate what happens there.

Change-Id: I45e109c18323e65bd76706faa08d955dcbc5f6c6
2017-12-29 18:20:09 -08:00
Paul Lindner 2c1f37be49 website: Add Google Webmaster Tools verification file
- This allows Perkeep admins to use https://google.com/webmaster/tools
- This verification file is mapped to user pmlindner@gmail.com
- Once verified he can delegate ownership to other Perkeep maintainers.
- File must remain for periodic verifications.

Fixes #996

Change-Id: I8d991964f75acf1b14dedfeadc9d4dbe671bccd5
2017-12-29 11:32:54 -08:00
mpl bedb1d5e37 website: update twitter handle
Change-Id: Ic5c36d565424349bb3396e5a52178bf5fd2b6842
2017-12-22 00:34:33 +01:00
Brad Fitzpatrick e532defb67 website: emphasize opencollective, add logo
Change-Id: I4f9260ba275e55c9e4427751a70297a302d2c5b1
2017-12-20 10:22:14 -08:00
mpl d90d6c28eb website: add link to open collective page
Change-Id: I863bfa0b8b699a3754e4795ca72dcfb39c43d2c5
2017-12-20 18:32:42 +01:00
Mathieu Lonjaret 574a9311ec Merge "website: first pass of s/Camlistore/Perkeep/ on contents" 2017-12-18 15:47:03 +00:00
mpl cea35f8a40 website: first pass of s/Camlistore/Perkeep/ on contents
A second pass will be needed on the URLs once we have moved all the
repos and such.

Issue #981

Change-Id: Ibb58f4c4f16481da69e811142e8337b826c0d164
2017-12-18 16:46:08 +01:00
Mathieu Lonjaret 403ba82d14 Merge "camweb: enable default contributor name" 2017-12-18 15:17:24 +00:00
mpl b66ede8500 camweb: enable default contributor name
Because I forgot to configure git one time on another machine, one of my
commits is with a lame username, and that username gets picked (instead
of the other ones) as my identity when generating the contributors page.

Therefore, this change allows to specify a default name among the already
hardcoded information for some of the contributors, so I can override
the badly configured identity that would appear otherwise.

Change-Id: I60dfe60f83d20aa33f7bf425e5b84a34bbd5a0b1
2017-12-16 04:23:27 +01:00
mpl 253e7cb5d4 pkg/deploy: ignore Domain field from page template
Fixes #985

Change-Id: If110d392885fb89d0403ab9eb3aaf8dcdc3fe249
2017-12-16 02:01:36 +01:00
Mathieu Lonjaret 286dbacc62 Merge "camweb: make syncing to github concurrent" 2017-12-15 00:08:13 +00:00
mpl 31389f8ab2 camweb: make syncing to github concurrent
Camweb is in charge of syncing the commits from the gerrit repository to
our mirror on github.

It also sends the commits as e-mails to the Camlistore mailing-list.

The former was only happening after the latter did, but there was no
reason to do it that way, as these tasks are independent. Moreover, when
sending e-mails is problematic (issue #980), it delays syncing to
github.

This change therefore makes syncing to github concurrent with
sending the e-mails.

Change-Id: I63a2b3f5b49df58ca30ec5153ce65eafb44b5b28
2017-12-15 01:05:56 +01:00