Empty commit

This commit is contained in:
Git 2013-03-04 08:00:25 +00:00
parent 97c84c2049
commit 5db8f33eaa
7 changed files with 51 additions and 106 deletions

View File

@ -1,4 +1,9 @@
CHANGELOG
2013-03-01
-This log is extremely out-of-date, and the log is unlikely to be maintained in the future; however, the Gazelle project is still alive and well.
-This log is being kept for historical purposes only.
2010-08-28
-Upgrade Sphinx to 1.10b

View File

@ -81,13 +81,14 @@
</colgroup>
<tr class="colhead_dark">
<td colspan="<?=Users::has_avatars_enabled() ? 2 : 1?>">
<span style="float: left;"><a href='#post<?=$PostID?>'>#<?=$PostID?></a>
by <?=Users::format_username($AuthorID, true, true, true, true, true)?> <?=time_diff($AddedTime)?> <a href="reports.php?action=report&amp;type=collages_comment&amp;id=<?=$PostID?>" class="brackets">Report comment</a>
<span style="float: left;"><a href="#post<?=$PostID?>">#<?=$PostID?></a>
<?=Users::format_username($AuthorID, true, true, true, true, true)?> <?=time_diff($AddedTime)?>
<? if (!$ThreadInfo['IsLocked']){ ?> - <a href="#quickpost" onclick="Quote('<?=$PostID?>','<?=$Username?>');" class="brackets">Quote</a><? }
if ($AuthorID == $LoggedUser['ID'] || check_perms('site_moderate_forums')){ ?> - <a href="#post<?=$PostID?>" onclick="Edit_Form('<?=$PostID?>');" class="brackets">Edit</a><? }
if (check_perms('site_moderate_forums')){ ?> - <a href="#post<?=$PostID?>" onclick="Delete('<?=$PostID?>');" class="brackets">Delete</a> <? } ?>
</span>
<span id="bar<?=$PostID?>" style="float:right;">
<span id="bar<?=$PostID?>" style="float: right;">
<a href="reports.php?action=report&amp;type=collages_comment&amp;id=<?=$PostID?>" class="brackets">Report</a>
<a href="#">&uarr;</a>
</span>
</td>

View File

