This change:
1) makes perkeep.org/server/perkeepd/ui/goui a module on its own, so that it
gets ignored by go mod with respect to perkeep.org. Because there's no reason it
should appear in perkeep.org/go.mod, as it is only used by gopherjs to rebuild
the web UI code.
2) updates a few of our dependencies to keep up with upstream changes (go get
-u, go mod tidy, go mod vendor).
3) readds manually (since go mod vendor removes them)
vendor/github.com/gopherjs/gopherjs (and its deps) as well as vendor/myitcv.io
because they are needed when one wants to rebuild the web UI.
As a result I think we can now drop dep, so it is done in this change as
well.
Change-Id: I155819163e15e214a6ba44bab2c19ae171d83d1b
So now when we get the e-mail on a website restart, we'll actually
know what version of it is running.
Also,
make.go: skip gopherjs checks when we only build the website or
camnetdns.
Change-Id: I3f6985afc8931fe478cc4f7caba2b1fc31bc815b
I'm getting reminders from Let's Encrypt that perkeep.org is using a
cert obtained with TLS-SNI-01, which is now deprecated.
I think this change would be enough to switch to TLS-ALPN-01.
Change tested on the staging instance at https://staging.camlistore.net
Change-Id: I19dc51171228e6598846a778aadb8497d3406446
We were still pushing to the camlistore repository. That worked, thanks to the
redirect, but we might as well push directly to the correct one now.
Change-Id: Ide4668ee587568cba928cb360289000aa106e955
It happens somewhat regularly that pk-web stops syncing commits to
github, and sending e-mails about it, because any docker run process
seems to get stucked. Invariably, restarting the docker service
(systemctl restart docker), seems to fix the problem.
This change adds a timeout mechanism for functions running a docker run
exec, so that after the timeout, we get notified by e-mail about what
function is blocked.
Change-Id: I16bd4f5abc7864ceb176a0e69c5300165194b18f
test/integration: don't listen on file descriptors.
make.go: unrelated, but options to make it much faster.
internal/images: t.Skip on HEIC dependency failures
Fixes#1140
Updates golang/go#25210
Change-Id: I8092155411826d6ed1f8d85230b753d1369044af
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
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
WithExtension() options passed to Run() are not additive, so the
AutoHeadingIDs extension must be ORed together with CommonExtensions.
Fixes#1046
Change-Id: Ib0984397b251ff9277b7b2e4dac79add962709b7
This upgrades the markdown conversion library to v2 and
switches camweb to use the new, simplified API.
Change-Id: I710110431fdfa32104c591abdf9b01c74a214f48
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
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