Commit Graph

30 Commits

Author SHA1 Message Date
8a64723710 Save the settion after the csrf token is added to it. 2022-01-09 15:53:58 +01:00
8e903f2695 Added a simple csrf token middleware. 2022-01-09 15:25:55 +01:00
4c6e02d07f Added an another csrf token helper. 2022-01-09 15:00:59 +01:00
3c8d2eaed9 Core support for csrf tokens. 2022-01-09 14:51:04 +01:00
a119251e09 Reworked HTTPSession, now it uses Variants instead of multiple classes. Also it's inherited from Reference now. Also smaller cleanups to the SessionManager. 2022-01-09 14:32:09 +01:00
15b9bb17e5 Removed the middleware stack from Request. 2022-01-08 12:27:42 +01:00
fd106fc785 Reworked error handling. 2022-01-08 11:47:39 +01:00
413e9efbc8 Implement setting http status codes. 2022-01-08 11:42:57 +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
0a53e84fb4 Added new helpers to the Request, and smaller fixes. 2021-11-02 12:25:04 +01:00
43b7a352a5 A bit more work on the rbac admin interface. 2021-11-02 00:18:57 +01:00
68ecd088c5 Added more helpers to Request. 2021-11-01 21:20:42 +01:00
e7d4772ef3 Added get_url_root_parent helper to Request. 2021-11-01 20:57:43 +01:00
e977de894a Now the http backends are also using String. 2021-11-01 19:11:27 +01:00
ef7b39bfb1 Added 2 url helpers to Request. 2021-11-01 00:38:26 +01:00
8e4bb75bcb Implement redirects. 2021-10-31 02:50:06 +02:00
6aae520ed4 Added doctype declaration. 2021-10-30 23:32:06 +02:00
83ea2c0587 Fix warning. 2021-08-22 23:01:39 +02:00
8fa6548e44 Added a reference map to Request. Also fixed 2 warnings. 2021-08-22 22:17:32 +02:00
711d1eed6f Added get_or_create_session helper to Request. 2021-08-05 19:34:11 +02:00
b55cb85855 implement get_parameter to Request. 2021-08-05 18:24:55 +02:00
543f1eed30 Added http method support to the request class. 2021-08-05 17:11:13 +02:00
9e6645bad6 Added a session pointer to request. 2021-08-04 20:33:21 +02:00
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
714eb02819 Added cookie support to the request. Implemented it for the drogon/trantor backend. 2021-08-04 15:36:26 +02:00
4c891a373e Fix DRequest. File support is still todo. 2021-07-06 22:06:18 +02:00
92ce00a88c Fixed routing in the brynet backend. 2021-07-06 20:23:13 +02:00
a16222e29e Fix newly introduced crash in the Brynet backend. 2021-07-06 20:15:36 +02:00
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
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