Commit Graph

311 Commits

Author SHA1 Message Date
Thomas Rubini
c66fa2f015
Merge pull request #103 from ThomasRubini/getbyid 2023-01-25 22:48:23 +01:00
Thomas Rubini
fd879d4671
do not make getByName call getByID 2023-01-25 22:48:07 +01:00
Thomas Rubini
e69a4cbc68
Merge pull request #102 from ThomasRubini/header 2023-01-25 22:46:05 +01:00
Thomas Rubini
488fc7c510
Use plain HTML in the header + only show 'Nouvelle recette' if user is login 2023-01-25 22:45:35 +01:00
Thomas Rubini
fce1da9070
Merge pull request #101 from ThomasRubini/recipe_edit 2023-01-25 22:42:18 +01:00
Thomas Rubini
8ad62d8620
make edit and new actions work 2023-01-25 22:41:22 +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
00c103fdd3
get post params with Utils::getOrDie() 2023-01-25 21:57:34 +01:00
Thomas Rubini
81e67a0bf5
Merge pull request #99 from ThomasRubini/create_recipe 2023-01-25 21:52:00 +01:00
Thomas Rubini
b439628d0e
redirect to recipe on creation 2023-01-25 21:51:19 +01:00
Thomas Rubini
3698a5c860
do not make recipe image required 2023-01-25 21:51:04 +01:00
Thomas Rubini
cba3f90657
add recipe/create action 2023-01-25 21:49:22 +01:00
Thomas Rubini
4e033bfe37
remove COST 2023-01-25 21:49:09 +01:00
Marla
1ed2b14905
Merge pull request #98 from ThomasRubini/connexion_register_error_style
added style to error message
2023-01-25 21:39:37 +01:00
Capelier-Marla
80bde86267 added style to error message 2023-01-25 21:38:49 +01:00
Marla
baa059c3ca
Merge pull request #97 from ThomasRubini/css_register_connexion
styled connexion/inscription page (and added titles on top of forms)
2023-01-25 21:33:05 +01:00
Capelier-Marla
2293d7378a styled connexion/inscription page (and added titles on top of forms) 2023-01-25 21:31:53 +01:00
Marla
c6e2ebc779
Merge pull request #96 from ThomasRubini/fix_home_width
Fix home width
2023-01-25 20:41:36 +01:00
Capelier-Marla
0c99d25748 modifier text in header to not take 300000000px 2023-01-25 20:40:40 +01:00
Capelier-Marla
86302bce2a edited width in css to take max place without being cringe 2023-01-25 20:39:17 +01:00
Marla
cb4cd055ee
Merge pull request #95 from ThomasRubini/notes_displaying
added missing max value of a note when displaying it
2023-01-25 20:35:17 +01:00
Capelier-Marla
06f80dd58b added missing max value of a note when displaying it 2023-01-25 20:34:47 +01:00
Marla
fd4da4f36f
Merge pull request #94 from ThomasRubini/edit_header
buttons go to actual pages
2023-01-25 20:25:12 +01:00
Capelier-Marla
064b55d63f buttons go to actual pages 2023-01-25 20:24:36 +01:00
Thomas Rubini
05c1f2b476
Merge pull request #93 from ThomasRubini/descr 2023-01-25 20:19:19 +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
Marla
d1f73e09d5
Merge pull request #92 from ThomasRubini/home_css
Home css
2023-01-25 19:35:06 +01:00
Capelier-Marla
cf074988cc sticky ctagory section 2023-01-25 19:20:59 +01:00
Capelier-Marla
aaac7f2f84 added recipe style (maybe not finished) 2023-01-25 19:18:14 +01:00
Capelier-Marla
b96c3c6a4e putted li into ul 2023-01-25 19:18:14 +01:00
Capelier-Marla
ad4352fae5 added class to recipe 2023-01-25 19:18:09 +01:00
Capelier-Marla
9e067464c8 putted each recipe in ul-li 2023-01-25 19:17:19 +01:00
Capelier-Marla
ca47bf6c62 moved category list in main and main content in article 2023-01-25 19:17:19 +01:00
Capelier-Marla
6b590330b5 setted style for aside part (categories) 2023-01-25 19:17:19 +01:00
Thomas Rubini
755ea94775
Merge pull request #91 from ThomasRubini/user_update_errors 2023-01-25 17:03:17 +01:00
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
cba94b818a
Merge pull request #90 from ThomasRubini/query_img 2023-01-25 16:53:05 +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
8272de705b
Merge pull request #89 from ThomasRubini/recipe_note 2023-01-25 16:43:37 +01:00
Thomas Rubini
f08f6ab102
add recipe note 2023-01-25 16:42:30 +01:00
Thomas Rubini
438738dde4
Merge pull request #86 from ThomasRubini/home_random_recipes 2023-01-25 16:15:09 +01:00
Thomas Rubini
752796fab3
Show 3 random recipes on home page 2023-01-25 16:14:46 +01:00
Thomas Rubini
d356a4d816
Merge pull request #85 from ThomasRubini/fix 2023-01-25 15:59:06 +01:00
Thomas Rubini
63f8b9468a
start to adapt views to new Recipe Model 2023-01-25 15:58:07 +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