Commit Graph

334 Commits

Author SHA1 Message Date
HDVinnie 89574a2fa7 (Update) Album Controller
- change cover_image size
2018-05-31 11:25:34 -04:00
HDVinnie cddc01c16b (Update) Add Album Controller 2018-05-31 11:14:07 -04:00
HDVinnie ec2e362be7 (Update) Graveyard System 2018-05-30 11:37:45 -04:00
HDVinnie f4ff78c12e (Fix) Private Message Search 2018-05-25 14:32:37 -04:00
HDVinnie 457da8ebef (Update) Torrent Reseed Request 2018-05-23 21:50:39 -04:00
HDVinnie 0d392abb32 (Update) Automated Private Messages 2018-05-23 15:31:13 -04:00
HDVinnie 195bdea8d9 (Update) Private Message (PM) System
- added few more checks
2018-05-22 23:42:32 -04:00
HDVinnie 6726efb27a (Fix) Torrent Editing
- missed commit
- edit_tor.blade.php renamed to edit_torrent.blade.php
- var changed from $tor to $torrent
2018-05-22 23:18:05 -04:00
HDVinnie 41b8ee3c53 (Update) Private Message (PM) System
- closes #288
- clean controller and model
- redo validation and creation/edits of messages are handled
- fix reciever_id to receiver_id
- fix receiver relation
- add PM icon on profile
- create PM menu as a partial
- update routes
- REQUIRES `php artisan migrate`
2018-05-22 23:15:56 -04:00
HDVinnie 83776fdbf3 (Update) Torrent/Announce System
- update Peers table (rename hash to info_hash for consistency)
- update announce and torrent controller to match new column name
- major cleanup / refactor of torrent controller
- remove torrent rules from model into controller
- cleanup torrent, peer and torrentfile models

- THIS REQUIRES `php artisan migrate`
2018-05-22 14:53:14 -04:00
HDVinnie b2be1de4d1 (Update) Minor Cleanup To Multiple Controllers
- just basic cleanup to function headers/descriptions
2018-05-22 14:03:39 -04:00
HDVinnie 8d16608bf8 (Update) Activity Logger 2018-05-22 14:00:41 -04:00
HDVinnie 0a4667d1bd (Update) Graveyard System
- Todo: Refactor Graveyard View Blade
2018-05-22 13:55:31 -04:00
HDVinnie 9c22db2d76 (Update) Page System 2018-05-22 13:51:51 -04:00
HDVinnie d38530db95 (Update) Freeleech Tokens
- minor cleanup
2018-05-21 23:22:05 -04:00
HDVinnie d31237cf01 (Update) User Note System 2018-05-21 23:10:22 -04:00
HDVinnie 934051a8bf (Update) Mass PM System
- refactor
- cleanup
- still could be optimized into a Job
2018-05-21 11:14:07 -04:00
HDVinnie e725418c7f (Update) More Minor Controller Cleanup 2018-05-21 11:12:37 -04:00
HDVinnie ec1b12cc70 (Update) Minor Cleanup To Multiple Controllers 2018-05-21 11:00:36 -04:00
HDVinnie 5ca48f23fd (Update) User Gifting System
- refactor/cleanup controller
- cleanup view blade
- bonus_points variable renamed to seedbonus to match DB column
2018-05-21 10:58:56 -04:00
HDVinnie de588ddcc8 (Update) Categories System
- cleanup controllers/model
- move validation rules out of model and into controller
2018-05-21 10:30:29 -04:00
HDVinnie 7d0a081bbb (Update) Forgot Username System
- fix typo
- remove inline validation
- cleanup controller
2018-05-20 23:46:05 -04:00
HDVinnie 04b8a3e1fd (Update) Add Torrent List Setting
- Torrents Layout Setting
- You can now set your default torrents layout. Then when you visit
torrents icon in side nav it will automatically goto your preferred
torrents layout. You can find this new setting on your Account Settings
page.
- The default is the original Torrent List Layout.
- requires `php artisan migrate`
- - requires `php artisan clear:all`
2018-05-20 22:57:39 -04:00
HDVinnie c6c0a03564 (Update) New Torrent Cards Layout [BETA]
- removes old poster layout for new cards layout
2018-05-20 22:14:11 -04:00
HDVinnie 1920a0bbb0 (Fix) Unban User 2018-05-20 22:02:36 -04:00
HDVinnie a93795fd45 (Update) Ban System
- update validator
2018-05-18 15:13:45 -04:00
HDVinnie e5947da080 (Update) Ban System
- Cleanup Model
- Cleanup Controller
- New rename migration to change table name from ban to bans. Tables
should be plural while models are singular.
2018-05-18 14:57:34 -04:00
HDVinnie fe6ca8a17a (Update) Articles/News System
- general cleanup
- moved validation rules out of model and into controller
2018-05-18 14:20:43 -04:00
HDVinnie a5fa96f955 (Update) Groups System 2018-05-17 23:25:00 -04:00
HDVinnie 2c90b3ad6b (Update) Avatar Uploading
- now supports animated gif uploading given it is symmetrical
- add max image size configuration to image.php (Default 2MB)
- this is not the prettiest but will do until Intervention supports
animated GIF’s
2018-05-14 11:41:29 -04:00
poppabear8883 04d7e8b663 (Remove) Delete old ChatController (unused) 2018-05-14 09:51:36 -04:00
poppabear8883 b1c8318637 (Refact)[Chat] Fetch entire configuration instead of just limits
-- Run --

npm install && php artisan clear:all

-- Notes --

If using the Git Updater, you will NOT have to do the command
above.
2018-05-14 09:43:09 -04:00
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