1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-10-06 15:09:59 +00:00
Commit graph

12 commits

Author SHA1 Message Date
100edb6628 Fix some mistakes.
The counter was missing the kamokan prefix
SelfDestruct was not working
2017-06-23 21:57:44 +01:00
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
6589ddd86f Get rid of the +1 -1 thing. 2017-06-23 19:02:37 +01:00
ecb44e725a Report errors from lua into the response. 2017-06-23 18:58:27 +01:00
b421299884 Use lua script to retrieve a pastie from its token.
The self-destruct logic is in lua now.
2017-06-22 09:32:42 +01:00
9deaa8a0b8 Add default_pastie_lang() method and language_selected mustache. 2017-06-18 15:08:44 +01:00
070c814387 Bug fix - extra not 2017-06-18 14:51:40 +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
Renamed from src/tawashi/storage.cpp (Browse further)