Commit Graph

645 Commits

Author SHA1 Message Date
034931d390 Use the new helper in Paginator. Also add enabled classes. 2022-02-06 15:50:19 +01:00
c7fa9caac4 Added a new clsse helper method to HTMLBuilder. 2022-02-06 15:49:23 +01:00
7cb505ee09 Use the class variables instead of hardcoded values. 2022-02-06 15:26:19 +01:00
3fbd86e025 Added a new Paginator class. 2022-02-06 15:18:10 +01:00
02563831fc Added the rest of the standard rel attributes to HTMLBuilder. 2022-02-06 14:41:23 +01:00
3a834204d8 Implemented StaticPageFile and StaticPageFolderFiles aswell. 2022-02-06 14:01:04 +01:00
f7b17933b5 Implemented StaticPage. 2022-02-06 13:44:30 +01:00
ecf3daf5cb Fix typo. 2022-02-06 13:44:21 +01:00
1060f85089 Added find_reversed and file_get_extension helpers to string. 2022-02-06 13:43:56 +01:00
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