Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moderation rework #225

Merged
merged 27 commits into from
Mar 17, 2018
Merged

Moderation rework #225

merged 27 commits into from
Mar 17, 2018

Conversation

MrG01
Copy link
Contributor

@MrG01 MrG01 commented Mar 17, 2018

MrG01 and others added 26 commits March 10, 2018 21:29
# Conflicts:
#	app/Http/Controllers/Staff/ModerationController.php
#	routes/web.php
- Uploader and Staff is now linkable
- modals are called from div’s instead of a’s
- Added a staff column to Postpone and Reject
- Pending only has a delete option, Reject not required.
- Reject now has a Postpone option
- Address point 2 of issue #57
- Added validator to delete controller
- Address issue #98
- All deletes now have modals that call the delete via post
- All Deletes now require extensive testing

NB. #57 and #98
- Refactor to use Illuminate\Http\Request instead of use
Illuminate\Support\Facades\Request;
- Most public functions now have comments
- Upon delete checks against Requests are also done
- Delete divs should really be buttons
#57 #98
- Torrent View Helper now becomes Torrent Helper.
- This change is needed because the scope of the helper is widen to all
aspects of the torrent and not only the view
- Achievements and announcements are no longer handled by the upload
function itself
- Refer approval to Torrent Helper
- Once approve occurs:
  - User Progress is altered;
  - Shout to Shoutbox occurs
  - Shout to IRC Bot occurs
- Achievements are not done when torrent is anonymous
- some code refactoring
# Conflicts:
#	app/Http/Controllers/Staff/ModerationController.php
#	routes/web.php
- for requests input() is preferred over get()
- some string changes
- minor variables fixes
- moderation query changes
# Conflicts:
#	app/Helpers/TorrentHelper.php
#	app/Http/Controllers/TorrentController.php
# Conflicts:
#	app/Http/Controllers/Staff/ModerationController.php
#	app/Http/Controllers/TorrentController.php
- use cache helper and not facade
- remove facades use
- remove unneeded peer and category USE
- remove facades use
- fix typo
@HDVinnie HDVinnie merged commit 1b8428f into master Mar 17, 2018
@HDVinnie HDVinnie deleted the Moderation-Rework branch March 17, 2018 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants