Commit Graph

33 Commits

Author SHA1 Message Date
Thomas Rubini
d676042792
do not make an error when user doesn't fill out all fields to update 2023-01-25 17:01:50 +01:00
Thomas Rubini
092d534dc8
Authenticate user on signup 2023-01-24 20:00:07 +01:00
Thomas Rubini
1abc40da4e
Make 'return_uri' parameter work 2023-01-24 19:58:22 +01:00
Thomas Rubini
8e387abaed
modify view to fit new user model 2023-01-24 19:13:10 +01:00
Thomas Rubini
8958fa5998
fix typo in variables names 2023-01-24 19:01:47 +01:00
d73ba69a07
finished userModel refactor 2023-01-24 18:57:46 +01:00
1919fb359b
started model refactor 2023-01-24 18:50:21 +01:00
Thomas Rubini
b940a1226f
Fix - show the default image on non existant user 2023-01-24 18:26:07 +01:00
Thomas Rubini
e9726ad111
use the svg file as the default profile picture 2023-01-24 18:04:39 +01:00
Thomas Rubini
66d4a89bdb
Use error handling system in all controllers 2023-01-24 09:49:07 +01:00
Thomas Rubini
ba9b1439b5
handle cases where user doesn't exit/doesn't have a profile pic 2023-01-23 20:45:37 +01:00
Thomas Rubini
0c1dc52d7d
add action to get user profile picture 2023-01-23 20:32:38 +01:00
Thomas Rubini
a4fcfb08e3
store profile picture in database when uploaded 2023-01-23 18:55:13 +01:00
Thomas Rubini
f2418991cd
add admin action to delete accounts 2023-01-23 13:58:29 +01:00
Thomas Rubini
219a5b0f5d
add kernel class 'Utils' with 'getOrDie()' 2023-01-20 17:58:06 +01:00
Thomas Rubini
7f3ba9a918
Merge pull request #21 from ThomasRubini/getordie 2023-01-17 16:05:08 +01:00
Thomas Rubini
0eadb9f388
refactor get_or_die() to getOrDie() 2023-01-17 16:04:46 +01:00
Thomas Rubini
f3109c51a0
Add user/delete method 2023-01-17 16:03:49 +01:00
Thomas Rubini
19cf44bc00
Create /user/update route 2023-01-17 15:53:15 +01:00
Capelier-Marla
2469823f9d
moved edit page to user view, to replace view.php, and edited Controller to show the right page 2023-01-17 15:24:38 +01:00
Thomas Rubini
22d8e271b6
Set the default user action to view/edit 2023-01-17 15:05:32 +01:00
Thomas Rubini
a14404f958
Redirect user from /user/login from /user/view if login 2023-01-17 15:00:58 +01:00
Thomas Rubini
6652d97c53
Show error message on login and register 2023-01-17 14:30:17 +01:00
Thomas Rubini
4d17cda252
Fix Session manager: do not always place cookie 2023-01-17 14:21:08 +01:00
Thomas Rubini
dcf45f3492
add Session class in Kernel 2023-01-17 11:38:13 +01:00
Thomas Rubini
82cb01ff18
Add possibility to logout 2023-01-17 10:06:37 +01:00
Thomas Rubini
4481803e60
Only store ID and sessionand get other information dynamically 2023-01-17 09:36:06 +01:00
Thomas Rubini
4b3a7a2f38
Check if login properly 2023-01-17 09:25:47 +01:00
Thomas Rubini
78bf8554b8
change DB field 'NAME' into 'USERNAME' 2023-01-17 09:25:44 +01:00
Thomas Rubini
7fae33a7b3
make basic account view 2023-01-17 09:00:13 +01:00
Thomas Rubini
9f206183a3
Use email instead of username for authentication 2023-01-16 23:47:12 +01:00
Thomas Rubini
b12dd563d8
replace the temporary login page with the final one 2023-01-16 23:38:30 +01:00
Thomas Rubini
18d6298330
basic login/register system 2023-01-16 22:46:34 +01:00