|
6416ecc5e0
|
Reworked migrations. Now they automatically propagate through the node hierarchy. Also they have parameters.
|
2022-01-13 23:45:38 +01:00 |
|
|
0c6c20bd64
|
Added csrf tokens to the existing forms.
|
2022-01-09 16:03:54 +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 |
|
|
3809ca5a38
|
Rename UserController's main handler method to the new proper one.
|
2022-01-08 12:49:34 +01:00 |
|
|
ec2eabacc1
|
Implemented middleware handling. Also converted middleware handlers to the new stystem.
|
2022-01-08 12:25:52 +01:00 |
|
|
2482e66c12
|
Format UserController.
|
2022-01-07 22:48:32 +01:00 |
|
|
37d5c0fec8
|
Merged UserControllers and UserModels.
|
2022-01-07 17:50:39 +01:00 |
|
|
adda93bc3a
|
During register create the user using the Model.
|
2021-11-14 01:33:01 +01:00 |
|
|
c86ed59dd6
|
Replaced std::string and std::vectors in the user module aswell.
|
2021-11-01 19:14:55 +01:00 |
|
|
dd966c9248
|
FormValidator and HTMLBuilder now uses my string and vector aswell.
|
2021-11-01 18:00:34 +01:00 |
|
|
f883b4d678
|
Moved the register success and login success responses to 2 new virtual methods.
|
2021-10-31 10:27:28 +01:00 |
|
|
ebb5d57fb9
|
Explicitly set path to / for the user session cookie.
|
2021-10-31 10:17:27 +01:00 |
|
|
594ab744c5
|
Split some of the methods in UserController so the render happens in a different method.
|
2021-10-31 02:10:47 +02:00 |
|
|
e61bc79af5
|
Use scopes to make HTML builder code indented for better visibility. I wanted to create a simple templating engine, but I think this makes that idea obsolete, and unnecessary.
|
2021-10-25 09:58:00 +02:00 |
|
|
214b268aae
|
Now int data in the session will be saved to the database.
|
2021-08-22 23:53:26 +02:00 |
|
|
a77535d0e4
|
Fix changing passwords.
|
2021-08-22 22:47:21 +02:00 |
|
|
58e3855a4d
|
Also removed the sessions vector from User.
|
2021-08-22 22:35:11 +02:00 |
|
|
9d8a752707
|
Reworked sessions.
|
2021-08-22 22:28:46 +02:00 |
|
|
e5e1dfee8a
|
Moved out the http handler from users to the UserController.
|
2021-08-22 22:03:35 +02:00 |
|
|
6c76f625af
|
Added a new UserController class.
|
2021-08-22 20:20:30 +02:00 |
|