www/adium.im 449:bd61ecaef8d8: Prepare the beta page for a simul...

commits at adium.im commits at adium.im
Mon Oct 24 10:21:37 UTC 2011


details:	http://hg.adium.im/www/adium.im/rev/bd61ecaef8d8
revision:	449:bd61ecaef8d8
branch:		adiumx.com
author:		Thijs Alkemade <thijsalkemade at gmail.com>
date:		Mon Oct 24 12:21:28 2011 +0200

Prepare the beta page for a simultaneous 1.5b1 and 1.4.4b1.

diffs (228 lines):

diff -r e7a10ea2d534 -r bd61ecaef8d8 beta/1.5/index.php
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/beta/1.5/index.php	Mon Oct 24 12:21:28 2011 +0200
@@ -0,0 +1,167 @@
+<?php
+
+// Adium Beta page
+// An empty $versions array will cause the "no beta" message to be displayed.
+// Place the array entries in reverse order (i.e., b5, b4, b3, b2, b1).
+
+// In the appcast, use <http://beta.adium.im/?notemplate=1> as the appcast URL.
+// This will load the beta page without any template (so clean inside Sparkle)
+
+// Update $versions and $repo below.
+// $repo specifies what repo on hg.adium.im to link to, and the $versions array
+// controls the actual contents.
+
+// --- Configure starting here ---
+
+$versions = array(
+		/*
+			Keep this example entry around.
+			Copy it below for actual use.
+
+					array(
+						"ver" => "1.3.4b1",
+						"rev" => "???",
+						"date" => "2009-04-24",
+						"md5" => "c94754b2d7c3d5609c47612efedf32da"
+					)
+		*/
+					array(
+						"ver" => "1.5b1",
+						"rev" => "e0ac5e1080a1",
+						"date" => "2011-10-22",
+						"md5" => "0b24da74b25b7c26b8c544c8749ae4d7"
+					)
+			);
+
+// $motd = 'Please check <a href="http://trac.adium.im/query?status=assigned&status=new&status=pending&group=severity&milestone=Adium+1.4">open tickets</a> for 1.4 before filing bugs!';
+
+$motd = '';
+
+$repo = "adium";
+
+// --- You shouldn't need to edit below ---
+
+// If we're asked to not display the main website, this is being displayed in Sparkle.
+$noTemplate = (isset($_GET['notemplate']));
+$forInclude = (isset($_GET['forinclude']));
+
+$latest = $versions[0];
+
+if (!$forInclude) {
+	?>
+	<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+		"http://www.w3.org/TR/html4/strict.dtd">
+	<html>
+	<head>
+	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+	<?php
+	if(!$noTemplate) {
+		?>
+		<title>Adium Beta - <?=$latest['ver']?></title>
+		<link rel="stylesheet" type="text/css" href="http://adium.im/styles/layoutstyle.css">
+		<link rel="stylesheet" type="text/css" href="http://adium.im/styles/defaultstyle.css">
+		<link rel="shortcut icon" href="http://adium.im/favicon.ico">
+		<?php
+	}
+}
+	?>
+	<link rel="stylesheet" type="text/css" href="http://adium.im/styles/beta.css">
+	
+<?php
+	if (!$forInclude) {
+		echo('</head><body>');
+	}
+
+	if(!$noTemplate) {
+?>
+	<div id="container">
+		<div id="titlecontainer">
+			<a href="http://www.adium.im/">Adium</a>
+		</div>
+		<div id="navcontainer">
+			<a class="navtab" href="http://adium.im/">Download</a> 
+			<a class="navtab" href="http://adium.im/about/">About</a> 
+			<a class="navtab" href="http://adium.im/blog/">Blog</a> 
+			<a class="navtab" href="http://adium.im/help/">Help</a>
+			<a class="navtabcurrent" href="http://trac.adium.im">Development</a> 
+			<a class="navtab" href="http://adium.spreadshirt.com">Merchandise</a>
+			<a class="navtab" href="http://www.adiumxtras.com/">Xtras</a>
+		</div>
+		
+		<div id="content">
+<?php
+	}
+?>
+<?php	
+	if (count($versions) === 0) {
+		?><p>You can find the current version of Adium at the <a href="http://adium.im">main website</a>.</p>		
+<?php
+
+	if (strlen($motd)) {
+		printf('<p style="margin-top: 2em;">%s</p>', $motd);
+	}
+	
+	} else {
+		if(!$noTemplate || $forInclude) {
+?>			
+		<h2><?=$latest["ver"]?></h2>
+		<p id="download">
+			<a href="http://adiumx.cachefly.net/Adium_<?=$latest["ver"]?>.dmg">
+				<?php if (!$forInclude) { ?>
+					<img src="http://adium.im/images/logo_small.png" alt="Adiumy">
+				<?php } ?>
+				Adium_<?=$latest["ver"]?>.dmg</a> (MD5: <code><?=$latest["md5"]?></code>)<br>
+			Requires 10.6.0 or later. Released <?=$latest["date"]?><br>
+			Download hosted by <a href="http://www.cachefly.com/">CacheFly</a>
+		</p>
+
+		<?php
+			if (strlen($motd)) {
+				printf('<p style="margin-top: 2em;">%s</p>', $motd);
+			}
+		}
+
+		foreach($versions as $version) {
+			?>
+				<div class="version">
+					<div class="summary">
+						<h3>Version <?=$version["ver"]?> (<?=$version["date"]?>)</h3>
+						<p>Revision: <a class="changeset" href="http://hg.adium.im/<?=$repo?>/rev/<?=$version["rev"]?>"><?=$version["rev"]?></a></p>
+					</div>
+					<?php
+						readfile(sprintf("../../changelogs/%s.htmlfrag", $version["ver"]));
+					?>
+				</div>
+			<?php
+		}
+	}
+	if(!$noTemplate) {
+?>
+	</div>
+     	<!-- fix overlap -->
+         <div style="clear: both; margin-top: 30px;"> </div>
+		<!-- use footerfixed if this doesn't reach the bottom of a reasonable page; otherwise, use footer -->
+		<div id="footerfixed">
+			<div class="donate">
+				<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&submit.x=57&submit.y=8&encrypted=-----BEGIN+PKCS7-----%0D%0AMIIHFgYJKoZIhvcNAQcEoIIHBzCCBwMCAQExggEwMIIBLAIBADCBlDCBjjELMAkG%0D%0AA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQw%0D%0AEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UE%0D%0AAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJ%0D%0AKoZIhvcNAQEBBQAEgYAFR5tF%2BRKUV3BS49vJraDG%2BIoWDoZMieUT%2FJJ1Fzjsr511%0D%0Au7hS1F2piJuHuqmm%2F0r8Kf8oaycOo74K3zLmUQ6T6hUS6%2Bh6lZAoIlhI3A1YmqIP%0D%0AdrdY%2FtfKRbWfolDumJ9Mdv%2FzJ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kyeULk2NC%0D%0As4jbCgaWNg6grvccJtjbvmDskMKt%2BdS%2BEAkeWwm1Zf%2F%2B5u1fMyb5vo1NNcRIs5oq%0D%0A7SvXiLTPRzVqzQdhVs7PoZG0i0RRIb0tMeo1IssZeB2GE5Nsg0D8PwpB%0D%0A-----END+PKCS7-----">Donate to Adium</a>
+			</div>
+			<div id="powered">
+				<a href="http://developer.apple.com/ada"><img class="libgaim" src="http://adium.im/images/ada.png" alt="Apple design awards 05 special mention"></a> <a href="http://www.pidgin.im"><img class="libgaim" src="http://www.adium.im/images/powered_by_libpurple.png" alt="Adium is powered by libpurple"></a> <a class="networkredux" href="http://networkredux.com/"><img src="http://adium.im/images/network_redux.png" alt="Network Redux Logo"></a>
+			</div>
+		</div>
+	</div>
+	<script type="text/javascript">
+		var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+		document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+	</script>
+	<script type="text/javascript">
+		var pageTracker = _gat._getTracker("UA-347527-8");
+		pageTracker._trackPageview();
+	</script>
+<?php
+	}
+	
+	if (!$forInclude) {
+		echo('</body></html>');
+	}
+?>
diff -r e7a10ea2d534 -r bd61ecaef8d8 beta/index.php
--- a/beta/index.php	Sat Oct 22 15:59:06 2011 -0700
+++ b/beta/index.php	Mon Oct 24 12:21:28 2011 +0200
@@ -25,19 +25,13 @@
 						"md5" => "c94754b2d7c3d5609c47612efedf32da"
 					)
 		*/
