I have a SVN Server over internet and I want to access it from my work where there's a proxy. With TortoiseSVN I just configure the Proxy Settings.
Can I Configure Proxy for Delphi XE SVN Plugin ??
All svn clients (at least all client using the official svn library) use the same settings files. So if you've set the proxy for TSVN, you've automatically set them for your plugin as well.
In order to use Version Insight with a SVN server over a proxy you have to do this:
open the file %APPDATA%\Subversion\servers in a text editor
(for Win 7 this should be c:\Users\YourUsername\AppData\Roaming\Subversion\servers)
look there for the section "global"
add there the following names, fill in your values for them and save the file
http-proxy-host
http-proxy-port
http-proxy-username
http-proxy-password
http-proxy-exceptions
At the end it should look like this
[global]
http-proxy-exceptions = *.exception.com, www.internal-site.org
http-proxy-host = defaultproxy.whatever.com
http-proxy-port = 7000
http-proxy-username = defaultusername
http-proxy-password = defaultpassword
Entering the proxy information into TSVN might work too, but I have never tested this.
Related
I currently develop on a Windows PC and store the code in an SVN repository that is accessed via a combination of SVN, PuTTY, and Pageant. I would like to be able to view code in the repository on an iPad but I am unsure if this is possible because of the PuTTY and Pageant element?
I'm just researching this at the moment and can see there is an SVN client for iOS but I'm not sure how to get the PuTTY/Pageant working with this?
No code to show
I hope it is possible to view the files as I going to remote locations and don't have the ability to carry a laptop and would like to be able to use my phone
Why do you think that you need SVN client to view data in your repository? You could use a web interface instead. For example, take a look at the web UI built in VisualSVN Server. It works great with mobile web browsers, activates automatically and works out of the box (no configuration required) when you use VisualSVN Server.
Note that Apache+DAV_svn supports (very) basic repository browsing capabilities and there is more functional ViewVC. But they both need manual installation and setup.
I have configured our local tfs proxy against the Active Directory site for our local office using the below syntax:
tf proxy /add http://MyProxy:8080 /default:site /Site:LocalOffice /name:MyProxy
When I run
tf proxy /configure
it correctly identifies my site, and sets up the correct proxy.
However, I'm seeing inconsistent behaviour during get operations.
My understanding is that when run a get operation (either via tf get or through Visual Studio), it should automatically recognise that the site has a proxy, and configure it.
When I tried this on a VM that had never used a proxy, this seems to have worked fine. However, on my own machine, I went into VS and removed the proxy settings, then closed the VS instance. Then I attempted a tf get from powershell, and found that it did not configure the proxy correctly (I confirmed using tf proxy).
I'm expecting the proxy to be automatically configured for any user who is currently in our office, overriding any manual settings they have. Is there additional setup I need to do in order to do this?
Update
Based on the documentation here, I would expect it to set up the proxy on a my machine when I ask for the code
If you add a proxy record with the default set to site, the first time that a developer from within the specified Active Directory domain performs a get operation, Team Foundation Server will redirect that developer's request to the proxy that is specified by the record that is associated with the site.
However, this doesn't happen even if I clear out the proxy settings in VC (and untick the box) and perform a get after a reboot. I can understand it perhaps not overriding a setting I enter by hand, but I would expect it to configure when no setting is present at all.
You need to use the /default flag:
tf proxy /add http://MyProxy:8080 /default:site /Site:LocalOffice
A full description of how this works can be found on: http://blogs.msdn.com/b/deepakkhare/archive/2014/05/06/tfs-proxy-unsung-hero.aspx
I found number of sample of the TFS Api using the TFS Url to get the tfs server.
Is there a way to use the default server configured on the machine.
I don't want to put the URL in all the dll I write or in all the script.
You can also look at the list of locally known TFS service in the windows registry: How do I get a list of Team Foundation Server Servers available on my PC?
Obviously you need to get the machine name from somewhere I suggest if its not found in config or some other mechanism you try some of these bits of code to get the machine name and try to connect to the local machine on the default port if not specified elsewhere
string name = Environment.MachineName;
string name = System.Net.Dns.GetHostName();
string name = System.Windows.Forms.SystemInformation.ComputerName;
string name = System.Environment.GetEnvironmentVariable(“COMPUTERNAME”);
My computer is running behind proxy. I want to access url from JavaFX. for example say i want to show image from a url. But i haven't seen anyway to provide proxy settings for the connection(?). Please if someone can tell me how to do things in such situation?
Thanks
As link in accepted answer doesn't work anymore I'm adding proxy setting code here:
System.setProperty("http.proxyHost", "myproxyhost");
System.setProperty("http.proxyPort", "80");
By default, JavaFX will automatically use your Operating Systems proxy settings, this is controlled via the Java Preferences or Java Control panel icons on your Mac or PC.
You can also set, within Java, the proxy environment variables, but I haven't tried this.
If you are trying to request an external resource from an unsigned application, Java may prompt you (the user) for permission when it runs.
Setting proxy in Java/FX
I'm currently trying to add to a software the capability to list unread emails in the user's inbox using IMAP. After having no success at all using Indy10, I discovered Synapse which seemed better for what I needed, but I can't find a way to get it working.
My problem is with the login (thus I think with the SSL configuration). I can't find a working combination of "FullSSL", "Sock.SSL.SSLType" and "AutoTLS". Whenever I do the "Login()" function, it fails.
For the sake of testing, are any of you able to connect to Gmail's IMAP server using Synapse, and, if yes, how?
Having just done this myself, I might recommend that you just follow the simple example on the Synapse HowTo http://synapse.ararat.cz/doku.php/public:howto:smtpsend
The only other thing would be that you need to download the openssl dll's and place the in your project folder.
IMHO .... I would recommend that you also consider looking at CleverComponents.com at their IMAP4 with built in SSL (not requiring OpenSSL, which has some licensing restrictions) and is completely NON-Blocking sockets.
mfw is correct, but here's a clearer and more current answer.
Go to the page skamradt said and download the "Binaries" ZIP. From its Bin folder, copy these files into your EXE's folder:
libssl32.dll
libeay32.dll
In your DPR, add
uses ssl_openssl;
For GMail / port 587:
// support for upgrade session to TSL/SSL:
SMTP.AutoTLS := True ;
SMTP.FullSSL := False;
For other SMTP servers / port 465:
// support for TSL/SSL tunnel:
SMTP.AutoTLS := False;
SMTP.FullSSL := True ;
This might also work for POP / port 995. It's how I got Synapse to send mail securely in Delphi 7 + Synapse Release 40 (2012-04-23)
I suggest Mailbee IMAP ActiveX from AfterLogic.
I did the research when developing Gmail Keeper (a Gmail backup software), CleverComponnets' feature set seems good but their support is very badm they seem discontinued that promising component set, you can try to email them back and forth to see if there is anything changed since it's been a long time since I checked them last time, I indeed wish they continue their VCL.
On the other hand, afterlogic's support is really good, especially when the reasonable price is considered.
One-click to backup Gmail with labels to local disk (supports backup scheduling)
http://GmailKeeper.com
You need these libraries in your program:
libeay32.dll
ssleay32.dll