e21db7a061
fup: add a template function for getting paths to static assets
...
We add the hash of the file to the static assets, so they can be cached
indefinitely. This also, however, means that we need some way of referring to
them.
2021-03-21 03:03:15 +00:00
5846385513
fup: move hashfs into its own package.
...
We need to depend on its API for fuphttp, so it's better if it's a separate
package to avoid embedding things we don't need.
In general it's probably a good idea to separate the logic from the embedded
content...
2021-03-20 23:43:59 +00:00
25443cfaab
fup: add bucket-url flag for specifying storage
...
This allows setting the persistent storage location to save files into.
NOTE: defaults to mem:// for development purposes, which... is gonna be a bad
time.
2021-03-20 23:33:39 +00:00
7e4fb52cef
fup: add viper for persistent config
2021-03-20 23:32:56 +00:00
cb44e7894f
fup: add gocloud.dev blob backends
2021-03-20 23:17:02 +00:00
a261baedf4
fup: add SPDX headers
2021-03-20 20:40:40 +00:00
bcd39fae10
fup: create serve subcommand and fuphttp package
...
This is the skeleton of the application. Let's goooo!
2021-03-20 19:53:43 +00:00
a1bda601a9
fup: add extractstatic command
...
This extracts the hash-named static assets into a directory. This is primarily
useful if you have multiple instances of fup running and you therefore need to
serve /static from a shared filesystem of some sort.
2021-03-20 19:53:04 +00:00
38d9449777
fupstatic: init embedding package
2021-03-20 19:52:10 +00:00
2104261536
fupstatic: add some basic templates/css/js.
2021-03-20 19:51:57 +00:00
03cf4ea939
fupstatic: create hashfs
...
I want to serve static files with hashes in, and I'm too lazy
to construct a preprocessing step.
2021-03-20 19:51:32 +00:00
ecbf5a6450
fup: init
2021-03-20 19:49:33 +00:00
2ce322a6dc
web/quotes: change outputHash
2021-02-07 21:56:26 +00:00
a2cfdb62b9
web/quotes: add top margin to alerts
2021-01-23 00:00:45 +00:00
a3fdfcec40
web/quotes: increase root font size
2021-01-22 23:59:19 +00:00
e266f5bb2f
web/quotes: format templates
2021-01-21 00:49:22 +00:00
2909cc2bcb
web/quotes: switch to pre-wrap to format better on mobile
2021-01-21 00:21:49 +00:00
de8bb349f0
web/quotes: shipit
2021-01-20 23:14:58 +00:00
da459ee5c1
web/quotes: format oops
2021-01-20 22:48:41 +00:00
2d634def1c
web/quotes: add new and view quotes views
2021-01-20 22:48:15 +00:00
eb8abcacec
web/quotes: make login work
2021-01-20 22:20:07 +00:00
ee3299223a
web/quotes: require login for all pages
...
...except things under /accounts/, because I generally just trust that to do
access control for me.
2021-01-20 18:14:22 +00:00
cf82eae2e3
web/quotes: switch to sans-serif font for everything
2021-01-20 17:55:17 +00:00
54bece932e
web/quotes: add some styling to some things
2021-01-20 03:16:29 +00:00
d8d2a0affa
web/quotes: remove accidental checked-in-static
2021-01-20 02:06:13 +00:00
ca27848285
web/quotes: add tailwind
2021-01-20 02:04:30 +00:00
1fe4e04464
ops/nixos: add dev-quotes.bfob.gg to server aliases
2021-01-20 00:22:54 +00:00
b0993ffd70
web/quotes: take discord settings from secrets
2021-01-19 23:54:59 +00:00
b7574660de
web/quotes: prodify
2021-01-19 23:43:43 +00:00
b758c0a96c
web/quotes: add hgkeep to static folder
2021-01-19 20:42:46 +00:00
169c243369
web: init quotes
2021-01-19 03:51:22 +00:00
596752caa0
etheroute-lon01: add unifi.int
2021-01-03 03:35:24 +00:00
26e379dfb7
depot-wide: create logged-out.int.lukegb.com
2020-12-30 00:57:53 +00:00
e0ab7d9ea4
web: remove login-int
2020-12-30 00:51:56 +00:00
6fbeb0d282
web/int: add more links
2020-12-30 00:03:28 +00:00
3a112b8218
clouvider-fra01: simplify
2020-12-28 15:54:43 +00:00
48011ebba9
licensing: Apache-2.0, make almost reuse-lint clean
2020-06-07 15:03:12 +01:00
e656191b7b
clouvider-fra01: add int.lukegb.com which points at oauth2proxy
2020-05-31 22:28:01 +00:00