32bfa18093
Update incredis
2017-07-31 15:58:10 +01:00
82769a243b
Update incredis.
2017-06-24 11:46:17 +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
0372bd9dbe
Update incredis to latest.
2017-06-21 08:15:26 +01:00
aeafd6daab
Update incredis.
2017-06-15 00:05:36 +01:00
b6edab7171
Implement self-destruct upon read when selfdes=1 in POST
2017-06-14 20:19:18 +01:00
108a8c8e06
Use string_view directly with mstch.
2017-06-07 00:40:03 +01:00
056e7dcde4
Use stock std::string conversion.
2017-06-07 00:30:43 +01:00
6e19745d69
Replace string_ref with string_view
2017-06-06 23:04:40 +01:00
f286507edf
Delay fast subsequent pasties from the same IP.
2017-05-11 18:50:56 +01:00
f4991dfd5f
Get latest duckhandy
2017-05-11 09:37:28 +01:00
85363e0db1
Add an empty unit test.
2017-05-04 23:03:53 +01:00
c892ed2df8
Add logging lib spdlog.
2017-05-03 09:31:41 +01:00
f2bee62f0e
Add utfcpp 2.3.4 to the project.
2017-04-26 20:02:49 +01:00
c75c23fa36
Import houdini lib.
...
Will replace curl dependency soon.
2017-04-25 22:09:45 +01:00
1c894cbef5
Update incredis submodule
2017-04-25 09:41:50 +01:00
b423522af8
Enable language and expiry in pasties.
2017-04-25 00:21:44 +01:00
279bd19f00
Switch to my fork of mstch to have support for partials.
2017-04-21 19:00:52 +01:00
1870829ec2
Import lib mstch and put it to good use.
...
Response classes are given a chance to modify the
dictionary that is later sent to mstch.
2017-04-18 18:40:42 +01:00
680f13e1f6
Refactoring.
...
IncRedis is now held by Response, if requested by the base class.
Response objects know their names, and they use it to load
the html (soon to be mustache) data from disk.
Main only prepares a factory, the factory then instantiates
the actual Response.
The code now correctly serves index.cgi when the request is /.
Remove kakoune's safe_ptr from inside src and put an updated
one in lib/kakoune.
2017-04-15 03:18:33 +01:00
4bf8dfc29f
Enable the redis_mode option in tawashi.ini
2017-04-14 00:50:50 +01:00
a46e60c6dc
Update incredis
2017-04-13 19:44:37 +01:00
69db539252
Update incredis
2017-04-13 09:02:52 +01:00
d1690ed6cb
Update incredis
2017-04-12 23:31:27 +01:00
dbd1a3a90a
Submitting a paste and saving to redis works!
2017-04-06 22:42:43 +01:00
fea5b738df
First commit
2017-04-04 20:58:40 +01:00