-					array(
-						"ver" => "1.5b1",
-						"rev" => "e0ac5e1080a1",
-						"date" => "2011-10-22",
-						"md5" => "0b24da74b25b7c26b8c544c8749ae4d7"
-					)
 			);
 
 // $motd = 'Please check <a href="http://trac.adium.im/query?status=assigned&status=new&status=pending&group=severity&milestone=Adium+1.4">open tickets</a> for 1.4 before filing bugs!';
 
-$motd = '';
+$motd = '<b>Note:</b> Looking for the Adium 1.5 beta? Get it <a href="1.5/">here</a>.';
 
-$repo = "adium";
+$repo = "adium-1.4";
 
 // --- You shouldn't need to edit below ---
 
@@ -94,7 +88,13 @@
 ?>
 <?php	
 	if (count($versions) === 0) {
-		?><p>You can find the current version of Adium at the <a href="http://adium.im">main website</a>.</p><?php
+		?><p>You can find the current version of Adium at the <a href="http://adium.im">main website</a>.</p>		
+<?php
+
+	if (strlen($motd)) {
+		printf('<p style="margin-top: 2em;">%s</p>', $motd);
+	}
+	
 	} else {
 		if(!$noTemplate || $forInclude) {
 ?>			
diff -r e7a10ea2d534 -r bd61ecaef8d8 changelogs/1.4.4b1.htmlfrag
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/changelogs/1.4.4b1.htmlfrag	Mon Oct 24 12:21:28 2011 +0200
@@ -0,0 +1,13 @@
+<div class="changegroup">
+<h3>General</h3>
+<ul>
+<li>Facebook: Fixed connectivity. (#15544)</li>
+<li>Yahoo: Fixed avatars of contacts not updating correctly.</li>
+<li>Gadu-Gadu: Fixed logging in on PPC Macs. (#15153)</li>
+</ul>
+
+<h3>Contact List</h3>
+<ul>
+<li>Turned off rubber band scrolling for the contact list, as this looks bad when using a borderless window. (#15455)</li>
+</ul>
+</div>




More information about the commits mailing list