mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-30 00:23:21 +00:00 
			
		
		
		
	Merge pull request #244 from glyptodon/sftp-default-directory
GUAC-1292: Add "sftp-directory" parameter for VNC and RDP.
This commit is contained in:
		| @@ -223,6 +223,10 @@ | |||||||
|                 { |                 { | ||||||
|                     "name"  : "sftp-passphrase", |                     "name"  : "sftp-passphrase", | ||||||
|                     "type"  : "PASSWORD" |                     "type"  : "PASSWORD" | ||||||
|  |                 }, | ||||||
|  |                 { | ||||||
|  |                     "name"  : "sftp-directory", | ||||||
|  |                     "type"  : "TEXT" | ||||||
|                 } |                 } | ||||||
|             ] |             ] | ||||||
|         } |         } | ||||||
|   | |||||||
| @@ -97,6 +97,10 @@ | |||||||
|                 { |                 { | ||||||
|                     "name"  : "sftp-passphrase", |                     "name"  : "sftp-passphrase", | ||||||
|                     "type"  : "PASSWORD" |                     "type"  : "PASSWORD" | ||||||
|  |                 }, | ||||||
|  |                 { | ||||||
|  |                     "name"  : "sftp-directory", | ||||||
|  |                     "type"  : "TEXT" | ||||||
|                 } |                 } | ||||||
|             ] |             ] | ||||||
|         }, |         }, | ||||||
|   | |||||||
| @@ -250,7 +250,11 @@ angular.module('client').directive('guacFileBrowser', [function guacFileBrowser( | |||||||
|  |  | ||||||
|             // Refresh file browser when any upload completes |             // Refresh file browser when any upload completes | ||||||
|             $scope.$on('guacUploadComplete', function uploadComplete(event, filename) { |             $scope.$on('guacUploadComplete', function uploadComplete(event, filename) { | ||||||
|  |  | ||||||
|  |                 // Refresh filesystem, if it exists | ||||||
|  |                 if ($scope.filesystem) | ||||||
|                     ManagedFilesystem.refresh($scope.filesystem, $scope.filesystem.currentDirectory); |                     ManagedFilesystem.refresh($scope.filesystem, $scope.filesystem.currentDirectory); | ||||||
|  |  | ||||||
|             }); |             }); | ||||||
|  |  | ||||||
|         }] |         }] | ||||||
|   | |||||||
| @@ -277,6 +277,7 @@ | |||||||
|         "FIELD_HEADER_REMOTE_APP"      : "Program:", |         "FIELD_HEADER_REMOTE_APP"      : "Program:", | ||||||
|         "FIELD_HEADER_SECURITY"        : "Security mode:", |         "FIELD_HEADER_SECURITY"        : "Security mode:", | ||||||
|         "FIELD_HEADER_SERVER_LAYOUT"   : "Keyboard layout:", |         "FIELD_HEADER_SERVER_LAYOUT"   : "Keyboard layout:", | ||||||
|  |         "FIELD_HEADER_SFTP_DIRECTORY"   : "Default upload directory:", | ||||||
|         "FIELD_HEADER_SFTP_HOSTNAME"    : "Hostname:", |         "FIELD_HEADER_SFTP_HOSTNAME"    : "Hostname:", | ||||||
|         "FIELD_HEADER_SFTP_PASSPHRASE"  : "Passphrase:", |         "FIELD_HEADER_SFTP_PASSPHRASE"  : "Passphrase:", | ||||||
|         "FIELD_HEADER_SFTP_PASSWORD"    : "Password:", |         "FIELD_HEADER_SFTP_PASSWORD"    : "Password:", | ||||||
| @@ -404,6 +405,7 @@ | |||||||
|         "FIELD_HEADER_PASSWORD"         : "Password:", |         "FIELD_HEADER_PASSWORD"         : "Password:", | ||||||
|         "FIELD_HEADER_PORT"             : "Port:", |         "FIELD_HEADER_PORT"             : "Port:", | ||||||
|         "FIELD_HEADER_READ_ONLY"        : "Read-only:", |         "FIELD_HEADER_READ_ONLY"        : "Read-only:", | ||||||
|  |         "FIELD_HEADER_SFTP_DIRECTORY"   : "Default upload directory:", | ||||||
|         "FIELD_HEADER_SFTP_HOSTNAME"    : "Hostname:", |         "FIELD_HEADER_SFTP_HOSTNAME"    : "Hostname:", | ||||||
|         "FIELD_HEADER_SFTP_PASSPHRASE"  : "Passphrase:", |         "FIELD_HEADER_SFTP_PASSPHRASE"  : "Passphrase:", | ||||||
|         "FIELD_HEADER_SFTP_PASSWORD"    : "Password:", |         "FIELD_HEADER_SFTP_PASSWORD"    : "Password:", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user