Empty commit

This commit is contained in:
Git 2016-01-09 08:00:28 +00:00
parent 1b3f1178f9
commit 0722531498
5 changed files with 46 additions and 26 deletions

View File

@ -1,5 +1,8 @@
CHANGE LOG
2016-01-08 by newman
Add lossy master approval request report type. Remove unapproved cassette report type
2016-01-07 by lawnmower
Remove usage of top_snatchers. Send reseed requests to the last 100 snatchers

View File

@ -1120,11 +1120,6 @@ CREATE TABLE `top10_history_torrents` (
`TagString` varchar(100) NOT NULL DEFAULT ''
) ENGINE=InnoDB CHARSET utf8;
CREATE TABLE `top_snatchers` (
`UserID` int(10) unsigned NOT NULL,
PRIMARY KEY (`UserID`)
) ENGINE=InnoDB CHARSET utf8;
CREATE TABLE `torrents` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`GroupID` int(10) NOT NULL,

View File

@ -79,6 +79,18 @@
<?
}
if (array_key_exists('proofimages', $ReportType['report_fields'])) {
?>
<tr>
<td class="label">
Link(s) to proof images<?=($ReportType['report_fields']['sitelink'] == '1' ? ' <strong class="important_text">(Required)</strong>:' : '')?>:
</td>
<td>
<input id="image" type="text" name="image" size="50" value="<?=(!empty($_POST['proofimages']) ? display_str($_POST['proofimages']) : '')?>" />
</td>
</tr>
<?
}
?>
<tr>
<td class="label">

View File

@ -566,27 +566,6 @@
The Uploading Rules require that all uploads contain audio tracks with accurate file names. Your torrent has been marked as having incorrect or incomplete file names. It is now listed on [url='.site_url().'better.php]better.php[/url] and is eligible for trumping. You are of course free to fix this torrent yourself. Add or fix the file names and upload the replacement torrent to the site. Then, report (RP) the older torrent using the category "Bad File Names Trump" and indicate in the report comments that you have fixed the file names. Be sure to provide a permalink (PL) to the new replacement torrent.'
)
),
'cassette' => array(
'priority' => '260',
'reason' => '17',
'title' => 'Unapproved Cassette',
'report_messages' => array(
'If the album was never released other than on cassette, please include a source.'
),
'report_fields' => array(
'link' => '0'
),
'resolve_options' => array(
'upload' => '0',
'warn' => '1',
'delete' => '1',
'pm' => '[rule]2.10.1[/rule]. Cassettes are allowed under strict conditions.
[rule]2.10.1.1[/rule]. Releases available only on cassette may be uploaded under special strict conditions (see [url='.site_url().'wiki.php?action=article&amp;id=593]this wiki[/url] for information on cassette ripping).
[rule]2.10.1.2[/rule]. Rips must be made from official cassette sources. Bootlegs are often from unofficial sources and may be deleted if they do not meet high quality audio standards (see rule [rule]2.10.8[/rule]).
When uploading new cassette-sourced torrents, be sure to include in the release description evidence of its uniqueness in the form of discography information from a reputable source as well as pictures of the cassette you ripped.'
)
),
'skips' => array(
'priority' => '220',
'reason' => '13',
@ -625,6 +604,25 @@
[rule]2.2.10.9.2[/rule]. If you find that an appended log has not been scored properly, please report the torrent and use the log rescore option.
Your torrent has now been properly scored by the staff.'
)
),
'lossyapproval' => array(
'priority' => '161',
'reason' => '-1',
'title' => 'Lossy Master Approval Request',
'report_messages' => array(
'Please include as much information as possible to verify the report, including spectral analysis images.',
'For WEB purchases, please include a link to the webstore where you obtained the album and a screenshot of your invoice.',
'For CDs or other physical media, please include a photograph of the album next to a piece of paper with your username written on it.',
'<strong class="important_text">Anything included in the proof images field will only be viewable by staff.</strong>'
),
'report_fields' => array(
'proofimages' => '2'
),
'resolve_options' => array(
'upload' => '0',
'warn' => '0',
'delete' => '0'
)
)
),
'2' => array( //Applications Rules Broken

View File

@ -202,6 +202,18 @@
$SendPM = true;
}
if ($_POST['resolve_type'] == 'lossyapproval') {
$DB->query("
INSERT INTO torrents_lossymaster_approved
VALUES ($TorrentID, ".$LoggedUser['ID'].", '".sqltime()."')");
$DB->query("
SELECT GroupID
FROM torrents
WHERE ID = $TorrentID");
list($GroupID) = $DB->next_record();
$Cache->delete_value("torrents_details_$GroupID");
}
//Log and delete
if (isset($Escaped['delete']) && check_perms('users_mod')) {
$DB->query("