|
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 |
|
|
d1e8def48d
|
Moved newline_to_br helper from Utils to String.
|
2022-02-05 15:12:37 +01:00 |
|
|
b9afc6f201
|
Moved the Utils class under core/html.
|
2022-02-05 15:10:56 +01:00 |
|
|
92e3f8a006
|
Added a new web_modules folder and moved every web related module to it.
|
2022-02-05 15:03:23 +01:00 |
|
|
8981e8e688
|
Moved and renamed PagedList.
|
2022-02-05 14:59:11 +01:00 |
|
|
25e4e929a6
|
Use the append_path helpers in 2 places.
|
2022-02-05 14:53:59 +01:00 |
|
|
4ca0d7032a
|
Added 2 append_path helper methods to string, and 2 append_str variants.
|
2022-02-05 14:53:19 +01:00 |
|
|
bfec926e60
|
Re-enabled skip specials logic in Directory.
|
2022-02-05 14:00:07 +01:00 |
|
|
8e49115f09
|
Reworked directory listing. Now only next need to be called in a while loop.
|
2022-02-05 13:56:30 +01:00 |
|
|
f103739720
|
Comment.
|
2022-02-05 13:33:25 +01:00 |
|
|
eb4b1c073e
|
PagedArticles now uses the new summary page.
|
2022-02-05 13:27:33 +01:00 |
|
|
ead57f1d6a
|
Now paged article has a summary field again, if it finds a summary.md it will load it and store that, otherwise it will just use it's uri segment.
|
2022-02-05 13:27:05 +01:00 |
|
|
bb4aa4ebdd
|
Rename summary in PagedArticle to index_page.
|
2022-02-05 13:19:34 +01:00 |
|
|
382696609c
|
Fix PagedArticles's routing. And removed stray print.
|
2022-02-05 13:13:02 +01:00 |
|
|
58f258e99d
|
Call render menu in PagedArticle. Also don't pop path.
|
2022-02-05 03:00:40 +01:00 |
|
|
2de0398fb0
|
Added a new PagedArticles class.
|
2022-02-05 02:45:53 +01:00 |
|
|
87a55d6a44
|
Improved Node's add_child and set_tree.
|
2022-02-05 02:45:40 +01:00 |
|
|
37fe94f99e
|
Improvements to the directory class.
|
2022-02-05 02:45:11 +01:00 |
|
|
6d1eabf64d
|
Zero out member variables.
|
2022-02-05 02:43:53 +01:00 |
|
|
56c203d925
|
Added serve_folder_relative member to PagedArticle.
|
2022-02-04 23:39:45 +01:00 |
|
|
5097d210d3
|
Renamed a few method in Directory.
|
2022-02-04 23:36:04 +01:00 |
|
|
52f85862bd
|
Reworked pagedArticle too to use the new Directory helpers.
|
2022-02-04 23:33:54 +01:00 |
|
|
5292da82ba
|
Now read_file_into in Directory will return an Error.
|
2022-02-04 23:33:39 +01:00 |
|
|
ef06a9e57d
|
Set skip specials to true by default.
|
2022-02-04 23:27:37 +01:00 |
|
|
d71db48661
|
Now FileCache uses the new Directory class.
|
2022-02-04 23:25:26 +01:00 |
|
|
0669bbbe55
|
Added a new open method to the directory class, and changed current_is_directory to current_is_dir.
|
2022-02-04 23:25:09 +01:00 |
|
|
b38b2f4755
|
Added a directory class to the core. It's directly using tinydir for now.
|
2022-02-04 23:17:46 +01:00 |
|
|
ae81caf9a1
|
Replaced the mutex in FileCache with an RWLock.
|
2022-02-04 22:12:08 +01:00 |
|
|
0514505cef
|
Fix compile.
|
2022-02-04 22:11:50 +01:00 |
|
|
4b9266c1f3
|
After thinking about it, reworked PagedArticle. Before it would evaluate and store data about all directories in the given path. Now it will only process one. The evaluate all directories functionality will be added to a new node.
|
2022-02-04 22:05:51 +01:00 |
|
|
15c384750f
|
A comment.
|
2022-02-04 22:03:55 +01:00 |
|
|
60e7dfe7e9
|
Added clear method to FileCache.
|
2022-02-04 22:03:22 +01:00 |
|
|
60ed46b5e6
|
Added continue related error macros. Also added a new type where you can put commands before continuing.
|
2022-02-04 22:02:54 +01:00 |
|
|
ac66ecd84a
|
Change every PagedArticleEntry pointers to refs in PagedArticle.
|
2022-02-04 20:54:52 +01:00 |
|
|
5ed9081c69
|
Move 2 method definitions to the cpp file.
|
2022-02-04 20:37:06 +01:00 |
|
|
01c43bf369
|
Renamed the article struct in PagedArticle to PagedArticleEntry, and moved it to it's own file. Also made it inherit from reference.
|
2022-02-04 20:36:09 +01:00 |
|
|
3361d576de
|
Don't try to route requests when routing is disabled.
|
2022-02-04 20:26:08 +01:00 |
|