Commit Graph

16 Commits

Author SHA1 Message Date
7bd1b372ea Merged WebRouterNode into WebNode. Also added a way to turn it off in case it's needed. It's too useful to not have it on all nodes. 2022-02-04 20:15:45 +01:00
73df53418a Process middleware now returns a bool, and processing the request now actually stops if a middleware returns true, as intended. 2022-01-09 16:03:27 +01:00
d380d14152 Move middleware processing to a helper method. 2022-01-08 13:09:12 +01:00
3809ca5a38 Rename UserController's main handler method to the new proper one. 2022-01-08 12:49:34 +01:00
90d62dbef7 Replaced std::strings with String in WebRoot. 2022-01-08 12:41:15 +01:00
159c784689 Removed HandlerInstance. 2022-01-08 12:39:04 +01:00
dff3156138 Cleaned up WebRoot. 2022-01-08 12:35:44 +01:00
ec2eabacc1 Implemented middleware handling. Also converted middleware handlers to the new stystem. 2022-01-08 12:25:52 +01:00
ef18e705f4 Added a new Middleware class. 2022-01-08 12:05:33 +01:00
d873312915 Moved get_server from WebRoot to WebNode. 2022-01-08 12:00:12 +01:00
163432e147 Make WebRoot use the new error handling system. 2022-01-08 11:51:39 +01:00
fd106fc785 Reworked error handling. 2022-01-08 11:47:39 +01:00
e0b76706d9 Implemented the new node based routing. 2022-01-08 11:27:26 +01:00
01a5e1881d Started reworking routing. 2022-01-08 10:50:07 +01:00
10d3f2fd87 Added a new WebRouterNode (skeleton), and made WebRoot inherit from it. 2022-01-08 10:06:11 +01:00
a1afe210d1 Split WebApplication into WebServer and WebRoot. WebServer inherits from NodeTree, and WebRoot inherits from WebNode. Also removed some of the brynet classes. 2022-01-07 20:11:06 +01:00