Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NAS-130897: Add NFS tooltips
Browse files Browse the repository at this point in the history
AlexKarpov98 authored and undsoft committed Sep 11, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 22327cf commit bf0672e
Showing 93 changed files with 279 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/app/helptext/services/components/service-nfs.ts
Original file line number Diff line number Diff line change
@@ -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.'),

8 changes: 8 additions & 0 deletions src/app/helptext/sharing/nfs/nfs.ts
Original file line number Diff line number Diff line change
@@ -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.',
Original file line number Diff line number Diff line change
@@ -36,6 +36,7 @@
[label]="'Enabled Protocols' | translate"
[options]="protocolOptions$"
[multiple]="true"
[tooltip]="tooltips.protocols"
[required]="true"
></ix-select>

Original file line number Diff line number Diff line change
@@ -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,
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
@@ -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) {
@@ -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) {
3 changes: 3 additions & 0 deletions src/assets/i18n/af.json
Original file line number Diff line number Diff line change
@@ -814,6 +814,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>": "",
@@ -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.": "",
3 changes: 3 additions & 0 deletions src/assets/i18n/ar.json
Original file line number Diff line number Diff line change
@@ -814,6 +814,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>": "",
@@ -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.": "",
3 changes: 3 additions & 0 deletions src/assets/i18n/ast.json
Original file line number Diff line number Diff line change
@@ -814,6 +814,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>": "",
@@ -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.": "",
3 changes: 3 additions & 0 deletions src/assets/i18n/az.json
Original file line number Diff line number Diff line change
@@ -814,6 +814,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>": "",
@@ -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.": "",
3 changes: 3 additions & 0 deletions src/assets/i18n/be.json
Original file line number Diff line number Diff line change
@@ -814,6 +814,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>": "",
@@ -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.": "",
3 changes: 3 additions & 0 deletions src/assets/i18n/bg.json
Original file line number Diff line number Diff line change
@@ -814,6 +814,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>": "",
@@ -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.": "",
3 changes: 3 additions & 0 deletions src/assets/i18n/bn.json
Original file line number Diff line number Diff line change
@@ -814,6 +814,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>": "",
@@ -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.": "",
3 changes: 3 additions & 0 deletions src/assets/i18n/br.json
Original file line number Diff line number Diff line change
@@ -814,6 +814,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>": "",
@@ -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.": "",
3 changes: 3 additions & 0 deletions src/assets/i18n/bs.json
Original file line number Diff line number Diff line change
@@ -814,6 +814,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>": "",
@@ -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.": "",
3 changes: 3 additions & 0 deletions src/assets/i18n/ca.json
Original file line number Diff line number Diff line change
@@ -814,6 +814,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>": "",
@@ -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.": "",
Loading

0 comments on commit bf0672e

Please sign in to comment.