disabling chat bits, should really work on core functionaly first.
authorPaul J R <me@pjr.cc>
Wed, 24 Oct 2012 18:01:17 +0000 (05:01 +1100)
committerPaul J R <me@pjr.cc>
Wed, 24 Oct 2012 18:01:17 +0000 (05:01 +1100)
gwvpmini/gwvpmini.php
gwvpmini/gwvpmini_gitbackend.php
gwvpmini/gwvpmini_web.php

index e3521f3..25642cb 100644 (file)
@@ -11,7 +11,7 @@ require_once("gwvpmini_view.php");
 require_once("gwvpmini_activity.php");
 require_once("gwvpmini_register.php");
 require_once("gwvpmini_user.php");
-require_once("gwvpmini_chat.php");
+// require_once("gwvpmini_chat.php"); TODO: disabling chat for now to work on more important interfaces first
 if($IS_WEB_REQUEST) {
        if(gwvpmini_isLoggedIn()) if(gwvpmini_isUserAdmin()) {
                require_once("gwvpmini_admin.php");
index e95ce1e..5aeedcf 100644 (file)
@@ -380,7 +380,7 @@ function gwvpmini_callGitBackend($username, $repo)
                                        usleep(200000);
                                        // error_log("sleep tick");
                                        $stlimit++;
-                                       if($stlimit > 2) $continue = false;
+                                       if($stlimit > 50) $continue = false;
                                } else {
                                        $stlimit = 0;
                                        // error_log("sizes: $client_len, $cgi_len");
index df1a19c..71a931f 100644 (file)
@@ -119,7 +119,7 @@ function gwvpmini_goMainPage($bodyFunction = null)
        
        echo "</tr>";
        
-       echo "<tr width=\"100%\"><td colspan=\"4\">";
+       echo "<tr width=\"100%\"><td colspan=\"3\">";
        
        echo "<table width=\"100%\"><tr width=\"100%\" valign=\"top\"><td>";
        if($bodyFunction == null) {
@@ -133,10 +133,15 @@ function gwvpmini_goMainPage($bodyFunction = null)
                }
        }
        
-       echo "</td><td align=\"right\">";
+       echo "</td>";
+       
+       /* TODO: taking out chat for now
+       echo "<td align=\"right\">";
        
        gwvpmini_ChatBuilder();
-       echo "</td></tr></table>";\r
+       echo "</td>"; */
+       
+       echo "</tr></table>";\r
        
        echo "</td></tr>";