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
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
2effb794fd
Fixed typo.
2024-01-02 10:55:42 +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
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
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
f058c87868
Backported from godot4: Rework Navigation Avoidance
...
Rework Navigation Avoidance.
- smix8
a6ac305f96
2023-06-10 20:58:49 +02: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
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
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
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
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
db51b273a7
Set up inheritance and virtuals for HTTPSessionManagerDB and HTTPSessionManager.
2022-12-18 14:22:21 +01:00
8277e89075
Fix requesting write locks in WebNodes.
2022-08-26 17:22:20 +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
b095a48ace
Fix the logic of get_url_site(). Also small binding cleanups.
2022-08-21 21:37:00 +02:00
be16fe23ad
Moved the error macros.
2022-08-17 15:14:19 +02:00
220b2db443
Moved String and related classes under a string folder in core.
2022-08-17 14:19:55 +02:00
dc9cc716c7
Moved Object related classes under core/object.
2022-08-17 13:45:14 +02:00
9555ee56b9
Moved Variant related classes under a variant folder in core.
2022-08-17 13:17:12 +02:00
388b88678e
Moved container related classes in core under a new containers directory.
2022-08-17 12:53:49 +02:00
e71e3ed897
Now Vector4, Vector4i, Projection, PoolVector4Array, PoolVector4iArray, are built in variant types. Also reordered the Variant's Type enum, renamed _RID in it to RID, fixed a few smaller issues and removed some very old compat code.
2022-08-16 21:55:56 +02:00
40ed18dd0d
Remove accidental import.
2022-07-31 00:02:31 +02:00
c4e7bc1c45
Reused the old unused PROPERTY_HINT_SPRITE_FRAMES as PROPERTY_HINT_BUTTON. It allows you to add buttons to the inspectors.
2022-07-31 00:01:58 +02:00
249dd4d661
Updated property hints for variant arrays.
2022-07-30 21:58:40 +02:00
299f714ed9
Fix memory allocation using new int HTTPSessionManager. Also small cleanups.
2022-07-23 22:37:11 +02:00
40df361d7c
Implemented UserWebPage.
2022-07-23 19:29:51 +02:00
41d32e3b35
Reimplemented migrations support.
2022-07-23 14:46:05 +02:00
cf3c24381d
Improve the binds in WebServer.
2022-07-22 12:05:05 +02:00
30e3fd8faf
Fix typo.
2022-07-21 23:58:34 +02:00
a791c8f4b8
HTTPSession's get_int now has a default parameter.
2022-07-21 23:55:33 +02:00
31ee15432b
Notes.
2022-07-21 23:31:37 +02:00
5d260fd68d
Cleanups to WebServerRequest.
2022-07-21 23:25:04 +02:00
ed9aa722a3
Actually bind get_server(), and get_web_root() in WebServerRequest.
2022-07-21 22:37:55 +02:00