c34b7ba11d
Make empty string count as false.
2017-06-15 00:05:27 +01:00
2a5b6277a4
Expose token and a bool to tell if it's a pastie page to mustache.
2017-06-14 21:06:45 +01:00
218e9ab6cd
Add a bool to mustache to tell if a pastie got self-destructed.
2017-06-14 20:31:17 +01:00
b6edab7171
Implement self-destruct upon read when selfdes=1 in POST
2017-06-14 20:19:18 +01:00
8d19c794ed
Extract string conversion functions from SettingsBag.
...
It's useful to have this functionality elsewhere, especially
the string to bool one which I'm going to use in the next
commit.
2017-06-14 19:30:52 +01:00
9fc9cf851c
Add page_time token to mustache.
...
That's the elapsed time from program start to
the moment before the final invocation to
mustache rendering. So not super accurate but
that's what I can do for now.
2017-06-14 09:16:30 +01:00
131903c607
Rename TawashiException to just Exception.
...
It's in tawashi namespace already.
2017-06-13 09:36:53 +01:00
e5f7f60e8b
Change namespace of kamokan-specific stuff.
2017-06-13 09:36:53 +01:00
a912b1e3d4
Expose Tawashi's version to mustache.
2017-06-13 09:36:12 +01:00
6c357f1dc7
Separate Tawashi and Kamokan.
...
Unit tests are still a bit mixed up, but that should
be simple to split once I have a separate repo for
Tawashi.
2017-06-13 09:36:12 +01:00