Commit Graph

15 Commits

Author SHA1 Message Date
Relintai 4ea3702768 Added and implemented a HTML builder. 2020-12-11 19:55:19 +01:00
Relintai 195f8db964 Added a head and body string to Request, and removed themes. I think themes added unnecessary complexity, and code non-locality (The view methods would have been in a different class.). I think in a language which have headers this is unwanted (The code will be broken up with the mvc pattern, but the methods don't need to be in separate classes.). Themes are still easily implementable by either adding different css links to the new head variable, or by inheritance. 2020-12-11 16:54:41 +01:00
Relintai b063237399 Initial TableBuilder implementation, and simple migrations. 2020-12-01 23:37:10 +01:00
Relintai 663ddb5bc9 Started work on the mysql database implementation. Mostly tests. 2020-12-01 18:29:41 +01:00
Relintai 6dd235c077 MessagePage setup. 2020-12-01 17:01:59 +01:00
Relintai 65f7f3a6b2 Now handlers need to have a new Object* parameter, this can be used to optionally carry class instances. (think of it as self in python object methods, except it can be null). 2020-12-01 12:56:04 +01:00
Relintai c3922e17d2 Moved routing to a middleware, so it's easily customizable, and also it is now able to do async things. 2020-11-26 12:10:21 +01:00
Relintai 40471f0525 Now the request handling/middlewares work in a fully async way. 2020-11-26 12:02:58 +01:00
Relintai 566717c075 Now requests have to be sent manually, with a new send() method. This makes it possible to handle requests in a full on async callback-like way. 2020-11-26 11:26:02 +01:00
Relintai 758c94c8af Turn off the test middleware. 2020-11-25 21:05:26 +01:00
Relintai 19fa2b5e67 Implement Themes, and fix middlewares. 2020-11-25 21:00:22 +01:00
Relintai 8ba886b558 Fix shadowed local. 2020-11-25 14:56:01 +01:00
Relintai 4e98d05bd5 Implemented body caching and cleanups to FileCache. 2020-11-25 14:53:53 +01:00
Relintai c53c3dbfc3 Renamed the framework folder to core. 2020-11-25 13:28:34 +01:00
Relintai 4364fb9da8 Basic structure. Also added tinydir. 2020-11-25 00:20:41 +01:00