Commit Graph

40 Commits

Author SHA1 Message Date
a85b971ec5 Let me know if anyone subscribed during alpha
As the project is still alpha, I just want to know if someone
subscribed at it using a dummy e-mail address.
2018-10-03 19:42:35 -03:00
675200303a Added: language to User profile (DB)
The language were set only on session. But now it is
stored with user profile, on DB.

It is important as now I can send alert e-mails to each
user on their own languages and not the activer
user language.

Also, wherever the user logs out and logs in again,
it will see the same site locale.
2018-10-02 23:53:35 -03:00
82a8bcb7a2 Refactoring: just including "use App" to make code a bit cleaner
I was using "\App::setLocale" on code, but it was annoind me.
So I included the "use App" and now I am colling
directly the "App::setLocale".
2018-10-02 23:49:16 -03:00
1e1c178214 Refactoring: TakeController returned item Mail moved to a listener
The TakeController was manually sending the email message
as well as dealing with item return, so I moved the email message
to it's own listener, I created an event for it and moved the
return part to the item model.
2018-09-30 21:37:44 -03:00
63ef369e16 Added PTB Translation of emails and some pages
Now the main page, item page and e-mails are translated
into Brazilian Portuguese
2018-09-27 20:13:14 -03:00
1ff8a4f492 Starting to add localization into PTB 2018-09-26 23:06:38 -03:00
b168473002 Groups HOME itesm by Product 2018-09-21 00:45:06 -03:00
36b62ffc8b Including FlashMessage Model 2018-09-20 00:18:30 -03:00
cb0c43ba0b Invalid product now redirect to Products.index page 2018-09-19 21:12:48 -03:00
aebffe304f Including messages on registering and invalid product 2018-09-19 21:07:40 -03:00
1350c62f14 Fixed: error message when opening other user product
The user can only open their own products.
If the user tried to open a product that belongs to
other person, the site were returning an error message.

Now it just go back to the last page.
2018-09-19 15:11:30 -03:00
4ef87f411d Including authenticaed user on models: Items, Product and User 2018-09-19 15:00:49 -03:00
15f20a6164 Fixed: 2 people were able to Take the same item at the same time
Now there is a verification before take an item.
2018-09-17 11:45:05 -03:00
d7af915c55 Merge branch 'master' of bitbucket.org:brunofontes/shareit 2018-09-17 11:06:45 -03:00
21793213a8 Including email verification 2018-09-17 11:06:35 -03:00
80bc4236cd Including schema to avoid DB error on hostgator 2018-09-17 08:09:20 -05:00
c38744e392 Added Delete PRODUCT with Items and dettaching from users 2018-09-17 00:51:41 -03:00
707dd1654a Including Edit Product 2018-09-16 20:43:21 -03:00
614dbeda35 Adding URL to PRODUCT 2018-09-16 20:32:32 -03:00
92f901e3a5 Including a findOrFail to Edit ITEM 2018-09-16 20:31:27 -03:00
d8847256fd Adding edit function to ITEM
Now an item can be renamed.
2018-09-16 16:43:03 -03:00
d407e5d109 Included: alert the active user someone is waiting for the item 2018-09-15 02:33:21 -03:00
a173e3923a Including Alert me! 2018-09-15 02:09:07 -03:00
c4bd6a8a1a Joining Take and Return controllers on just Take (store and delete) 2018-09-15 00:22:57 -03:00
b40a9fa3f1 Refactoring HomeController
Avoiding requests to DB
2018-09-15 00:05:24 -03:00
ee9a01651d Adding a Welcome Mail 2018-09-14 17:00:28 -03:00
ea3ffaad39 Including occupied username and renaming DB field
Now it shows the username of who is using an item.
Item db field 'usedBy' was renamed to 'used_by' to keep consistence.
2018-09-14 12:52:07 -03:00
925c378d1e Included: remove user from Item 2018-09-13 23:50:36 -03:00
3469924cdf Including the option to add users to items 2018-09-13 21:16:16 -03:00
9debf5548c Adding Take and Return controllers 2018-09-12 21:27:35 -03:00
52eda15057 Including Item Delete 2018-09-12 21:27:04 -03:00
a3fe6f719d Refactoring homeController code 2018-09-12 21:25:48 -03:00
b41b9b4557 Adding product name with the item name on the Home page 2018-09-12 18:24:56 -03:00
fd9e145443 Creating relationships between users/items/products 2018-09-12 02:31:03 -03:00
7701c1a11d Imrpoving Item, Product and Users 2018-09-11 20:48:09 -03:00
3db5c3862b Including item and product form validation 2018-09-10 21:29:32 -03:00
bfdfa50af1 Including Items and Products views and controllers 2018-09-10 01:23:51 -03:00
72f40046ec Adding User login and registration 2018-09-09 01:03:41 -03:00
fd3e4a67cf Including Item and Product migration, controllers and models 2018-09-09 00:26:57 -03:00
3631f08050 Init 2018-09-07 20:12:34 -03:00