Re: Necessity for remove a field from Edit User window

2019-03-01 Thread Nick Couchman
On Fri, Mar 1, 2019 at 8:26 PM Gabriel Huerta Araujo <
huert...@globalhitss.com> wrote:

> Ok Nick
>
>
>
> But one million question is if these translations are not available yet in
> this version how it is possible they can be showed in screen?
>
>
>
>
You must be running Guacamole 1.0.0 - those translations are present in the
following file:

https://github.com/apache/guacamole-client/blob/1.0.0/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/resources/translations/es.json

-Nick


RE: Necessity for remove a field from Edit User window

2019-03-01 Thread Gabriel Huerta Araujo
Ok Nick



But one million question is if these translations are not available yet in this 
version how it is possible they can be showed in screen?





Regards



De: Nick Couchman [mailto:vn...@apache.org]
Enviado el: viernes, 01 de marzo de 2019 06:43 p.m.
Para: user@guacamole.apache.org
Asunto: Re: Necessity for remove a field from Edit User window



On Mon, Feb 25, 2019 at 10:45 AM Gabriel Huerta Araujo 
 wrote:

Hi Mike



This is what I have (0.9.14)



"USER_ATTRIBUTES" : {



"FIELD_HEADER_GUAC_EMAIL_ADDRESS"   : "Email address:",

"FIELD_HEADER_GUAC_FULL_NAME"   : "Full name:",

"FIELD_HEADER_GUAC_ORGANIZATION": "Organization:",

"FIELD_HEADER_GUAC_ORGANIZATIONAL_ROLE" : "Role:"



},





