0
0
Commit Graph

15 Commits

Author SHA1 Message Date
Gibheer
ce036f428d add basic middleware handling
This is an initial spike on how the middleware might be included into
the system. It is inspired/copied from GIN, so I still have to work out,
how to make it nicer than it is at the moment.

What is currently missing is Aborting and the addRoute function looks
very ugly.
2014-08-01 07:58:33 +02:00
Gibheer
7a5cbc3c7a initial commit for routing 2014-07-22 21:27:39 +02:00
Gibheer
2bea1df808 prepare for rebuilding
This is in preparation of remodeling the blog in go.
2014-07-22 20:25:11 +02:00
Gibheer
ea72da5259 rework post controller
To handle errors correctly the post controller needed some rework. Now
instead of single functions running all around the place, there is one
function collecting the data needed and raising errors when needed.

For that to work, the controller class can now return more classes to
keep the chain going. Unless a class is returned, it will call the
renderer.
2014-02-13 22:38:42 +01:00
Gibheer
ee464a5c15 load render 2014-01-23 22:00:11 +01:00
Gibheer
11ac9461c2 add new helper and implement search
This adds fulltext search for blog posts. Together with the render
object this creates a new possibility to extend the blog.
2014-01-23 21:59:24 +01:00
Gibheer
5b54051db6 fix namespace leak 2013-10-27 19:46:02 +01:00
Gibheer
6c1cb50af0 add layouts to renderer
The renderer is now able to render templates in the context of their
layouts.
2013-10-27 19:45:12 +01:00
Gibheer
5a65a3dc40 reroute atom controller to post
This is not really good, but okay for the moment until the template is
extracted into its own namespace.
2013-10-27 13:39:44 +01:00
Gibheer
1e26faa84a extend regex for catching files 2013-10-27 13:09:44 +01:00
Gibheer
fb3d0b51c0 add markdown support
This is to pretty print the markdown posts.
2013-10-26 22:36:17 +02:00
Gibheer
30b931aa3f fix content type of the result 2013-10-26 12:33:30 +02:00
Gibheer
d9ea69f026 add database support 2013-10-26 12:33:15 +02:00
Gibheer
b79d967a55 remove debug output 2013-10-20 22:08:56 +02:00
Gibheer
2ac3320d34 the beginning of a new blog 2013-10-20 22:04:01 +02:00