public string project_id_name;
- static public void loadTickets()
+ public void loadTickets()
{
var url = "https://roojs.com/admin.php/Roo/mtrack_ticket");
session.send_message (message);
return (string) message.response_body.flatten().data;
-
+ }
+
+ public void setAuth(session, message) {
+
+ string str;
+ GLib.FileUtils.get_contents(GLib.Environment.get_home_dir() + "/.netrc"), out str);
+ var lines = str.split("\n");
+ for(var i=0; i< lines.length; i++) {
+ // assumes one line per entry.. if not we are buggered...
+ var bits = Regex.split_simple ("[ \t]+", line[i].strip());
+ if (bits.length < 7 || bits[0] != "machine") {
+ continue;
+ }
+
+ }
+
+
+ }
+
+
- "https://roojs.com/admin.php/Roo/mtrack_ticket.php"
- //query[viewtype]=active
- //developer_id=494
- //limit=999
- //&sort=summary
- //dir=ASC
\ No newline at end of file
+
\ No newline at end of file