@ -555,7 +555,11 @@ function compare($X, $Y){
list($CommentID, $Body, $UserID, $Username, $CommentTime) = $Comment;
?>
<div class="box comment">
<div class="head">By <?=Users::format_username($UserID, false, false, false) ?> <?=time_diff($CommentTime) ?> <a href="reports.php?action=report&amp;type=collages_comment&amp;id=<?=$CommentID?>" class="brackets">Report comment</a></div>
<div class="head">
<?=Users::format_username($UserID, false, false, false) ?> <?=time_diff($CommentTime) ?>
<br />
<a href="reports.php?action=report&amp;type=collages_comment&amp;id=<?=$CommentID?>" class="brackets">Report</a>
</div>
<div class="pad"><?=$Text->full_format($Body)?></div>
</div>
<?

View File

@ -1,6 +1,6 @@
<?
/*
* This is the AJAX page that gets called from the javascript
* This is the AJAX page that gets called from the JavaScript
* function NewReport(), any changes here should probably be
* replicated on static.php.
*/
@ -152,7 +152,7 @@
</div>
<table class="layout" cellpadding="5">
<tr>
<td class="label"><a href="reportsv2.php?view=report&amp;id=<?=$ReportID?>">Reported </a>Torrent:</td>
<td class="label"><a href="reportsv2.php?view=report&amp;id=<?=$ReportID?>">Reported</a> torrent:</td>
<td colspan="3">
<? if(!$GroupID) { ?>
<a href="log.php?search=Torrent+<?=$TorrentID?>"><?=$TorrentID?></a> (Deleted)
@ -213,7 +213,7 @@
</tr>
<? if($Tracks) { ?>
<tr>
<td class="label">Relevant Tracks:</td>
<td class="label">Relevant tracks:</td>
<td colspan="3">
<?=str_replace(" ", ", ", $Tracks)?>
</td>
@ -223,7 +223,7 @@
if($Links) {
?>
<tr>
<td class="label">Relevant Links:</td>
<td class="label">Relevant links:</td>
<td colspan="3">
<?
$Links = explode(" ", $Links);
@ -245,7 +245,7 @@
if($ExtraIDs) {
?>
<tr>
<td class="label">Relevant Other Torrents:</td>
<td class="label">Relevant other torrents:</td>
<td colspan="3">
<?
$First = true;
@ -319,7 +319,7 @@
if($Images) {
?>
<tr>
<td class="label">Relevant Images:</td>
<td class="label">Relevant images:</td>
<td colspan="3">
<?
$Images = explode(" ", $Images);
@ -336,12 +336,12 @@
}
?>
<tr>
<td class="label">User Comment:</td>
<td class="label">User comment:</td>
<td colspan="3"><?=$Text->full_format($UserComment)?></td>
</tr>
<? // END REPORTED STUFF :|: BEGIN MOD STUFF ?>
<tr>
<td class="label">Report Comment:</td>
<td class="label">Report comment:</td>
<td colspan="3">
<input type="text" name="comment" id="comment<?=$ReportID?>" size="45" value="<?=$ModComment?>" />
<input type="button" value="Update now" onclick="UpdateComment(<?=$ReportID?>)" />
@ -405,14 +405,14 @@
</select>:
</td>
<td colspan="3">
<span title="Uploader: Appended to the regular message unless using &quot;Send Now&quot;. Reporter: Must be used with &quot;Send Now&quot;.">
<span title="Uploader: Appended to the regular message unless using &quot;Send now&quot;. Reporter: Must be used with &quot;Send now&quot;.">
<textarea name="uploader_pm" id="uploader_pm<?=$ReportID?>" cols="50" rows="1"></textarea>
</span>
<input type="button" value="Send Now" onclick="SendPM(<?=$ReportID?>)" />
<input type="button" value="Send now" onclick="SendPM(<?=$ReportID?>)" />
</td>
</tr>
<tr>
<td class="label"><strong>Extra</strong> Log Message:</td>
<td class="label"><strong>Extra</strong> log message:</td>
<td>
<input type="text" name="log_message" id="log_message<?=$ReportID?>" size="40" <? if($ExtraIDs) {
$Extras = explode(" ", $ExtraIDs);
@ -423,18 +423,18 @@
echo 'value="'.trim($Value).'"';
} ?>/>
</td>
<td class="label"><strong>Extra</strong> Staff Notes:</td>
<td class="label"><strong>Extra</strong> staff notes:</td>
<td>
<input type="text" name="admin_message" id="admin_message<?=$ReportID?>" size="40" />
</td>
</tr>
<tr>
<td colspan="4" style="text-align: center;">
<input type="button" value="Invalid Report" onclick="Dismiss(<?=$ReportID?>);" />
<input type="button" value="Invalidate report" onclick="Dismiss(<?=$ReportID?>);" />
<input type="button" value="Report resolved manually" onclick="ManualResolve(<?=$ReportID?>);" />
| <input type="button" value="Give back" onclick="GiveBack(<?=$ReportID?>);" />
| <input id="grab<?=$ReportID?>" type="button" value="Grab!" onclick="Grab(<?=$ReportID?>);" />
| Multi-Resolve <input type="checkbox" name="multi" id="multi<?=$ReportID?>" checked="checked" />
| Multi-resolve <input type="checkbox" name="multi" id="multi<?=$ReportID?>" checked="checked" />
| <input type="button" value="Submit" onclick="TakeResolve(<?=$ReportID?>);" />
</td>
</tr>

View File

@ -46,13 +46,13 @@
if($Recipient == 'Uploader') {
$ToID = $_POST['uploaderid'];
if($Report) {
$Message = "You uploaded [url=http://".NONSSL_SITE_URL."/torrents.php?torrentid=".$TorrentID."]the above torrent[/url], it has been reported for the reason: ".$ReportType['title']."\n\n".$Message;
$Message = "You uploaded [url=https://".SSL_SITE_URL."/torrents.php?torrentid=".$TorrentID."]the above torrent[/url]. It has been reported for the reason: ".$ReportType['title']."\n\n".$Message;
} else {
$Message = "I am PMing you as you are the uploader of [url=http://".NONSSL_SITE_URL."/torrents.php?torrentid=".$TorrentID."]the above torrent[/url].\n\n".$Message;
$Message = "I am PMing you as you are the uploader of [url=https://".SSL_SITE_URL."/torrents.php?torrentid=".$TorrentID."]the above torrent[/url].\n\n".$Message;
}
} else if($Recipient == 'Reporter') {
$ToID = $_POST['reporterid'];
$Message = "You reported [url=http://".NONSSL_SITE_URL."/torrents.php?torrentid=".$TorrentID."]the above torrent[/url] for the reason ".$ReportType['title'].":\n\"".$_POST['report_reason']."\"\n\n".$Message;
$Message = "You reported [url=https://".SSL_SITE_URL."/torrents.php?torrentid=".$TorrentID."]the above torrent[/url] for the reason ".$ReportType['title'].":\n[quote]".$_POST['report_reason']."[/quote]\n".$Message;
} else {
$Err = "Something went horribly wrong";
}

View File

@ -195,10 +195,10 @@
</div>
<div class="buttonbox thin center">
<? if($View != "resolved") { ?>
<span title="Resolves *all* checked reports with their respective resolutions"><input type="button" onclick="MultiResolve();" value="Multi-Resolve" /></span>
<span title="Assigns all of the reports on the page to you!"><input type="button" onclick="Grab();" value="Grab All" /></span>
<span title="Resolves *all* checked reports with their respective resolutions"><input type="button" onclick="MultiResolve();" value="Multi-resolve" /></span>
<span title="Assigns all of the reports on the page to you!"><input type="button" onclick="Grab();" value="Grab all" /></span>
<? } ?>
<? if($View == "staff" && $LoggedUser['ID'] == $ID) { ?>| <span title="Un-In Progress all the reports currently displayed"><input type="button" onclick="GiveBack();" value="Give back all" /></span><? } ?>
<? if($View == "staff" && $LoggedUser['ID'] == $ID) { ?>| <span title="Un-'in progress' all the reports currently displayed"><input type="button" onclick="GiveBack();" value="Give back all" /></span><? } ?>
</div>
<br />
<div class="linkbox">
@ -296,7 +296,7 @@
</div>
<table class="layout" cellpadding="5">
<tr>
<td class="label"><a href="reportsv2.php?view=report&amp;id=<?=$ReportID?>">Reported </a>Torrent:</td>
<td class="label"><a href="reportsv2.php?view=report&amp;id=<?=$ReportID?>">Reported</a> torrent:</td>
<td colspan="3">
<? if(!$GroupID) { ?>
<a href="log.php?search=Torrent+<?=$TorrentID?>"><?=$TorrentID?></a> (Deleted)
@ -362,7 +362,7 @@
</tr>
<? if($Tracks) { ?>
<tr>
<td class="label">Relevant Tracks:</td>
<td class="label">Relevant tracks:</td>
<td colspan="3">
<?=str_replace(" ", ", ", $Tracks)?>
</td>
@ -372,7 +372,7 @@
if($Links) {
?>
<tr>
<td class="label">Relevant Links:</td>
<td class="label">Relevant links:</td>
<td colspan="3">
<?
$Links = explode(" ", $Links);
@ -394,7 +394,7 @@
if($ExtraIDs) {
?>
<tr>
<td class="label">Relevant Other Torrents:</td>
<td class="label">Relevant other torrents:</td>
<td colspan="3">
<?
$First = true;
@ -466,7 +466,7 @@
if($Images) {
?>
<tr>
<td class="label">Relevant Images:</td>
<td class="label">Relevant images:</td>
<td colspan="3">
<?
$Images = explode(" ", $Images);
@ -483,7 +483,7 @@
}
?>
<tr>
<td class="label">User Comment:</td>
<td class="label">User comment:</td>
<td colspan="3"><?=$Text->full_format($UserComment)?></td>
</tr>
<? // END REPORTED STUFF :|: BEGIN MOD STUFF ?>
@ -491,7 +491,7 @@
if($Status == "InProgress") {
?>
<tr>
<td class="label">In Progress by:</td>
<td class="label">In progress by:</td>
<td colspan="3">
<a href="user.php?id=<?=$ResolverID?>"><?=$ResolverName?></a>
</td>
@ -500,7 +500,7 @@
if($Status != "Resolved") {
?>
<tr>
<td class="label">Report Comment:</td>
<td class="label">Report comment:</td>
<td colspan="3">
<input type="text" name="comment" id="comment<?=$ReportID?>" size="45" value="<?=$ModComment?>" />
<input type="button" value="Update now" onclick="UpdateComment(<?=$ReportID?>)" />
@ -564,14 +564,14 @@
</select>:
</td>
<td colspan="3">
<span title="Uploader: Appended to the regular message unless using &quot;Send Now&quot;. Reporter: Must be used with &quot;Send Now&quot;.">
<span title="Uploader: Appended to the regular message unless using &quot;Send now&quot;. Reporter: Must be used with &quot;Send now&quot;.">
<textarea name="uploader_pm" id="uploader_pm<?=$ReportID?>" cols="50" rows="1"></textarea>
</span>
<input type="button" value="Send Now" onclick="SendPM(<?=$ReportID?>)" />
<input type="button" value="Send now" onclick="SendPM(<?=$ReportID?>)" />
</td>
</tr>
<tr>
<td class="label"><strong>Extra</strong> Log Message:</td>
<td class="label"><strong>Extra</strong> log message:</td>
<td>
<input type="text" name="log_message" id="log_message<?=$ReportID?>" size="40" <? if($ExtraIDs) {
$Extras = explode(" ", $ExtraIDs);
@ -582,21 +582,21 @@
echo 'value="'.trim($Value).'"';
} ?>/>
</td>
<td class="label"><strong>Extra</strong> Staff Notes:</td>
<td class="label"><strong>Extra</strong> staff notes:</td>
<td>
<input type="text" name="admin_message" id="admin_message<?=$ReportID?>" size="40" />
</td>
</tr>
<tr>
<td colspan="4" style="text-align: center;">
<input type="button" value="Invalid Report" onclick="Dismiss(<?=$ReportID?>);" />
<input type="button" value="Invalidate report" onclick="Dismiss(<?=$ReportID?>);" />
<input type="button" value="Report resolved manually" onclick="ManualResolve(<?=$ReportID?>);" />
<? if($Status == "InProgress" && $LoggedUser['ID'] == $ResolverID) { ?>
| <input type="button" value="Give back" onclick="GiveBack(<?=$ReportID?>);" />
<? } else { ?>
| <input id="grab<?=$ReportID?>" type="button" value="Grab!" onclick="Grab(<?=$ReportID?>);" />
<? } ?>
| Multi-Resolve <input type="checkbox" name="multi" id="multi<?=$ReportID?>" checked="checked" />
| Multi-resolve <input type="checkbox" name="multi" id="multi<?=$ReportID?>" checked="checked" />
| <input type="button" id="submit_<?=$ReportID?>" value="Submit" onclick="TakeResolve(<?=$ReportID?>);" />
</td>
</tr>
@ -610,19 +610,19 @@
</td>
</tr>
<tr>
<td class="label">Resolve Time</td>
<td class="label">Resolve time</td>
<td colspan="3">
<?=time_diff($LastChangeTime)?>
</td>
</tr>
<tr>
<td class="label">Report Comments</td>
<td class="label">Report comments</td>
<td colspan="3">
<?=$ModComment?>
</td>
</tr>
<tr>
<td class="label">Log Message</td>
<td class="label">Log message</td>
<td colspan="3">
<?=$LogMessage?>
</td>

View File

@ -1,65 +0,0 @@
<?
// blankfile
$DB->query("SELECT ID, Title FROM wiki_articles WHERE MinClassRead = 520 OR MinClassEdit = 520");
while (list ($ID, $Title) = $DB->next_record()) {
$Cache->delete_value("wiki_article_".$ID);
echo "<a href='wiki.php?action=article&id=$ID'>$Title</a>";
}
/*
* $DB->query("SELECT ID FROM torrents_group"); while (list($TorrentID) =
* $DB->next_record()) { $Cache->delete_value('torrent_group_'.$TorrentID); }
*/
// echo "Torrent caches cleared.\n";
/*
* $Message = sqltime()." - Donor status changed, invites + 2\n\n"; $UserIDs =
* array(806, 941, 5130, 5496, 8633, 9230, 10311, 10602, 10636, 12422, 12698,
* 14282, 17499, 17547, 17715, 22601, 23671, 24228, 24705, 25766, 27074, 30149,
* 31817, 33982, 35130, 36527, 39963, 40744, 40921, 47685, 51138, 51446, 54482,
* 57571, 57855, 59260, 60696, 61291, 61593, 63124, 63781, 67073, 67920, 68023,
* 68822, 69729, 72558, 73898, 73905, 74510, 76346, 76725, 77508, 77536, 79431,
* 80805, 82541, 84789, 86327, 89105, 91639, 92069, 94151, 97839, 100259,
* 111517, 112201, 112595, 113511, 113720, 115902, 115999, 116717, 117131,
* 119365, 120070, 120459, 122491, 124228, 124311, 124467, 125293, 130902,
* 131099, 131580, 131887, 132883, 133465, 134050, 138055, 139523, 139890,
* 142027, 142222, 142279, 143131, 143719, 145522, 146438, 148022, 148039,
* 148919, 151180, 152579, 152961, 154962, 155665, 155828, 156460, 157398,
* 159926, 160618, 162965, 164798, 166152, 167076, 167226, 167461, 168466,
* 169490, 169800, 171435, 171989, 173150, 173306, 173609, 175358, 176299,
* 177132, 178070, 178137, 178324, 183720, 185361, 185538, 185692, 186352,
* 187266, 187500, 188657, 188915, 189474, 190709, 191113, 191522, 192029,
* 192116, 192813, 197480, 198492, 198526, 198811, 199099, 200406, 200779,
* 201773, 204760, 205185, 205488, 205802, 205915, 206239, 207133, 208061,
* 212360, 215402, 216279, 218481, 223475, 223510, 226981, 227255, 228782,
* 229974, 231340, 235191, 249802, 250229, 251206, 252615, 254649, 255117,
* 255555, 256494, 256799, 257609, 257699, 257997, 258363, 261275, 262619,
* 263498, 264564, 264691, 267904, 268012, 270495, 270908, 271106, 272568,
* 273174, 276311, 277271, 277523, 278510, 278663, 279207, 279243, 279563,
* 281529, 281725, 285316, 285845, 288933, 289777, 290270, 291503, 291714,
* 291864, 292010, 292421, 292474, 292588, 292728, 293159, 294752, 295284,
* 295365, 297014, 297386, 297848, 298127, 298145, 299285, 300148, 300742,
* 301371, 302740, 303324, 303992, 304228, 304726, 304732, 305361, 306792,
* 307696, 310150, 310898, 311047, 311663, 311916, 313627, 314431, 314936,
* 315965, 316595, 319101, 320063, 322294, 322325, 323204, 323815, 325153,
* 325932, 326698, 327799, 328206, 328383, 329389, 329714, 330117, 333456,
* 333487, 333930, 335626, 336023, 337341, 338996, 340640, 340846, 340932,
* 341530, 343137, 344157, 344948, 345463, 345672, 345999, 346640, 347031,
* 349924, 350214, 351584, 351994, 352550, 352591); foreach ($UserIDs as
* $UserID) { $DB->query("SELECT Donor FROM users_info WHERE UserID =
* ".$UserID); list($Donor) = $DB->next_record(); if (!$Donor) {
* $DB->query("UPDATE users_info SET Donor = '1', AdminComment =
* CONCAT('".$Message."', AdminComment) WHERE UserID = ".$UserID);
* $DB->query("UPDATE users_main SET Invites = Invites + 2 WHERE ID =
* ".$UserID); echo "Marked ".$UserID." as donor\n"; } } /*$DB->query("select
* id, fltokens from users_main where fltokens <0"); $Results = $DB->to_array();
* $DB->query('update users_main set FLTokens = 0 WHERE FLTokens < 0'); foreach
* ($Results as $Result) { list($UserID, $Tokens) = $Result;
* $Cache->delete_value('user_info_heavy_'.$UserID); echo "Clearing $UserID (Had
* $Tokens tokens)<br />"; }
*/
/*for ($i=1;$i<400000; $i++) {
$Cache->delete_value('user_info_heavy_'.$UserID);
}*/
?>