|
6222f1e1b1
|
Use the lua script to save new pasties.
I had to add a {store:} prefix, see this:
https://stackoverflow.com/questions/38720084/generate-new-key-inside-evalsha
|
2017-06-23 21:49:28 +01:00 |
|
|
c86df2de07
|
Move some pastie fetching logic into Storage.
I'm implementing an "edit" page, so I also need to retrieve
a pastie from there and I want to minimize code duplication.
|
2017-06-16 08:11:26 +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 |
|
|
e5f7f60e8b
|
Change namespace of kamokan-specific stuff.
|
2017-06-13 09:36:53 +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 |
|
|
43e97ee79b
|
Fix data corruption when submitting a pastie.
|
2017-06-08 23:38:11 +01:00 |
|
|
056e7dcde4
|
Use stock std::string conversion.
|
2017-06-07 00:30:43 +01:00 |
|
|
eaf8c0778d
|
Replace string_ref with string_view in test.
|
2017-06-07 00:18:52 +01:00 |
|
|
e44611301c
|
Fix the problem with redis not being initialized anymore.
|
2017-06-06 19:40:52 +01:00 |
|
|
b0c62fcab3
|
Add HTTP/1.1 to Status in cgi responses.
|
2017-06-06 00:56:28 +01:00 |
|
|
f94cc9409b
|
Add test for SubmitPasteResponse.
|
2017-06-06 00:56:01 +01:00 |
|
|
974424398f
|
Remove hardcoded path to my own machine.
|
2017-06-05 23:57:47 +01:00 |
|
|
2293604e11
|
Fix tests' build.
|
2017-06-03 21:16:23 +01:00 |
|
|
eef10a3d5e
|
REQUEST_METHOD must be given or better_enums will complain.
|
2017-05-24 22:26:55 +01:00 |
|
|
9f8d89895d
|
Make a new test project for full-page testing.
|
2017-05-22 20:08:28 +01:00 |
|