Thomas Rubini
|
44f8c0e499
|
add ability to update recipe image
|
2023-01-26 20:53:32 +01:00 |
|
Thomas Rubini
|
dea9dcb80f
|
do not query user id if not login
|
2023-01-26 19:23:20 +01:00 |
|
Thomas Rubini
|
25bd38ece7
|
update recipe ingredients
|
2023-01-26 19:20:33 +01:00 |
|
Thomas Rubini
|
44c785aa01
|
add ingredients on recipe/create
|
2023-01-26 18:53:11 +01:00 |
|
Thomas Rubini
|
97b39a4552
|
make apprs use new models + allow users to delete their appr
|
2023-01-26 16:56:51 +01:00 |
|
Thomas Rubini
|
fcf69dad56
|
remove all functions to preload recipe attributes
|
2023-01-26 16:25:59 +01:00 |
|
Thomas Rubini
|
2898ca3345
|
add recipe/delete action
|
2023-01-26 16:19:11 +01:00 |
|
Thomas Rubini
|
3160b12455
|
pass recipe ID to edit in URL param
|
2023-01-25 23:11:53 +01:00 |
|
Thomas Rubini
|
300f11bb06
|
rename getRecipeByID() to getByID()
|
2023-01-25 23:08:09 +01:00 |
|
Thomas Rubini
|
8ad62d8620
|
make edit and new actions work
|
2023-01-25 22:41:22 +01:00 |
|
Thomas Rubini
|
00c103fdd3
|
get post params with Utils::getOrDie()
|
2023-01-25 21:57:34 +01:00 |
|
Thomas Rubini
|
b439628d0e
|
redirect to recipe on creation
|
2023-01-25 21:51:19 +01:00 |
|
Thomas Rubini
|
cba3f90657
|
add recipe/create action
|
2023-01-25 21:49:22 +01:00 |
|
Thomas Rubini
|
112f4daf81
|
do not call queryImg() twice
|
2023-01-25 16:50:05 +01:00 |
|
Thomas Rubini
|
7baf1bdcf3
|
rename some methods
|
2023-01-25 16:46:59 +01:00 |
|
Thomas Rubini
|
63f8b9468a
|
start to adapt views to new Recipe Model
|
2023-01-25 15:58:07 +01:00 |
|
|
9633e59e5e
|
refactored recipeModel
|
2023-01-25 15:37:20 +01:00 |
|
Thomas Rubini
|
b53dd6844e
|
remove old comment
|
2023-01-24 20:13:58 +01:00 |
|
Thomas Rubini
|
1a1226700b
|
require login to create a new recipe
|
2023-01-24 20:12:29 +01:00 |
|
Thomas Rubini
|
ef61cbcb3e
|
allow admins to edit any recipe
|
2023-01-24 20:12:16 +01:00 |
|
Thomas Rubini
|
8871d9bb21
|
modify structure sent to recipe/edit to include POST_URI
|
2023-01-24 20:11:12 +01:00 |
|
Thomas Rubini
|
ff6ac2eb49
|
add action recipe/new
|
2023-01-24 20:03:23 +01:00 |
|
Thomas Rubini
|
7b546cd565
|
show the default image on non existant user/recipe
|
2023-01-24 18:08:55 +01:00 |
|
Thomas Rubini
|
02a53db50c
|
add recipe/img controller action
|
2023-01-24 18:07:12 +01:00 |
|
Thomas Rubini
|
66d4a89bdb
|
Use error handling system in all controllers
|
2023-01-24 09:49:07 +01:00 |
|
Thomas Rubini
|
84788b31e2
|
use model for recipe/edit
|
2023-01-23 22:50:12 +01:00 |
|
Thomas Rubini
|
ac78ec31fd
|
make final version of structure send to recipe view
|
2023-01-23 13:33:22 +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 |
|
Thomas Rubini
|
7c6a5441a7
|
refactor 'search_term' to 'query'
|
2023-01-20 18:25:32 +01:00 |
|
Thomas Rubini
|
28810d0b7c
|
change refs to view search/search to recipe/search
|
2023-01-20 18:21:39 +01:00 |
|
Thomas Rubini
|
38e4e16856
|
add search action
|
2023-01-20 18:08:27 +01:00 |
|
Capelier-Marla
|
12a6d649a4
|
edit page done from data in Database and has dynamic js
|
2023-01-18 13:54:11 +01:00 |
|
Thomas Rubini
|
0be83d3ecc
|
migrate common/404 to errors/404
|
2023-01-16 23:25:00 +01:00 |
|
Thomas Rubini
|
6dc7ec3588
|
Implement example 404 page
|
2023-01-16 20:58:09 +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 |
|