Thomas Rubini
|
e4a3c9665a
|
make category view use model
|
2023-01-26 12:01:19 +01:00 |
|
Thomas Rubini
|
3160b12455
|
pass recipe ID to edit in URL param
|
2023-01-25 23:11:53 +01:00 |
|
Thomas Rubini
|
300f11bb06
|
rename getRecipeByID() to getByID()
|
2023-01-25 23:08:09 +01:00 |
|
Thomas Rubini
|
8ad62d8620
|
make edit and new actions work
|
2023-01-25 22:41:22 +01:00 |
|
Thomas Rubini
|
00c103fdd3
|
get post params with Utils::getOrDie()
|
2023-01-25 21:57:34 +01:00 |
|
Thomas Rubini
|
b439628d0e
|
redirect to recipe on creation
|
2023-01-25 21:51:19 +01:00 |
|
Thomas Rubini
|
cba3f90657
|
add recipe/create action
|
2023-01-25 21:49:22 +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
|
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
|
752796fab3
|
Show 3 random recipes on home page
|
2023-01-25 16:14:46 +01:00 |
|
Thomas Rubini
|
63f8b9468a
|
start to adapt views to new Recipe Model
|
2023-01-25 15:58:07 +01:00 |
|
|
9633e59e5e
|
refactored recipeModel
|
2023-01-25 15:37:20 +01:00 |
|
Thomas Rubini
|
1e64bbf286
|
use ints instead of numbers for DISABLED property
|
2023-01-24 21:04:09 +01:00 |
|
Thomas Rubini
|
92544228d2
|
add method manageUser/update
|
2023-01-24 21:03:18 +01:00 |
|
Thomas Rubini
|
2bfec0df03
|
force admin status everywhere on ManagerUser Controller
|
2023-01-24 21:01:02 +01:00 |
|
Thomas Rubini
|
d0648e30d0
|
Merge pull request #71 from ThomasRubini/manage-users-view
|
2023-01-24 21:00:24 +01:00 |
|
Thomas Rubini
|
b53dd6844e
|
remove old comment
|
2023-01-24 20:13:58 +01:00 |
|
Thomas Rubini
|
1a1226700b
|
require login to create a new recipe
|
2023-01-24 20:12:29 +01:00 |
|
Thomas Rubini
|
ef61cbcb3e
|
allow admins to edit any recipe
|
2023-01-24 20:12:16 +01:00 |
|
Thomas Rubini
|
8871d9bb21
|
modify structure sent to recipe/edit to include POST_URI
|
2023-01-24 20:11:12 +01:00 |
|
Thomas Rubini
|
ff6ac2eb49
|
add action recipe/new
|
2023-01-24 20:03:23 +01:00 |
|
Thomas Rubini
|
092d534dc8
|
Authenticate user on signup
|
2023-01-24 20:00:07 +01:00 |
|
Thomas Rubini
|
1abc40da4e
|
Make 'return_uri' parameter work
|
2023-01-24 19:58:22 +01:00 |
|
Thomas Rubini
|
d3d18020d2
|
always at least pass a null query to the view
|
2023-01-24 19:28:10 +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 |
|
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 |
|
|
1919fb359b
|
started model refactor
|
2023-01-24 18:50:21 +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
|
b940a1226f
|
Fix - show the default image on non existant user
|
2023-01-24 18:26:07 +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
|
b8814e5220
|
redirect on appr creation/deletion
|
2023-01-24 11:37:07 +01:00 |
|
Thomas Rubini
|
66d4a89bdb
|
Use error handling system in all controllers
|
2023-01-24 09:49:07 +01:00 |
|
Thomas Rubini
|
84788b31e2
|
use model for recipe/edit
|
2023-01-23 22:50: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
|
0c1dc52d7d
|
add action to get user profile picture
|
2023-01-23 20:32:38 +01:00 |
|
Thomas Rubini
|
a4fcfb08e3
|
store profile picture in database when uploaded
|
2023-01-23 18:55:13 +01:00 |
|
Thomas Rubini
|
40ef4800d7
|
Merge pull request #54 from ThomasRubini/user_delete_admin
|
2023-01-23 14:18:33 +01:00 |
|
Thomas Rubini
|
f2418991cd
|
add admin action to delete accounts
|
2023-01-23 13:58:29 +01:00 |
|
Thomas Rubini
|
de8301d173
|
verify int arguments are ints
|
2023-01-23 13:52:17 +01:00 |
|
Thomas Rubini
|
ac78ec31fd
|
make final version of structure send to recipe view
|
2023-01-23 13:33:22 +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
|
00f80b9094
|
refactor getFullRecipeWithComments to getFullRecipeWithApprs
|
2023-01-22 20:54:44 +01:00 |
|
Thomas Rubini
|
8a5d6e4cfc
|
Alias default action to search action in ManagerUser controller
|
2023-01-20 19:12:54 +01:00 |
|
Thomas Rubini
|
58e47ccb94
|
refactor view manageUser/default to manageUser/search
|
2023-01-20 19:12:54 +01:00 |
|