Commit graph

13 commits

Author SHA1 Message Date
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
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
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
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
a261baedf4 fup: add SPDX headers 2021-03-20 20:40:40 +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