Commit Graph

203 Commits

Author SHA1 Message Date
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
Capelier-Marla
78d1704d6e
added ADMIN entry for each appr to display or no the button to
remove a comment
2023-01-23 15:01:54 +01:00
Thomas Rubini
21d077099b
Merge pull request #55 from ThomasRubini/url_link 2023-01-23 14:21:46 +01:00
Thomas Rubini
158e3c9ecf
replace "URL" with "LINK" 2023-01-23 14:21:17 +01:00
Thomas Rubini
40ef4800d7
Merge pull request #54 from ThomasRubini/user_delete_admin 2023-01-23 14:18:33 +01:00
Thomas Rubini
1c181eb907
anonymise account before deleting it 2023-01-23 14:17:47 +01:00
Thomas Rubini
f2418991cd
add admin action to delete accounts 2023-01-23 13:58:29 +01:00
Thomas Rubini
3592b4fc09
Merge pull request #53 from ThomasRubini/int_args 2023-01-23 13:52:34 +01:00
Thomas Rubini
de8301d173
verify int arguments are ints 2023-01-23 13:52:17 +01:00
Thomas Rubini
78096d436c
Merge pull request #52 from ThomasRubini/search_user_select 2023-01-23 13:47:00 +01:00
Thomas Rubini
96bd9da23e
Select only needed fields in UserModel::searchUsers() 2023-01-23 13:46:36 +01:00
Thomas Rubini
b239e220cc
Merge pull request #51 from ThomasRubini/recipe_struct 2023-01-23 13:34:32 +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
ae99e8e0c2
Merge pull request #50 from ThomasRubini/session_module 2023-01-22 22:30:22 +01:00
Thomas Rubini
a8bba12107
use a separate UserSessionModel in Session 2023-01-22 22:29:43 +01:00
Thomas Rubini
92075f4b39
move Session.php to Modules 2023-01-22 22:26:25 +01:00
Thomas Rubini
5ee8c4c753
add autoloaded "Modules" directory 2023-01-22 22:26:20 +01:00
Thomas Rubini
d716f15fe7
Merge pull request #49 from ThomasRubini/intordie 2023-01-22 21:43:28 +01:00