mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-339: Merge addition of remote host to connection history table.
This commit is contained in:
@@ -63,6 +63,11 @@ public class ConnectionRecordModel {
|
|||||||
*/
|
*/
|
||||||
private String username;
|
private String username;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The remote host associated with this connection record.
|
||||||
|
*/
|
||||||
|
private String remoteHost;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The time the connection was initiated by the associated user.
|
* The time the connection was initiated by the associated user.
|
||||||
*/
|
*/
|
||||||
@@ -216,6 +221,26 @@ public class ConnectionRecordModel {
|
|||||||
this.username = username;
|
this.username = username;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the remote host associated with this connection record.
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
* The remote host associated with this connection record.
|
||||||
|
*/
|
||||||
|
public String getRemoteHost() {
|
||||||
|
return remoteHost;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the remote host associated with this connection record.
|
||||||
|
*
|
||||||
|
* @param remoteHost
|
||||||
|
* The remote host to associate with this connection record.
|
||||||
|
*/
|
||||||
|
public void setRemoteHost(String remoteHost) {
|
||||||
|
this.remoteHost = remoteHost;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the date that the associated connection was established.
|
* Returns the date that the associated connection was established.
|
||||||
*
|
*
|
||||||
|
@@ -77,7 +77,7 @@ public class ModeledConnectionRecord implements ConnectionRecord {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getRemoteHost() {
|
public String getRemoteHost() {
|
||||||
return null;
|
return model.getRemoteHost();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@@ -306,6 +306,7 @@ public abstract class AbstractGuacamoleTunnelService implements GuacamoleTunnelS
|
|||||||
recordModel.setUsername(record.getUsername());
|
recordModel.setUsername(record.getUsername());
|
||||||
recordModel.setConnectionIdentifier(record.getConnectionIdentifier());
|
recordModel.setConnectionIdentifier(record.getConnectionIdentifier());
|
||||||
recordModel.setConnectionName(record.getConnectionName());
|
recordModel.setConnectionName(record.getConnectionName());
|
||||||
|
recordModel.setRemoteHost(record.getRemoteHost());
|
||||||
recordModel.setSharingProfileIdentifier(record.getSharingProfileIdentifier());
|
recordModel.setSharingProfileIdentifier(record.getSharingProfileIdentifier());
|
||||||
recordModel.setSharingProfileName(record.getSharingProfileName());
|
recordModel.setSharingProfileName(record.getSharingProfileName());
|
||||||
recordModel.setStartDate(record.getStartDate());
|
recordModel.setStartDate(record.getStartDate());
|
||||||
|
@@ -322,6 +322,7 @@ CREATE TABLE `guacamole_connection_history` (
|
|||||||
`history_id` int(11) NOT NULL AUTO_INCREMENT,
|
`history_id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
`user_id` int(11) DEFAULT NULL,
|
`user_id` int(11) DEFAULT NULL,
|
||||||
`username` varchar(128) NOT NULL,
|
`username` varchar(128) NOT NULL,
|
||||||
|
`remote_host` varchar(256) DEFAULT NULL,
|
||||||
`connection_id` int(11) DEFAULT NULL,
|
`connection_id` int(11) DEFAULT NULL,
|
||||||
`connection_name` varchar(128) NOT NULL,
|
`connection_name` varchar(128) NOT NULL,
|
||||||
`sharing_profile_id` int(11) DEFAULT NULL,
|
`sharing_profile_id` int(11) DEFAULT NULL,
|
||||||
|
@@ -30,3 +30,10 @@ ALTER TABLE guacamole_connection
|
|||||||
|
|
||||||
ALTER TABLE guacamole_connection
|
ALTER TABLE guacamole_connection
|
||||||
ADD COLUMN failover_only BOOLEAN NOT NULL DEFAULT 0;
|
ADD COLUMN failover_only BOOLEAN NOT NULL DEFAULT 0;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Add remote_host to connection history
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE guacamole_connection_history
|
||||||
|
ADD COLUMN remote_host VARCHAR(256) DEFAULT NULL;
|
||||||
|
@@ -27,6 +27,7 @@
|
|||||||
<resultMap id="ConnectionRecordResultMap" type="org.apache.guacamole.auth.jdbc.connection.ConnectionRecordModel">
|
<resultMap id="ConnectionRecordResultMap" type="org.apache.guacamole.auth.jdbc.connection.ConnectionRecordModel">
|
||||||
<result column="connection_id" property="connectionIdentifier" jdbcType="INTEGER"/>
|
<result column="connection_id" property="connectionIdentifier" jdbcType="INTEGER"/>
|
||||||
<result column="connection_name" property="connectionName" jdbcType="VARCHAR"/>
|
<result column="connection_name" property="connectionName" jdbcType="VARCHAR"/>
|
||||||
|
<result column="remote_host" property="remoteHost" jdbcType="VARCHAR"/>
|
||||||
<result column="sharing_profile_id" property="sharingProfileIdentifier" jdbcType="INTEGER"/>
|
<result column="sharing_profile_id" property="sharingProfileIdentifier" jdbcType="INTEGER"/>
|
||||||
<result column="sharing_profile_name" property="sharingProfileName" jdbcType="VARCHAR"/>
|
<result column="sharing_profile_name" property="sharingProfileName" jdbcType="VARCHAR"/>
|
||||||
<result column="user_id" property="userID" jdbcType="INTEGER"/>
|
<result column="user_id" property="userID" jdbcType="INTEGER"/>
|
||||||
@@ -41,6 +42,7 @@
|
|||||||
SELECT
|
SELECT
|
||||||
guacamole_connection_history.connection_id,
|
guacamole_connection_history.connection_id,
|
||||||
guacamole_connection_history.connection_name,
|
guacamole_connection_history.connection_name,
|
||||||
|
guacamole_connection_history.remote_host,
|
||||||
guacamole_connection_history.sharing_profile_id,
|
guacamole_connection_history.sharing_profile_id,
|
||||||
guacamole_connection_history.sharing_profile_name,
|
guacamole_connection_history.sharing_profile_name,
|
||||||
guacamole_connection_history.user_id,
|
guacamole_connection_history.user_id,
|
||||||
@@ -62,6 +64,7 @@
|
|||||||
INSERT INTO guacamole_connection_history (
|
INSERT INTO guacamole_connection_history (
|
||||||
connection_id,
|
connection_id,
|
||||||
connection_name,
|
connection_name,
|
||||||
|
remote_host,
|
||||||
sharing_profile_id,
|
sharing_profile_id,
|
||||||
sharing_profile_name,
|
sharing_profile_name,
|
||||||
user_id,
|
user_id,
|
||||||
@@ -72,6 +75,7 @@
|
|||||||
VALUES (
|
VALUES (
|
||||||
#{record.connectionIdentifier,jdbcType=VARCHAR},
|
#{record.connectionIdentifier,jdbcType=VARCHAR},
|
||||||
#{record.connectionName,jdbcType=VARCHAR},
|
#{record.connectionName,jdbcType=VARCHAR},
|
||||||
|
#{record.remoteHost,jdbcType=VARCHAR},
|
||||||
#{record.sharingProfileIdentifier,jdbcType=VARCHAR},
|
#{record.sharingProfileIdentifier,jdbcType=VARCHAR},
|
||||||
#{record.sharingProfileName,jdbcType=VARCHAR},
|
#{record.sharingProfileName,jdbcType=VARCHAR},
|
||||||
(SELECT user_id FROM guacamole_user
|
(SELECT user_id FROM guacamole_user
|
||||||
@@ -89,6 +93,7 @@
|
|||||||
SELECT
|
SELECT
|
||||||
guacamole_connection_history.connection_id,
|
guacamole_connection_history.connection_id,
|
||||||
guacamole_connection_history.connection_name,
|
guacamole_connection_history.connection_name,
|
||||||
|
guacamole_connection_history.remote_host,
|
||||||
guacamole_connection_history.sharing_profile_id,
|
guacamole_connection_history.sharing_profile_id,
|
||||||
guacamole_connection_history.sharing_profile_name,
|
guacamole_connection_history.sharing_profile_name,
|
||||||
guacamole_connection_history.user_id,
|
guacamole_connection_history.user_id,
|
||||||
@@ -146,6 +151,7 @@
|
|||||||
SELECT
|
SELECT
|
||||||
guacamole_connection_history.connection_id,
|
guacamole_connection_history.connection_id,
|
||||||
guacamole_connection_history.connection_name,
|
guacamole_connection_history.connection_name,
|
||||||
|
guacamole_connection_history.remote_host,
|
||||||
guacamole_connection_history.sharing_profile_id,
|
guacamole_connection_history.sharing_profile_id,
|
||||||
guacamole_connection_history.sharing_profile_name,
|
guacamole_connection_history.sharing_profile_name,
|
||||||
guacamole_connection_history.user_id,
|
guacamole_connection_history.user_id,
|
||||||
@@ -209,4 +215,4 @@
|
|||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
@@ -381,6 +381,7 @@ CREATE TABLE guacamole_connection_history (
|
|||||||
history_id serial NOT NULL,
|
history_id serial NOT NULL,
|
||||||
user_id integer DEFAULT NULL,
|
user_id integer DEFAULT NULL,
|
||||||
username varchar(128) NOT NULL,
|
username varchar(128) NOT NULL,
|
||||||
|
remote_host varchar(256) DEFAULT NULL,
|
||||||
connection_id integer DEFAULT NULL,
|
connection_id integer DEFAULT NULL,
|
||||||
connection_name varchar(128) NOT NULL,
|
connection_name varchar(128) NOT NULL,
|
||||||
sharing_profile_id integer DEFAULT NULL,
|
sharing_profile_id integer DEFAULT NULL,
|
||||||
|
@@ -30,3 +30,10 @@ ALTER TABLE guacamole_connection
|
|||||||
|
|
||||||
ALTER TABLE guacamole_connection
|
ALTER TABLE guacamole_connection
|
||||||
ADD COLUMN failover_only BOOLEAN NOT NULL DEFAULT FALSE;
|
ADD COLUMN failover_only BOOLEAN NOT NULL DEFAULT FALSE;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Add remote_host to connection history
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE guacamole_connection_history
|
||||||
|
ADD COLUMN remote_host VARCHAR(256) DEFAULT NULL;
|
||||||
|
@@ -27,6 +27,7 @@
|
|||||||
<resultMap id="ConnectionRecordResultMap" type="org.apache.guacamole.auth.jdbc.connection.ConnectionRecordModel">
|
<resultMap id="ConnectionRecordResultMap" type="org.apache.guacamole.auth.jdbc.connection.ConnectionRecordModel">
|
||||||
<result column="connection_id" property="connectionIdentifier" jdbcType="INTEGER"/>
|
<result column="connection_id" property="connectionIdentifier" jdbcType="INTEGER"/>
|
||||||
<result column="connection_name" property="connectionName" jdbcType="VARCHAR"/>
|
<result column="connection_name" property="connectionName" jdbcType="VARCHAR"/>
|
||||||
|
<result column="remote_host" property="remoteHost" jdbcType="VARCHAR"/>
|
||||||
<result column="sharing_profile_id" property="sharingProfileIdentifier" jdbcType="INTEGER"/>
|
<result column="sharing_profile_id" property="sharingProfileIdentifier" jdbcType="INTEGER"/>
|
||||||
<result column="sharing_profile_name" property="sharingProfileName" jdbcType="VARCHAR"/>
|
<result column="sharing_profile_name" property="sharingProfileName" jdbcType="VARCHAR"/>
|
||||||
<result column="user_id" property="userID" jdbcType="INTEGER"/>
|
<result column="user_id" property="userID" jdbcType="INTEGER"/>
|
||||||
@@ -41,6 +42,7 @@
|
|||||||
SELECT
|
SELECT
|
||||||
guacamole_connection_history.connection_id,
|
guacamole_connection_history.connection_id,
|
||||||
guacamole_connection_history.connection_name,
|
guacamole_connection_history.connection_name,
|
||||||
|
guacamole_connection_history.remote_host,
|
||||||
guacamole_connection_history.sharing_profile_id,
|
guacamole_connection_history.sharing_profile_id,
|
||||||
guacamole_connection_history.sharing_profile_name,
|
guacamole_connection_history.sharing_profile_name,
|
||||||
guacamole_connection_history.user_id,
|
guacamole_connection_history.user_id,
|
||||||
@@ -62,6 +64,7 @@
|
|||||||
INSERT INTO guacamole_connection_history (
|
INSERT INTO guacamole_connection_history (
|
||||||
connection_id,
|
connection_id,
|
||||||
connection_name,
|
connection_name,
|
||||||
|
remote_host,
|
||||||
sharing_profile_id,
|
sharing_profile_id,
|
||||||
sharing_profile_name,
|
sharing_profile_name,
|
||||||
user_id,
|
user_id,
|
||||||
@@ -72,6 +75,7 @@
|
|||||||
VALUES (
|
VALUES (
|
||||||
#{record.connectionIdentifier,jdbcType=INTEGER}::integer,
|
#{record.connectionIdentifier,jdbcType=INTEGER}::integer,
|
||||||
#{record.connectionName,jdbcType=VARCHAR},
|
#{record.connectionName,jdbcType=VARCHAR},
|
||||||
|
#{record.remoteHost,jdbcType=VARCHAR},
|
||||||
#{record.sharingProfileIdentifier,jdbcType=INTEGER}::integer,
|
#{record.sharingProfileIdentifier,jdbcType=INTEGER}::integer,
|
||||||
#{record.sharingProfileName,jdbcType=VARCHAR},
|
#{record.sharingProfileName,jdbcType=VARCHAR},
|
||||||
(SELECT user_id FROM guacamole_user
|
(SELECT user_id FROM guacamole_user
|
||||||
@@ -89,6 +93,7 @@
|
|||||||
SELECT
|
SELECT
|
||||||
guacamole_connection_history.connection_id,
|
guacamole_connection_history.connection_id,
|
||||||
guacamole_connection_history.connection_name,
|
guacamole_connection_history.connection_name,
|
||||||
|
guacamole_connection_history.remote_host,
|
||||||
guacamole_connection_history.sharing_profile_id,
|
guacamole_connection_history.sharing_profile_id,
|
||||||
guacamole_connection_history.sharing_profile_name,
|
guacamole_connection_history.sharing_profile_name,
|
||||||
guacamole_connection_history.user_id,
|
guacamole_connection_history.user_id,
|
||||||
@@ -144,6 +149,7 @@
|
|||||||
SELECT
|
SELECT
|
||||||
guacamole_connection_history.connection_id,
|
guacamole_connection_history.connection_id,
|
||||||
guacamole_connection_history.connection_name,
|
guacamole_connection_history.connection_name,
|
||||||
|
guacamole_connection_history.remote_host,
|
||||||
guacamole_connection_history.sharing_profile_id,
|
guacamole_connection_history.sharing_profile_id,
|
||||||
guacamole_connection_history.sharing_profile_name,
|
guacamole_connection_history.sharing_profile_name,
|
||||||
guacamole_connection_history.user_id,
|
guacamole_connection_history.user_id,
|
||||||
@@ -207,4 +213,4 @@
|
|||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
@@ -72,6 +72,7 @@
|
|||||||
<th>{{'MANAGE_CONNECTION.TABLE_HEADER_HISTORY_USERNAME' | translate}}</th>
|
<th>{{'MANAGE_CONNECTION.TABLE_HEADER_HISTORY_USERNAME' | translate}}</th>
|
||||||
<th>{{'MANAGE_CONNECTION.TABLE_HEADER_HISTORY_START' | translate}}</th>
|
<th>{{'MANAGE_CONNECTION.TABLE_HEADER_HISTORY_START' | translate}}</th>
|
||||||
<th>{{'MANAGE_CONNECTION.TABLE_HEADER_HISTORY_DURATION' | translate}}</th>
|
<th>{{'MANAGE_CONNECTION.TABLE_HEADER_HISTORY_DURATION' | translate}}</th>
|
||||||
|
<th>{{'MANAGE_CONNECTION.TABLE_HEADER_HISTORY_REMOTEHOST' | translate}}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -81,6 +82,7 @@
|
|||||||
<td class="duration"
|
<td class="duration"
|
||||||
translate="{{wrapper.durationText}}"
|
translate="{{wrapper.durationText}}"
|
||||||
translate-values="{VALUE: wrapper.duration.value, UNIT: wrapper.duration.unit}"></td>
|
translate-values="{VALUE: wrapper.duration.value, UNIT: wrapper.duration.unit}"></td>
|
||||||
|
<td class="remoteHost">{{wrapper.entry.remoteHost}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@@ -52,6 +52,13 @@ angular.module('rest').factory('ConnectionHistoryEntry', [function defineConnect
|
|||||||
*/
|
*/
|
||||||
this.connectionName = template.connectionName;
|
this.connectionName = template.connectionName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The remote host associated with this history entry.
|
||||||
|
*
|
||||||
|
* @type String
|
||||||
|
*/
|
||||||
|
this.remoteHost = template.remoteHost;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The time that usage began, in seconds since 1970-01-01 00:00:00 UTC.
|
* The time that usage began, in seconds since 1970-01-01 00:00:00 UTC.
|
||||||
*
|
*
|
||||||
@@ -186,4 +193,4 @@ angular.module('rest').factory('ConnectionHistoryEntry', [function defineConnect
|
|||||||
|
|
||||||
return ConnectionHistoryEntry;
|
return ConnectionHistoryEntry;
|
||||||
|
|
||||||
}]);
|
}]);
|
||||||
|
@@ -84,7 +84,8 @@ angular.module('settings').directive('guacSettingsConnectionHistory', [function
|
|||||||
'-startDate',
|
'-startDate',
|
||||||
'-duration',
|
'-duration',
|
||||||
'username',
|
'username',
|
||||||
'connectionName'
|
'connectionName',
|
||||||
|
'remoteHost'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Get session date format
|
// Get session date format
|
||||||
@@ -192,6 +193,7 @@ angular.module('settings').directive('guacSettingsConnectionHistory', [function
|
|||||||
'SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_STARTDATE',
|
'SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_STARTDATE',
|
||||||
'SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_DURATION',
|
'SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_DURATION',
|
||||||
'SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_CONNECTION_NAME',
|
'SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_CONNECTION_NAME',
|
||||||
|
'SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_REMOTEHOST',
|
||||||
'SETTINGS_CONNECTION_HISTORY.FILENAME_HISTORY_CSV'
|
'SETTINGS_CONNECTION_HISTORY.FILENAME_HISTORY_CSV'
|
||||||
]).then(function headerTranslated(translations) {
|
]).then(function headerTranslated(translations) {
|
||||||
|
|
||||||
@@ -200,7 +202,8 @@ angular.module('settings').directive('guacSettingsConnectionHistory', [function
|
|||||||
translations['SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_USERNAME'],
|
translations['SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_USERNAME'],
|
||||||
translations['SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_STARTDATE'],
|
translations['SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_STARTDATE'],
|
||||||
translations['SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_DURATION'],
|
translations['SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_DURATION'],
|
||||||
translations['SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_CONNECTION_NAME']
|
translations['SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_CONNECTION_NAME'],
|
||||||
|
translations['SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_REMOTEHOST']
|
||||||
]];
|
]];
|
||||||
|
|
||||||
// Add rows for all history entries, using the same sort
|
// Add rows for all history entries, using the same sort
|
||||||
@@ -215,7 +218,8 @@ angular.module('settings').directive('guacSettingsConnectionHistory', [function
|
|||||||
historyEntryWrapper.username,
|
historyEntryWrapper.username,
|
||||||
$filter('date')(historyEntryWrapper.startDate, $scope.dateFormat),
|
$filter('date')(historyEntryWrapper.startDate, $scope.dateFormat),
|
||||||
historyEntryWrapper.duration / 1000,
|
historyEntryWrapper.duration / 1000,
|
||||||
historyEntryWrapper.connectionName
|
historyEntryWrapper.connectionName,
|
||||||
|
historyEntryWrapper.remoteHost
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@@ -29,6 +29,9 @@
|
|||||||
<th guac-sort-order="order" guac-sort-property="'connectionName'">
|
<th guac-sort-order="order" guac-sort-property="'connectionName'">
|
||||||
{{'SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_CONNECTION_NAME' | translate}}
|
{{'SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_CONNECTION_NAME' | translate}}
|
||||||
</th>
|
</th>
|
||||||
|
<th guac-sort-order="order" guac-sort-property="'remoteHost'">
|
||||||
|
{{'SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_REMOTEHOST' | translate}}
|
||||||
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody ng-class="{loading: !isLoaded()}">
|
<tbody ng-class="{loading: !isLoaded()}">
|
||||||
@@ -38,6 +41,7 @@
|
|||||||
<td translate="{{historyEntryWrapper.readableDurationText}}"
|
<td translate="{{historyEntryWrapper.readableDurationText}}"
|
||||||
translate-values="{VALUE: historyEntryWrapper.readableDuration.value, UNIT: historyEntryWrapper.readableDuration.unit}"></td>
|
translate-values="{VALUE: historyEntryWrapper.readableDuration.value, UNIT: historyEntryWrapper.readableDuration.unit}"></td>
|
||||||
<td>{{historyEntryWrapper.connectionName}}</td>
|
<td>{{historyEntryWrapper.connectionName}}</td>
|
||||||
|
<td>{{historyEntryWrapper.remoteHost}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@@ -50,6 +50,13 @@ angular.module('settings').factory('ConnectionHistoryEntryWrapper', ['$injector'
|
|||||||
*/
|
*/
|
||||||
this.connectionName = historyEntry.connectionName;
|
this.connectionName = historyEntry.connectionName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The remote host associated with this history entry.
|
||||||
|
*
|
||||||
|
* @type String
|
||||||
|
*/
|
||||||
|
this.remoteHost = historyEntry.remoteHost;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The username of the user associated with this particular usage of
|
* The username of the user associated with this particular usage of
|
||||||
* the connection.
|
* the connection.
|
||||||
|
@@ -220,9 +220,10 @@
|
|||||||
"SECTION_HEADER_HISTORY" : "Usage History",
|
"SECTION_HEADER_HISTORY" : "Usage History",
|
||||||
"SECTION_HEADER_PARAMETERS" : "Parameters",
|
"SECTION_HEADER_PARAMETERS" : "Parameters",
|
||||||
|
|
||||||
"TABLE_HEADER_HISTORY_USERNAME" : "Username",
|
"TABLE_HEADER_HISTORY_USERNAME" : "Username",
|
||||||
"TABLE_HEADER_HISTORY_START" : "Start Time",
|
"TABLE_HEADER_HISTORY_START" : "Start Time",
|
||||||
"TABLE_HEADER_HISTORY_DURATION" : "Duration",
|
"TABLE_HEADER_HISTORY_DURATION" : "Duration",
|
||||||
|
"TABLE_HEADER_HISTORY_REMOTEHOST" : "Remote Host",
|
||||||
|
|
||||||
"TEXT_CONFIRM_DELETE" : "Connections cannot be restored after they have been deleted. Are you sure you want to delete this connection?",
|
"TEXT_CONFIRM_DELETE" : "Connections cannot be restored after they have been deleted. Are you sure you want to delete this connection?",
|
||||||
"TEXT_HISTORY_DURATION" : "@:APP.TEXT_HISTORY_DURATION"
|
"TEXT_HISTORY_DURATION" : "@:APP.TEXT_HISTORY_DURATION"
|
||||||
@@ -598,6 +599,7 @@
|
|||||||
|
|
||||||
"TABLE_HEADER_SESSION_CONNECTION_NAME" : "Connection name",
|
"TABLE_HEADER_SESSION_CONNECTION_NAME" : "Connection name",
|
||||||
"TABLE_HEADER_SESSION_DURATION" : "Duration",
|
"TABLE_HEADER_SESSION_DURATION" : "Duration",
|
||||||
|
"TABLE_HEADER_SESSION_REMOTEHOST" : "Remote host",
|
||||||
"TABLE_HEADER_SESSION_STARTDATE" : "Start time",
|
"TABLE_HEADER_SESSION_STARTDATE" : "Start time",
|
||||||
"TABLE_HEADER_SESSION_USERNAME" : "Username",
|
"TABLE_HEADER_SESSION_USERNAME" : "Username",
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user