Commit Graph

9 Commits

Author SHA1 Message Date
Relintai 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
Relintai a34995e1b7 Moved every brynet based http class in core to a new bry_http folder. 2021-05-27 17:06:42 +02:00
Relintai 0c0123889b Renamed the Application class to BryWebApplication. 2021-05-27 16:52:53 +02:00
Relintai 7279035237 Moved the database related classes in core to a subfolder aswell. 2021-05-15 13:54:28 +02:00
Relintai 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
Relintai 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
Relintai 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
Relintai 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
Relintai 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