1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2024-11-27 00:43:47 +00:00
Commit graph

12 commits

Author SHA1 Message Date
2571e70093 Allow to give the css file for the highlighter in tawashi.ini 2017-05-23 18:31:55 +01:00
34daf8e411 Decompose the base_uri option.
This allows support for having tawashi in a subdirectory
of your domain, eg http://example.com/tawashi
2017-05-19 10:01:22 +01:00
c5f2bc055a Append the protocol to the uri from the code.
This means if you set uri name to http://example.com in the
config file you will actually get base_uri to be
http://http://example.com.
2017-05-18 19:17:22 +01:00
8345c300a8 Add some debug logging and change level to trace. 2017-05-16 19:14:22 +01:00
ed4a02f4bb Setup the logger based on the log_file setting in tawashi.ini.
With this change I had to swap the order in which what settings
file as being loaded and the initialization of the logger itself.
This is because the logger now depends on the settings file,
so it can't be used before the setting file got parsed.
2017-05-16 19:11:09 +01:00
660d911539 Add a generated tawashi.ini for debug runs. 2017-05-15 09:09:06 +01:00
92d8f1f73c Make logging level configurable in tawashi.ini. 2017-05-04 09:59:49 +01:00
50fb5ceb81 Update with fixed nginx config 2017-04-18 20:13:32 +01:00
00aa06282d Set the html root from the config file. 2017-04-18 20:10:36 +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
6a6d4c85bb Import pathname from dindexer. 2017-04-11 18:10:19 +01:00
ab9b4ec8c3 Add sample config files 2017-04-11 08:45:34 +01:00