<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slightly-better-surveys, branch rustserver</title>
<subtitle>slightly better web-based surveys than elsewhere (even encrypted!)
</subtitle>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/slightly-better-surveys/'/>
<entry>
<title>server: add config options, better outfile names</title>
<updated>2021-04-27T15:40:40+00:00</updated>
<author>
<name>stuebinm</name>
</author>
<published>2021-04-27T15:40:40+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/slightly-better-surveys/commit/?id=e0c6f2cd7a2ef02fb9b7947816b54f3a43ef522d'/>
<id>e0c6f2cd7a2ef02fb9b7947816b54f3a43ef522d</id>
<content type='text'>
e.g.
 - ability to log ip addresses of respondents
 - configurable bind address
 - reasonably sane defaults (hopefully)
 - survey name as part of output file names
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
e.g.
 - ability to log ip addresses of respondents
 - configurable bind address
 - reasonably sane defaults (hopefully)
 - survey name as part of output file names
</pre>
</div>
</content>
</entry>
<entry>
<title>server: update todo.org</title>
<updated>2021-04-26T22:40:35+00:00</updated>
<author>
<name>stuebinm</name>
</author>
<published>2021-04-26T22:39:24+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/slightly-better-surveys/commit/?id=445c3f73d77fe957c1663666df4fde852fd4de14'/>
<id>445c3f73d77fe957c1663666df4fde852fd4de14</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>server: replace guile with rust (init)</title>
<updated>2021-04-26T22:34:17+00:00</updated>
<author>
<name>stuebinm</name>
</author>
<published>2021-04-26T22:34:17+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/slightly-better-surveys/commit/?id=69eb6fe0a6ac34cf412bd6ba23dd11c5b7fbd417'/>
<id>69eb6fe0a6ac34cf412bd6ba23dd11c5b7fbd417</id>
<content type='text'>
this is just a quick barebones server, which doesn't really do yet what
it is supposed to or what the guile version did.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this is just a quick barebones server, which doesn't really do yet what
it is supposed to or what the guile version did.
</pre>
</div>
</content>
</entry>
<entry>
<title>site: slightly nicer date layout</title>
<updated>2021-04-12T22:43:37+00:00</updated>
<author>
<name>stuebinm</name>
</author>
<published>2021-04-12T22:43:37+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/slightly-better-surveys/commit/?id=91efe78471f080eb58ffdde2125c59cd76d1f62c'/>
<id>91efe78471f080eb58ffdde2125c59cd76d1f62c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add date answer space</title>
<updated>2021-04-12T16:07:41+00:00</updated>
<author>
<name>stuebinm</name>
</author>
<published>2021-04-12T16:07:41+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/slightly-better-surveys/commit/?id=5596ebcbad7721f767972c3143f8e5be1ba8fc09'/>
<id>5596ebcbad7721f767972c3143f8e5be1ba8fc09</id>
<content type='text'>
for now, this is just a simple date picker done via the html input type
"date". Unfortunately, that's not supported by Safari, so the rust util
now prints out a warning if it's used.

I'm not sure if there's any other reasonable option which would go
around this that's not "using a web framework" or "hacking a fallback
date picker which just consists of a couple of combo boxes".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for now, this is just a simple date picker done via the html input type
"date". Unfortunately, that's not supported by Safari, so the rust util
now prints out a warning if it's used.

I'm not sure if there's any other reasonable option which would go
around this that's not "using a web framework" or "hacking a fallback
date picker which just consists of a couple of combo boxes".
</pre>
</div>
</content>
</entry>
<entry>
<title>site: use errormsg function for general survey errors</title>
<updated>2021-04-12T15:05:19+00:00</updated>
<author>
<name>stuebinm</name>
</author>
<published>2021-04-12T14:56:08+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/slightly-better-surveys/commit/?id=6b892239f80e8523e02d7348e5483e9a7aea58ee'/>
<id>6b892239f80e8523e02d7348e5483e9a7aea58ee</id>
<content type='text'>
the previous commit introduced handling error messages using a
"setErrormsg" function. This is now also used for the general error
messages which may show up at the bottom of surveys.

