Commit Graph

324 Commits

Author SHA1 Message Date
f09ab537e0 Clang-format everything. 2024-04-21 15:27:36 +02:00
fb99db4585 Re-extracted class docs. 2024-03-10 10:36:13 +01:00
6f81a15fc0 Various doc fixes. 2024-03-10 10:10:02 +01:00
3f4cc73caa Updated docs for FileCache. 2024-03-10 10:09:19 +01:00
74c46ccfda Fix uninitialized variable. 2024-03-10 10:04:23 +01:00
27d97cf766 Added optional force parameter to WebServerRequest::move_file(). Also various fixes and improvements to the new upload temp file system. 2024-03-10 09:07:13 +01:00
6addb02bbb Added new wwwroot_get_simplified_abs_path() helper to FileCache. Also improved the other path helper methods. 2024-03-10 08:21:24 +01:00
f86c6440fb - Now WebServerSimple can also use temporary files for uploads.
- Added move_file() and is_file_moved()  helper methods to WebServerRequest.
- get_file_length() in WebServerRequest now returns uint64_t.
- Removed parse_files() from WebServerRequest. It's doesn't work well with how the http protocol works.
2024-03-09 23:39:33 +01:00
2b85fcdbb5 Backported ViewPanner from Godot4. It also got bindings, now inherited from Resource, and is registered in the ClassDB. 2024-03-01 22:39:19 +01:00
6a6d3acd96 Clang format everything. 2024-03-01 11:56:19 +01:00
df4379d766 Added a parameter to HTMLTemplate::process_template_expression_variable() to be able to control when to emit errors if a variable is not set. Now this is used when checking for the first argument for the q template method variants. 2024-02-26 21:58:35 +01:00
aa854f049a Updated the docs form HTMLTemplate. 2024-02-26 21:33:40 +01:00
aef18dd4f1 Fix 2 off-by-one errors. 2024-02-26 21:31:17 +01:00
6ea807be26 Added a q variant from all template methods. These use their first argument to decide whether to print anything or not. 2024-02-26 21:27:20 +01:00
af2ef6476e Document the new methods, also expression substitution. 2024-02-26 19:03:39 +01:00
984465ee0c Finished HTMLTemplate's template substitution implementation. 2024-02-26 18:16:25 +01:00
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