Commit Graph

342 Commits

Author SHA1 Message Date
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
f058c87868 Backported from godot4: Rework Navigation Avoidance
Rework Navigation Avoidance.
- smix8
a6ac305f96
2023-06-10 20:58:49 +02:00
97f5037c8b Renamed the object() method in HTMLBuilder as it can cause issues with bind generators. 2023-06-01 16:51:08 +02:00
d093365b00 Fix some property names being the same as getters / setters. 2023-06-01 15:42:32 +02:00
53ddc7796f Quick fix for accessing files in the pck file for FileCaches. 2023-03-22 14:30:07 +01:00
b92d4f19ca Refresh the file cache in WebRoot on NOTIFICATION_READY. 2023-03-22 14:29:09 +01:00
eb33d812d0 Added missing helper method to WebServerRequest. 2023-03-22 13:22:32 +01:00
3fccbc6d23 Now post and get parameters can be set / changed in requests from scripts aswell. 2023-03-22 13:20:25 +01:00
23d01a29ce Use the size struct member when parsing markdown in MarkdownRenderer. 2023-03-22 01:43:45 +01:00
0ed384eb1c Fix handling utf-8 in the MarkdownRenderer. 2023-03-21 21:22:36 +01:00
8191319e2f Improved PagedArticleWebPage's api. 2023-03-21 21:07:00 +01:00
2591231bbe Fixed more cases of using String.size() instead of String.length(). 2023-03-20 21:24:51 +01:00
c356806ebf Ported: Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighter
- Extacted all syntax highlighting code from text edit
- Removed enable syntax highlighting from text edit
- Added line_edited_from signal to text_edit
- Renamed get/set_syntax_highlighting to get/set_syntax_highlighter
- Added EditorSyntaxHighligher
- Paulb23
bc4cee4458
2023-02-21 01:30:59 +01:00
1b0aac6028 Renamed Map to RBMap. 2023-01-15 19:12:50 +01:00
227e32b67c Now modules make use of the new registration levels. 2023-01-15 17:04:00 +01:00
e9a19c1a66 Added module initialization levels (similar idea to what's in godot4, although I added more). 2023-01-15 11:46:13 +01:00
fc991ede18 Re-extracted class docs. 2023-01-14 13:38:58 +01:00
5b2fc25338 Added missing binds in FileCache. 2023-01-04 00:40:28 +01:00
238bc63087 Added a new WebServerRequestScriptable class, so different web server request implementations can be created using scripts when needed. 2023-01-03 21:27:36 +01:00
0c3b684da7 Small tweak. 2022-12-31 22:00:37 +01:00
61f343d58b Added COPYRIGHT.txt to the web module. 2022-12-31 21:57:06 +01:00
b240df7df6 Updated more copyright headers for 2023. 2022-12-31 21:07:05 +01:00
b46ab0f4a7 Updated copyright headers to 2023. 2022-12-31 19:34:43 +01:00
213f393293 Fix typos with codespell. 2022-12-22 19:51:25 +01:00
cc7d77f3e1 Re-extracted class docs. 2022-12-22 19:28:17 +01:00
df6186524a Ensure a '/' in between the host, and the url in WebServerRequest::get_url_site(). 2022-12-21 15:12:53 +01:00
ea009ff869 Use String.length() instead of String.size() in WebServerRequest::setup_url_stack(). 2022-12-21 15:12:12 +01:00
38a36b3c70 Added get request parameter support for WebServerRequest. 2022-12-21 14:52:11 +01:00
a19be9b170 Small cleanups. 2022-12-18 17:00:11 +01:00
7eed422442 Also added tag() and ctag() helpers to the c++ side HTMLBuilder, and smaller cleanups. 2022-12-18 16:53:23 +01:00
f9ef920ec5 Added new tag() and ctag() universal tag helpers to the HTMLBuilder binder class. 2022-12-18 16:48:19 +01:00
47ac5e2668 Added a null check to HTTPSessionManagerDB, and small cleanups. 2022-12-18 14:59:40 +01:00
b8b51e7525 Use error macros in HTTPSessionManager and HTTPSessionManagerDB. 2022-12-18 14:28:38 +01:00
225e3ff79c Update the migration methods in HTTPSessionManagerDB. 2022-12-18 14:24:50 +01:00
db51b273a7 Set up inheritance and virtuals for HTTPSessionManagerDB and HTTPSessionManager. 2022-12-18 14:22:21 +01:00
9aced75966 Added HTTPSessionManagerDB using the disabled code in HTTPSessionManager, and cleaned up it's logic. 2022-12-18 14:03:07 +01:00
41f130d9fd Re-extracted the class docs. 2022-11-20 23:27:04 +01:00
6c0008a912 Added custom Paint, Web, and Mesh (MDI) nodes to the SceneTreeDock. 2022-11-20 23:16:20 +01:00
b6624bf30b Re-extracted class docs. 2022-09-10 04:18:55 +02:00
8277e89075 Fix requesting write locks in WebNodes. 2022-08-26 17:22:20 +02:00
0cfc5ed610 Added enctype and multipart form helpers to HTMLTag. 2022-08-26 12:02:57 +02:00
1f8581edd8 Added rows and cols to HTMLTag. 2022-08-26 11:49:22 +02:00
f1e5f3d062 Fix docs mentioning an old behaviour. 2022-08-25 21:14:21 +02:00
31b5135877 Fix default argument for the binding of WebServerRequest::send_redirect. 2022-08-25 21:13:26 +02:00
658cbb806d Fix: WebPermission was meant to be a Resource. 2022-08-25 21:12:52 +02:00
f4b7a3b378 Also made it a singleton. 2022-08-23 15:23:34 +02:00
e6adf5aad5 Added an extension api for the WebNodeEditor. 2022-08-23 15:20:56 +02:00
285fe5cd82 Renamed WebEditor* to WebNodeEditor*. 2022-08-23 13:27:59 +02:00
5e64462049 Renamed the web editor's files. 2022-08-23 13:24:31 +02:00
bfc1679f14 Actually register EditorInterface, SpatialEditor, CanvasItemEditor, and WebNodeEditor as globals. 2022-08-23 13:21:09 +02:00
a1974c8338 Re-extracted the class docs. 2022-08-23 13:09:12 +02:00
d505f3e59f Call the proper method to render the menu. 2022-08-22 14:29:40 +02:00
ae19991c63 Added descriptions and brief descriptions for most of the classes in the web module. 2022-08-22 00:01:10 +02:00
88df1db348 Fix typo. 2022-08-21 23:11:59 +02:00
ba0248ae5e Added docs for RedirectWebPage, and AliasWebPage. 2022-08-21 23:09:57 +02:00
5b16231128 Added docs for FolderServeWebPage, and BrowsableFolderServeWebPage. 2022-08-21 23:04:56 +02:00
25230bee02 Added docs for PagedArticlesWebPage. 2022-08-21 22:53:50 +02:00
8cd72fc8d8 Added docs for PagedArticleWebPage. 2022-08-21 22:46:32 +02:00
fe5e0231c5 Added docs for ListWebPage. 2022-08-21 22:23:59 +02:00
82affed801 Added docs for StaticWebPage and it's derived classes. 2022-08-21 22:02:26 +02:00
1e604b13fb Added method and property descriptions for WebServerRequest's docs. 2022-08-21 21:37:53 +02:00
b095a48ace Fix the logic of get_url_site(). Also small binding cleanups. 2022-08-21 21:37:00 +02:00
46ee607d18 Fixed a few typos. 2022-08-21 18:24:36 +02:00
70cc269b40 Added docs for WebServer. 2022-08-21 18:24:20 +02:00
0c9e77aab4 Added docs for WebPermission. 2022-08-21 18:09:23 +02:00
ab3ae5fdd4 Added docs for CSRFTokenWebServerMiddleware. 2022-08-21 17:46:17 +02:00
c6b1406ed7 Added docs for WebServerMiddleware. 2022-08-21 17:31:01 +02:00