Commit Graph

14 Commits

Author SHA1 Message Date
1bb16134ad Made the routing getter and setter virtual. 2022-02-04 20:18:52 +01:00
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
65892ddd5a Added get_parent_webnode, get_full_uri, and get_full_uri_parent helpers to WebNode. 2022-02-04 15:54:21 +01:00
6416ecc5e0 Reworked migrations. Now they automatically propagate through the node hierarchy. Also they have parameters. 2022-01-13 23:45:38 +01:00
127219fe34 Added more helper methods to WebNode. Also a render_menu() virtual. 2022-01-13 22:58:59 +01:00
f498628ee1 Split handle_request_main into handle_request_main and _handle_request_main. _handle_request_main should be responsible for actually rendering a page, while the normal one is responsible for routing by default. This makes the design simpler. 2022-01-09 18:35:12 +01:00
d873312915 Moved get_server from WebRoot to WebNode. 2022-01-08 12:00:12 +01:00
fd106fc785 Reworked error handling. 2022-01-08 11:47:39 +01:00
01a5e1881d Started reworking routing. 2022-01-08 10:50:07 +01:00
3704c031f2 Added lots of missing RCPP_OBJECT declarations. 2022-01-08 10:04:12 +01:00
7117cb3988 Added settings and database helpers to WebNode. 2022-01-07 17:16:24 +01:00
b5a477f917 Added create_default_entries() to WebNode. 2022-01-07 17:02:47 +01:00
5b7cdd3829 WebNode now inherits from Node. 2022-01-07 16:57:13 +01:00
78c5601a9b Merged Model and Controller into a new WebNode class. 2022-01-07 16:36:39 +01:00