commit | 4ae8a49789faac54ba932ed7635e42d8660c2948 | [log] [tgz] |
---|---|---|
author | Andrew Bonventre <andybons@golang.org> | Wed Jun 17 18:33:58 2020 -0400 |
committer | Andrew Bonventre <andybons@golang.org> | Thu Jun 18 01:33:28 2020 +0000 |
tree | 10dff5ec2781167bfacb5a1915146f93ece6d8b0 | |
parent | d72cde69aaaf743862a3eaa8683b2b8977f61e83 [diff] |
cmd/admingolangorg: add command serving an admin interface This change re-enables the /s/ link shortener admin interface, running as its own App Engine service on the go111 runtime, which still supports the “login: admin” option in app.yaml. + The golangorg build constraint on the internal/memcache and internal/short packages is removed to allow easy import + A new function, AdminHandler is introduced in the short package to allow for registering the handler outside of it + Some page cleanup to leverage modern HTML and JS capabilities, obviating the need for jQuery, which has been removed + Clients for Redis and Cloud Datastore have been updated to the latest versions Fixes golang/go#29988 Change-Id: If6ca75e85e16a7d86bb5dafcf08b27d2dc36f530 Reviewed-on: https://go-review.googlesource.com/c/website/+/238545 Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This repository holds the Go Website server code and content.
The easiest way to install is to run go get -u golang.org/x/website
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/website
.
This repository uses prettier to format JS and CSS files.
The version of prettier
used is 1.18.2.
It is encouraged that all JS and CSS code be run through this before submitting a change. However, it is not a strict requirement enforced by CI.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the website repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/website:” in the subject line, so it is easy to find.