Commit Graph

466 Commits

Author SHA1 Message Date
Relintai ef18e705f4 Added a new Middleware class. 2022-01-08 12:05:33 +01:00
Relintai d873312915 Moved get_server from WebRoot to WebNode. 2022-01-08 12:00:12 +01:00
Relintai f00e5c5c9e Now the root node's type inthe webserver is a WebNode instead of a WebRoot. 2022-01-08 11:58:35 +01:00
Relintai 163432e147 Make WebRoot use the new error handling system. 2022-01-08 11:51:39 +01:00
Relintai fd106fc785 Reworked error handling. 2022-01-08 11:47:39 +01:00
Relintai 413e9efbc8 Implement setting http status codes. 2022-01-08 11:42:57 +01:00
Relintai e0b76706d9 Implemented the new node based routing. 2022-01-08 11:27:26 +01:00
Relintai 01a5e1881d Started reworking routing. 2022-01-08 10:50:07 +01:00
Relintai 10d3f2fd87 Added a new WebRouterNode (skeleton), and made WebRoot inherit from it. 2022-01-08 10:06:11 +01:00
Relintai 3704c031f2 Added lots of missing RCPP_OBJECT declarations. 2022-01-08 10:04:12 +01:00
Relintai f2458084e6 Add todo. 2022-01-07 23:25:30 +01:00
Relintai d9c36d0a4e Added an input_hidden helper. 2022-01-07 22:58:12 +01:00
Relintai 2482e66c12 Format UserController. 2022-01-07 22:48:32 +01:00
Relintai f23b9f9748 Renamed DWebApplication to DrogonWebServer. 2022-01-07 20:14:07 +01:00
Relintai 2133be9254 Removed brynet. 2022-01-07 20:11:34 +01:00
Relintai 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
Relintai 3133ecdb08 Node and NodeTree implementations. 2022-01-07 19:28:16 +01:00
Relintai 37d5c0fec8 Merged UserControllers and UserModels. 2022-01-07 17:50:39 +01:00
Relintai 0e95b8f945 Merged RBACController with RBACModel. 2022-01-07 17:33:22 +01:00
Relintai 7117cb3988 Added settings and database helpers to WebNode. 2022-01-07 17:16:24 +01:00
Relintai 3eb128264d Also commit the .cpp file. 2022-01-07 17:03:21 +01:00
Relintai b5a477f917 Added create_default_entries() to WebNode. 2022-01-07 17:02:47 +01:00
Relintai 5b7cdd3829 WebNode now inherits from Node. 2022-01-07 16:57:13 +01:00
Relintai ad55c03d59 Added a nodetree and a node skeleton classes. With a few notes. 2022-01-07 16:56:26 +01:00
Relintai 78c5601a9b Merged Model and Controller into a new WebNode class. 2022-01-07 16:36:39 +01:00
Relintai 937d7a3d87 Added double alternative for a few Variant methods. 2022-01-06 19:33:46 +01:00
Relintai 3533145133 Added a new database based settings class. 2022-01-06 19:30:02 +01:00
Relintai fa6c1281b9 Settings now inherits from Object. 2022-01-06 18:58:25 +01:00
Relintai 86f19a3353 Added a setter to Settings. 2022-01-06 18:51:50 +01:00
Relintai 2db1a0693e Parse the string in Settings. Also added an another getter. 2022-01-06 18:49:42 +01:00
Relintai b8442280dd Implement parse for variants. 2022-01-06 18:47:03 +01:00
Relintai 3d81df493c Now the settings class uses Variants. 2022-01-06 18:36:31 +01:00
Relintai 4a3fca736d Fully implement Variant. 2022-01-06 18:34:48 +01:00
Relintai e87165e4d9 Started working on a Variant class. 2022-01-06 16:01:13 +01:00
Relintai cfd1ecf718 Moved the settings class to a subfolder. 2022-01-06 11:59:42 +01:00
Relintai 9ed17fe193 Implemented request matching for the rbac system. 2022-01-06 11:49:35 +01:00
Relintai c934d36dcf Set up the new permission handling methods for RBACUser. 2022-01-06 11:34:53 +01:00
Relintai 839e5ef674 Added generic permission support to the User. 2022-01-06 11:12:43 +01:00
Relintai 86b890eb8f Added order_by to the QueryBuilder. 2021-11-21 16:14:31 +01:00
Relintai e79ddd1b4a Add size check to string to number conversion methods. 2021-11-21 15:29:44 +01:00
Relintai 557c2a3934 Inherit WebApplication from Object. 2021-11-21 14:40:47 +01:00
Relintai e32593da4c Fix edge cases during parsing <script> tags with in-html code. 2021-11-21 12:32:36 +01:00
Relintai 78f09b5fab Add is_word_at helper methods to string. 2021-11-21 12:32:02 +01:00
Relintai 35fd8d7894 Fix an another indexing edge case. 2021-11-21 11:15:21 +01:00
Relintai 4a947d39b0 Fix index calculations for comments in HTMLParser. 2021-11-21 11:04:39 +01:00
Relintai f9dcd088d0 Added more helpers to string, and fixed a bug in replace_from. 2021-11-20 21:39:30 +01:00
Relintai ff8790f81d Implemented a few helpers for the HTMLParser. 2021-11-20 20:53:17 +01:00
Relintai da6d18beef String.find() now correctly finds equality aswell. 2021-11-20 20:52:23 +01:00
Relintai 97af1dbde3 Added USE_OPENSSL define if openssl is found for the drogon module. 2021-11-20 19:20:32 +01:00
Relintai 64a1352f97 Added text to TableBuilder. 2021-11-20 01:39:52 +01:00