Commit Graph

984 Commits

Author SHA1 Message Date
afef61dabf Re-enabled database support for WebNodes. 2022-07-06 23:03:44 +02:00
25e0c1097a Disable warning. 2022-07-06 22:34:07 +02:00
8712507a20 Updated sqlite, it seems like they fixed all warnings. 2022-07-06 22:23:10 +02:00
9731e52130 Removed 2 lines that I thought would work. 2022-07-06 22:22:16 +02:00
d02d86aedc Fully cleaned and added the sqlite database backend to the build. 2022-07-06 22:14:37 +02:00
2a5e0ae0f8 Ported https://github.com/godotengine/godot/pull/53443 . 2022-07-06 18:37:38 +02:00
de1e07daf4 Work on getting the sqlite module to compile. 2022-07-06 18:26:17 +02:00
07af5c285c Moved the database backends into their own modules. All of them are disabled for now. 2022-07-06 13:13:00 +02:00
8422566d28 Moved the settings classes fomr the database module to the web module. 2022-07-06 12:59:34 +02:00
14b0d60d70 Fix duplicate binds. 2022-07-06 12:53:54 +02:00
66587299a8 Added the database classes to the build. 2022-07-06 12:46:22 +02:00
6389a5714d Added multi threaded and single threaded Database base classes. 2022-07-06 10:11:17 +02:00
42501c339f Added owner support for the DatabaseConnection. 2022-07-06 09:44:02 +02:00
be6ec3ee61 Separated Database and DatabaseConnection into different files. 2022-07-06 09:33:57 +02:00
2ec4fe922f Broke up Database into 2 classes, to be able to better handle multi threading for the database systems that work better with having a connection for each thread. Haven't yet tested which backends would work better like this though. 2022-07-06 09:30:50 +02:00
b26ad4cab9 Cleaned up and added bindings for Database. 2022-07-06 09:17:49 +02:00
d5f5e9fec9 More cleanups. 2022-07-05 23:30:14 +02:00
134d94af5f Finished cleaning up QueryBuilder. 2022-07-05 23:05:07 +02:00
f9bbf772ca Work on cleaning up QueryBuilder. 2022-07-05 20:34:12 +02:00
5c1a702722 Cleaned up QueryResult. 2022-07-05 20:01:15 +02:00
614129ce2f Clenaed up table builder, and added bindings for it. I also reworked it's api a bit. I don't think anyone will implement databases using gdscript, so I did it a bit differently than usual. Also if the need arises, a subclass can be implemented that is implementable through scripting.O 2022-07-05 19:42:27 +02:00
e9938cfefa Initial database module setup. 2022-07-05 14:45:45 +02:00
d2c0941c42 Fix missing include. 2022-07-04 20:46:26 +02:00
189348169e Added bindings for the FormValidators, and added them to the build. 2022-07-04 20:43:39 +02:00
d4e26c33fa Added getters and setters for the FormValidators. 2022-07-04 19:48:38 +02:00
215194695d Added a few thigs to the TODO list. 2022-07-04 13:04:00 +02:00
aa74fb8149 More work on a proper bindable api for the FormValidators. 2022-07-03 21:24:23 +02:00
d2925182fa Cleaned up FormValidators, and reworked their api to fit the engine better. 2022-07-03 20:27:22 +02:00
f3a290e005 Also cleaned up and added my BBCodeParser to the build. 2022-07-03 18:40:05 +02:00
29480135c1 Cleaned up and added HTMLParser to the build. I'll make bindings for it later. 2022-07-03 18:13:41 +02:00
899e3b671d Use memnew() instead of new. 2022-07-03 17:35:07 +02:00
b8d602f847 Added a new helper method to DirAccess. 2022-07-03 17:29:52 +02:00
2eb333b63d Cleaned up the remaining 2 PagedArticle classes. Only PagedArticles is in the build, the other one will need more changes. 2022-07-03 16:28:57 +02:00
eb2abf779d Cleaned up PagedArticle and added it to the build. 2022-07-03 15:27:14 +02:00
d4b93e4869 Small tweak. 2022-07-03 14:21:02 +02:00
bf99b34f1a Fix warnings. 2022-07-03 13:27:11 +02:00
d6d4538c6e Finished cleaning ListPage and added it to the build. 2022-07-03 13:23:32 +02:00
149c177582 Bindinds for HTMLPaginator. 2022-07-03 12:54:54 +02:00
a79a6484e7 Replace uints in HTMLPaginator to ints. 2022-07-02 22:21:43 +02:00
066129b2ba Added HTMLPaginator to the build. 2022-07-02 22:18:14 +02:00
9b1d5d9e87 Removed html utils. 2022-07-02 22:00:19 +02:00
ba2b2d2822 Added pagination methods from utils to the Paginator. 2022-07-02 21:59:24 +02:00
549eb0b39b Initial cleanup pass on Paginator and ListPage. 2022-07-02 21:56:10 +02:00
fa2ac74a7c Added 2 helper methods to Math. 2022-07-02 21:55:46 +02:00
4d93d8da94 Fixed BrowsableFolderServeNode. 2022-07-02 21:11:13 +02:00
8787b9cd7f Fix logic in WebServerRequest::get_path. 2022-07-02 21:10:48 +02:00
6f10e05c32 Fix FolderServeNode. 2022-07-02 19:58:43 +02:00
8840439f7a Fix path handling in FileCache. 2022-07-02 19:58:06 +02:00
02af86d362 Fix the logic of String::path_clean_end_slash(). 2022-07-02 19:55:18 +02:00
f81018f712 Initial cleanup of the folder serve nodes, also added them and HTMLBuilder to the build. 2022-07-02 16:40:08 +02:00