Commit Graph

73 Commits

Author SHA1 Message Date
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
8575895341 BugFixing: home page were blank on no items
When we had no items showing on home page, it were just blank.
Turns out that the @empty call that shows the default message
were appearing just when it had no items on a product, instead
of no items at all.

Fixed it moving the paragraph to the right place.
2018-09-29 12:09:18 -03:00
f56d8f4b7a Added: buttons to change language
Now the welcome.blade has two new links to change language.
Other pages has a footer with the language switcher too.
2018-09-29 01:49:02 -03:00
ce0ddad1e7 Help Page translated into PTB
Now the entire website should be translated into PTB.
2018-09-28 19:14:29 -03:00
e5b3f5d445 Adding: help file translation to PTB
The help file is now translated into PTB
2018-09-28 02:09:00 -03:00
c9c92f7e07 Adding translation of product page
The news/product/*.blade.php files are translated into PTB.
2018-09-28 01:54:51 -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
55e0c68094 Creating a readme.md file
The first readme.md was just some annotations to myself.
Now I created a first draft of a readme.md.
2018-09-22 16:07:49 -03:00
06002ca782 Removing start_vagrant.sh from git 2018-09-22 15:50:50 -03:00
816ec4ed89 Improving email contents
On email body, it usually appeared as the button to the website
would take directly an action, so the text was changed to make
sure the user will understand he is only going to access
the website.
2018-09-22 15:47:24 -03:00
b168473002 Groups HOME itesm by Product 2018-09-21 00:45:06 -03:00
78bc539a5a Fixing home alignment when person name is too big 2018-09-21 00:05:57 -03:00
51ee7c2ef3 Changing home layout from FLOAT to GRID 2018-09-20 20:37:21 -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
02f303825e Product/index view is now only allowed to Verified users 2018-09-19 20:41:36 -03:00
8033a9aeb2 Test: fixing factory on product url 2018-09-19 16:30:59 -03:00
fa74f32bbd -mGitIgnore: Excluding vagrant scripts 2018-09-19 16:30:11 -03:00
52335d3495 Fixed: E-mail labe were broken on Item view 2018-09-19 15:24:23 -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
3a395f7069 Including mergeAndDeploy on Git Ignore 2018-09-19 01:09:02 -03:00
a61da9425a Fixing Help Text 2018-09-19 01:01:13 -03:00
292df607b9 HELP view added 2018-09-17 21:19:18 -03:00
556e9ef6ee HELP: Beginning to add Home and Products to it. 2018-09-17 20:35:44 -03:00
3e6defc7ec Starting add a Help page 2018-09-17 20:33:05 -03:00
17ee055ca6 Fixing addProductForm and item-users responsive views 2018-09-17 15:22: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
4b9ac0c133 Fixing item_user migration primary keys
I had included item_id and user_id as primary keys to avoid duplications
but the command line to attach I am using does not duplicate.
Not only that, I got an error during migration of Multiple primary keys.
2018-09-16 19:29:14 -03:00
d8847256fd Adding edit function to ITEM
Now an item can be renamed.
2018-09-16 16:43:03 -03:00
a3a7821578 Restyling / refactoring ITEM 2018-09-16 16:19:05 -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
0ff176b075 Including nonbreak space on Share It text from Welcome Email 2018-09-15 00:04:51 -03:00
e2942224db Refactoring item_user migration
Delete the separate value for item_user,
adding a primary key to the pivot table
and removing the timestamp as it is
not necessary.
2018-09-14 17:24:26 -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
ff9960be65 Fixing Product buttons action
It were pointing to /product/id but needs to point to /product.
2018-09-13 21:16:57 -03:00