Commit Graph

89 Commits

Author SHA1 Message Date
Thomas Rubini
6f57b5a189
link model controller and view to be able to post an appr 2023-01-24 18:39:47 +01:00
Thomas Rubini
105189fb7a
Select other data for recipe search 2023-01-24 14:50:13 +01:00
Thomas Rubini
1388fc1205
return null in model if recipe doesn't exists 2023-01-24 09:51:49 +01:00
Thomas Rubini
ce6cb0e3a3
show users profile picture instead of a generic image in apprs 2023-01-23 22:37:12 +01:00
Thomas Rubini
a4fcfb08e3
store profile picture in database when uploaded 2023-01-23 18:55:13 +01:00
Capelier-Marla
9cf82497a6 fixed typo + changed placeholder name 2023-01-23 15:13:34 +01:00
Thomas Rubini
158e3c9ecf
replace "URL" with "LINK" 2023-01-23 14:21:17 +01:00
Thomas Rubini
1c181eb907
anonymise account before deleting it 2023-01-23 14:17:47 +01:00
Thomas Rubini
96bd9da23e
Select only needed fields in UserModel::searchUsers() 2023-01-23 13:46:36 +01:00
Thomas Rubini
ac78ec31fd
make final version of structure send to recipe view 2023-01-23 13:33:22 +01:00
Thomas Rubini
4dcb58ee16
make getFullRecipeWithApprs return apprs 2023-01-22 22:35:25 +01:00
Thomas Rubini
a8bba12107
use a separate UserSessionModel in Session 2023-01-22 22:29:43 +01:00
Thomas Rubini
ba9bb6bac4
fix table name 2023-01-22 21:13:10 +01:00
Thomas Rubini
24b2c1622c
switch arguments order 2023-01-22 21:02:50 +01:00
Thomas Rubini
90fd668546
add ApprModel::getApprByID 2023-01-22 21:00:38 +01:00
Thomas Rubini
e6f735c3af
update ApprModel 2023-01-22 20:57:22 +01:00
abb259bbd1
appreciation model 2023-01-22 20:54:44 +01:00
Thomas Rubini
00f80b9094
refactor getFullRecipeWithComments to getFullRecipeWithApprs 2023-01-22 20:54:44 +01:00
Thomas Rubini
9b0013ba9f
use model for ManageUser search action 2023-01-20 19:12:54 +01:00
Thomas Rubini
fd9e25ca8c
create ManageUserController and admin-only access 2023-01-20 19:12:54 +01:00
Thomas Rubini
5f61d15a89
add search functionality to RecipeModel 2023-01-20 18:30:16 +01:00
Capelier-Marla
2bb1eb18d9 fixed recipes view and translations 2023-01-18 14:21:26 +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
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
7c20f6729a
add IMAGE_URL key for recipe 2023-01-17 09:53:53 +01:00
Thomas Rubini
1f34989144
replace NAME with USERNAME in recipe view 2023-01-17 09:51:16 +01:00
Thomas Rubini
4481803e60
Only store ID and sessionand get other information dynamically 2023-01-17 09:36:06 +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
8d36816f39
Do not use type comparison for isEmailInDatabase() 2023-01-17 00:05:58 +01:00
Thomas Rubini
9f206183a3
Use email instead of username for authentication 2023-01-16 23:47:12 +01:00
Thomas Rubini
18d6298330
basic login/register system 2023-01-16 22:46:34 +01:00
Thomas Rubini
3da99a3ac7
Change all models to use the SQL database 2023-01-16 20:53:32 +01:00
Thomas Rubini
87e8f9247e
move recipe data creation to RecipeModel and use real SQL database 2023-01-16 20:29:18 +01:00
Thomas Rubini
95ad2e1d6a
Example implementation of a controller 2023-01-12 17:15:19 +01:00
Thomas Rubini
26e97c2916
fixed forgotten fonction 2023-01-12 15:13:21 +01:00
Thomas Rubini
94dafd735c
switch code to english 2023-01-12 14:31:06 +01:00