shareit/app/Http/Controllers
Bruno Fontes 00c382e1cc
Avoiding issues and refactoring code
I made the code more passive, avoiding issued at taking, returning,
storing alerts or removing alerts from an item.

Now they all check if it is with you before returning/deleting
alert etc. I am not sure if all cases are covered, but they are
better than before. I had one only issued on this on that time,
but I prefer to prioritize safety/security.

I took the opportunitie to move some code from Controllers to
the model itself, as they were changing with the DB.
2018-10-21 13:09:06 -03:00
..
Auth Let me know if anyone subscribed during alpha 2018-10-03 19:42:35 -03:00
AlertController.php Avoiding issues and refactoring code 2018-10-21 13:09:06 -03:00
Controller.php Init 2018-09-07 20:12:34 -03:00
HomeController.php Fixed bug causing error 500 on production 2018-10-16 20:28:59 -03:00
ItemController.php Added PTB Translation of emails and some pages 2018-09-27 20:13:14 -03:00
LanguageController.php Added: language to User profile (DB) 2018-10-02 23:53:35 -03:00
ProductController.php Added PTB Translation of emails and some pages 2018-09-27 20:13:14 -03:00
TakeController.php Avoiding issues and refactoring code 2018-10-21 13:09:06 -03:00
UserController.php Refactoring 2018-10-10 00:46:28 -03:00