Commit Graph

321 Commits

Author SHA1 Message Date
Thomas Rubini
8958fa5998
fix typo in variables names 2023-01-24 19:01:47 +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
5e47005e97
Merge pull request #69 from ThomasRubini/create_appr 2023-01-24 18:40:29 +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
899e6e0559
pass the whole structure from recipe view to all apprs view 2023-01-24 18:39:15 +01:00
Thomas Rubini
3627fc92ab
Merge pull request #68 from ThomasRubini/fix 2023-01-24 18:29:12 +01:00
Thomas Rubini
b940a1226f
Fix - show the default image on non existant user 2023-01-24 18:26:07 +01:00
Thomas Rubini
7bcd774c07
Merge pull request #67 from ThomasRubini/img 2023-01-24 18:10:54 +01:00
Thomas Rubini
5e5c2a00ba
update user svg location in header 2023-01-24 18:10:12 +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
e9726ad111
use the svg file as the default profile picture 2023-01-24 18:04:39 +01:00
Thomas Rubini
4c224a89bb
Change default user and recipe image assets 2023-01-24 18:01:16 +01:00
Thomas Rubini
8c07bf49d4
Merge pull request #66 from ThomasRubini/css_vars_header_footer 2023-01-24 17:45:03 +01:00
Capelier-Marla
b5015ecc86 made footer stick to the bottom 2023-01-24 16:23:08 +01:00
Capelier-Marla
1449a37d7a changed size values and names 2023-01-24 16:06:44 +01:00
Capelier-Marla
06aba6e4b4 renamed css vars 2023-01-24 16:01:39 +01:00
Capelier-Marla
5cac66c864 added footer style with it's grey color, + body background color 2023-01-24 15:51:02 +01:00
Capelier-Marla
94ca8a2798 defined header css style, renamed some css vars (wi
ll redefine some latr), edited default profil svg to use a file instead of hard code
2023-01-24 15:43:17 +01:00
Capelier-Marla
30e11af260 created css vars (maybe forgot a few ones) 2023-01-24 15:35:28 +01:00
Capelier-Marla
a193a1652d added style in head of html and setted global font 2023-01-24 15:35:28 +01:00
Thomas Rubini
bac9398f08
Merge pull request #65 from ThomasRubini/recipe_search 2023-01-24 14:50:37 +01:00
Thomas Rubini
105189fb7a
Select other data for recipe search 2023-01-24 14:50:13 +01:00
Thomas Rubini
b52d43ca6f
Merge pull request #64 from ThomasRubini/redirect 2023-01-24 11:53:41 +01:00
Thomas Rubini
594e59d80a
Do not disable redirections + document index.php error handling 2023-01-24 11:52:23 +01:00
Thomas Rubini
b8814e5220
redirect on appr creation/deletion 2023-01-24 11:37:07 +01:00
Thomas Rubini
0ee87628eb
Merge pull request #63 from ThomasRubini/error_handling 2023-01-24 11:03:53 +01:00
Thomas Rubini
f6be185af5
refactor index.php, set http code, and remove header Location on error 400 and 500 2023-01-24 11:01:36 +01:00
Thomas Rubini
f703f9342d
fix HTTPSpecialCaseException::geetMsg() 2023-01-24 10:09:08 +01:00
Thomas Rubini
8e821f4263
replace geteMessage() with getMsg() 2023-01-24 10:08:55 +01:00
Thomas Rubini
ac0ee6441d
add HTTPSpecialCaseException for database connection 2023-01-24 10:07:06 +01:00
Thomas Rubini
1f27156004
return 404 on non existing controller/action and refactor index.php 2023-01-24 10:02:41 +01:00
Thomas Rubini
1388fc1205
return null in model if recipe doesn't exists 2023-01-24 09:51:49 +01:00
Thomas Rubini
66d4a89bdb
Use error handling system in all controllers 2023-01-24 09:49:07 +01:00
Thomas Rubini
ddaecac0f1
Implement error handling system 2023-01-24 09:49:02 +01:00
Thomas Rubini
cd1e1eb01b
Merge pull request #61 from ThomasRubini/recipe_edit 2023-01-23 22:50:52 +01:00
Thomas Rubini
84788b31e2
use model for recipe/edit 2023-01-23 22:50:12 +01:00
Thomas Rubini
e6d5c63694
Merge pull request #60 from ThomasRubini/apprs_profile_pic 2023-01-23 22:37:43 +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
ba9b1439b5
handle cases where user doesn't exit/doesn't have a profile pic 2023-01-23 20:45:37 +01:00
Thomas Rubini
5986083c3d
Merge pull request #59 from ThomasRubini/profile_pic 2023-01-23 20:34:59 +01:00
Thomas Rubini
0c1dc52d7d
add action to get user profile picture 2023-01-23 20:32:38 +01:00
Thomas Rubini
0446757cbb
add Kernel option to return raw content 2023-01-23 19:12:34 +01:00
Thomas Rubini
a4fcfb08e3
store profile picture in database when uploaded 2023-01-23 18:55:13 +01:00
Thomas Rubini
5cf511a9c9
Merge pull request #57 from ThomasRubini/appr_views_rename 2023-01-23 15:34:33 +01:00
Thomas Rubini
f41e476d1f
rename appreciation view files 2023-01-23 15:33:57 +01:00
Thomas Rubini
36b141b55e
Merge pull request #56 from ThomasRubini/delete_appr 2023-01-23 15:17:47 +01:00
Capelier-Marla
9cf82497a6 fixed typo + changed placeholder name 2023-01-23 15:13:34 +01:00