Commit Graph

41 Commits

Author SHA1 Message Date
Thomas Rubini
1d9079398b
remove done TODOs 2023-01-26 23:17:13 +01:00
Thomas Rubini
2235f0d029
Fix RECIPE to INSTRUCTIONS 2023-01-26 22:43:32 +01:00
Thomas Rubini
d6cf92b7da
rename 'recipe' to 'instructions' 2023-01-26 22:34:13 +01:00
Thomas Rubini
72fc35438c
use LIKE instead of INSTR in recipe search 2023-01-26 21:15:06 +01:00
Thomas Rubini
44f8c0e499
add ability to update recipe image 2023-01-26 20:53:32 +01:00
Thomas Rubini
04d3fdb206
use Anon user in Recipe 2023-01-26 19:57:55 +01:00
Thomas Rubini
b664a38a66
add method RecipeModel::getSteps() 2023-01-26 17:36:35 +01:00
Thomas Rubini
dee2b23297
change recipe img link to point to action 2023-01-26 16:40:11 +01:00
Thomas Rubini
fcf69dad56
remove all functions to preload recipe attributes 2023-01-26 16:25:59 +01:00
5d0e19b45f refactored appr model references 2023-01-26 15:47:10 +01:00
Thomas Rubini
13ba0056da
Fix recipe search query 2023-01-26 13:24:43 +01:00
Thomas Rubini
00e62b7a3e
fix typo in SQL query 2023-01-25 23:12:08 +01:00
Thomas Rubini
300f11bb06
rename getRecipeByID() to getByID() 2023-01-25 23:08:09 +01:00
Thomas Rubini
6f66a44e69
do not store difficulty as author 2023-01-25 22:40:58 +01:00
Thomas Rubini
0c406c54af
use a factory instead of exposing the constructor 2023-01-25 22:40:46 +01:00
Thomas Rubini
4e033bfe37
remove COST 2023-01-25 21:49:09 +01:00
Thomas Rubini
d2c5fbcbde
change SQL parameter to descr 2023-01-25 20:18:40 +01:00
Thomas Rubini
87252f0ed7
Revert "replace DESCR with DESC"
This reverts commit 1522018708.
2023-01-25 20:16:53 +01:00
Thomas Rubini
7baf1bdcf3
rename some methods 2023-01-25 16:46:59 +01:00
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
d3774578e7 finished difficultyModel refactor 2023-01-24 19:43:26 +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
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
158e3c9ecf
replace "URL" with "LINK" 2023-01-23 14:21:17 +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
00f80b9094
refactor getFullRecipeWithComments to getFullRecipeWithApprs 2023-01-22 20:54:44 +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
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
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