ChangeSet ID: 31097
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2007/04/23 18:39:44
Modified files:
include : testData_queue.php
Log message:
Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com>
Fix a case where the admins would see the wrong help text when submitting new testData. Add
borders around the distribution form to match the rest of the editor
Patch: http://cvs.winehq.org/patch.py?id=31097
Old revision New revision Changes Path
1.5 1.6 +6 -1 appdb/include/testData_queue.php
Index: appdb/include/testData_queue.php
diff -u -p appdb/include/testData_queue.php:1.5 appdb/include/testData_queue.php:1.6
--- appdb/include/testData_queue.php:1.5 23 Apr 2007 23:39:44 -0000
+++ appdb/include/testData_queue.php 23 Apr 2007 23:39:44 -0000
@@ -66,7 +66,8 @@ class testData_queue
/* If we are processing queued test results with a queued distribution,
we display some additional help here */
- if($this->oDistribution->sQueued != "false" && $this->canEdit())
+ if($this->oDistribution->iDistributionId &&
+ $this->oDistribution->sQueued != "false" && $this->canEdit())
{
echo "The user submitted a new distribution, which will be un-queued ".
"together with the test data unless you select an existing one ".
@@ -78,7 +79,11 @@ class testData_queue
distribution form here */
if(!$this->oTestData->iDistributionId or
$this->oDistribution->sQueued != "false")
+ {
+ echo html_frame_start("New Distribution", "90%");
$this->oDistribution->outputEditor();
+ echo html_frame_end();
+ }
}
function getOutputEditorValues($aClean)
ChangeSet ID: 31095
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2007/04/23 18:37:30
Modified files:
include : bugs.php
Log message:
Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com>
Fix bug link creation email. We only need to fetch the link id so remove the other code that
was resulting in missing values.
Patch: http://cvs.winehq.org/patch.py?id=31095
Old revision New revision Changes Path
1.23 1.24 +1 -14 appdb/include/bugs.php
Index: appdb/include/bugs.php
diff -u -p appdb/include/bugs.php:1.23 appdb/include/bugs.php:1.24
--- appdb/include/bugs.php:1.23 23 Apr 2007 23:37:30 -0000
+++ appdb/include/bugs.php 23 Apr 2007 23:37:30 -0000
@@ -127,23 +127,10 @@ class Bug {
$_SESSION['current']->iUserId);
if($hResult)
{
- /* The following should work but it does not! */
$this->iLinkId = mysql_insert_id();
- $this->bug($this->iLinkId);
- /* Start of hack to get around the previous not working */
- $sQuery = "SELECT buglinks.*, appVersion.appId AS appId
- FROM buglinks, appVersion
- WHERE buglinks.versionId = appVersion.versionId
- AND buglinks.versionId = '?'
- AND buglinks.bug_id = '?'";
- if($hResult = query_parameters($sQuery, $this->iVersionId, $this->iBug_id))
- {
- $oRow = mysql_fetch_object($hResult);
- $this->bug($oRow->linkId);
- }
- /*End of Hack */
$this->SendNotificationMail();
+
return true;
} else
{
ChangeSet ID: 31092
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2007/04/23 18:32:30
Modified files:
include : vendor.php
Log message:
Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com>
Add vendor->sQueued class variable. Not currently used but adding it keeps the vendor class
consistent with other classes.
Patch: http://cvs.winehq.org/patch.py?id=31092
Old revision New revision Changes Path
1.23 1.24 +2 -0 appdb/include/vendor.php
Index: appdb/include/vendor.php
diff -u -p appdb/include/vendor.php:1.23 appdb/include/vendor.php:1.24
--- appdb/include/vendor.php:1.23 23 Apr 2007 23:32:30 -0000
+++ appdb/include/vendor.php 23 Apr 2007 23:32:30 -0000
@@ -10,6 +10,7 @@ class Vendor {
var $iVendorId;
var $sName;
var $sWebpage;
+ var $sQueued;
var $aApplicationsIds; // an array that contains the appId of every application linked to this vendor
/**
@@ -37,6 +38,7 @@ class Vendor {
$this->iVendorId = $iVendorId;
$this->sName = $oRow->vendorName;
$this->sWebpage = $oRow->vendorURL;
+ $this->sQueued = $oRow->queued;
}
/*