Commit Graph

66 Commits

Author SHA1 Message Date
df08525010
feat: auto update passed time 2022-11-17 21:30:43 -03:00
3d5e484364
feat: favicon with number of used items 2022-11-16 19:22:31 -03:00
7c09fc4896
feat: broadcasting item to refresh pages 2022-11-13 21:04:45 -03:00
2cd7ab11fa
chore: Update to Laravel 9.0 2022-11-13 16:19:40 -03:00
54efb095fe style: run php-cs-fixer 2021-05-20 20:37:35 -03:00
7c225605e8 Update Laravel to version 6.* 2021-02-17 20:02:27 -03:00
90bcb44067 Fix "@production" message appearing on screen
It was just for the privacy respect statistics script not appearing on
test phase.
2021-02-16 20:13:12 -03:00
3f49799d57 Update js libraries 2021-02-14 23:20:43 -03:00
c8f1881118 Showing tracker only in production 2020-08-22 20:01:58 -03:00
b6ba9a6193 Including the Tracking number directly 2020-08-22 14:10:59 -03:00
5e0637a1fd Including my OWA Tracker 2020-08-22 11:44:03 -03:00
ffbb387afa Merge branch 'master' of github.com:brunofontes/shareit 2019-07-18 19:46:11 -03:00
846624cec5 Including home.blade -> hasFocus test 2019-05-31 11:42:18 -03:00
3c17af2d7c Create test.php 2019-02-26 20:18:22 -03:00
e22f49bc6a 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
1f9da456a5 Bug Fixed: avoiding item waiting_user across take/return
It happend once: a user asked to be added to the waiting
list at the same time other user was returning the item.

So the user ended up waiting for the user he was already
using.
2018-10-21 11:57:23 -03:00
999157825f Fixed bug causing error 500 on production
Some PHP version or configuration were causing this error.

On app.blade.php of local branch, I could use "$usedItems ? :"
even if $usedItems were null, but I had to check an "isset" to the production.

On HomecController, I had to change the "object" parameter of getUsername
to "\Illuminate\Database\Eloquent\Collection" to make it work.

I took the chance to just show the number of itens in use
if it were greater than 0.
2018-10-16 20:28:59 -03:00
840f0a777a Trying to fix an 500 error on production 2018-10-16 20:18:10 -03:00
8ae1e92a63 Refreshing and Including number of used items on Title
It was necessary to keep refreshing the page to
check if an item was returned when we did not
want to be alerted. So, now, the page refresh
itself every 2 minutes (while I do not know how
to use Laravel broadcasting) and the title shows
the number of items in use (including when used
by you).
2018-10-16 15:15:05 -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
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
aebffe304f Including messages on registering and invalid product 2018-09-19 21:07:40 -03:00
52335d3495 Fixed: E-mail labe were broken on Item view 2018-09-19 15:24:23 -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
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
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
0ff176b075 Including nonbreak space on Share It text from Welcome Email 2018-09-15 00:04:51 -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
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
3469924cdf Including the option to add users to items 2018-09-13 21:16:16 -03:00