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
75afddacc4
fup/hashfs: actually hash the thing
...
This previous behaviour was to, instead of hashing the file, just return the
first few bytes of it, which is neither intuitive nor the behaviour I was
looking for.
2021-03-22 19:25:55 +00:00
b4e785af8a
fup: fix minor issue with shorter-than-512 byte file uploads
...
Reader.Read is permitted to return EOF on short reads, which had not been
anticipated by this code. There's probably more instances of this lurking...
2021-03-22 02:42:34 +00:00
a9a437cee4
fup: add systemd socket activation support to fup serve
2021-03-22 02:41:59 +00:00
ba95046e84
fup: add additional mimetypes to pretty page
2021-03-22 01:09:00 +00:00
01fb49549b
fup: add drag and drop uploads
...
There's no UI indication that this is happening yet, but...
2021-03-22 01:08:42 +00:00
bb31335319
fup: add basic view and paste UIs
2021-03-22 00:25:32 +00:00
d05aa3ace1
fup: implement frontend bits
2021-03-21 23:10:15 +00:00
45b3a1fe44
fup: add reset.min.css before I start working on styling
2021-03-21 19:48:11 +00:00
5cd85b03db
fup: add cheddar to PATH for nix derivation
...
This ensures that we always have syntax highlighting available.
For people using it directly, it's their responsibility to make sure that
cheddar is available in their path, if they want syntax highlighting.
2021-03-21 19:06:38 +00:00
c187956f19
fup/minicheddar: add basic spawn test
2021-03-21 19:05:59 +00:00
b7cd0d0e29
fup: add cheddar as a syntax highlighter
2021-03-21 18:52:22 +00:00
2306915e2c
fup: implement file uploads!
...
TODO: tests for this.
2021-03-21 18:04:37 +00:00
a3601c2946
fup: add mimetype package to dependency set
2021-03-21 17:13:05 +00:00
7eac2c0c07
fup/fuphttp: add badRequest handler
...
We might get bad requests for e.g. file uploads, so we should have an error
handler for that.
This also disables mime type sniffing for the other text/plain error handler.
2021-03-21 17:08:29 +00:00
5d9b444a56
fup/fuphttp: add filename generator to options and application
2021-03-21 17:07:47 +00:00
7b969570a9
fup/fuphttp/fngen: expose UniqueName function, add tests for it
2021-03-21 17:02:56 +00:00