Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
truenas-rk3588
webui
Commits
15bbaf02
Commit
15bbaf02
authored
3 years ago
by
Evgeny Stepanovych
Browse files
Options
Download
Email Patches
Plain Diff
NAS-112485: Removes some of the unused code and fixes random typing errors in templates
parent
fde79480
base
DOCS
DOCS-3538
NAS-010101
NAS-100796
NAS-105865
NAS-108939
NAS-110081
NAS-110488
NAS-110533
NAS-110571
NAS-110777
NAS-110800
NAS-111664
NAS-111872
NAS-111962-master
NAS-111989
NAS-112060
NAS-112080
NAS-112189
NAS-112307
NAS-112309
NAS-112309-alt
NAS-112334
NAS-112343
NAS-112371
NAS-112556
NAS-112556-akt
NAS-112617
NAS-112629
NAS-112663
NAS-112710
NAS-112724
NAS-112739
NAS-112767
NAS-112767-alt2
NAS-112767-mocks
NAS-112771
NAS-112795
NAS-112846
NAS-112908
NAS-112921
NAS-112945
NAS-112969
NAS-112976
NAS-112995-22.12
NAS-113044
NAS-113053
NAS-113219
NAS-113238
NAS-113257
NAS-113292
NAS-113293-reproduction
NAS-113363-3
NAS-113370
NAS-113375
NAS-113377
NAS-113378
NAS-113464
NAS-113464-alt
NAS-113474
NAS-113486
NAS-113490
NAS-113511
NAS-113590
NAS-113598
NAS-113651
NAS-113671
NAS-113675
NAS-113679
NAS-113695
NAS-113701
NAS-113706
NAS-113708
NAS-113709
NAS-113723-22.02-RC.2
NAS-113733
NAS-113734
NAS-113738-22.02
NAS-113760
NAS-113790
NAS-113817
NAS-113821
NAS-113837
NAS-113860
NAS-113867
NAS-113876
NAS-113903
NAS-113903-2
NAS-113904-2
NAS-113953
NAS-114032
NAS-114045
NAS-114058
NAS-114084
NAS-114087
NAS-114088
NAS-114098
NAS-114171
NAS-114173
NAS-114179
NAS-114179-2
NAS-114204
NAS-114214
NAS-114215
NAS-114241
NAS-114338
NAS-114347
NAS-114389
NAS-114410
NAS-114413-2
NAS-114420
NAS-114428
NAS-114447
NAS-114448
NAS-114448-bluefin
NAS-114471
NAS-114546
NAS-114549
NAS-114554
NAS-114607
NAS-114622
NAS-114639
NAS-114659
NAS-114660
NAS-114751
NAS-114769
NAS-114806
NAS-114845
NAS-114846
NAS-114881
NAS-114915
NAS-114950
NAS-115146
NAS-115162
NAS-115254
NAS-115271
NAS-115339
NAS-115340
NAS-115357
NAS-115488
NAS-115546
NAS-115547
NAS-115593
NAS-115593-2
NAS-115593-3
NAS-115593-4
NAS-115593-5
NAS-115593-6
NAS-115593-7
NAS-115713-22-12
NAS-115759
NAS-115759-22.12
NAS-115887-22.02.1
NAS-115942-22.02
NAS-116151
NAS-116162
NAS-116334-1
NAS-116334-2
NAS-116393
NAS-116395
NAS-116397
NAS-116397-2
NAS-116397-3
NAS-116398
NAS-116405
NAS-116406
NAS-116410
NAS-116422
NAS-116450
NAS-116469
NAS-116609
NAS-116715
NAS-116715-mobile
NAS-116715-v2
NAS-116724
NAS-116915
NAS-116916
NAS-117017
NAS-117019
NAS-117028-22.12-BETA.2
NAS-117060
NAS-117098
NAS-117149-22.12
NAS-117216
NAS-117233
NAS-117239
NAS-117253
NAS-117278
NAS-117317
NAS-117323
NAS-117333
NAS-117401
NAS-117439
NAS-117475
NAS-117476
NAS-117481-test
NAS-117520
NAS-117573-v2
NAS-117594
NAS-117628
NAS-117688-bluefin
NAS-117700
NAS-117713-12
NAS-117714
NAS-117718
NAS-117734
NAS-117768
NAS-117813
NAS-117823
NAS-117841-2
NAS-117846
NAS-117959
NAS-118036
NAS-118044
NAS-118113
NAS-118165
NAS-118303
NAS-118454-22.12
NAS-118465
NAS-118505-22.12
NAS-118545
NAS-118548
NAS-119131
NAS-119140
NAS-119180-22.12.1
NAS-119431
NAS-119556-23.10
NAS-119615-22.12.1
NAS-119668
NAS-119695
NAS-119749-bluefin
NAS-119750-22.12.1
NAS-119806
NAS-119812
NAS-119886-22.12.1
NAS-119996
NAS-119996-bluefin
NAS-120045
NAS-120047
NAS-120057
NAS-120173-22.12.1
NAS-120181-22.12.1
NAS-120264-22.12.1
NAS-120274
NAS-120296-22.12.1
NAS-120326-22.12.1
NAS-120490_
NAS-120503
NAS-121006-22.12.2
NAS-121124
NAS-121128-22.12.2
NAS-121128-release-22.12.2
NAS-121136
NAS-121177
NAS-121218-22.12.3
NAS-121300
NAS-121316
NAS-121541
NAS-121542
NAS-121686
NAS-121721-22.12.3
NAS-121778
NAS-121827
NAS-121884-22.12.3
NAS-122267-22.12.4
NAS-122372
NAS-122601
NAS-122686
NAS-122706
NAS-122721
NAS-122751-23.10-BETA.1
NAS-122759
NAS-122781
NAS-122794-23.10
NAS-122855
NAS-122870-bluefin
NAS-122969
NAS-122993-22.12.4
NAS-123055-22.12.4
NAS-123278
NAS-123295
NAS-123437
NAS-123478-22.12.4
NAS-123484
NAS-123492
NAS-123526-22.12.4
NAS-123651
NAS-123651-23.10-BETA.1
NAS-123666
NAS-123723
NAS-123723-cobia
NAS-123762
NAS-123762-23.10
NAS-123778-23.10
NAS-123778-23.10-RC.1
NAS-123778-RC.1
NAS-123801
NAS-123810-23.10
NAS-123813-22.12.4
NAS-123836
NAS-123836-23.10-BETA.1
NAS-123836-24.04
NAS-123861
NAS-123911-23.10-BETA.1
NAS-123928-23.10
NAS-123931-22.12.4
NAS-123945
NAS-124044
NAS-124077
NAS-124131-23.10
NAS-124137
NAS-124183
NAS-124231
NAS-124232
NAS-124237-23.10
NAS-124325-23.10.0
NAS-124335
NAS-124354
NAS-124430
NAS-124454
NAS-124481-23.10.0
NAS-124481-23.10.1
NAS-124555-23.10.0
NAS-124555-23.10.1
NAS-124666
NAS-124707-23.10.0
NAS-124707-23.10.1
NAS-124716
NAS-124846-23.10.0
NAS-124846-23.10.1
NAS-124892
NAS-124895-23.10.1
NAS-124908
NAS-124951
NAS-124964
NAS-124999
NAS-125092
NAS-125213-23.10.1
NAS-125307
NAS-125532
NAS-125568
NAS-125607-validator
NAS-125616-23.10.2
NAS-125654
NAS-125703-23.10.2
NAS-125728
NAS-125931
NAS-126699
NAS-126774-24.04-RC.1
NAS-126774-dragonfish
NAS-126795
NAS-126795-test
NAS-126795-test2
NAS-127001
NAS-127002-24.04-RC.1
NAS-127022
NAS-127041-24.04-BETA.1
NAS-127049-24.04-RC.1
NAS-127297-24.04-RC.1
NAS-127297-24.10
NAS-127369
NAS-127551
NAS-127551-alt
NAS-127589-24.04.0
NAS-127593
NAS-127615-24.04.0
NAS-127660
NAS-127794
NAS-127829-24.10
NAS-127854-24.04.0
NAS-128030
NAS-128045
NAS-128071
NAS-128173
NAS-128209
NAS-128287
NAS-128289
TE-1553-dragonfish
TE-1628
auto-129
back
bugfix/NAS-117859-sidebar-menu-fix
bugfix/NAS-117941-error-when-removing-pools-and-visit-datasets
bugfix/NAS-118171-rsynk-task-local-path
bugfix/NAS-118260-boot-env-keep-table-row
bugfix/NAS-118282-search-input-fixes
bugfix/NAS-118404-dataset-icon-role-double-toooltip
bugfix/NAS-118414-warning-modal-icon
bugfix/NAS-118415-tree-select-undefined
bugfix/NAS-118454-acl-manager-after-dataset-creation-fix
bugfix/NAS-118470-multiselext-styles-are-broken
bugfix/NAS-118503-datasets-glitch-fix
bugfix/NAS-118504-redirect-to-correct-dataset-after-permissions-submit
bugfix/NAS-118510-redirect-url-fix-after-manual-change
bugfix/NAS-118530-advanced-settings-box-duplicates
bugfix/NAS-118541-progress-bar-oberflows
bugfix/NAS-118557-replication-task-forbid-custom-retention-policy-cases
bugfix/NAS-118600-smb-share-redirect
bugfix/NAS-118601-remove-mixed-for-zfs-datasets
cpu-pinning
dataset-tree-tooltips
developer/lyy
feature/NAS-117754-font-rendering
feature/NAS-117968-tooltips-to-status-icons-on-pools
feature/NAS-118058-improve-dashboard-icons-sync-pool-and-storage
feature/NAS-118147-html-refactoring
feature/NAS-118269-improve-ui
feature/NAS-118303
feature/NAS-118333-storage-dashboard-icons-update
feature/NAS-118334-screentype-enum
feature/NAS-118335-improve-spinners-look
feature/NAS-118349-datasets-long-names
feature/NAS-118360-handle-clipboard-api-not-available
feature/NAS-118412-pool-processing-modal
feature/NAS-118466-root-path-mnt
feature/NAS-118543-user-password-field
feauture/NAS-117474-datasets-table-header-sticky
l10n_master
llll
master
master-old
metrics-enable
patch-1
patch-235
q5sys-3838
rel-v0.0.1
release-test/22.02.3
release/22.02
release/22.02-RC.1
release/22.02-RC.2
release/22.02-test
release/22.02.1
release/22.02.2
release/22.02.3
release/22.02.4
release/22.12
release/22.12-BETA.1
release/22.12-BETA.2
release/22.12-RC.1
release/22.12.1
release/22.12.2
release/22.12.3
release/22.12.4
release/23.10-BETA.1
release/23.10-RC.1
release/23.10.0
release/23.10.1
release/23.10.1.1
release/23.10.1.2
release/23.10.1.3
release/23.10.2
release/24.04-BETA.1
release/24.04-RC.1
release/24.04.0
renediepenbroek/master
revert-6783-NAS-116405
revert-7745-NAS-120274
stable/angelfish
stable/bluefin
stable/cobia
stable/dragonfish
t1356-scaleuitest
test-xxxyyy
testing-refine-branchout-process
testing-refine-branchout-process2
v0.0.2
TS-24.04-RC.1
TS-24.04-BETA.1
TS-23.10.2
TS-23.10.1.3
TS-23.10.1.2
TS-23.10.1.1
TS-23.10.1
TS-23.10.0.1
TS-23.10.0
TS-23.10-RC.1
TS-23.10-BETA.1
TS-22.12.4.2
TS-22.12.4.1
TS-22.12.4
TS-22.12.3.3
TS-22.12.3.2
TS-22.12.3.1
TS-22.12.3
TS-22.12.2
TS-22.12.1
TS-22.12.0
TS-22.12-RC.1
TS-22.12-BETA.2
TS-22.12-BETA.1
TS-22.12-ALPHA.1
TS-22.02.4
TS-22.02.3
TS-22.02.2.1
TS-22.02.2
TS-22.02.1
TS-22.02.0.1
TS-22.02.0
TS-22.2.0
TS-22.02.RELEASE.1
TS-22.02-RC.2
TS-22.02-RC.1
TS-22.02-RC.1-2
TS-22.02-RC.1-1
TS-12.12.3
DN110M-CS-v2.0
No related merge requests found
Changes
121
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
src/app/components/common/dual-list/dual-list.component.ts
+1
-1
src/app/components/common/dual-list/dual-list.component.ts
src/app/components/common/layouts/admin-layout/admin-layout.component.ts
+2
-2
...nts/common/layouts/admin-layout/admin-layout.component.ts
src/app/core/classes/page.ts
+0
-20
src/app/core/classes/page.ts
src/app/core/classes/view-control.ts
+0
-4
src/app/core/classes/view-control.ts
src/app/helpers/dom.helper.ts
+0
-21
src/app/helpers/dom.helper.ts
src/app/helptext/directory-service/nis.ts
+0
-31
src/app/helptext/directory-service/nis.ts
src/app/helptext/services/components/service-dc.ts
+0
-64
src/app/helptext/services/components/service-dc.ts
src/app/helptext/services/components/service-netdata.ts
+0
-81
src/app/helptext/services/components/service-netdata.ts
src/app/helptext/storage/disks/disk-wipe.ts
+0
-13
src/app/helptext/storage/disks/disk-wipe.ts
src/app/helptext/storage/volumes/volume-delete.ts
+0
-16
src/app/helptext/storage/volumes/volume-delete.ts
src/app/helptext/system/dataset.ts
+0
-24
src/app/helptext/system/dataset.ts
src/app/helptext/vm/vm-cards/vm-cards.ts
+0
-43
src/app/helptext/vm/vm-cards/vm-cards.ts
src/app/interfaces/api-directory.interface.ts
+2
-0
src/app/interfaces/api-directory.interface.ts
src/app/interfaces/chart-release.interface.ts
+0
-7
src/app/interfaces/chart-release.interface.ts
src/app/pages/common/entity/entity-form/components/form-errors/form-errors.component.ts
+2
-2
...tity-form/components/form-errors/form-errors.component.ts
src/app/pages/common/entity/table/table.component.ts
+1
-1
src/app/pages/common/entity/table/table.component.ts
src/app/pages/dashboard/components/widget-controller/widget-controller.component.ts
+1
-1
...mponents/widget-controller/widget-controller.component.ts
src/app/pages/reports-dashboard/components/line-chart/index.ts
+0
-1
...pp/pages/reports-dashboard/components/line-chart/index.ts
src/app/pages/services/components/service-rsync/rsync-configuration/configure-rsync/index.ts
+0
-1
...ervice-rsync/rsync-configuration/configure-rsync/index.ts
src/app/pages/services/services.module.ts
+1
-1
src/app/pages/services/services.module.ts
with
10 additions
and
334 deletions
+10
-334
src/app/components/common/dual-list/dual-list.component.ts
View file @
15bbaf02
...
...
@@ -9,7 +9,7 @@ import { difference, ListSelection, ListSelectionImpl } from './models';
styleUrls
:
[
'
./dual-list.component.scss
'
],
templateUrl
:
'
dual-list.component.html
'
,
})
export
class
DualListboxComponent
<
T
extends
{
id
:
string
}
>
implements
OnInit
{
export
class
DualListboxComponent
<
T
extends
{
id
:
string
|
number
}
>
implements
OnInit
{
@
Input
()
key
:
keyof
T
=
'
id
'
;
@
Input
()
items
:
T
[];
// eslint-disable-next-line @angular-eslint/no-input-rename
...
...
This diff is collapsed.
Click to expand it.
src/app/components/common/layouts/admin-layout/admin-layout.component.ts
View file @
15bbaf02
...
...
@@ -3,7 +3,7 @@ import {
}
from
'
@angular/core
'
;
import
{
MediaChange
,
MediaObserver
}
from
'
@angular/flex-layout
'
;
import
{
MatDialog
}
from
'
@angular/material/dialog
'
;
import
{
MatSidenav
}
from
'
@angular/material/sidenav
'
;
import
{
MatDrawerMode
,
MatSidenav
}
from
'
@angular/material/sidenav
'
;
import
{
NavigationEnd
,
Router
}
from
'
@angular/router
'
;
import
{
UntilDestroy
,
untilDestroyed
}
from
'
@ngneat/until-destroy
'
;
import
{
ConsolePanelDialogComponent
}
from
'
app/components/common/dialog/console-panel/console-panel-dialog.component
'
;
...
...
@@ -29,7 +29,7 @@ export class AdminLayoutComponent implements OnInit, AfterViewChecked {
private
isMobile
:
boolean
;
isSidenavOpen
=
true
;
isSidenavCollapsed
=
false
;
sidenavMode
=
'
over
'
;
sidenavMode
:
MatDrawerMode
=
'
over
'
;
isShowFooterConsole
=
false
;
isSidenotOpen
=
false
;
consoleMsg
=
''
;
...
...
This diff is collapsed.
Click to expand it.
src/app/core/classes/page.ts
deleted
100644 → 0
View file @
fde79480
import
{
Subject
}
from
'
rxjs
'
;
import
{
ViewController
}
from
'
app/core/classes/view-controller
'
;
import
{
CoreEvent
}
from
'
app/interfaces/events
'
;
export
interface
PageOptions
{
events$
:
Subject
<
CoreEvent
>
;
url
:
string
;
}
export
abstract
class
Page
extends
ViewController
{
name
=
'
Page
'
;
private
url
:
string
;
// Give the page a url
constructor
(
options
?:
PageOptions
)
{
super
();
if
(
options
)
{
this
.
setControlEvents
(
options
.
events$
);
}
}
}
This diff is collapsed.
Click to expand it.
src/app/core/classes/view-control.ts
View file @
15bbaf02
import
{
Subject
}
from
'
rxjs
'
;
import
{
CoreEvent
}
from
'
app/interfaces/events
'
;
export
interface
Action
{
coreEvent
:
CoreEvent
;
}
export
abstract
class
ViewControl
{
action
:
CoreEvent
;
target
:
Subject
<
CoreEvent
>
;
// (Send actions back to ViewController via this Subject)
...
...
This diff is collapsed.
Click to expand it.
src/app/helpers/dom.helper.ts
View file @
15bbaf02
...
...
@@ -44,24 +44,3 @@ export function toggleClass(el: HTMLElement | HTMLCollectionOf<HTMLElement>, cla
addClass
(
el
,
className
);
}
}
export
function
changeTheme
():
void
{
// Remove default
/* removeClass(document.body, 'ix-blue');
themes.forEach((theme) => {
removeClass(document.body, theme.name);
//removeClass(document.body, 'native');
});
addClass(document.body, themeName); */
addClass
(
document
.
body
,
'
ix-blue
'
);
}
export
function
ieChatjsFix
():
void
{
if
(
window
.
hasOwnProperty
(
'
MSInputMethodContext
'
)
||
document
.
hasOwnProperty
(
'
documentMode
'
))
{
document
.
body
.
style
.
width
=
'
99.9%
'
;
setTimeout
(()
=>
{
document
.
body
.
style
.
width
=
'
100%
'
;
});
}
}
This diff is collapsed.
Click to expand it.
src/app/helptext/directory-service/nis.ts
deleted
100644 → 0
View file @
fde79480
import
{
Validators
}
from
'
@angular/forms
'
;
import
{
T
}
from
'
app/translate-marker
'
;
export
default
{
nis_label
:
T
(
'
Network Information Service (NIS)
'
),
nis_custactions_clearcache_id
:
'
ds_clearcache
'
,
nis_custactions_clearcache_name
:
T
(
'
Rebuild Directory Service Cache
'
),
nis_custactions_clearcache_dialog_title
:
T
(
'
NIS
'
),
nis_custactions_clearcache_dialog_message
:
T
(
'
The cache is being rebuilt.
'
),
nis_domain_placeholder
:
T
(
'
NIS Domain
'
),
nis_domain_tooltip
:
T
(
'
Name of NIS domain.
'
),
nis_domain_validation
:
[
Validators
.
required
],
nis_servers_placeholder
:
T
(
'
NIS Servers
'
),
nis_servers_tooltip
:
T
(
'
List of hostnames or IP addresses.
\
Separate entries by pressing <code>Enter</code>.
'
),
nis_secure_mode_placeholder
:
T
(
'
Secure Mode
'
),
nis_secure_mode_tooltip
:
T
(
'
Set to have <a
\
href="https://www.freebsd.org/cgi/man.cgi?query=ypbind"
\
target="_blank">ypbind(8)</a> refuse to bind to any NIS
\
server not running as root on a TCP port over 1024.
'
),
nis_manycast_placeholder
:
T
(
'
Manycast
'
),
nis_manycast_tooltip
:
T
(
'
Set for ypbind to bind to the server that responds
\
the fastest.
'
),
nis_enable_placeholder
:
T
(
'
Enable
'
),
nis_enable_tooltip
:
T
(
'
Unset to disable the configuration without deleting it.
'
),
};
This diff is collapsed.
Click to expand it.
src/app/helptext/services/components/service-dc.ts
deleted
100644 → 0
View file @
fde79480
import
{
Validators
}
from
'
@angular/forms
'
;
import
{
matchOtherValidator
}
from
'
app/pages/common/entity/entity-form/validators/password-validation/password-validation
'
;
import
{
T
}
from
'
app/translate-marker
'
;
export
default
{
dc_realm_label
:
'
Realm
'
,
dc_realm_placeholder
:
T
(
'
Realm
'
),
dc_realm_tooltip
:
T
(
'
Enter a capitalized DNS realm name.
'
),
dc_realm_validation
:
[
Validators
.
required
],
dc_domain_label
:
'
Domain
'
,
dc_domain_placeholder
:
T
(
'
Domain
'
),
dc_domain_tooltip
:
T
(
'
Enter a capitalized domain name.
'
),
dc_domain_validation
:
[
Validators
.
required
],
dc_role_label
:
'
Server Role
'
,
dc_role_placeholder
:
T
(
'
Server Role
'
),
dc_role_tooltip
:
T
(
'
The only server role available is the domain
\
controller for a new domain.
'
),
dc_role_options
:
[
{
label
:
'
DC
'
,
value
:
'
dc
'
},
],
dc_dns_forwarder_label
:
'
DNS Forwarder
'
,
dc_dns_forwarder_placeholder
:
T
(
'
DNS Forwarder
'
),
dc_dns_forwarder_tooltip
:
T
(
'
Enter the IP address of a DNS forwarder. Required for
\
recursive queries when <i>SAMBA_INTERNAL</i> is selected.
'
),
dc_dns_forwarder_validation
:
[
Validators
.
required
],
dc_forest_level_label
:
'
Domain Forest Level
'
,
dc_forest_level_placeholder
:
T
(
'
Domain Forest Level
'
),
dc_forest_level_tooltip
:
T
(
'
Choices are <i>2000, 2003, 2008, 2008_R2, 2012,</i> or <i>2012_R2</i>.
\
Refer to <a
\
href="https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/active-directory-functional-levels"
\
target="_blank">Understanding Active Directory Domain Services (AD DS)
\
Functional Levels</a> for more details.
'
),
dc_forest_level_options
:
[
{
label
:
'
2000
'
,
value
:
'
2000
'
},
{
label
:
'
2003
'
,
value
:
'
2003
'
},
{
label
:
'
2008
'
,
value
:
'
2008
'
},
{
label
:
'
2008_R2
'
,
value
:
'
2008_R2
'
},
{
label
:
'
2012
'
,
value
:
'
2012
'
},
{
label
:
'
2012_R2
'
,
value
:
'
2012_R2
'
},
],
dc_passwd_placeholder
:
T
(
'
Administrator Password
'
),
dc_passwd_tooltip
:
T
(
'
Enter the password to be used for the
\
Active Directory administrator account.
'
),
dc_passwd_validation
:
[
Validators
.
minLength
(
8
),
matchOtherValidator
(
'
dc_passwd2
'
)],
dc_passwd2_placeholder
:
T
(
'
Confirm password
'
),
afp_srv_map_acls_label
:
'
Kerberos Realm:
'
,
afp_srv_map_acls_placeholder
:
T
(
'
Kerberos Realm
'
),
afp_srv_map_acls_tooltip
:
T
(
'
Auto-populates with information from the <b>Realm</b>
\
when the settings in this screen are saved.
'
),
afp_srv_map_acls_options
:
[
{
label
:
'
Rights
'
,
value
:
'
rights
'
},
{
label
:
'
None
'
,
value
:
'
none
'
},
{
label
:
'
Mode
'
,
value
:
'
mode
'
},
],
ad_monitor_warning
:
T
(
''
),
};
This diff is collapsed.
Click to expand it.
src/app/helptext/services/components/service-netdata.ts
deleted
100644 → 0
View file @
fde79480
import
{
Validators
}
from
'
@angular/forms
'
;
import
{
regexValidator
,
}
from
'
app/pages/common/entity/entity-form/validators/regex-validation
'
;
import
{
T
}
from
'
app/translate-marker
'
;
export
default
{
global_paratext
:
T
(
'
Global Settings
'
),
history
:
{
placeholder
:
T
(
'
History
'
),
tooltip
:
T
(
'
The number of entries the Netdata daemon keeps in
\
memory for each chart dimension. Default is 86400.
'
),
validation
:
[
Validators
.
required
,
regexValidator
(
/^
\d
+$/
)],
},
update_every
:
{
placeholder
:
T
(
'
Update Frequency
'
),
tooltip
:
T
(
'
Data collection frequency, in seconds.
'
),
validation
:
[
Validators
.
required
,
regexValidator
(
/^
\d
+$/
)],
},
http_port_listen_backlog
:
{
placeholder
:
T
(
'
HTTP Port Listen Backlog
'
),
tooltip
:
T
(
'
The maximum length of the queue of pending
\
connections. Default is 100.
'
),
validation
:
[
Validators
.
required
,
regexValidator
(
/^
\d
+$/
)],
},
bind
:
{
placeholder
:
T
(
'
Bind to
'
),
tooltip
:
T
(
'
One or more IP addresses to which to bind the
\
Netdata service.
'
),
},
port
:
{
placeholder
:
T
(
'
Bind to Port
'
),
tooltip
:
T
(
'
TCP port to use on bind to IP addresses
'
),
validation
:
[
Validators
.
required
,
regexValidator
(
/^
\d
+$/
)],
},
additional_params
:
{
placeholder
:
T
(
'
Additional Parameters
'
),
tooltip
:
T
(
'
Define other sections and their key/value pairs.
\
Enclose each section name in square brackets, and put each key/value
\
pair on a new line. Example: <br>
\
[system.intr]<br>
\
history=86400<br>
\
enabled=yes
'
),
},
alarms
:
{
placeholder
:
T
(
'
Alarms
'
),
tooltip
:
T
(
'
Click on alarms to select or unselect.
'
),
},
streaming_paratext
:
T
(
'
Streaming Metrics
'
),
stream_mode
:
{
placeholder
:
T
(
'
Stream Mode
'
),
tooltip
:
T
(
'
Select a stream mode if system is to be used for
\
streaming.
'
),
},
destination
:
{
placeholder
:
T
(
'
Destination
'
),
tooltip
:
T
(
'
Enter a line- or space-separated list of
\
destinations where the collected metrics are to be sent. Use the format
\
<samp>HOST:PORT</samp> (port is optional). Netdata uses the first working
\
destination.
'
),
validation
:
[
Validators
.
required
],
},
api_key
:
{
placeholder
:
T
(
'
API Key
'
),
tooltip
:
T
(
'
The API_KEY to use as the sender. This must be a
\
valid UUID. It can be generated from the command line by typing
\
<samp>uuidgen</samp>.
'
),
validation
:
[
Validators
.
required
],
},
allow_from
:
{
placeholder
:
T
(
'
Allow from
'
),
tooltip
:
T
(
'
A list of simple patterns matching the IPs of the
\
servers that will be pushing metrics using this API key.
'
),
validation
:
[
Validators
.
required
],
},
};
This diff is collapsed.
Click to expand it.
src/app/helptext/storage/disks/disk-wipe.ts
deleted
100644 → 0
View file @
fde79480
import
{
T
}
from
'
app/translate-marker
'
;
export
default
{
dw_disk_name_placeholder
:
T
(
'
Name
'
),
dw_disk_name_tooltip
:
T
(
'
Disk to wipe.
'
),
dw_wipe_method_placeholder
:
T
(
'
Method
'
),
dw_wipe_method_tooltip
:
T
(
'
<i>Quick</i> erases only the partitioning information
\
on a disk without clearing other old data. <i>Full
\
with zeros</i> overwrites the entire disk with zeros.
\
<i>Full with random data</i> overwrites the entire
\
disk with random binary data.
'
),
};
This diff is collapsed.
Click to expand it.
src/app/helptext/storage/volumes/volume-delete.ts
deleted
100644 → 0
View file @
fde79480
import
{
Validators
}
from
'
@angular/forms
'
;
import
{
T
}
from
'
app/translate-marker
'
;
export
default
{
volume_delete_name_label
:
T
(
'
name
'
),
volume_delete_destroy_label
:
T
(
'
destroy
'
),
volume_delete_destroy_placeholder
:
T
(
'
Destroy data on this pool?
'
),
volume_delete_destroy_tooltip
:
T
(
'
Set to permanently erase all information stored on
\
this pool when the detach operation is confirmed.
'
),
volume_delete_confirm_detach_checkbox_label
:
T
(
'
Confirm it is okay to proceed with Detach.
'
),
volume_delete_confirm_detach_checkbox_placeholder
:
T
(
'
Confirm detach
'
),
volume_delete_confirm_detach_checkbox_tooltip
:
T
(
'
Set to confirm detaching the pool.
'
),
volume_delete_confirm_detach_checkbox_validation
:
[
Validators
.
required
],
};
This diff is collapsed.
Click to expand it.
src/app/helptext/system/dataset.ts
deleted
100644 → 0
View file @
fde79480
import
{
T
}
from
'
app/translate-marker
'
;
export
const
helptext_system_dataset
=
{
metadata
:
{
fieldsets
:
[
T
(
'
Configure System Dataset
'
)],
},
pool
:
{
placeholder
:
T
(
'
System Dataset Pool
'
),
tooltip
:
T
(
'
Select the pool to contain the system dataset.
'
),
},
syslog
:
{
placeholder
:
T
(
'
Syslog
'
),
tooltip
:
T
(
'
Store system logs on the system dataset. Unset to store
\
system logs in <i>/var/</i> on the operating system device.
'
),
},
syslog_warning
:
{
title
:
T
(
'
WARNING
'
),
message
:
T
(
'
The Passive controller must be rebooted in order to change the location of system logs.
'
),
},
pool_warning
:
{
title
:
T
(
'
WARNING
'
),
message
:
T
(
'
The Passive controller must be rebooted in order to change the location of the system dataset.
'
),
},
};
This diff is collapsed.
Click to expand it.
src/app/helptext/vm/vm-cards/vm-cards.ts
deleted
100644 → 0
View file @
fde79480
import
{
Validators
}
from
'
@angular/forms
'
;
import
{
T
}
from
'
app/translate-marker
'
;
export
default
{
serial_shell_tooltip
:
'
<b>Ctrl+C</b> kills a foreground process.<br>
\
Many utilities are built-in:<br><b>Iperf</b>,
\
<b>Netperf</b>, <b>IOzone</b>, <b>arcstat</b>,
\
<b>tw_cli</b>, <br><b>MegaCli</b>,
\
<b>freenas-debug</b>, <b>tmux</b>,
\
<b>Dmidecode</b>.
'
,
// VM card edit
config_name_placeholder
:
T
(
'
Name
'
),
config_name_tooltip
:
T
(
'
Enter a name for the VM.
'
),
config_name_validation
:
[
Validators
.
required
],
config_description_placeholder
:
T
(
'
Description (max. 25 characters)
'
),
config_description_tooltip
:
T
(
'
Describe the VM or its purpose.
'
),
config_description_validation
:
Validators
.
maxLength
(
25
),
autostart_placeholder
:
T
(
'
Start on Boot
'
),
autostart_tooltip
:
T
(
'
Set to start the VM automatically on boot.
'
),
bootloader_placeholder
:
T
(
'
Boot Loader Type
'
),
bootloader_tooltip
:
T
(
'
Select <b>UEFI</b> for newer operating systems, or
\
<b>UEFI-CSM</b> (Compatibility Support Mode) for
\
older operating systems that only support BIOS
\
booting.
'
),
bootloader_validation
:
[
Validators
.
required
],
vcpus_placeholder
:
T
(
'
Virtual CPUs
'
),
vcpus_tooltip
:
T
(
'
Enter a number of virtual CPUs to allocate to the
\
VM. The maximum is 16 unless the host CPU also
\
limits the maximum. The VM operating system can
\
also have operational or licensing restrictions on
\
the number of CPUs.
'
),
vcpus_validation
:
[
Validators
.
required
,
Validators
.
min
(
1
),
Validators
.
max
(
16
)],
memory_placeholder
:
T
(
'
Memory Size (MiB)
'
),
memory_tooltip
:
T
(
'
Allocate a number of megabytes of RAM to the VM.
'
),
memory_validation
:
[
Validators
.
required
],
};
This diff is collapsed.
Click to expand it.
src/app/interfaces/api-directory.interface.ts
View file @
15bbaf02
...
...
@@ -330,6 +330,8 @@ export type ApiDirectory = {
'
cronjob.run
'
:
{
params
:
[
id
:
number
];
response
:
void
};
'
cronjob.query
'
:
{
params
:
QueryParams
<
Cronjob
>
;
response
:
Cronjob
[]
};
'
cronjob.delete
'
:
{
params
:
[
id
:
number
];
response
:
boolean
};
'
cronjob.create
'
:
{
params
:
any
;
response
:
any
};
'
cronjob.update
'
:
{
params
:
any
;
response
:
any
};
// Core
'
core.download
'
:
{
params
:
CoreDownloadQuery
;
response
:
CoreDownloadResponse
};
...
...
This diff is collapsed.
Click to expand it.
src/app/interfaces/chart-release.interface.ts
View file @
15bbaf02
...
...
@@ -2,13 +2,6 @@ import { ChartReleaseStatus } from 'app/enums/chart-release-status.enum';
import
{
ChartMetadata
}
from
'
app/interfaces/catalog.interface
'
;
import
{
QueryParams
}
from
'
app/interfaces/query-api.interface
'
;
// TODO: Conflicts with ChartMetadata (lowercase d).
export
interface
ChartMetaData
{
name
:
string
;
version
:
string
;
latest_chart_version
:
string
;
}
export
interface
UsedPort
{
port
:
number
;
protocol
:
string
;
...
...
This diff is collapsed.
Click to expand it.
src/app/pages/common/entity/entity-form/components/form-errors/form-errors.component.ts
View file @
15bbaf02
import
{
Component
,
Input
}
from
'
@angular/core
'
;
import
{
Form
Control
}
from
'
@angular/forms
'
;
import
{
Abstract
Control
}
from
'
@angular/forms
'
;
import
{
FieldConfig
}
from
'
app/pages/common/entity/entity-form/models/field-config.interface
'
;
@
Component
({
...
...
@@ -7,6 +7,6 @@ import { FieldConfig } from 'app/pages/common/entity/entity-form/models/field-co
templateUrl
:
'
./form-errors.component.html
'
,
})
export
class
FormErrorsComponent
{
@
Input
()
control
:
Form
Control
;
@
Input
()
control
:
Abstract
Control
;
@
Input
()
config
:
FieldConfig
;
}
This diff is collapsed.
Click to expand it.
src/app/pages/common/entity/table/table.component.ts
View file @
15bbaf02
...
...
@@ -40,7 +40,7 @@ export interface AppTableColumn {
hidden
?:
boolean
;
hiddenIfEmpty
?:
boolean
;
listview
?:
boolean
;
getIcon
?(
element
:
any
,
prop
:
string
):
void
;
getIcon
?(
element
:
any
,
prop
:
string
):
string
;
}
export
interface
AppTableConfirmDeleteDialog
{
...
...
This diff is collapsed.
Click to expand it.
src/app/pages/dashboard/components/widget-controller/widget-controller.component.ts
View file @
15bbaf02
...
...
@@ -26,7 +26,7 @@ export interface DashConfigItem {
})
export
class
WidgetControllerComponent
extends
WidgetComponent
implements
OnDestroy
{
@
Input
()
dashState
:
DashConfigItem
[]
=
[];
@
Input
()
renderedWidgets
?:
number
[]
=
[];
@
Input
()
renderedWidgets
?:
unknown
[]
=
[];
@
Input
()
hiddenWidgets
?:
number
[]
=
[];
@
Input
()
emptyConfig
:
EmptyConfig
;
@
Input
()
actionsConfig
:
ToolbarConfig
;
...
...
This diff is collapsed.
Click to expand it.
src/app/pages/reports-dashboard/components/line-chart/index.ts
deleted
100644 → 0
View file @
fde79480
export
*
from
'
app/pages/reports-dashboard/components/line-chart/line-chart.component
'
;
This diff is collapsed.
Click to expand it.
src/app/pages/services/components/service-rsync/rsync-configuration/configure-rsync/index.ts
deleted
100644 → 0
View file @
fde79480
export
{
CconfigureRYSNCComponent
}
from
'
app/pages/services/components/service-rsync/rsync-configuration/configure-rsync/configure-rsync.component
'
;
This diff is collapsed.
Click to expand it.
src/app/pages/services/services.module.ts
View file @
15bbaf02
...
...
@@ -9,7 +9,7 @@ import { ServiceDDNSComponent } from 'app/pages/services/components/service-dyna
import
{
ServiceFTPComponent
}
from
'
app/pages/services/components/service-ftp/service-ftp.component
'
;
import
{
ServiceLLDPComponent
}
from
'
app/pages/services/components/service-lldp/service-lldp.component
'
;
import
{
ServiceNFSComponent
}
from
'
app/pages/services/components/service-nfs/service-nfs.component
'
;
import
{
CconfigureRYSNCComponent
}
from
'
app/pages/services/components/service-rsync/rsync-configuration/configure-rsync
'
;
import
{
CconfigureRYSNCComponent
}
from
'
app/pages/services/components/service-rsync/rsync-configuration/configure-rsync
/configure-rsync.component
'
;
import
{
RsyncConfigurationListComponent
}
from
'
app/pages/services/components/service-rsync/rsync-configuration/rsync-configuration-list/rsync-configuration-list.component
'
;
import
{
RYSNCConfigurationFormComponent
}
from
'
app/pages/services/components/service-rsync/rsync-configuration/rsyncmodule/rsync-configuration-form.component
'
;
import
{
ServiceRSYNCComponent
}
from
'
app/pages/services/components/service-rsync/service-rsync.component
'
;
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
3
4
5
…
7
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help