Closed peterliapin closed 7 years ago
@petrlyapin thanks for your interest in my extension. I'm afraid that VSTS extensions need to be hosted or make calls only for https addresses (since *.visualstudio.com is an HTTPS address...). Anyway, maybe you can do your tfs instalation as HTTPs with a self signed certified, if your company doesn't have a valid certificate...
@GersonDias thank for your reply. As you host the site in Azure it supports both http and https calls out of the box. I.e. if you load the original http://vso-toggl.azurewebsites.net/TogglButton page via HTTP from the VS add-on it will all work. Can not you just use a protocol-relative URL like //vso-toggl.azurewebsites.net/TogglButton
to load the page from the VS add-on, so it works using the same protocol as the host TFS? This way it will support both HTTP and HTTPS installations.
I use the add-in with TFS online for almost a year and it works really well. Today I tried to install it on out OnPrem TFS 2015 server and it does not work there. I can see "Track your time" button in the toolbar of any "edit workitem" form but when I click it nothing happens.
If I look at javascript console log there is an error:
Could you please support HTTP addresses as well?