Commit Graph

256 Commits

Author SHA1 Message Date
f2458084e6 Add todo. 2022-01-07 23:25:30 +01:00
d9c36d0a4e Added an input_hidden helper. 2022-01-07 22:58:12 +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
3133ecdb08 Node and NodeTree implementations. 2022-01-07 19:28:16 +01:00
7117cb3988 Added settings and database helpers to WebNode. 2022-01-07 17:16:24 +01:00
3eb128264d Also commit the .cpp file. 2022-01-07 17:03:21 +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
ad55c03d59 Added a nodetree and a node skeleton classes. With a few notes. 2022-01-07 16:56:26 +01:00
78c5601a9b Merged Model and Controller into a new WebNode class. 2022-01-07 16:36:39 +01:00
937d7a3d87 Added double alternative for a few Variant methods. 2022-01-06 19:33:46 +01:00
3533145133 Added a new database based settings class. 2022-01-06 19:30:02 +01:00
fa6c1281b9 Settings now inherits from Object. 2022-01-06 18:58:25 +01:00
86f19a3353 Added a setter to Settings. 2022-01-06 18:51:50 +01:00
2db1a0693e Parse the string in Settings. Also added an another getter. 2022-01-06 18:49:42 +01:00
b8442280dd Implement parse for variants. 2022-01-06 18:47:03 +01:00
3d81df493c Now the settings class uses Variants. 2022-01-06 18:36:31 +01:00
4a3fca736d Fully implement Variant. 2022-01-06 18:34:48 +01:00
e87165e4d9 Started working on a Variant class. 2022-01-06 16:01:13 +01:00
cfd1ecf718 Moved the settings class to a subfolder. 2022-01-06 11:59:42 +01:00
9ed17fe193 Implemented request matching for the rbac system. 2022-01-06 11:49:35 +01:00
86b890eb8f Added order_by to the QueryBuilder. 2021-11-21 16:14:31 +01:00
e79ddd1b4a Add size check to string to number conversion methods. 2021-11-21 15:29:44 +01:00
557c2a3934 Inherit WebApplication from Object. 2021-11-21 14:40:47 +01:00
e32593da4c Fix edge cases during parsing <script> tags with in-html code. 2021-11-21 12:32:36 +01:00
78f09b5fab Add is_word_at helper methods to string. 2021-11-21 12:32:02 +01:00
35fd8d7894 Fix an another indexing edge case. 2021-11-21 11:15:21 +01:00
4a947d39b0 Fix index calculations for comments in HTMLParser. 2021-11-21 11:04:39 +01:00
f9dcd088d0 Added more helpers to string, and fixed a bug in replace_from. 2021-11-20 21:39:30 +01:00
ff8790f81d Implemented a few helpers for the HTMLParser. 2021-11-20 20:53:17 +01:00
da6d18beef String.find() now correctly finds equality aswell. 2021-11-20 20:52:23 +01:00
64a1352f97 Added text to TableBuilder. 2021-11-20 01:39:52 +01:00
38b95e4ac8 fix get_slice. 2021-11-19 22:55:52 +01:00
4acfa61f58 Same change for the other get_slice_count. 2021-11-19 22:47:03 +01:00
6bfc78ec49 get_slice_count should return 1 by default. 2021-11-19 22:38:31 +01:00
cefea40d45 Removed an another stray print. 2021-11-19 22:32:15 +01:00
5f17d90676 Removed stray prints. 2021-11-19 20:03:17 +01:00
eaa7232559 The settings class now uses a simple ini format. 2021-11-19 20:02:59 +01:00
47545dc181 Added lots of helpers to the string. 2021-11-19 20:02:16 +01:00
f1965f4bd5 Added 3 helper methods. 2021-11-19 08:10:00 +01:00
f5afa7eb8e Remove stray print. 2021-11-18 23:14:08 +01:00
000174f3c8 Now the HTMLParser builds up the HTML hierarchy correctly. Also prettified to_string's output. 2021-11-18 13:50:20 +01:00
1237d3da2a Added append_repeat to the string. 2021-11-18 13:49:41 +01:00
2dac93662c Inproved HTMLParserTag's to_string a bit. 2021-11-18 12:21:47 +01:00
7ce989d12b Don't leak memory. 2021-11-18 12:07:28 +01:00
c23afa0332 Implemented to_string, and print for HTMLParser. also indexing fixes, and changed attributes and tags into pointers. 2021-11-18 12:03:43 +01:00
65ddfe2353 Call process right when it's needed. 2021-11-18 11:19:11 +01:00
ae3b14ad0c Fixed the parse_args method. 2021-11-18 11:18:05 +01:00
43a7185e23 A bit more work on fixing the html argument parser's indexing. 2021-11-18 07:18:35 +01:00
1fcc47b353 Added a new HTMLParser class. Still WIP. 2021-11-18 00:59:21 +01:00