Commit Graph

308 Commits

Author SHA1 Message Date
72c764f74c Also process the last variable in HTMLTemplate::process_template_expression(). 2024-02-26 13:22:54 +01:00
b0a72e933d HTMLTemplate::process_template_expression() initial implementation. 2024-02-26 13:11:31 +01:00
0d2fceecf0 Fix errors in HTMLTemplate::render_template. 2024-02-26 12:02:04 +01:00
d3535ef0ca Strip the expression string before passing it to process_template_expression(). 2024-02-26 11:56:30 +01:00
81c8e4aa75 Removed WebServerRequest parameter from get_and_render_template() in HTMLTemplate. 2024-02-26 11:56:01 +01:00
2fe82c604c Fix binds in HTMLTemplate. 2024-02-26 11:52:13 +01:00
af492fc79e HTMLTemplate template processing part 1. 2024-02-26 11:36:13 +01:00
89f9faa0e2 Added docs for the new classes. (Except for variable substitution rules, as those are not yet done.) 2024-02-25 23:37:46 +01:00
bf15aa0f87 Don't create empty keys. 2024-02-25 22:34:48 +01:00
0e9a926365 Fixed a few smaller typos. 2024-02-25 22:33:17 +01:00
66e0daf383 Created a built in editor using PROPERTY_HINT_BUTTON-s from HTMLTemplates. 2024-02-25 22:11:17 +01:00
c6c864a683 Hide template_overrides and template_defaults property from the inspector in HTMLTemplate. 2024-02-25 20:43:38 +01:00
ce638a69c1 Now HTMLTemplateDataEditorPlugin will only handle HTMLTemplateDatas, if they are on disk. 2024-02-25 19:25:58 +01:00
35e328576a Set up docs for the new classes. 2024-02-25 19:17:06 +01:00
87920a4ed7 Initial HTMLTemplate class setup. 2024-02-25 19:15:34 +01:00
5c9996fd58 Added an editor plugin for HTMLTemplateData. Double clicking one in the editor will open the underlying file on the text editor tab (if enabled). 2024-02-25 17:26:28 +01:00
83facbff3b Fix issues with HTMLTemplateData loading and serialization. 2024-02-25 16:33:53 +01:00
08864f0a25 Added an importer for HTMLTemplateData. 2024-02-25 16:23:36 +01:00
eca4475f2d Implemented HTMLTemplateData. 2024-02-25 15:55:42 +01:00
fb005f970e Added HTMLTemplate and HTMLTemplateData classes. 2024-02-25 14:54:50 +01:00
0edc5438dd Re-extracted class docs. 2024-02-25 10:26:26 +01:00
2400b14bb9 Fix FileCache for files in .pck-s. 2024-02-16 22:12:17 +01:00
b324675489 Removed the old SMTPClient class docs. 2024-01-10 20:12:36 +01:00
8e5ffcc9f1 Removed SMTPClient as the original code's license is unknown. 2024-01-10 19:37:39 +01:00
20ec9e2043 Fixed generating urls in BrowsableFolderServeWebPage. 2024-01-02 10:56:10 +01:00
2effb794fd Fixed typo. 2024-01-02 10:55:42 +01:00
f927e2db73 Ran the clang format script. 2023-12-25 20:27:28 +01:00
1f291939e9 Now PagedArticleWebPage won't add the summary page to the list of pages you can switch to. 2023-12-24 20:33:18 +01:00
db08e3c8b9 Re-extracted class docs. 2023-12-23 00:54:40 +01:00
094b1fe752 Bind the send_mail method. 2023-12-23 00:53:42 +01:00
2bd9eb6468 Implemented SMTPClient based on https://github.com/Relintai/smtp_node . 2023-12-23 00:50:09 +01:00
85d60b67e8 Created SMTPClient class. 2023-12-22 20:29:15 +01:00
0d6f38b317 Re-extracted class docs. 2023-12-22 19:49:04 +01:00
cd34883d79 Completely removed the cached path api from FileCache. 2023-12-22 19:37:23 +01:00
ca9249b5cf Started reworking filecache to have an immediate file path mode. Non-immediate mode will be removed in next commit, saving the work in case it's needed later. 2023-12-22 19:29:48 +01:00
a781853b2b Added a way to get all available marameter keys to WebServerRequest. 2023-12-22 13:14:17 +01:00
e5719c991b Store incoming http request parameters properly. 2023-12-22 13:02:17 +01:00
df2859b9d0 Added a way to unregister connections and get out their raw connection data from the http server. 2023-12-22 12:38:38 +01:00
98912a89e8 File copyright header updates pt9. 2023-12-18 00:25:33 +01:00
3afe20bdc7 More old copyright header cleanups. 2023-12-17 23:24:10 +01:00
5088d32fa0 Removed my old copyright headers. 2023-12-17 22:59:50 +01:00
93a2081a58 Re-extracted class docs. 2023-10-12 01:59:32 +02:00
56ae9e3734 Fix typos. 2023-09-22 16:21:37 +02:00
23c793a488 Fix counting children even if the server is running in WebServer::get_configuration_warning(). 2023-08-30 15:18:41 +02:00
8ed3b41865 Re-extracted class docs. 2023-08-26 22:41:21 +02:00
b4fe2b0d38 Added a way to customize the doctype declaration the html tag and the body tag to WebServerRequest. 2023-07-24 17:37:34 +02:00
f28b6c0c07 Fix crash in WebServerRequest::get_url_root(). 2023-07-22 00:34:08 +02:00
b68bbd3bfb Implemented custom response headers for WebServerRequest. 2023-07-08 21:11:56 +02:00
24df83cd32 Added more newly extracted class docs. 2023-06-13 17:55:03 +02:00
8d679355df Re-extracted class docs pt3. 2023-06-13 17:34:41 +02:00