Commit graph

112 commits

Author SHA1 Message Date
759179662a web/quotes: bump to NodeJS current LTS (16.x) 2022-05-07 15:04:57 +00:00
ee7538f666 web/lukegb/wifi-qrcode: try some shenanigans to make this work when exported 2022-05-01 17:14:27 +01:00
30efc7c2e6 web/lukegbcom/wifi-qrcode: make nextjs export work 2022-05-01 16:58:33 +01:00
247f90d129 web/lukegbcom/wifi-qrcode: if no psk, don't show the password: line 2022-05-01 16:26:03 +01:00
e32a2520e8 web/lukegbcom: add tools/wifi-qrcode
This is a (undocumented) tool for generating printable A4/Letter-sized Wifi QR
code sheets.

It takes URL parameters:

* eventName: this is either the name of an event or a URL to a logo for it
* ssid: network SSID
* psk: network password; if not set, the network is assumed to have no password
* hidden: if present, the network is assumed to be hidden
2022-05-01 16:24:29 +01:00
f30eeb8008 lukegbcom/ee-qrcode: feature detect buttons 2022-05-01 15:01:19 +01:00
5193dd028a lukegbcom: ee-qrcode should use back camera by default 2022-05-01 15:01:00 +01:00
828c7ad578 web/lukegbcom: move ee-qrcode.worker to lib directory
...otherwise nextjs complains and fails the build.
2022-05-01 14:38:28 +01:00
3d92896314 lukegbcom: add EE QR Code fixer
This removes the trailing $$ from the QR codes generated by EE.

Gah, why do they still do this.
2022-05-01 14:21:23 +01:00
a3ef78701e web/lukegbcom: add a diagram to illustrate the token hierarchy 2022-04-09 20:46:48 +01:00
e1ede118d1 web/lukegbcom: add some padding 2022-04-08 02:30:59 +01:00
482ecc6984 web/lukegbcom/2022-04-07-vault-and-me: add hero image 2022-04-08 02:22:01 +01:00
65236b2c0c web/lukegbcom/2022-04-07: explain why tokend ACLs are more permissive... 2022-04-08 02:10:22 +01:00
78ccb6a571 web/lukegbcom: underline links in posts 2022-04-08 02:08:24 +01:00
adec31460a web/lukegbcom: oops, YAML... 2022-04-08 02:01:51 +01:00
ff665ab50f lukegbcom: add a long rambly post about my Vault setup 2022-04-08 01:42:43 +01:00
da71f20036 ops/nixos: enable paperless 2022-04-06 00:57:22 +01:00
97a2e46eeb lukegbcom: autodeploy using Vault 2022-04-05 22:04:32 +01:00
9119a5893f lukegbcom: fix up images in posts 2022-04-05 02:18:57 +00:00
32f6d38549 web/lukegbcom: limit homepage posts to 3 2022-04-04 02:38:10 +01:00
43e5ecf0db web/lukegbcom: add all the rest of the posts 2022-04-04 02:36:09 +01:00
762a5a7271 web/lukegbcom: init next.js version 2022-04-04 00:32:57 +01:00
6fb04fae8e as205479: add /privacy/ 2021-12-12 20:28:35 +00:00
b94b586d5b clouvider-fra01: add content.int.lukegb.com 2021-10-19 07:06:37 +01:00
9c92e12742 bvm-radius: start serving as205479.net webpage 2021-09-25 20:51:24 +00:00
05ddad31ad bvm-netbox: complete setup 2021-08-16 02:09:47 +00:00
e14a850033 web/quotes: move to node2nix
This should hopefully mean I don't have to repeatedly update the hash here when
there aren't really any interesting changes.
2021-07-25 08:00:49 +01:00
8c75ce4ecc porcorosso: try out nouveau+modesetting? 2021-06-19 18:31:21 +01:00
81e41a819c web/quotes: fix 500
I forgot to load the tailwind tags, so it just breaks.
2021-05-03 14:59:09 +00:00
12bbf8e1b3 web/quotes: fix tailwind 2021-04-30 23:38:11 +00:00
8837939f5e web/quotes: update for django-tailwind 2.0.1 2021-04-29 12:16:35 +00:00
e08a6a9169 web/quotes: fix for newer version of Django 2021-04-29 12:08:33 +00:00
d9662bcd10 etheroute-lon01: add rundeck 2021-04-10 17:22:11 +00:00
dddbb9828d web/quotes: fix outputHash 2021-04-04 17:33:43 +01:00
47b43cc022 fup: add fuphttp/fupoidc for doing OpenID Connect authn 2021-04-03 13:49:45 +00:00
bde26b1889 web/int: add some more links 2021-04-02 14:26:22 +00:00
6a80243cce fup: add favicon and logo graphics 2021-03-27 20:54:40 +00:00
e4872918d5 fup: fix relative URLs in base template 2021-03-27 20:49:28 +00:00
5ddd41ac94 fup: add title to base template 2021-03-27 00:33:29 +00:00
d8e001922a fup: don't crash on view if we don't have a cheddar
Classic Go typed-nil bug.
2021-03-26 21:44:13 +00:00
fa086419c8 fup: allow for pasting text content from clipboard 2021-03-26 21:42:42 +00:00
6e539188ac fup: add paste handler for uploading things from the clipboard 2021-03-26 21:35:37 +00:00
7b5ac688b8 fup: add test for disabled TokenAuthMiddleware 2021-03-23 01:31:42 +00:00
affe252f73 fup: fix config file handling
Whoops! Before, config files were being read but all the contents were basically
being discarded.

Now, we both load and actually use the config file, leading to a much more positive
experience for everyone involved :)
2021-03-23 01:21:39 +00:00
8271714a18 fup: allow Fup-Token header for carrying auth credentials 2021-03-23 00:58:06 +00:00
dbd711ded8 fup: add TokenAuthMiddleware
This is an example middleware which can be used as an AuthMiddleware for only
allowing requests to non-view pages which are accompanied by an auth token via
HTTP basic auth.
2021-03-23 00:46:33 +00:00
d96cf3d34d fup/cmd/serve: add viper bindings for all the flags 2021-03-23 00:45:51 +00:00
5b74ceec4e fup: add auth middleware machinery
This allows clients to register an authentication middleware which will be
provided values in the context that it can use to make an authn/authz decision.
2021-03-23 00:45:28 +00:00
ccb7d81f1a fup: allow PUT without filename 2021-03-22 23:31:58 +00:00
48be007f79 fup: clear the file input when we start the upload
This prevents the back button from upload the same files *again*.
2021-03-22 19:33:03 +00:00