| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
After a submission, the survey will now either redirect to a "thanks for
your answers!"-site (if the POST request had status 200) or else display
some kind of error message.
|
| |
|
|
|
|
|
|
|
|
| |
these can be found in site/examples. There is a simple unencrypted survey
in "example.json", and an encrypted variant of the same in "encrypted.json".
The key used for encryption can be found in "key.age"; in particular, note
that the passphrase for the encrypted survey is exactly that private key.
|
|
|
|
|
| |
the nix tooling for rust and wasm appears to be really bad, so binary blobs
are easier for now.
|
|
|
|
|
|
|
| |
syntax: http(s)://domain.tld/path/to/file/index.html#[upload url]
The upload url may be relative to the site's position, or absolute.
Survey results will be POSTed to [upload path]/upload.
|
|
|
|
|
|
| |
web assembly needs its own mimetype set to work in the browser, which most
other development tools don't support — so this python script can be used
instead.
|
|
this depends on age stuffed into web assembly, which is not yet
part of this repository.
The idea is to have a web app (which is a static html page + js / wasm)
and a set of (optionally encrypted) json files which describe surveys,
which the main site can download on demand.
|