. And this 
URL(https://github.com/apache/guacamole-client/blob/87aa2e6c34d11bb30626c6c27a42796506493ffd/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/resources/translations/en.json#L93)
 shows what you indicate in es.json file




"USER_ATTRIBUTES" : {



"FIELD_HEADER_DISABLED": "Login disabled:",


"FIELD_HEADER_EXPIRED" : "Password expired:",


"FIELD_HEADER_ACCESS_WINDOW_END"   : "Do not allow access after:",


"FIELD_HEADER_ACCESS_WINDOW_START" : "Allow access after:",


"FIELD_HEADER_TIMEZONE": "User time zone:",


"FIELD_HEADER_VALID_FROM"  : "Enable account after:",


"FIELD_HEADER_VALID_UNTIL" : "Disable account after:",



"SECTION_HEADER_RESTRICTIONS" : "Account Restrictions",


"SECTION_HEADER_PROFILE"  : "Profile"



},





So in version 0.9.14 I am using I do not see these translations in es.json 
translation file.



This indicates that these items have not been translated into Spanish, yet.  I 
believe some Spanish translations were updated in 1.0.0 (from 0.9.14), so you 
might check the latest available version and see if those work.  If you can 
provide any of them, you're welcome to contribute to the project by completing 
those translations.



-Nick



---
Este correo electrónico ha sido comprobado en busca de virus por AVG.
http://www.avg.com


Re: Necessity for remove a field from Edit User window

2019-03-01 Thread Nick Couchman
On Mon, Feb 25, 2019 at 10:45 AM Gabriel Huerta Araujo <
huert...@globalhitss.com> wrote:

> Hi Mike
>
>
>
> This is what I have (0.9.14)
>
>
>
> "USER_ATTRIBUTES" : {
>
>
>
> "FIELD_HEADER_GUAC_EMAIL_ADDRESS"   : *"Email address:"*,
>
> "FIELD_HEADER_GUAC_FULL_NAME"   : *"Full name:"*,
>
> "FIELD_HEADER_GUAC_ORGANIZATION": *"Organization:"*,
>
> "FIELD_HEADER_GUAC_ORGANIZATIONAL_ROLE" : *"Role:"*
>
>
>
> },
>
>
>
>
>
> . And this URL(
> https://github.com/apache/guacamole-client/blob/87aa2e6c34d11bb30626c6c27a42796506493ffd/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/resources/translations/en.json#L93)
> shows what you indicate in es.json file
>
>
>
> "USER_ATTRIBUTES" : {
>
> "FIELD_HEADER_DISABLED": "Login disabled:",
>
> "FIELD_HEADER_EXPIRED" : "Password expired:",
>
> "FIELD_HEADER_ACCESS_WINDOW_END"   : "Do not allow access after:",
>
> "FIELD_HEADER_ACCESS_WINDOW_START" : "Allow access after:",
>
> "FIELD_HEADER_TIMEZONE": "User time zone:",
>
> "FIELD_HEADER_VALID_FROM"  : "Enable account after:",
>
> "FIELD_HEADER_VALID_UNTIL" : "Disable account after:",
>
> "SECTION_HEADER_RESTRICTIONS" : "Account Restrictions",
>
> "SECTION_HEADER_PROFILE"  : "Profile"
>
> },
>
>
>
>
>
> So in version 0.9.14 I am using I do not see these translations in es.json
> translation file.
>

This indicates that these items have not been translated into Spanish,
yet.  I believe some Spanish translations were updated in 1.0.0 (from
0.9.14), so you might check the latest available version and see if those
work.  If you can provide any of them, you're welcome to contribute to the
project by completing those translations.

-Nick

> <#m_-8686812617529953945_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>


RE: Necessity for remove a field from Edit User window

2019-02-25 Thread Gabriel Huerta Araujo
Hi Mike



This is what I have (0.9.14)



"USER_ATTRIBUTES" : {



"FIELD_HEADER_GUAC_EMAIL_ADDRESS"   : "Email address:",

"FIELD_HEADER_GUAC_FULL_NAME"   : "Full name:",

"FIELD_HEADER_GUAC_ORGANIZATION": "Organization:",

"FIELD_HEADER_GUAC_ORGANIZATIONAL_ROLE" : "Role:"



},





. And this 
URL(https://github.com/apache/guacamole-client/blob/87aa2e6c34d11bb30626c6c27a42796506493ffd/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/resources/translations/en.json#L93)
 shows what you indicate in es.json file




"USER_ATTRIBUTES" : {



"FIELD_HEADER_DISABLED": "Login disabled:",


"FIELD_HEADER_EXPIRED" : "Password expired:",


"FIELD_HEADER_ACCESS_WINDOW_END"   : "Do not allow access after:",


"FIELD_HEADER_ACCESS_WINDOW_START" : "Allow access after:",


"FIELD_HEADER_TIMEZONE": "User time zone:",


"FIELD_HEADER_VALID_FROM"  : "Enable account after:",


"FIELD_HEADER_VALID_UNTIL" : "Disable account after:",



"SECTION_HEADER_RESTRICTIONS" : "Account Restrictions",


"SECTION_HEADER_PROFILE"  : "Profile"



    },





So in version 0.9.14 I am using I do not see these translations in es.json 
translation file.



Regards.

De: Mike Jumper [mailto:mjum...@apache.org]
Enviado el: domingo, 24 de febrero de 2019 09:12 p.m.
Para: user@guacamole.apache.org
Asunto: Re: Necessity for remove a field from Edit User window



On Sun, Feb 24, 2019 at 2:40 PM Gabriel Huerta Araujo 
 wrote:

By the way how do you make that these fields(their labels in particular) can be 
translated according to chosen language if they are contained into 
guacamole_user table and I do not see any reference to them into 
manageUser.html file?



Many of those fields are dynamic. The fields driven by custom user attributes 
like "expired", "disabled", etc. are given translation strings through adding a 
namespace and applying a transform to the attribute name. Within the user 
administration interface, an attribute like "expired" will be associated with 
the translation string "USER_ATTRIBUTES.FIELD_HEADER_EXPIRED":



https://github.com/apache/guacamole-client/blob/87aa2e6c34d11bb30626c6c27a42796506493ffd/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/resources/translations/en.json#L93



The "USER_ATTRIBUTES" namespace comes from here:



https://github.com/apache/guacamole-client/blob/87aa2e6c34d11bb30626c6c27a42796506493ffd/guacamole/src/main/webapp/app/manage/templates/manageUser.html#L43-L48



That namespace gets assembled together with the "FIELD_HEADER_" prefix and the 
transformed attribute name here:



https://github.com/apache/guacamole-client/blob/7481c181edfa3dfa80127289c7b0dd59a58ed8bc/guacamole/src/main/webapp/app/form/directives/formField.js#L95-L96



- Mike





---
Este correo electrónico ha sido comprobado en busca de virus por AVG.
http://www.avg.com


Re: Necessity for remove a field from Edit User window

2019-02-24 Thread Mike Jumper
On Sun, Feb 24, 2019 at 2:40 PM Gabriel Huerta Araujo <
huert...@globalhitss.com> wrote:

> By the way how do you make that these fields(their labels in particular)
> can be translated according to chosen language if they are contained into
> guacamole_user table and I do not see any reference to them into
> manageUser.html file?
>
>
Many of those fields are dynamic. The fields driven by custom user
attributes like "expired", "disabled", etc. are given translation strings
through adding a namespace and applying a transform to the attribute name.
Within the user administration interface, an attribute like "expired" will
be associated with the translation string
"USER_ATTRIBUTES.FIELD_HEADER_EXPIRED":

https://github.com/apache/guacamole-client/blob/87aa2e6c34d11bb30626c6c27a42796506493ffd/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/resources/translations/en.json#L93

The "USER_ATTRIBUTES" namespace comes from here:

https://github.com/apache/guacamole-client/blob/87aa2e6c34d11bb30626c6c27a42796506493ffd/guacamole/src/main/webapp/app/manage/templates/manageUser.html#L43-L48

That namespace gets assembled together with the "FIELD_HEADER_" prefix and
the transformed attribute name here:

https://github.com/apache/guacamole-client/blob/7481c181edfa3dfa80127289c7b0dd59a58ed8bc/guacamole/src/main/webapp/app/form/directives/formField.js#L95-L96

- Mike

<#m_-1198024402858664124_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>


Re: Necessity for remove a field from Edit User window

2019-02-24 Thread Mike Jumper
On Sun, Feb 24, 2019 at 2:39 PM Gabriel Huerta Araujo <
huert...@globalhitss.com> wrote:

> Hi Mike
>
>
>
> There exists a necessity where for some application accounts do not ask
> for a new password.
>
>
Sorry, I still don't follow. If you don't need to expire a user's password,
why not just not check that box? The presence of that field alone doesn't
have any effect. It's simply there for if/when you need it.

- Mike

<#m_-5276150890397967816_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>


RE: Necessity for remove a field from Edit User window

2019-02-24 Thread Gabriel Huerta Araujo
By the way how do you make that these fields(their labels in particular) can be 
translated according to chosen language if they are contained into 
guacamole_user table and I do not see any reference to them into 
manageUser.html file?



Regards.



De: Gabriel Huerta Araujo [mailto:huert...@globalhitss.com]
Enviado el: domingo, 24 de febrero de 2019 04:28 p.m.
Para: 'user@guacamole.apache.org'
Asunto: RE: Necessity for remove a field from Edit User window



Hi Mike



There exists a necessity where for some application accounts do not ask for a 
new password.



Regards.



De: Mike Jumper [mailto:mjum...@apache.org]
Enviado el: domingo, 24 de febrero de 2019 04:24 p.m.
Para: user@guacamole.apache.org
Asunto: Re: Necesity for remove a field from Edit User window



On Sun, Feb 24, 2019 at 2:22 PM Gabriel Huerta Araujo 
 wrote:

I have to remove a field from Edit User window where this screen has an option 
Account restrictions where there are below options.



disabled

expired

access_window_start

access_window_end

valid_from

valid_until

timezone



Some of them are checkbox, by the way filed expired is presented as checkbox.



What do I need in order to remove "expired" field from this Edit User screen?



Can you explain why you want to remove this field?



- Mike





---
Este correo electrónico ha sido comprobado en busca de virus por AVG.
http://www.avg.com


RE: Necessity for remove a field from Edit User window

2019-02-24 Thread Gabriel Huerta Araujo
Hi Mike



There exists a necessity where for some application accounts do not ask for a 
new password.



Regards.



De: Mike Jumper [mailto:mjum...@apache.org]
Enviado el: domingo, 24 de febrero de 2019 04:24 p.m.
Para: user@guacamole.apache.org
Asunto: Re: Necesity for remove a field from Edit User window



On Sun, Feb 24, 2019 at 2:22 PM Gabriel Huerta Araujo 
 wrote:

I have to remove a field from Edit User window where this screen has an option 
Account restrictions where there are below options.



disabled

expired

access_window_start

access_window_end

valid_from

valid_until

timezone



Some of them are checkbox, by the way filed expired is presented as checkbox.



What do I need in order to remove "expired" field from this Edit User screen?



Can you explain why you want to remove this field?



- Mike





---
Este correo electrónico ha sido comprobado en busca de virus por AVG.
http://www.avg.com