shareit/app
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
..
Console Init 2018-09-07 20:12:34 -03:00
Events Refactoring 2018-10-10 00:46:28 -03:00
Exceptions Init 2018-09-07 20:12:34 -03:00
Http Avoiding issues and refactoring code 2018-10-21 13:09:06 -03:00
Listeners Refactoring 2018-10-10 00:46:28 -03:00
Mail Refactoring: just including "use App" to make code a bit cleaner 2018-10-02 23:49:16 -03:00
Providers Added: language to User profile (DB) 2018-10-02 23:53:35 -03:00
FlashMessage.php Including FlashMessage Model 2018-09-20 00:18:30 -03:00
Item.php Avoiding issues and refactoring code 2018-10-21 13:09:06 -03:00
Product.php Including authenticaed user on models: Items, Product and User 2018-09-19 15:00:49 -03:00
User.php Added: language to User profile (DB) 2018-10-02 23:53:35 -03:00