Commit Graph

899 Commits

Author SHA1 Message Date
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
56d2ccbb26 Cleaned up StaticPages, and added them to the build. 2022-07-02 13:22:10 +02:00
a94ee653d1 Removed a few unneeded files. 2022-07-01 22:38:01 +02:00
25323a92b7 Fix shadowed declaration. 2022-07-01 22:17:35 +02:00
ead4b0594b Refactored FileCache so it actually works with this setup. 2022-07-01 22:13:45 +02:00
0bbff6ae3b Small improvements / fixes. 2022-07-01 18:50:56 +02:00
b77fc71b2d Call setup_url_stack before trying to handle the request. 2022-07-01 18:50:42 +02:00
a7b705ebea Implemented sending responses. (In an extremely simple way for now.) 2022-07-01 18:25:45 +02:00
24e120142e Implement basig http header parsing, and also send the request through the WebNode tree. 2022-07-01 17:40:47 +02:00
10150d67c8 Fix shadowed declaration. 2022-07-01 01:10:35 +02:00
22a8b3fff5 Fix sign compare warning. 2022-07-01 01:08:51 +02:00
0ee8dc5f2a Callback setup for http_parser. 2022-07-01 01:03:23 +02:00
913d46e7f0 Added http_parser. 2022-06-30 23:25:05 +02:00
7455fc9dd5 moved HTTPParser and writer to the simple server's directory. 2022-06-30 23:18:45 +02:00
08bb253a5c Some initial work on the parser. 2022-06-30 23:12:32 +02:00
ddf3dae42b Also added a HttpWriter. 2022-06-30 21:43:16 +02:00
228cfca0eb Added a new HTTPParser class. 2022-06-30 21:22:42 +02:00
089431e902 Remvoed httpio, as it apparently works differently that how I originally thought. 2022-06-30 21:09:54 +02:00
fe5882665b Added it to the build. 2022-06-30 18:26:51 +02:00
be5f77c874 Added httpio ( https://github.com/fetisov/httpio ). 2022-06-30 18:23:12 +02:00
617d3e6321 Added SimpleWebServerRequest. 2022-06-30 18:06:02 +02:00
92040597e9 Fixed my fix. 2022-06-30 17:29:02 +02:00
e3989cafad Fix a compile error for some of the platforms. 2022-06-30 17:25:45 +02:00
e660b2d848 Cleaned up WebServerSimple and added it to the build. 2022-06-30 17:15:57 +02:00
8014115546 Initial cleanup of the web server classes. 2022-06-30 16:28:23 +02:00
aba918dd73 Added the database classes from rcpp_framework. 2022-06-30 13:23:48 +02:00
121740f070 Added theweb nodes from rcpp_framework. 2022-06-30 13:23:14 +02:00
48e8b85f7e Copied over the javacript export class, as a base of a simple webserver implementation (later). 2022-06-27 16:38:35 +02:00
2fb352fd3c Added note. 2022-06-27 16:37:30 +02:00
75c405c174 Removed the temp folder. 2022-06-27 16:24:04 +02:00
50c20d4a72 ... an another one ... 2022-06-27 16:12:49 +02:00
4251937198 More sign compare warning fixes. 2022-06-27 16:10:02 +02:00
9e99f010bc Fix an another sign compare warning. 2022-06-27 16:06:26 +02:00
567716c79a Fix different sign compare warning. 2022-06-27 15:47:10 +02:00
a6331e9ff9 Fix calling the proper methods. 2022-06-27 15:42:57 +02:00
3a6a046ad4 WebRoot lookup and pix property. 2022-06-27 15:42:40 +02:00