1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-01-13 19:56:40 +00:00
Commit graph

11 commits

Author SHA1 Message Date
1bc059bfe4 Export the list of supported languages to mustache. 2017-04-21 22:18:43 +01:00
73c3d2f04d Use partials in html. 2017-04-21 19:01:13 +01:00
00aa06282d Set the html root from the config file. 2017-04-18 20:10:36 +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
da2484b0d4 Use base_uri in the response 2017-04-11 19:36:18 +01:00
ef9e74c473 Redirect to the new page if pastie was successful. 2017-04-07 00:31:06 +01:00
4354f4bf29 Add GPL3 licence. 2017-04-06 23:35:06 +01:00
81cf36de22 Rename CGIEnv to cgi::Env 2017-04-06 23:02:17 +01:00
98d98fc4ba Step up work on responses. 2017-04-06 21:27:38 +01:00
fea5b738df First commit 2017-04-04 20:58:40 +01:00