ChangeSet ID: 31129
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2007/05/13 11:54:33
Modified files:
include : maintainer.php
Log message:
Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com>
Don't display supermaintainers twice on maintainer processing screen. When printing the list of
non-super maintainers, only print the entry if the user is not a super maintainer
Patch: http://cvs.winehq.org/patch.py?id=31129
Old revision New revision Changes Path
1.41 1.42 +6 -1 appdb/include/maintainer.php
Index: appdb/include/maintainer.php
diff -u -p appdb/include/maintainer.php:1.41 appdb/include/maintainer.php:1.42
--- appdb/include/maintainer.php:1.41 13 May 2007 16:54:33 -0000
+++ appdb/include/maintainer.php 13 May 2007 16:54:33 -0000
@@ -537,7 +537,12 @@ class maintainer
while(list($index, $iUserId) = each($aOtherMaintainers))
{
$oUser = new User($iUserId);
- echo "$oUser->sRealname<br />\n";
+
+ // because Version::getMaintainersUserIds() includes super maintainers
+ // we need to exclude these from the list of maintainers that we are
+ // building
+ if(!maintainer::isUserSuperMaintainer($oUser, $oVersion->iAppId))
+ echo "$oUser->sRealname<br />\n";
}
}
ChangeSet ID: 31128
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2007/05/12 11:54:58
Modified files:
include : vendor.php
Log message:
Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com>
Don't create duplicate vendors. If there is a vendor with the same name as the one being
created retrieve the duplicate vendors information for the current object and return TRUE,
even though we didn't really create new vendor we can handle this error situation more
gracefully than returning false.
Patch: http://cvs.winehq.org/patch.py?id=31128
Old revision New revision Changes Path
1.27 1.28 +20 -0 appdb/include/vendor.php
Index: appdb/include/vendor.php
diff -u -p appdb/include/vendor.php:1.27 appdb/include/vendor.php:1.28
--- appdb/include/vendor.php:1.27 12 May 2007 16:54:58 -0000
+++ appdb/include/vendor.php 12 May 2007 16:54:58 -0000
@@ -60,9 +60,29 @@ class Vendor {
/**
* Creates a new vendor.
+ *
+ * NOTE: If creating a vendor with the same name as an existing vendor
+ * we retrieve the existing vendors information and return true,
+ * even though we didn't create the vendor, this makes it easier
+ * for the user of the vendor class.
*/
function create()
{
+ /* Check for duplicates */
+ $hResult = query_parameters("SELECT * FROM vendor WHERE vendorName = '?'",
+ $this->sName);
+ if($hResult && $oRow = mysql_fetch_object($hResult))
+ {
+ if(mysql_num_rows($hResult))
+ {
+ $this->vendor($oRow->vendorId);
+
+ /* Even though we did not create a new vendor, the caller is provided
+ with an id and can proceed as normal, so we return TRUE */
+ return TRUE;
+ }
+ }
+
$hResult = query_parameters("INSERT INTO vendor (vendorName, vendorURL, queued) ".
"VALUES ('?', '?', '?')",
$this->sName, $this->sWebpage,
ChangeSet ID: 31126
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2007/05/12 11:30:32
Modified files:
include : config.php.sample mail.php
Log message:
Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com>
Use separate setting for the email sender address. This allows the appdb emails to be sent
from a different address than the default one. Use the sender address to point email
responses to the new noreply address.
Patch: http://cvs.winehq.org/patch.py?id=31126
Old revision New revision Changes Path
1.14 1.15 +1 -0 appdb/include/config.php.sample
1.8 1.9 +3 -3 appdb/include/mail.php
Index: appdb/include/config.php.sample
diff -u -p appdb/include/config.php.sample:1.14 appdb/include/config.php.sample:1.15
--- appdb/include/config.php.sample:1.14 12 May 2007 16:30:32 -0000
+++ appdb/include/config.php.sample 12 May 2007 16:30:32 -0000
@@ -17,6 +17,7 @@ define("APPDB_ROOT", "http://appdb.wineh
define("APPDB_OWNER","WineHQ"); // with what product/company is this AppDB related ?
define("APPDB_OWNER_URL","http://www.winehq.org/"); // website of this product/company
define("APPDB_OWNER_EMAIL","appdb(a)winehq.org"); // e-mail of this product/company
+define("APPDB_SENDER_EMAIL","appdb-noreply(a)winehq.org"); // The e-mail address which appears as the sender in mails sent by the AppDB
define("BUGZILLA_ROOT","http://bugs.winehq.org/"); // path to bugzilla
// AppDB developers: Use this define to disable email from being sent from the appdb during testing
Index: appdb/include/mail.php
diff -u -p appdb/include/mail.php:1.8 appdb/include/mail.php:1.9
--- appdb/include/mail.php:1.8 12 May 2007 16:30:32 -0000
+++ appdb/include/mail.php 12 May 2007 16:30:32 -0000
@@ -9,8 +9,8 @@ function mail_appdb($sEmailList,$sSubjec
return;
$sHeaders = "MIME-Version: 1.0\r\n";
- $sHeaders .= "From: AppDB <".APPDB_OWNER_EMAIL.">\r\n";
- $sHeaders .= "Reply-to: AppDB <".APPDB_OWNER_EMAIL.">\r\n";
+ $sHeaders .= "From: AppDB <".APPDB_SENDER_EMAIL.">\r\n";
+ $sHeaders .= "Reply-to: AppDB <".APPDB_SENDER_EMAIL.">\r\n";
$sHeaders .= "X-Priority: 3\r\n";
$sHeaders .= "X-Mailer: ".APPDB_OWNER." mailer\r\n";
$sMsg = trim(ereg_replace("\r\n","\n",$sMsg));
@@ -32,7 +32,7 @@ function mail_appdb($sEmailList,$sSubjec
return;
}
- $bResult = mail(str_replace(" ",",",$sEmailList), "[AppDB] ".$sSubject, $sMsg, $sHeaders, "-f".APPDB_OWNER_EMAIL);
+ $bResult = mail(str_replace(" ",",",$sEmailList), "[AppDB] ".$sSubject, $sMsg, $sHeaders, "-f".APPDB_SENDER_EMAIL);
if($bResult)
addmsg("Message sent to: ".$sEmailList, "green");
else
ChangeSet ID: 31125
CVSROOT: /opt/cvs-commit
Module name: lostwages
Changes by: julliard(a)winehq.org 2007/05/11 12:54:37
Modified files:
include : winehq.conf
Added files:
news : 2007051101.xml
Log message:
Release 0.9.37
Patch: http://cvs.winehq.org/patch.py?id=31125
Old revision New revision Changes Path
1.59 1.60 +1 -1 lostwages/include/winehq.conf
Added 1.1 +0 -0 lostwages/news/2007051101.xml
Index: lostwages/include/winehq.conf
diff -u -p lostwages/include/winehq.conf:1.59 lostwages/include/winehq.conf:1.60
--- lostwages/include/winehq.conf:1.59 11 May 2007 17:54:37 -0000
+++ lostwages/include/winehq.conf 11 May 2007 17:54:37 -0000
@@ -29,7 +29,7 @@ news_xml_path: news
wwn_xml_path: wwn
# Snapshot Date
-snapshot_date: 0.9.36
+snapshot_date: 0.9.37
# Current RH Packages Snapshot Date
snapshot_date_rh: 0.9.2
Index: lostwages/news/2007051101.xml
diff -u -p /dev/null lostwages/news/2007051101.xml:1.1
--- /dev/null 11 May 2007 17:54:37 -0000
+++ lostwages/news/2007051101.xml 11 May 2007 17:54:37 -0000
@@ -0,0 +1,25 @@
+<news>
+<date>May 11, 2007</date>
+<title>Wine 0.9.37 Released</title>
+<body>
+<p>Wine 0.9.37 was released today, with the following main changes:</p>
+
+<ul>
+<li>MSI automation with JScript/VBScript support.</li>
+<li>Various MSHTML improvements.</li>
+<li>The usual assortment of Direct3D fixes.</li>
+<li>Support for a few more exe protection schemes.</li>
+<li>Lots of bug fixes.</li>
+</ul>
+
+<p>
+Binary packages are in the process of being built and it may take a
+few days for them to appear, but the source is
+<a href="http://prdownloads.sourceforge.net/wine/wine-0.9.37.tar.bz2">available now</a>.
+You can find out more about this release in the
+<a href="?announce=0.9.37">announcement</a>. Check out our
+<a href="/site/download">download page</a> for packages for your
+distribution.
+</p>
+</body>
+</news>