BugNET

Open source issue tracking & project management
Welcome to BugNET Register | Login |

BugNET Forums

 
  Forum  General  General discuss...  Integration with Visual Studio
Previous Previous
 
Next Next
New Post 7/17/2008 7:19 PM
User is offline admin
621 posts
bugnetproject.com
1st Level Poster




Re: Integration with Visual Studio 

Wow, very cool.  Let me know the sourceforge url and I will link to it from this site. 

To answer your question about the web services in 0.8, they are still pretty baron but I am adding more and more functionality.  

Keep us updated as it looks really good.

 


Davin Dubeau
BugNET - Core Developer

 
New Post 7/18/2008 6:14 PM
User is offline admsteck
11 posts
No Ranking


Re: Integration with Visual Studio 

I got the email this afternoon that the sourceforge project was approved and the url is http://sourceforge.net/projects/bugnettaskpane/. Unfortunately I didn't get the email until I got home and the code is on my laptop at work.  I will have to wait until Monday to upload to do the initial checkin to subversion.  I did get a little time to work on it some more this morning and changed the "ID" column to a link.  Now you can click on the ID of the issue and bring up the detail page directly in Visual Studio.  I think that is about all I can do using only the RSS feed as the data source.  My task list now includes general housekeeping (make it pretty), creating an installer, and authentication (I've only worked with AD so far).

 
New Post 7/25/2008 9:51 AM
User is offline admsteck
11 posts
No Ranking


Re: Integration with Visual Studio 

I'm getting closer to having an actual release, hopefully in the next week or so.  I was working on some authentication issues and have a few concerns.  When working with 0.7 you are only able to get public project rss feeds or you need to use Windows authentication.  Have you given any thought to authentication for version 0.8?  Were you planning on including an authentication method into the webservices when the application is set for forms authentication?  Another possible option is the create an intermediate http authentication module like explained here.  For now I am planning on continuing with my release with the current limitations, but I thought I would mention this now before you get too far with 0.8.

 
New Post 7/25/2008 11:16 AM
User is offline admin
621 posts
bugnetproject.com
1st Level Poster




Re: Integration with Visual Studio 
Modified By admin  on 7/25/2008 11:22:38 AM)

 admsteck wrote

I'm getting closer to having an actual release, hopefully in the next week or so.  I was working on some authentication issues and have a few concerns.  When working with 0.7 you are only able to get public project rss feeds or you need to use Windows authentication.  Have you given any thought to authentication for version 0.8?  Were you planning on including an authentication method into the webservices when the application is set for forms authentication?  Another possible option is the create an intermediate http authentication module like explained here.  For now I am planning on continuing with my release with the current limitations, but I thought I would mention this now before you get too far with 0.8.

Thats good to hear, I look forward to trying it out.

The authentication in 0.7 with the web services and RSS is a little broken currently.  I spent a bit of time on this in 0.8 and so far it seems to be working ok.  I have added checks to the rss feeds to make sure the user requesting the feed has access to the project.  If the project is public it will allow anonymous users to request it. 

In the web services I have added a login method.  Each method checks if the user has logged in (for forms) or is already authenticated (windows) then subsequent checks are done in a method by method basis depending on the operation to see if the user is the right role or permission.

Here is an example of connecting to the webservices in 0.8 to delete a category.

 

BugNetServices services = new BugNetServices();
services.CookieContainer = new System.Net.CookieContainer();
services.Url = @"http://localhost/BugNet/WebServices/BugNetServices.asmx";
bool result = services.LogIn("myusername", "mypassword");
if(result)
{
//user is authenticated and do work here
services.DeleteCategory(1);
}

I hope this helps solve some of the problems with custom integration and there is lots of room for improvement.


Davin Dubeau
BugNET - Core Developer

 
New Post 7/25/2008 6:19 PM
User is offline admsteck
11 posts
No Ranking


Re: Integration with Visual Studio 

That sounds great!  Once I get this version fleshed out with all the features I will have to download the 0.8 branch and start looking at the webservices for my next version. 

Another plus is that the wife went shopping tonight and took our toddler with her.  That gave me enough time to wrap up a few loose ends and post the first alpha release.  This version works with Visual Studio 2008 Standard and above (although I've only tested on standard) and I'm still working on getting it to work with 2005.  Once you download and install the msi, there will be a "Configure BugNet" option under the right click menu for the project.  From there you can enter the rss url for the items you want to track for that project.  You can also choose the option to use the current user for authentication or supply an different account.  Unfortunately as described earlier this doesn't work with forms authentication unless the rss feed is public.  Please give it a try and let me know what you think.

 
Previous Previous
 
Next Next
  Forum  General  General discuss...  Integration with Visual Studio

Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.