Commit Graph

33 Commits

Author SHA1 Message Date
Relintai ef7b39bfb1 Added 2 url helpers to Request. 2021-11-01 00:38:26 +01:00
Relintai 304a2a19c9 Added a simple new Model and Controller class. 2021-10-31 21:44:44 +01:00
Relintai 8e4bb75bcb Implement redirects. 2021-10-31 02:50:06 +02:00
Relintai 001c3ee717 Fix compile. 2021-10-31 02:49:54 +02:00
Relintai dbb616b9e0 Added http status code enum. 2021-10-31 02:39:54 +02:00
Relintai 6aae520ed4 Added doctype declaration. 2021-10-30 23:32:06 +02:00
Relintai 74389bb71c Comment out 2 prints. 2021-08-23 00:13:16 +02:00
Relintai 214b268aae Now int data in the session will be saved to the database. 2021-08-22 23:53:26 +02:00
Relintai 83ea2c0587 Fix warning. 2021-08-22 23:01:39 +02:00
Relintai 8fa6548e44 Added a reference map to Request. Also fixed 2 warnings. 2021-08-22 22:17:32 +02:00
Relintai 8318e0257a Added reference support to the session. 2021-08-22 22:03:10 +02:00
Relintai 127563e6ca Implement logout. 2021-08-20 19:29:39 +02:00
Relintai 711d1eed6f Added get_or_create_session helper to Request. 2021-08-05 19:34:11 +02:00
Relintai b55cb85855 implement get_parameter to Request. 2021-08-05 18:24:55 +02:00
Relintai 543f1eed30 Added http method support to the request class. 2021-08-05 17:11:13 +02:00
Relintai 0b8dcea37a Reword a comment. 2021-08-04 22:04:33 +02:00
Relintai 2a2b3a6d60 Actually make session_setup_middleware work. 2021-08-04 21:58:25 +02:00
Relintai e62d012ec1 Added a middleware func to SessionManager that can set up request's session property. 2021-08-04 21:36:09 +02:00
Relintai 8fc5eca9d4 Reset the singleton pointer in SessionManager's destructor. 2021-08-04 21:22:06 +02:00
Relintai 652543ef19 Fix include guard. 2021-08-04 21:10:43 +02:00
Relintai c4dd81995e Added a session manager. 2021-08-04 21:02:34 +02:00
Relintai 9e6645bad6 Added a session pointer to request. 2021-08-04 20:33:21 +02:00
Relintai 2521c28a9a Added a http session class. 2021-08-04 20:32:51 +02:00
Relintai e19bd5b7ef Added a new data map property to Request for storing stuff like a session object, etc. 2021-08-04 15:44:52 +02:00
Relintai 714eb02819 Added cookie support to the request. Implemented it for the drogon/trantor backend. 2021-08-04 15:36:26 +02:00
Relintai 4c891a373e Fix DRequest. File support is still todo. 2021-07-06 22:06:18 +02:00
Relintai 92ce00a88c Fixed routing in the brynet backend. 2021-07-06 20:23:13 +02:00
Relintai a16222e29e Fix newly introduced crash in the Brynet backend. 2021-07-06 20:15:36 +02:00
Relintai 29dabe752f Made Request a base inheritable class, and made DRequest inherit from it. Also added BryRequest for the brynet backend. Also made DWebApplication inherit from WebApplication. 2021-07-06 20:06:38 +02:00
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 3a00179b3b Moved the http server to a subfolder in core. 2021-05-15 13:48:46 +02:00