null/demo.local.php
[gitlive] / Projects.js
index 181ab9a..35f442c 100644 (file)
@@ -18,7 +18,7 @@ Projects = {
     // called on startup..??
     // clear list, and call again to refresh..
     
-    fetch: function(rep,callback)
+    fetch: function(callback)
     {
         // have we got the status in the last 15 mins..
         // we should not need to get it again... - it's probably not changed.
@@ -56,7 +56,7 @@ Projects = {
         var netrc  = Netrc.forHost('git.roojs.com');
         
         r.open('GET',
-               "http://roojs.com/admin.php/Roo/Projects"
+               "http://roojs.com/admin.php/Roo/Projects?sort=code&dir=ASC&active=1&limit=999"
                ,true, netrc.login, netrc.password  );
         // print("Getting current task: "  +  "http://roojs.com/admin.php/Roo/mtrack_ticket?repo_shortname=" + repo.name);        
         r.send();
@@ -71,19 +71,11 @@ Projects = {
 
 
 
-
  
-
-
-
-
-
-
-
 //-------------- testing
 /*
 Gtk = imports.gi.Gtk;
 Gtk.init(Seed.argv);
-Tasks.notify( { repo : imports.Scm.Repo.Repo.get('gitlive') } );
+Projects.fetch( function(list) { print(JSON.stringify(list,null,4)); } );
 Gtk.main();
-*/
\ No newline at end of file
+ */
\ No newline at end of file