|
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 |
|
|
37fe94f99e
|
Improvements to the directory class.
|
2022-02-05 02:45:11 +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 |
|
|
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 |
|
|
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 |
|
|
4cbea7fd06
|
Paged Article now also inherits from WebNode.
|
2022-01-08 12:53:50 +01:00 |
|
|
a1afe210d1
|
Split WebApplication into WebServer and WebRoot. WebServer inherits from NodeTree, and WebRoot inherits from WebNode. Also removed some of the brynet classes.
|
2022-01-07 20:11:06 +01:00 |
|
|
f7b5952d2a
|
Did most of the remaining std::string and vector to String and Vector conversions.
|
2021-11-01 19:53:35 +01:00 |
|
|
a47cb57da7
|
Renamed BryWebApplication to WebApplication, and moved it and HandlerInstance and Request to a new http folder. Their dependencies with brynet will be removed, they will have subclasses per backend when/if needed.
|
2021-05-27 17:37:23 +02:00 |
|
|
a34995e1b7
|
Moved every brynet based http class in core to a new bry_http folder.
|
2021-05-27 17:06:42 +02:00 |
|
|
0c0123889b
|
Renamed the Application class to BryWebApplication.
|
2021-05-27 16:52:53 +02:00 |
|
|
7279035237
|
Moved the database related classes in core to a subfolder aswell.
|
2021-05-15 13:54:28 +02:00 |
|
|
614a496b7d
|
Application is not a singleton anymore, as I think having multiple ones can be useful. HttpServer has an application pointer now (temporarily), it will be subclassed later.
|
2021-04-28 22:50:05 +02:00 |
|
|
9a3404a7ac
|
Fix a few path/folder related issues with paged article. Also improved a few error messages.
|
2021-02-08 11:53:04 +01:00 |
|
|
4b64bf5864
|
Implemented chunked file downloads. For some reason if a file is too big and has to be sent in more that 43 chunks it crashes, it might be a bug in brynet (it always crashes at the 43th chunk, with every file and chunk size setting.), will figure out the problem later.
|
2021-01-08 02:55:41 +01:00 |
|
|
8e429cee7d
|
Added file support to the paged article. Will not work well with big files at the moment.
|
2021-01-06 03:57:18 +01:00 |
|
|
c0c76f1481
|
Added a PagedArticle class. It goes through a given folder, evaluates all first level subfolders, and creates an article from each directory, and page into those articles from each file with pagination.
|
2020-12-28 23:17:30 +01:00 |
|