Comments

  • Mark Richter
    posted March 29, 2012 in Mingle > Add-Ons and Extras

    Kapil, your reporting questions will ge more visibility on the General Discussion forum.

  • Mark Richter
    posted March 29, 2012 in Mingle > Add-Ons and Extras

    John, sadly Excel on the Mac does not support the Office add-in architecture, so this add-in is indeed a Windows-only deal.

  • Mark Richter
    posted March 29, 2012 in Mingle > API

    Here's some code that returns a list of comments for a card using a class to encapsulate the comment, the name of the user and the date the comment was posted. The Mingle object is an IMingleServer.

     
    
    public IEnumerable<CardComment> GetCommentsForCard(int number)
    
    {
        string url = string.Format(CultureInfo.InvariantCulture, "/cards/{0}/comments.xml", number);
        var comments = new List<CardComment>();
        XElement.Parse(Mingle.Get(ProjectId, url)).Elements("comment").ToList().ForEach(c => comments.Add(
            new CardComment(c.Element("content").Value, c.Element("created_by").Element("name").Value,
                            c.Element("created_at").Value)));
        return comments;
    }
    
    public CardComment(string comment, string name, string date)
    {
        Comment = comment;
        Name = name;
        Date = Convert.ToDateTime(date, CultureInfo.InvariantCulture).ToString(CultureInfo.InvariantCulture);
    
    }
    
  • Mark Richter
    posted March 27, 2012 in Mingle > Add-Ons and Extras

    Kapil, the API requries that basic_authentication be enabled. There is a more general-purpose import/export for Excel in the Mingle web app. Look down in the lower right corner of pages that display walls, lists of cards or card data and you'll see "Export to Excel" and "Import from Excel". 

  • Mark Richter
    posted March 26, 2012 in Mingle > Add-Ons and Extras

    Hi Kapil, the reason basic_authentication is required is so that Mingle will accept requests through its RESTful API. The Excel Add-In uses this API. Here's the documentation. There are no real side effects of this so long as Mingle is using SSL if its traffic is over the internet.'

  • Mark Richter
    posted January 24, 2012 in Mingle > Add-Ons and Extras

    Version 1.0.3 has been posted that includes a fix to catch obvious cases of the URL issue noted above and better messaging when a call to Mingle fails for any reason.

  • Mark Richter
    posted January 24, 2012 in Mingle > Add-Ons and Extras

    Good to hear. Please post your thoughts and comments. We're actively working on this and posting new versions roughly weekly. The next major line of attack is to add some more direct integration into the VS menu system. I am *particularly* interested in feedback on performance. Thanks!

  • Mark Richter
    posted January 24, 2012 in Mingle > Add-Ons and Extras

    Matthew, there appears to be a silly bug. Leave the training "/" off the URL as in "http://localhost:8080". 

  • Mark Richter
    posted January 20, 2012 in Mingle > Add-Ons and Extras

    The extension is now properly trapping the case where Mingle authentication fails during startup and displaying a message.

    We just uplaoaded a new version of the extension with a fix.

    Once Visual Studio finishes launching you can use the Settings button in Mingle Explorer to fix your settings.

  • Mark Richter
    posted November 10, 2011 in Mingle > Add-Ons and Extras

    We actually wrote the add-in in C# and test it with Ruby. Source is here.

  • Mark Richter
    posted November 10, 2011 in Mingle > Add-Ons and Extras

    Hi Shane,

    The Add-In does not do anything with Excel functions or calculations. All it does is stuff data into a worksheet. If there is a lot of data with your own formulae in play then it's probably the interaction between adding data and the calculation engine that's slow for you. If the calculation engine re-calculates the whole sheet each time we move from cell to cell loading data then, well, things might be slow. :)

    Your suggestion for a "refresh the workbook" function is a good one. It would not be hard to do this. All the queries in a workbook are in one well-hidden worksheet.

    Thanks for all your feedback It' invaluable.

  • Mark Richter
    posted November 9, 2011 in Mingle > Add-Ons and Extras

    Shane, the add-in writes a log here: c:\users\[you]\AppData\Local\ThoughtWorks called ExcelAddIn[random number].log. If you post it here or email it to me I'll take a look right away. The image you posted is an unhandled exception in the add-in. That's not good.

    I have built and uploaded a new version of the add-in (build 134) that handles the error you are getting and gives you a message. 

  • Mark Richter
    posted November 9, 2011 in Mingle > Add-Ons and Extras

    Shane, you need to make sure basic authentication is enabled on the Mingle server. Depending on the version of the Excel add-in that you have it is possible that the connection error from Mingle (an http 401) is being eaten by the add-in and not reported to you. When you click Fetch Cards you shuold see a dialog where you enter MQL. The latest version of the add-in on this thread should report this error.

    To enable basic authentication, you need to set the basic_authentication_enabled configuration option to true in the Mingle data directory/config/auth_config.yml file, where Mingle data directory is the path to the Mingle data directory. This is on the Mingle server.

    E.g.

     basic_authentication_enabled: true
    
  • Mark Richter
    posted October 24, 2011 in Go > General Discussion

    Just to wrap things together for building with mstest for VS 2010:

    1. Use the attached xslt to transform trx to xml for GO. (Fabrico's is an earlier version.)
    2. You can get msxsl here.
    3. Run this command after your tests:
    msxsl path-to-trx path-to-style-sheet -o path-to-testresults.xml
     
    Finally, configure path-to-testresults.xml as a Test Artifact in GO
  • Mark Richter
    posted October 13, 2011 in Mingle > General Discussion

    I might be wrong, but I believe that my experience has been that even when logged in as a domain admin one still needs to contend with he UAC for some things. For this I'm speculating that you installed Mingle using a domain admin account, so Windows is enforcing the strictest possible security on the Mingle directory and demanding everyone "runs as administrator", even the admin account. That's pure speculation though.