Commit Graph

302 Commits

Author SHA1 Message Date
Poppabear
fff8d78764 (Release) Chat 2.1 Beta
--- Fixed ---
1. When switching rooms, will fetch new messages
2. Scrolling issues
3. Large margin on left side of content area for large width displays
4. Can now use tradition SHIFT + ENTER for new lines
5. Styled to be more attractive ??
2018-05-13 00:26:04 -04:00
Poppabear
cdb860cd73 (Fix) Bug: When changing status chat would crash
This was due to adding the Delete Message feature and the usage of
the users groups. The auth user was re-assigned by the status response
and that response did not eager load the group relationship thus making
auth.group null.
2018-05-12 17:40:51 -04:00
Poppabear
8226995d9d (Feature) Can delete chat messages
Rules to Moderating messages:
 1. Owner can mod all
 2. User can mod his own message
 3. is_admin group can mod messages except for Owner messages
 4. Mods CAN NOT mod other mods messages
2018-05-12 16:26:50 -04:00
Poppabear
2ca0b04b78 (Fix) Bug in Groups/Permissions (Read Body)
--- Issue ---
When you create a new group it never sets up any forums permissions for
that group. This was causing errors like

Trying to get property 'show_forum' of non-object ...

This is due to in code its trying to access a property of a null object,
this is fatal and cause the app to crash, this happens when the page
tries and loads permissions for that group/forum and the groups
permissions is a null object.

--- Fix ---
In the add() method of the Staff/GroupsController.php we create a
permissions object for each forum and associate it to the new groups id.

--- Views ---
When using traditional form inputs and passing that data through
the request object, you should name the inputs the same name as the
database columns. This will make it easier in code to just pass the
request data to the create/update operations.

--- Models ---
When using mass assignments like Model::create() and/or Model::update(),
we have to tell the model to not guard those columns. So by adding
`protected $guarded = ['id'];` to the Model we say Only guard the 'id'.

Also, try and avoid the `Raw` eloquent queries!

--- Controllers ---
Validation rules should be in here and not in the Model and should be
validated BEFORE the creation of the resource!

--- Reminder ---
The Model is strictly for interacting with the database.

The Controller handles the http/ajax requests

The View handles how to present the data to the users screen

The Repository/Concrete Classes are to handle the application specific
logic
2018-05-12 12:55:00 -04:00
HDVinnie
7906bc821a (Fixes) Torrent Request System
- appears my original changes were squashed by the chat branch
-
https://github.com/HDInnovations/UNIT3D/commit/b9a94017a3f7f6ae6f4fb0efb
019bc7ecc3a6331
- This resolves the issue
2018-05-11 17:36:21 -04:00
poppabear8883
a4876cc5c0 (Fix) Various bugs with $appurl 2018-05-11 10:48:37 -04:00
Poppabear
16ed00ca6e (Update) remove the word 'User' from system message 2018-05-09 18:35:22 -04:00
Poppabear
44af8475ef (Update) Removed unused use statements 2018-05-09 18:34:15 -04:00
Poppabear
40ef5f6738 (Update)[Chat 2.0] Max Message Limits
Now you are able to configure the max messages allowed in each room.
2018-05-08 22:24:20 -04:00
Poppabear
0fd8f5a9ef (Update)[Chat 2.0] Updated system messages 2018-05-08 21:05:53 -04:00
Poppabear
7ea7c05b64 (Update)[Chat 2.0] Updating system messages
Added a Helpers file for some common usages. Its being autoloaded via
composer.
2018-05-08 20:27:22 -04:00
poppabear8883
f37df6fede (Beta) Chat v2.0
This is a "Beta" commit. Its expected to be appropriate for local or
public testing.
2018-05-08 16:14:24 -04:00
poppabear8883
8f4b96ec95 (Update)[Chat 2.0] More refactoring 2018-05-08 10:20:02 -04:00
Poppabear
4aa958040d Merge remote-tracking branch 'origin/master' into Chat-2.0
# Conflicts:
#	public/css/app.css
#	public/js/app.js
2018-05-07 20:36:04 -04:00
HDVinnie
2faf7e9406 (Fix) User Groups System
- Fixes group rights settings
2018-05-07 17:34:30 -04:00
poppabear8883
e01fcb8855 (Update)[Chat 2.0] Add repository
Also updated some other stuff ...
2018-05-07 16:35:24 -04:00
HDVinnie
4d3a268a2d (Update) Add "can_upload" Group Rights
- closes #280
- Require `php artisan migrate` to be run
- This adds the additional "can_upload" group right to the current
"can_upload" per user right.
2018-05-07 14:51:21 -04:00
poppabear8883
5bca3ded3b Merge branch 'master' into Chat-2.0
# Conflicts:
#	app/Http/Controllers/RequestController.php
#	resources/assets/js/app.js
2018-05-07 09:54:19 -04:00
Poppabear
3eb37e078e (fix) Fixing remote branch 2018-05-06 16:43:44 -04:00
Poppabear
3b53d88fb9 (fix) Fixing remote branch 2018-05-06 16:43:07 -04:00
Poppabear
25e22b295d (fix) Fixing remote branch 2018-05-06 16:41:47 -04:00
Poppabear
c3ff42ed0a (fix) I have no idea 2018-05-06 16:38:38 -04:00
poppabear8883
5d0b965c94 (Update)[Chat 2.0] User avatar status indicators 2018-05-04 16:18:12 -04:00
poppabear8883
94abae6f97 (Update)[Chat 2.0] User chat status system 2018-05-04 16:09:08 -04:00
poppabear8883
06c65fd060 (Update)[Chat 2.0] User group colors and effects
Also links to users profile.
2018-05-04 09:57:41 -04:00
poppabear8883
f52662a061 (Alpha) Chat v2.0 (pusher only)
This is a "Alpha" commit. Its meant for Alpha testing. Features are
still being developed.

