Commit Graph

636 Commits

Author SHA1 Message Date
c4f0bd9538 Added the skeleton of 2 more static pages. 2022-02-06 12:51:18 +01:00
ea8de24dc8 Removed now unneeded module. 2022-02-06 12:46:31 +01:00
679c08c314 Fix 2 typos. 2022-02-06 11:14:12 +01:00
b337b8f7de Added up directory links to the BrowsableFolderServeNode. 2022-02-06 11:12:57 +01:00
a4e4df979d Added a new path_get_prev_dir method to String. 2022-02-06 11:12:31 +01:00
8072497ef4 Fix serving files in FolderServeNode. 2022-02-06 10:58:12 +01:00
16396f4af9 Removed stray print. 2022-02-06 10:57:02 +01:00
e86ce3df45 Added a new BrowsableFolderServeNode. It renders a simple directory / file browser for the given dir at the given uri. 2022-02-06 10:56:21 +01:00
1d311af863 only push the path if actually necessary during routing. 2022-02-06 10:55:19 +01:00
28d53b16f4 Request get_path now has 2 optional parameters for beginning and end slash placements. 2022-02-06 10:54:42 +01:00
1476a89304 Added more path related helpers to String. 2022-02-06 10:54:10 +01:00
aee3bd76c8 Apparently you can't use add empty strings as printf() parameters. 2022-02-06 10:11:20 +01:00
3b4d7a723d Return an empty string in substr if len is 0. 2022-02-06 10:10:30 +01:00
772dd028d9 Clean end slash in FolderServeNode. 2022-02-06 10:06:35 +01:00
5b31a47a21 Handle 2 edge cases in the new helpers. 2022-02-06 10:05:08 +01:00
059d6751d5 Fix crash in FolderServeNode. 2022-02-06 09:59:54 +01:00
5b9004db22 Now it won't matter whether the given path has a slash at the end of not for FileCache. 2022-02-06 09:59:38 +01:00
6d6735717b Added 2 new path slash related helper methods to string. 2022-02-06 09:58:48 +01:00
3fa13484c0 Remove now unneeded special dir check. 2022-02-06 09:42:17 +01:00
cfd3609421 Fix missing include. 2022-02-06 09:23:26 +01:00
c592484350 Added a new FolderServeNode. 2022-02-06 09:21:01 +01:00
7dbc34137a RCPPFramework now inherits from Object publicly. 2022-02-06 00:09:53 +01:00
f711d413d6 Shorten the used prefixes in Logger. 2022-02-05 19:55:30 +01:00
a9ccce652a Tidy DatabaseManager's messages up. 2022-02-05 19:54:25 +01:00
22f2fae06d Cleanups to RCPPFramework and added messages. 2022-02-05 19:48:41 +01:00
aad59b53c3 Added load anf migrate methods to RCPPFramework, so it can call it's managed singleton's related methods easily. Also Moved www root evaluation to load(). 2022-02-05 19:29:28 +01:00
ea6ae6ad41 Now the RCPPFramework singleton is also able to allocate the settings singleton. 2022-02-05 19:20:25 +01:00
d43b04a03c Note. 2022-02-05 19:20:03 +01:00
079dd663ee Added a specialized singleton convenience getter to DBSettings. 2022-02-05 19:19:52 +01:00
546512f3be Added convenience initialize variant. 2022-02-05 18:41:51 +01:00
b2503ba587 Now RCPPFramework can also allocate the FileCache singleotn. 2022-02-05 18:39:27 +01:00
ffbdae1520 Now the RCPPFramework singleton cal also automatically allocate the SessionManager singleton. 2022-02-05 18:31:00 +01:00
cf7458caaf Now the RCPPFramework singleton will allocate the DatabaseManager if databases are enabled by default. 2022-02-05 18:26:32 +01:00
20739e4aa0 Added WEB_ENABLED cpp define. 2022-02-05 18:25:02 +01:00
b833a3ee3a Rework the RCPPFramework class to be a bit more user friendly. 2022-02-05 18:17:36 +01:00
3757114a21 Removed init.h, and added a new RCPPFramework class instead. 2022-02-05 17:22:59 +01:00
1fd817af9c FileCache now inherits from object publicly. 2022-02-05 17:22:34 +01:00
4502df78dc DataBaseManager now inherits from Object. 2022-02-05 17:22:15 +01:00
a47b6fb206 Moved FileCache from core to web. 2022-02-05 16:55:07 +01:00
c77cd4255a FileCache now inherits from Object. 2022-02-05 16:52:24 +01:00
6182dfeda9 Added a new init.h to make the initialization a less code. 2022-02-05 16:50:25 +01:00
ffd1f7eb68 Created database_modules folder again, and moved db_settings from the core to it. 2022-02-05 16:36:27 +01:00
4d9f55941a Renamed database_modules to database_backends. 2022-02-05 16:32:08 +01:00
480c800be9 Added web_backends, and crypto_backends folders. Moved backends from backends to them. 2022-02-05 16:27:15 +01:00
4b4a254601 Moved out more things from core. These files are not is the build yet, so nothing changed on that front. 2022-02-05 16:22:25 +01:00
0189370023 Moved core/hash into a new crypto/hash folder. Also cleaned up core/SCsub. 2022-02-05 16:19:24 +01:00
81780683a4 Moved core/databases to just datatbases. Also fox database module detection login. 2022-02-05 15:57:40 +01:00
309208d359 Rename the web's library. 2022-02-05 15:47:28 +01:00
082cf04f5d Renamed databases to database_modules. 2022-02-05 15:41:03 +01:00
80d2a379fe Moved html and http from core to a new web folder. 2022-02-05 15:30:48 +01:00