Commit Graph

58 Commits

Author SHA1 Message Date
Thomas Rubini
f08f6ab102
add recipe note 2023-01-25 16:42:30 +01:00
Thomas Rubini
752796fab3
Show 3 random recipes on home page 2023-01-25 16:14:46 +01:00
Thomas Rubini
1522018708
replace DESCR with DESC 2023-01-25 15:57:52 +01:00
Thomas Rubini
9f3b566575
make functions to get links 2023-01-25 15:47:09 +01:00
Thomas Rubini
f9de8858cf
make searchRecipesByName() return Recipe objects 2023-01-25 15:45:19 +01:00
Thomas Rubini
1140dcf064
add createFromRow() 2023-01-25 15:44:41 +01:00
9633e59e5e refactored recipeModel 2023-01-25 15:37:20 +01:00
Thomas Rubini
4a4f740e69
fix update method of User model 2023-01-24 21:03:29 +01:00
Thomas Rubini
d0648e30d0
Merge pull request #71 from ThomasRubini/manage-users-view 2023-01-24 21:00:24 +01:00
Thomas Rubini
7c225f9a50
return array of User in UserModel::searchUsers() 2023-01-24 19:44:27 +01:00
Thomas Rubini
877a8c1305
add method to get user profile pic link 2023-01-24 19:44:27 +01:00
0c1da18e72
Merge pull request #74 from ThomasRubini/difficulty_model_refactor
Difficulty model refactor
2023-01-24 19:43:45 +01:00
17d20536d6 removed dangerous function call 2023-01-24 19:43:26 +01:00
0af8d23970 added static delete method 2023-01-24 19:43:26 +01:00
d3774578e7 finished difficultyModel refactor 2023-01-24 19:43:26 +01:00
8f2ff8d68a typo 2023-01-24 19:21:12 +01:00
d73ba69a07
finished userModel refactor 2023-01-24 18:57:46 +01:00
2826a2c791
userModel refactor 2023-01-24 18:50:21 +01:00
1919fb359b
started model refactor 2023-01-24 18:50:21 +01:00
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