Commit Graph

337 Commits

Author SHA1 Message Date
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
Thomas Rubini
17b47a8ed8
add intOrDie() to Kernel/Utils 2023-01-22 21:43:13 +01:00
Thomas Rubini
39c3c67155
Merge pull request #48 from ThomasRubini/appreciation 2023-01-22 21:33:09 +01:00
Thomas Rubini
98ac177ed0
add possibility for users to delete their own appreciations 2023-01-22 21:32:27 +01:00
Thomas Rubini
ee18ee7619
add AprController with create and delete action (for admins) 2023-01-22 21:18:13 +01:00
Thomas Rubini
ba9bb6bac4
fix table name 2023-01-22 21:13:10 +01:00
Thomas Rubini
24b2c1622c
switch arguments order 2023-01-22 21:02:50 +01:00
Thomas Rubini
90fd668546
add ApprModel::getApprByID 2023-01-22 21:00:38 +01:00
Thomas Rubini
e6f735c3af
update ApprModel 2023-01-22 20:57:22 +01:00
abb259bbd1
appreciation model 2023-01-22 20:54:44 +01:00
Thomas Rubini
00f80b9094
refactor getFullRecipeWithComments to getFullRecipeWithApprs 2023-01-22 20:54:44 +01:00
Thomas Rubini
c55ad5e1be
Merge pull request #46 from ThomasRubini/is_admin 2023-01-20 20:52:38 +01:00
Thomas Rubini
332d13a0c8
Add function is_admin() to Session 2023-01-20 20:49:59 +01:00
Thomas Rubini
ac16070040
Merge pull request #45 from ThomasRubini/admin_manage_users 2023-01-20 19:22:01 +01:00
Thomas Rubini
46d0e38050
add a button to manage user for admins 2023-01-20 19:21:23 +01:00
Thomas Rubini
92c4cd94d3
Merge pull request #44 from ThomasRubini/manageuser 2023-01-20 19:14:06 +01:00
Thomas Rubini
8a5d6e4cfc
Alias default action to search action in ManagerUser controller 2023-01-20 19:12:54 +01:00