Commit Graph

230 Commits

Author SHA1 Message Date
Thomas Rubini
4c3590b3a5
update view to user updated model 2023-01-24 19:44:27 +01:00
Thomas Rubini
7c225f9a50
return array of User in UserModel::searchUsers() 2023-01-24 19:44:27 +01:00
Thomas Rubini
877a8c1305
add method to get user profile pic link 2023-01-24 19:44:27 +01:00
Thomas Rubini
d3d18020d2
always at least pass a null query to the view 2023-01-24 19:28:10 +01:00
AudricV
b6235d6f9a
Use real data and show username requested in manage users view 2023-01-24 19:20:12 +01:00
AudricV
40500baf3b
Rename manage user view in ManageUserController
Also remove debug output code and pass query and search results in an array
2023-01-24 19:20:12 +01:00
AudricV
28a7e5d084
Add manage users view
Also remove the search view, merged into this new view.
2023-01-24 19:20:10 +01:00
Thomas Rubini
86549a6c80
Merge pull request #72 from ThomasRubini/model_refactor_views 2023-01-24 19:14:30 +01:00
Thomas Rubini
8e387abaed
modify view to fit new user model 2023-01-24 19:13:10 +01:00
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