King_DuckZ
108a8c8e06
Use string_view directly with mstch.
2017-06-07 00:40:03 +01:00
King_DuckZ
056e7dcde4
Use stock std::string conversion.
2017-06-07 00:30:43 +01:00
King_DuckZ
6e19745d69
Replace string_ref with string_view
2017-06-06 23:04:40 +01:00
King_DuckZ
f286507edf
Delay fast subsequent pasties from the same IP.
2017-05-11 18:50:56 +01:00
King_DuckZ
f4991dfd5f
Get latest duckhandy
2017-05-11 09:37:28 +01:00
King_DuckZ
85363e0db1
Add an empty unit test.
2017-05-04 23:03:53 +01:00
King_DuckZ
c892ed2df8
Add logging lib spdlog.
2017-05-03 09:31:41 +01:00
King_DuckZ
f2bee62f0e
Add utfcpp 2.3.4 to the project.
2017-04-26 20:02:49 +01:00
King_DuckZ
c75c23fa36
Import houdini lib.
...
Will replace curl dependency soon.
2017-04-25 22:09:45 +01:00
King_DuckZ
1c894cbef5
Update incredis submodule
2017-04-25 09:41:50 +01:00
King_DuckZ
b423522af8
Enable language and expiry in pasties.
2017-04-25 00:21:44 +01:00
King_DuckZ
279bd19f00
Switch to my fork of mstch to have support for partials.
2017-04-21 19:00:52 +01:00
King_DuckZ
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
King_DuckZ
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
King_DuckZ
4bf8dfc29f
Enable the redis_mode option in tawashi.ini
2017-04-14 00:50:50 +01:00
King_DuckZ
a46e60c6dc
Update incredis
2017-04-13 19:44:37 +01:00
King_DuckZ
69db539252
Update incredis
2017-04-13 09:02:52 +01:00
King_DuckZ
d1690ed6cb
Update incredis
2017-04-12 23:31:27 +01:00
King_DuckZ
dbd1a3a90a
Submitting a paste and saving to redis works!
2017-04-06 22:42:43 +01:00
King_DuckZ
fea5b738df
First commit
2017-04-04 20:58:40 +01:00