However, since js and async things are weird, the code there is still a
long repetitive mess which can't really be cut down further.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the previous commit introduced handling error messages using a
"setErrormsg" function. This is now also used for the general error
messages which may show up at the bottom of surveys.

However, since js and async things are weird, the code there is still a
long repetitive mess which can't really be cut down further.
</pre>
</div>
</content>
</entry>
<entry>
<title>site: show hint for unselected radio buttons</title>
<updated>2021-04-12T14:50:20+00:00</updated>
<author>
<name>stuebinm</name>
</author>
<published>2021-04-12T14:50:20+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/slightly-better-surveys/commit/?id=15d7a47bea2815d4852c62984b256d658e8b3742'/>
<id>15d7a47bea2815d4852c62984b256d658e8b3742</id>
<content type='text'>
In surveys containing radio buttons, there will now be a nice little
hint directly beneath them if none were selected when attempting to
submit (in addition to the relatively nondescript "not all required
questions were filled in"-hint at the bottom of the form)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In surveys containing radio buttons, there will now be a nice little
hint directly beneath them if none were selected when attempting to
submit (in addition to the relatively nondescript "not all required
questions were filled in"-hint at the bottom of the form)
</pre>
</div>
</content>
</entry>
<entry>
<title>site: fix locale detection</title>
<updated>2021-04-12T14:21:53+00:00</updated>
<author>
<name>stuebinm</name>
</author>
<published>2021-04-12T14:21:53+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/slightly-better-surveys/commit/?id=f02af23dd7f478a86c0522d1f4c3d924df06f3f0'/>
<id>f02af23dd7f478a86c0522d1f4c3d924df06f3f0</id>
<content type='text'>
(it mistakenly set the locale to undefined before)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(it mistakenly set the locale to undefined before)
</pre>
</div>
</content>
</entry>
<entry>
<title>site: attempt to guess default language</title>
<updated>2021-04-08T16:32:33+00:00</updated>
<author>
<name>stuebinm</name>
</author>
<published>2021-04-08T16:06:58+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/slightly-better-surveys/commit/?id=1c5b1e38820f411563efb265b18c4cba6c518074'/>
<id>1c5b1e38820f411563efb265b18c4cba6c518074</id>
<content type='text'>
(from the browser's preferences set via navigator.language and
navigator.languages)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(from the browser's preferences set via navigator.language and
navigator.languages)
</pre>
</div>
</content>
</entry>
<entry>
<title>add translation logic, locales for en and de</title>
<updated>2021-04-08T15:53:10+00:00</updated>
<author>
<name>stuebinm</name>
</author>
<published>2021-04-08T15:44:53+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/slightly-better-surveys/commit/?id=3890d8ac88b2fdfa7b54d433e8e2edf2164be6f0'/>
<id>3890d8ac88b2fdfa7b54d433e8e2edf2164be6f0</id>
<content type='text'>
This adds a basic "replace fixed keys"-approach to translating the UI of
surveys. So far this works great, but for complex things it may fail for
some languages — for now I'll just  try to take care not to add any
output that puts things in the middle of sentences, which I think should
work for a simple survey thing.

The default language is still english, which is important as the
language is declared withing a survey config — i.e. if loading it fails,
it cannot be applied, and the "enter passphrase" dialog can also not
change based on locales. This could possibly be fixed by adding an
unencrypted "header" to the encrypted configs, but for now I'm not sure
if that makes a lot of sense — it may be easier to just guess based on
the browser's settings, and otherwise fall back to some specified
default language.

The "thanks for your answers"-page also has no translation so far.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a basic "replace fixed keys"-approach to translating the UI of
surveys. So far this works great, but for complex things it may fail for
some languages — for now I'll just  try to take care not to add any
output that puts things in the middle of sentences, which I think should
work for a simple survey thing.

The default language is still english, which is important as the
language is declared withing a survey config — i.e. if loading it fails,
it cannot be applied, and the "enter passphrase" dialog can also not
change based on locales. This could possibly be fixed by adding an
unencrypted "header" to the encrypted configs, but for now I'm not sure
if that makes a lot of sense — it may be easier to just guess based on
the browser's settings, and otherwise fall back to some specified
default language.

The "thanks for your answers"-page also has no translation so far.
</pre>
</div>
</content>
</entry>
</feed>
