aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPSSHTunnel.h
Commit message (Collapse)AuthorAgeFilesLines
* - Fix compiler warnings for MCPKit - largely typecast relatedrowanbeentje2011-03-021-4/+4
| | | | | | | | | - Fix further compiler warnings, including a couple of bugs - Disable the -wselector warnings (Multiple definition types for selector) as they're currently unsupported in LLVM - Disable the -wconversion warnings (Prototype conversion) warnings as we usually can't affect protocol declaration - Disable the -wstrict-selector-match (Strict selector matching) due to too many false positives
* When the user cancels the SSH password prompt, prevent further prompts and ↵stuconnolly2011-02-081-33/+39
| | | | also suppress the error detail dialog. Fixes issue #975.
* Tidy up.stuconnolly2010-10-191-1/+0
|
* - Add support for SSH identity files (public keys) in custom locationsrowanbeentje2010-09-081-0/+2
| | | | | | - Update localisable strings - Fix initial window position
* - Add locking for SSH debug message processing - this addresses ↵rowanbeentje2010-04-151-0/+1
| | | | http://spbug.com/l/117
* - Improve SPSSHTunnel question/password dialogs to no longer eat 100% CPU ↵rowanbeentje2010-03-311-2/+1
| | | | | | | | by switching from NSCondition blocking to NSLock blocking - Improve behaviour of SSH tunnels with no password in keychain - prompt appropriately - Set MXPConnection to check the proxy state when attempting to reconnect a dropped connection, extending the timer when an auth UI is up. This prevents a multiple-dialogs misbehaviour (or sometimes deadlock), addressing the last part of http://log.sequelpro.com/view/86 .
* General tidy up, with a focus on consolidating more constants in ↵stuconnolly2010-03-241-7/+0
| | | | SPConstants.h/m.
* - removed two occurances of runModalForWindow: when asking questions for the ↵jakob2010-01-281-1/+6
| | | | SSH-helper (see #357)
* - Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for ↵rowanbeentje2010-01-091-9/+9
| | | | | | | release builds, including a large number of 64bit compatibility upgrades and tweaks - Upgrade RegexKitLite to 3.3
* - Fix SSH tunnel support for private/public keys following framework ↵rowanbeentje2009-08-081-1/+2
| | | | upgrade changes
* Source tidy up and missing SVN properties.stuconnolly2009-08-071-0/+2
|
* Merge framework integration branch back to trunk. Summary of changes:stuconnolly2009-07-211-11/+25
| | | | | | | | | | | | | | | - Includes all custom code from subclasses CMMCPConnection and CMMCPResult, meaning they have subsequently been removed from the project. - All previous Sequel Pro specific code in the above subclasses has been removed in favour of the delegate (currently set to TableDocumet) informing the framework of such information. - All references to CMMCPConnection and CMMCPResult have subsequently been changed to MCPConnection and MCPResult. - Framework includes MySQL 5.1.36 client libraries and source headers. - Framework is now built as a 4-way (32/64 bit, i386/PPC arch) binary. - All import references to <MCPKit_bundled/MCPKit_bundled.h> have been changed to <MCPKit/MCPKit.h>. - New script 'build-mysql-client.sh' can be used to build the MySQL client libraries from the MySQL source. See the script's header for a list of available options or run it with no arguments to display it's usage. Note that there are still a few changes to be made to the framework with regard to removing Sequel Pro specific calls to the delegate. These however can be made later on as they have no effect on functionality and are merely design changes. Also, note that any future development done on the framework should be made to be as 'generic' as possible, with no Sequel Pro specific references. This should allow the framework to be integrated into another project without the need for SP specific code.
* - Allow connections via SSH tunnels to reattempt using the specified host ↵rowanbeentje2009-06-211-1/+7
| | | | | | | | | if 127.0.0.1 was retried automatically. - Store the SSH debug logs and allow viewing on connection error - Clean up CMMCPConnections on connection failure - Fix connection keepalive instantiation
* Further SSH tunnel improvements:rowanbeentje2009-06-061-0/+5
| | | | | | | | - Redesigned SSH key authentication dialog - Added ability to add SSH key passphrases to keychain (sharing details with system SSH) - SSH tunnels with keys which fail are now correctly restarted, interacting with the GUI as necessary - GUI interaction now performed on the main thread for increased stability
* Further SSH tunnel improvements:rowanbeentje2009-06-051-0/+4
| | | | | | - SSH Public/private keys are now supported, even if they are password-protected. The user and password fields can be left blank where appropriate. - SSH yes/no queries (ie host key mismatch) and password requests (eg key passphrases) dialogs now automatically resize to match the content from the SSH process.
* Further SSH tunnel improvements, password handling improvements, and minor ↵rowanbeentje2009-06-041-5/+12
| | | | | | | | | | | | | bugfixes: - SSH tunnels can now correctly show dialogs for ssh queries, eg host key mismatches - SSH tunnels are now correctly closed by the document for connection failures - Keychain password item name and account generation has been moved to within the keychain class, to centralise generation for consistency - Keychain item names and accounts now correctly deal with nil values, allowing more keychain items to be read - "Add to favorites" button and menu item now correctly store passwords and SSH tunnel settings - Duplicating favorites in preferences now selects the newly created favorite instead of deselecting everything - Fixes an occasional crasher sometimes encountered in keychain usage
* Add support for SSH tunnels, improve password security, and tweaks:rowanbeentje2009-05-281-0/+54
- Implementation of a new SPSSHTunnel class, designed to closely integrate SSH tunnels within Sequel Pro. - Integration of SPSSHTunnel - new connection methods using callbacks, and CMMCPConnection integration - Keychain class upgrade to include the new SPSSHTunnel keychain password helper on the trusted access list for new passwords - Keychain passwords are now held in memory/UI for only as long as necessary, increasing password security - Updated interface to enable/add SSH tunnel functionality - Remove old SSHTunnel class - Addition of new target for the SSH Tunnel password assistant, addition as a dependency of the main target, and addition to build script to copy into resources directory - Fix a keychain password deletion crash