mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-422: Add timezone selection for RDP connections.
This commit is contained in:
committed by
Virtually Nick
parent
3c9302f040
commit
8b443dc9d5
@@ -113,7 +113,8 @@ public class ModeledUser extends ModeledPermissions<UserModel> implements User {
|
||||
new TextField(User.Attribute.FULL_NAME),
|
||||
new EmailField(User.Attribute.EMAIL_ADDRESS),
|
||||
new TextField(User.Attribute.ORGANIZATION),
|
||||
new TextField(User.Attribute.ORGANIZATIONAL_ROLE)
|
||||
new TextField(User.Attribute.ORGANIZATIONAL_ROLE),
|
||||
new TimeZoneField(TIMEZONE_ATTRIBUTE_NAME)
|
||||
));
|
||||
|
||||
/**
|
||||
@@ -349,6 +350,9 @@ public class ModeledUser extends ModeledPermissions<UserModel> implements User {
|
||||
// Set role attribute
|
||||
attributes.put(User.Attribute.ORGANIZATIONAL_ROLE, getModel().getOrganizationalRole());
|
||||
|
||||
// Set timezone attribute
|
||||
attributes.put(TIMEZONE_ATTRIBUTE_NAME, getModel().getTimeZone());
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -195,6 +195,10 @@
|
||||
{
|
||||
"name" : "static-channels",
|
||||
"type" : "TEXT"
|
||||
},
|
||||
{
|
||||
"name" : "timezone",
|
||||
"type" : "TIMEZONE"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@@ -415,6 +415,7 @@
|
||||
"FIELD_HEADER_REMOTE_APP_ARGS" : "Parameters:",
|
||||
"FIELD_HEADER_REMOTE_APP_DIR" : "Working directory:",
|
||||
"FIELD_HEADER_REMOTE_APP" : "Program:",
|
||||
"FIELD_HEADER_TIMEZONE" : "Timezone:",
|
||||
"FIELD_HEADER_SECURITY" : "Security mode:",
|
||||
"FIELD_HEADER_SERVER_LAYOUT" : "Keyboard layout:",
|
||||
"FIELD_HEADER_SFTP_DIRECTORY" : "Default upload directory:",
|
||||
|
Reference in New Issue
Block a user