Please note, you must setup at least a FREE account with pusher and set
the corresponding fields in you `.env` file.

In the coming commits I will introducing a fallback so that once the
FREE pusher DAILY limits are reached, it will fall back to tradiational
database pulling every 3 seconds to get new messages.

There are still features that need to be added:
1. Emoji's
2. Statuses
3. User Tagging
4. Users List
5. Delete own messages, and staff moderation
and more ...
2018-05-03 21:32:59 -04:00
HDVinnie
542eada5b2 (Update) Groups System 2018-05-03 19:24:46 -04:00
HDVinnie
d76b412f92 (Update) Articles System 2018-05-03 18:55:52 -04:00
HDVinnie
d75429e0ac (Update) Pages System 2018-05-03 18:23:47 -04:00
HDVinnie
0231832608 (Update) Types System 2018-05-03 18:00:03 -04:00
poppabear8883
3190bc7951 (WIP) Pusher Chat v2.0
This is a "Work In Progress" commit. Its not expected to work!
2018-05-03 16:47:43 -04:00
HDVinnie
0badbea2bc (Update) Category System 2018-05-03 15:42:15 -04:00
HDVinnie
ed00aa4754 (Update) Reports System 2018-05-03 15:18:01 -04:00
HDVinnie
08fea357c3 (Update) Moderation System 2018-05-03 15:15:52 -04:00
HDVinnie
20650b66c8 (Update) Staff User Tools System 2018-05-03 15:09:30 -04:00
HDVinnie
120e0e53c7 (Update) Ban System 2018-05-03 15:03:06 -04:00
HDVinnie
f4be202a81 (Update) User Settings System 2018-05-03 14:22:12 -04:00
HDVinnie
591060683b (Update) User Edit Profile System 2018-05-03 13:44:25 -04:00
HDVinnie
48ea925be3 (Update) Cleanup Torrent Upload/Edit System 2018-05-03 13:30:46 -04:00
HDVinnie
31e200c5b8 (Update) Cleanup Torrent Request System 2018-05-03 11:09:00 -04:00
HDVinnie
5acd36ba05 (Update) Cleanup Contact Us System 2018-05-03 10:28:14 -04:00
poppabear8883
34ff5d33db (WIP) Chat v2.0 (pusher)
This is a "Work In Progress" commit. Its not expected to work.
2018-05-02 23:08:26 -04:00
werrpy
4a7b434ab8 (Fix) Request Fullfilled PM approver's username instead of id in message 2018-05-01 18:11:57 -04:00
poppabear8883
c98c567af7 (WIP) Chat v2.0
This is a "Work In Progress" commit. Its not expected to work.
2018-04-30 22:50:13 -04:00
poppabear8883
2badad3f07 (WIP) Chat v2.0
This is a "Work In Progress" commit. Its not expected to work.
2018-04-29 20:22:16 -04:00
poppabear8883
92b3cec318 (WIP) Chat v2.0
This is a "Work In Progress" commit. Its not expected to work.
2018-04-29 18:00:01 -04:00
HDVinnie
7728d26913 (Update) Change System Announcements To Use New Chat 2018-04-29 16:47:06 -04:00
HDVinnie
5064235e28 (WIP) New Chat
- Powered by VueJS, Socket.io and Laravel Echo Server for broadcasting
events.
- Alpha Stage
- Not ready for use!!!
- https://trello.com/c/tzHOvz5h/16-shoutbox-20
2018-04-29 11:57:22 -04:00
Git Repository
f7ea38a722 Added extra space after IF keyword 2018-04-28 16:33:47 -07:00
Git Repository
6fb468d165 Fix search for uploaded returns 404 error 2018-04-28 15:04:53 -07:00