Skip to content

Commit

Permalink
NAS-130897: Add NFS tooltips (#10651)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKarpov98 authored Sep 11, 2024
1 parent ad5d50a commit f2d468e
Show file tree
Hide file tree
Showing 93 changed files with 280 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/app/helptext/services/components/service-nfs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ export const helptextServiceNfs = {
nfs_srv_v4_v3owner_tooltip: T('Set when NFSv4 ACL support is needed without requiring\
the client and the server to sync users and groups.'),

nfs_srv_protocols_tooltip: T('Enable server support for NFSv3 or NFSv4 or both NFSv3 and NFSv4 clients.'),

nfs_srv_v4_krb_tooltip: T('Set to force NFS shares to fail if the Kerberos ticket\
is unavailable.'),

Expand Down
8 changes: 8 additions & 0 deletions src/app/helptext/sharing/nfs/nfs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,21 @@ export const helptextSharingNfs = {
),
tooltip_enabled: T('Enable this NFS share. Unset to disable this NFS share \
without deleting it.'),
tooltip_networks_wrapper: T(
'Click "Add" to specify NFS client network ranges for this share.\
If both networks and hosts are empty the share will be exported to everyone.',
),
tooltip_network: T(
'Allowed network in network/mask CIDR notation (example <i>1.2.3.4/24<i>).\
One entry per field. Leave empty to allow everybody.',
),
tooltip_hosts: T(
'Allowed IP address or hostname. One entry per field. Leave empty to allow everybody.',
),
tooltip_hosts_wrapper: T(
'Click "Add" to specify NFS client hosts for this share.\
If both networks and hosts are empty the share will be exported to everyone.',
),
tooltip_maproot_user: T(
'When a user is selected, the <i>root</i> user is\
limited to the permissions of that user.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
[label]="'Enabled Protocols' | translate"
[options]="protocolOptions$"
[multiple]="true"
[tooltip]="tooltips.protocols"
[required]="true"
></ix-select>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export class ServiceNfsComponent implements OnInit {
servers: helptextServiceNfs.nfs_srv_servers_tooltip,
servers_auto: helptextServiceNfs.nfs_srv_servers_auto_tooltip,
v4_domain: helptextServiceNfs.nfs_srv_v4_domain_tooltip,
protocols: helptextServiceNfs.nfs_srv_protocols_tooltip,
v4_v3owner: helptextServiceNfs.nfs_srv_v4_v3owner_tooltip,
v4_krb: helptextServiceNfs.nfs_srv_v4_krb_tooltip,
mountd_port: helptextServiceNfs.nfs_srv_mountd_port_tooltip,
Expand Down
2 changes: 2 additions & 0 deletions src/app/pages/sharing/nfs/nfs-form/nfs-form.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
[empty]="form.controls.networks.controls.length === 0"
[label]="'Networks' | translate"
[formArray]="form.get('networks')"
[tooltip]="helptext.tooltip_networks_wrapper | translate"
(add)="addNetworkControl()"
>
@for (network of form.controls.networks.controls; track network; let i = $index) {
Expand All @@ -103,6 +104,7 @@
[empty]="form.controls.hosts.controls.length === 0"
[label]="'Hosts' | translate"
[formArray]="form.get('hosts')"
[tooltip]="helptext.tooltip_hosts_wrapper | translate"
(add)="addHostControl()"
>
@for (network of form.controls.hosts.controls; track network; let i = $index) {
Expand Down
3 changes: 3 additions & 0 deletions src/assets/i18n/af.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,8 @@
"Clear the Idmap Cache": "",
"Clear the SED password for this disk.": "",
"Clearing Cache...": "",
"Click \"Add\" to specify NFS client hosts for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click \"Add\" to specify NFS client network ranges for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click Add to add first VDEV.": "",
"Click an item to view NFSv4 permissions": "",
"Click for information on <a href=\"https://www.truenas.com/docs/truenasupgrades/\" target=\"_blank\">TrueNAS SCALE Migration, Nightly trains and other upgrade options.</a>": "",
Expand Down Expand Up @@ -1537,6 +1539,7 @@
"Enable iXsystems Proactive Support": "",
"Enable passwordless sudo for zfs commands": "",
"Enable sending anonymous usage statistics to iXsystems.": "",
"Enable server support for NFSv3 or NFSv4 or both NFSv3 and NFSv4 clients.": "",
"Enable server-side management of group memberships. This option allows the server to determine group IDs based on server-side lookups rather than relying solely on the information provided by the NFS client. This can support more than 16 groups and provide more accurate group memberships.": "",
"Enable service": "",
"Enable support for the File Server Remote VSS Protocol (<a href=\"https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fsrvp\" target=\"_blank\">FSVRP</a>). This protocol allows RPC clients to manage snapshots for a specific SMB share. The share path must be a dataset mountpoint. Snapshots have the prefix <code>fss-</code> followed by a snapshot creation timestamp. A snapshot must have this prefix for an RPC user to delete it.": "",
Expand Down
3 changes: 3 additions & 0 deletions src/assets/i18n/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,8 @@
"Clear the Idmap Cache": "",
"Clear the SED password for this disk.": "",
"Clearing Cache...": "",
"Click \"Add\" to specify NFS client hosts for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click \"Add\" to specify NFS client network ranges for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click Add to add first VDEV.": "",
"Click an item to view NFSv4 permissions": "",
"Click for information on <a href=\"https://www.truenas.com/docs/truenasupgrades/\" target=\"_blank\">TrueNAS SCALE Migration, Nightly trains and other upgrade options.</a>": "",
Expand Down Expand Up @@ -1537,6 +1539,7 @@
"Enable iXsystems Proactive Support": "",
"Enable passwordless sudo for zfs commands": "",
"Enable sending anonymous usage statistics to iXsystems.": "",
"Enable server support for NFSv3 or NFSv4 or both NFSv3 and NFSv4 clients.": "",
"Enable server-side management of group memberships. This option allows the server to determine group IDs based on server-side lookups rather than relying solely on the information provided by the NFS client. This can support more than 16 groups and provide more accurate group memberships.": "",
"Enable service": "",
"Enable support for the File Server Remote VSS Protocol (<a href=\"https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fsrvp\" target=\"_blank\">FSVRP</a>). This protocol allows RPC clients to manage snapshots for a specific SMB share. The share path must be a dataset mountpoint. Snapshots have the prefix <code>fss-</code> followed by a snapshot creation timestamp. A snapshot must have this prefix for an RPC user to delete it.": "",
Expand Down
3 changes: 3 additions & 0 deletions src/assets/i18n/ast.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,8 @@
"Clear the Idmap Cache": "",
"Clear the SED password for this disk.": "",
"Clearing Cache...": "",
"Click \"Add\" to specify NFS client hosts for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click \"Add\" to specify NFS client network ranges for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click Add to add first VDEV.": "",
"Click an item to view NFSv4 permissions": "",
"Click for information on <a href=\"https://www.truenas.com/docs/truenasupgrades/\" target=\"_blank\">TrueNAS SCALE Migration, Nightly trains and other upgrade options.</a>": "",
Expand Down Expand Up @@ -1537,6 +1539,7 @@
"Enable iXsystems Proactive Support": "",
"Enable passwordless sudo for zfs commands": "",
"Enable sending anonymous usage statistics to iXsystems.": "",
"Enable server support for NFSv3 or NFSv4 or both NFSv3 and NFSv4 clients.": "",
"Enable server-side management of group memberships. This option allows the server to determine group IDs based on server-side lookups rather than relying solely on the information provided by the NFS client. This can support more than 16 groups and provide more accurate group memberships.": "",
"Enable service": "",
"Enable support for the File Server Remote VSS Protocol (<a href=\"https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fsrvp\" target=\"_blank\">FSVRP</a>). This protocol allows RPC clients to manage snapshots for a specific SMB share. The share path must be a dataset mountpoint. Snapshots have the prefix <code>fss-</code> followed by a snapshot creation timestamp. A snapshot must have this prefix for an RPC user to delete it.": "",
Expand Down
3 changes: 3 additions & 0 deletions src/assets/i18n/az.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,8 @@
"Clear the Idmap Cache": "",
"Clear the SED password for this disk.": "",
"Clearing Cache...": "",
"Click \"Add\" to specify NFS client hosts for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click \"Add\" to specify NFS client network ranges for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click Add to add first VDEV.": "",
"Click an item to view NFSv4 permissions": "",
"Click for information on <a href=\"https://www.truenas.com/docs/truenasupgrades/\" target=\"_blank\">TrueNAS SCALE Migration, Nightly trains and other upgrade options.</a>": "",
Expand Down Expand Up @@ -1537,6 +1539,7 @@
"Enable iXsystems Proactive Support": "",
"Enable passwordless sudo for zfs commands": "",
"Enable sending anonymous usage statistics to iXsystems.": "",
"Enable server support for NFSv3 or NFSv4 or both NFSv3 and NFSv4 clients.": "",
"Enable server-side management of group memberships. This option allows the server to determine group IDs based on server-side lookups rather than relying solely on the information provided by the NFS client. This can support more than 16 groups and provide more accurate group memberships.": "",
"Enable service": "",
"Enable support for the File Server Remote VSS Protocol (<a href=\"https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fsrvp\" target=\"_blank\">FSVRP</a>). This protocol allows RPC clients to manage snapshots for a specific SMB share. The share path must be a dataset mountpoint. Snapshots have the prefix <code>fss-</code> followed by a snapshot creation timestamp. A snapshot must have this prefix for an RPC user to delete it.": "",
Expand Down
3 changes: 3 additions & 0 deletions src/assets/i18n/be.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,8 @@
"Clear the Idmap Cache": "",
"Clear the SED password for this disk.": "",
"Clearing Cache...": "",
"Click \"Add\" to specify NFS client hosts for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click \"Add\" to specify NFS client network ranges for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click Add to add first VDEV.": "",
"Click an item to view NFSv4 permissions": "",
"Click for information on <a href=\"https://www.truenas.com/docs/truenasupgrades/\" target=\"_blank\">TrueNAS SCALE Migration, Nightly trains and other upgrade options.</a>": "",
Expand Down Expand Up @@ -1537,6 +1539,7 @@
"Enable iXsystems Proactive Support": "",
"Enable passwordless sudo for zfs commands": "",
"Enable sending anonymous usage statistics to iXsystems.": "",
"Enable server support for NFSv3 or NFSv4 or both NFSv3 and NFSv4 clients.": "",
"Enable server-side management of group memberships. This option allows the server to determine group IDs based on server-side lookups rather than relying solely on the information provided by the NFS client. This can support more than 16 groups and provide more accurate group memberships.": "",
"Enable service": "",
"Enable support for the File Server Remote VSS Protocol (<a href=\"https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fsrvp\" target=\"_blank\">FSVRP</a>). This protocol allows RPC clients to manage snapshots for a specific SMB share. The share path must be a dataset mountpoint. Snapshots have the prefix <code>fss-</code> followed by a snapshot creation timestamp. A snapshot must have this prefix for an RPC user to delete it.": "",
Expand Down
3 changes: 3 additions & 0 deletions src/assets/i18n/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,8 @@
"Clear the Idmap Cache": "",
"Clear the SED password for this disk.": "",
"Clearing Cache...": "",
"Click \"Add\" to specify NFS client hosts for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click \"Add\" to specify NFS client network ranges for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click Add to add first VDEV.": "",
"Click an item to view NFSv4 permissions": "",
"Click for information on <a href=\"https://www.truenas.com/docs/truenasupgrades/\" target=\"_blank\">TrueNAS SCALE Migration, Nightly trains and other upgrade options.</a>": "",
Expand Down Expand Up @@ -1537,6 +1539,7 @@
"Enable iXsystems Proactive Support": "",
"Enable passwordless sudo for zfs commands": "",
"Enable sending anonymous usage statistics to iXsystems.": "",
"Enable server support for NFSv3 or NFSv4 or both NFSv3 and NFSv4 clients.": "",
"Enable server-side management of group memberships. This option allows the server to determine group IDs based on server-side lookups rather than relying solely on the information provided by the NFS client. This can support more than 16 groups and provide more accurate group memberships.": "",
"Enable service": "",
"Enable support for the File Server Remote VSS Protocol (<a href=\"https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fsrvp\" target=\"_blank\">FSVRP</a>). This protocol allows RPC clients to manage snapshots for a specific SMB share. The share path must be a dataset mountpoint. Snapshots have the prefix <code>fss-</code> followed by a snapshot creation timestamp. A snapshot must have this prefix for an RPC user to delete it.": "",
Expand Down
3 changes: 3 additions & 0 deletions src/assets/i18n/bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,8 @@
"Clear the Idmap Cache": "",
"Clear the SED password for this disk.": "",
"Clearing Cache...": "",
"Click \"Add\" to specify NFS client hosts for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click \"Add\" to specify NFS client network ranges for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click Add to add first VDEV.": "",
"Click an item to view NFSv4 permissions": "",
"Click for information on <a href=\"https://www.truenas.com/docs/truenasupgrades/\" target=\"_blank\">TrueNAS SCALE Migration, Nightly trains and other upgrade options.</a>": "",
Expand Down Expand Up @@ -1537,6 +1539,7 @@
"Enable iXsystems Proactive Support": "",
"Enable passwordless sudo for zfs commands": "",
"Enable sending anonymous usage statistics to iXsystems.": "",
"Enable server support for NFSv3 or NFSv4 or both NFSv3 and NFSv4 clients.": "",
"Enable server-side management of group memberships. This option allows the server to determine group IDs based on server-side lookups rather than relying solely on the information provided by the NFS client. This can support more than 16 groups and provide more accurate group memberships.": "",
"Enable service": "",
"Enable support for the File Server Remote VSS Protocol (<a href=\"https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fsrvp\" target=\"_blank\">FSVRP</a>). This protocol allows RPC clients to manage snapshots for a specific SMB share. The share path must be a dataset mountpoint. Snapshots have the prefix <code>fss-</code> followed by a snapshot creation timestamp. A snapshot must have this prefix for an RPC user to delete it.": "",
Expand Down
3 changes: 3 additions & 0 deletions src/assets/i18n/br.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,8 @@
"Clear the Idmap Cache": "",
"Clear the SED password for this disk.": "",
"Clearing Cache...": "",
"Click \"Add\" to specify NFS client hosts for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click \"Add\" to specify NFS client network ranges for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click Add to add first VDEV.": "",
"Click an item to view NFSv4 permissions": "",
"Click for information on <a href=\"https://www.truenas.com/docs/truenasupgrades/\" target=\"_blank\">TrueNAS SCALE Migration, Nightly trains and other upgrade options.</a>": "",
Expand Down Expand Up @@ -1537,6 +1539,7 @@
"Enable iXsystems Proactive Support": "",
"Enable passwordless sudo for zfs commands": "",
"Enable sending anonymous usage statistics to iXsystems.": "",
"Enable server support for NFSv3 or NFSv4 or both NFSv3 and NFSv4 clients.": "",
"Enable server-side management of group memberships. This option allows the server to determine group IDs based on server-side lookups rather than relying solely on the information provided by the NFS client. This can support more than 16 groups and provide more accurate group memberships.": "",
"Enable service": "",
"Enable support for the File Server Remote VSS Protocol (<a href=\"https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fsrvp\" target=\"_blank\">FSVRP</a>). This protocol allows RPC clients to manage snapshots for a specific SMB share. The share path must be a dataset mountpoint. Snapshots have the prefix <code>fss-</code> followed by a snapshot creation timestamp. A snapshot must have this prefix for an RPC user to delete it.": "",
Expand Down
3 changes: 3 additions & 0 deletions src/assets/i18n/bs.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,8 @@
"Clear the Idmap Cache": "",
"Clear the SED password for this disk.": "",
"Clearing Cache...": "",
"Click \"Add\" to specify NFS client hosts for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click \"Add\" to specify NFS client network ranges for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click Add to add first VDEV.": "",
"Click an item to view NFSv4 permissions": "",
"Click for information on <a href=\"https://www.truenas.com/docs/truenasupgrades/\" target=\"_blank\">TrueNAS SCALE Migration, Nightly trains and other upgrade options.</a>": "",
Expand Down Expand Up @@ -1537,6 +1539,7 @@
"Enable iXsystems Proactive Support": "",
"Enable passwordless sudo for zfs commands": "",
"Enable sending anonymous usage statistics to iXsystems.": "",
"Enable server support for NFSv3 or NFSv4 or both NFSv3 and NFSv4 clients.": "",
"Enable server-side management of group memberships. This option allows the server to determine group IDs based on server-side lookups rather than relying solely on the information provided by the NFS client. This can support more than 16 groups and provide more accurate group memberships.": "",
"Enable service": "",
"Enable support for the File Server Remote VSS Protocol (<a href=\"https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fsrvp\" target=\"_blank\">FSVRP</a>). This protocol allows RPC clients to manage snapshots for a specific SMB share. The share path must be a dataset mountpoint. Snapshots have the prefix <code>fss-</code> followed by a snapshot creation timestamp. A snapshot must have this prefix for an RPC user to delete it.": "",
Expand Down
3 changes: 3 additions & 0 deletions src/assets/i18n/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,8 @@
"Clear the Idmap Cache": "",
"Clear the SED password for this disk.": "",
"Clearing Cache...": "",
"Click \"Add\" to specify NFS client hosts for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click \"Add\" to specify NFS client network ranges for this share. If both networks and hosts are empty the share will be exported to everyone.": "",
"Click Add to add first VDEV.": "",
"Click an item to view NFSv4 permissions": "",
"Click for information on <a href=\"https://www.truenas.com/docs/truenasupgrades/\" target=\"_blank\">TrueNAS SCALE Migration, Nightly trains and other upgrade options.</a>": "",
Expand Down Expand Up @@ -1537,6 +1539,7 @@
"Enable iXsystems Proactive Support": "",
"Enable passwordless sudo for zfs commands": "",
"Enable sending anonymous usage statistics to iXsystems.": "",
"Enable server support for NFSv3 or NFSv4 or both NFSv3 and NFSv4 clients.": "",
"Enable server-side management of group memberships. This option allows the server to determine group IDs based on server-side lookups rather than relying solely on the information provided by the NFS client. This can support more than 16 groups and provide more accurate group memberships.": "",
"Enable service": "",
"Enable support for the File Server Remote VSS Protocol (<a href=\"https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fsrvp\" target=\"_blank\">FSVRP</a>). This protocol allows RPC clients to manage snapshots for a specific SMB share. The share path must be a dataset mountpoint. Snapshots have the prefix <code>fss-</code> followed by a snapshot creation timestamp. A snapshot must have this prefix for an RPC user to delete it.": "",
Expand Down
Loading

0 comments on commit f2d468e

Please sign in to comment.