@crombolo/backoffice-host 0.61.0 → 0.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/plugin/app-preview/umbraco-package.json +1 -1
- package/plugin/bundles-installed.js +8 -2
- package/plugin/bundles-level-words.js +9 -0
- package/plugin/bundles-marketplace.js +2 -2
- package/plugin/bundles-signature-words.js +14 -3
- package/plugin/ci-access-words.js +3 -3
- package/plugin/content-settings-dashboard.js +69 -0
- package/plugin/forms-client.js +7 -0
- package/plugin/forms-overview.js +79 -0
- package/plugin/forms-workflows.js +18 -0
- package/plugin/group-editor-words.js +294 -0
- package/plugin/group-editor.js +729 -0
- package/plugin/localizations/umbraco-package.json +1 -1
- package/plugin/seo/umbraco-package.json +1 -1
- package/plugin/settings-cards.js +14 -17
- package/plugin/sign-in/umbraco-package.json +1 -1
- package/plugin/umbraco-package.json +39 -4
package/plugin/settings-cards.js
CHANGED
|
@@ -17,22 +17,17 @@ export const GROUPS = ['Site', 'Health', 'History', 'Developers', 'Extensions',
|
|
|
17
17
|
|
|
18
18
|
/** Our words for each tool, by the alias of its dashboard or menu item. */
|
|
19
19
|
export const CARDS = {
|
|
20
|
+
'Crombolo.Dashboard.ContentSettings': {
|
|
21
|
+
group: 'Site',
|
|
22
|
+
title: 'Content settings',
|
|
23
|
+
description: 'Page URLs, the redirects from old ones, and how items relate to each other.',
|
|
24
|
+
},
|
|
20
25
|
'Crombolo.Dashboard.Seo': {
|
|
21
26
|
group: 'Site',
|
|
22
27
|
title: 'Search',
|
|
23
28
|
description:
|
|
24
29
|
'What pages say in search results and when shared, the robots file, and the search indexes.',
|
|
25
30
|
},
|
|
26
|
-
'Crombolo.Dashboard.Addresses': {
|
|
27
|
-
group: 'Site',
|
|
28
|
-
title: 'Page addresses',
|
|
29
|
-
description: "Whether the top-level page's name is part of every address below it.",
|
|
30
|
-
},
|
|
31
|
-
'Umb.Dashboard.RedirectManagement': {
|
|
32
|
-
group: 'Site',
|
|
33
|
-
title: 'Redirects',
|
|
34
|
-
description: "Configure the site's redirect rules.",
|
|
35
|
-
},
|
|
36
31
|
'Umb.MenuItem.Webhook': {
|
|
37
32
|
group: 'Site',
|
|
38
33
|
title: 'Webhooks',
|
|
@@ -48,11 +43,6 @@ export const CARDS = {
|
|
|
48
43
|
title: 'Background jobs',
|
|
49
44
|
description: 'Scheduled and queued work, how far each got, and running a failed one again.',
|
|
50
45
|
},
|
|
51
|
-
'Umb.MenuItem.Relations': {
|
|
52
|
-
group: 'Site',
|
|
53
|
-
title: 'Relations',
|
|
54
|
-
description: 'How items point at each other, such as a copy and its original.',
|
|
55
|
-
},
|
|
56
46
|
'Umb.Dashboard.HealthCheck': {
|
|
57
47
|
group: 'Health',
|
|
58
48
|
title: 'Health check',
|
|
@@ -102,6 +92,13 @@ export const CARDS = {
|
|
|
102
92
|
},
|
|
103
93
|
}
|
|
104
94
|
|
|
95
|
+
/** Tools shown as tabs of the Content settings card, not as cards of their own. */
|
|
96
|
+
export const IN_CONTENT_SETTINGS = new Set([
|
|
97
|
+
'Crombolo.Dashboard.Addresses',
|
|
98
|
+
'Umb.Dashboard.RedirectManagement',
|
|
99
|
+
'Umb.MenuItem.Relations',
|
|
100
|
+
])
|
|
101
|
+
|
|
105
102
|
/**
|
|
106
103
|
* The landing page's groups, in order, each with its cards in the order above.
|
|
107
104
|
* `dashboards` are `{ alias, label, description?, bundle?, path }`; `advanced`
|
|
@@ -118,7 +115,7 @@ export const CARDS = {
|
|
|
118
115
|
*/
|
|
119
116
|
export function settingsCards({ dashboards = [], advanced = [] }) {
|
|
120
117
|
const found = []
|
|
121
|
-
for (const d of dashboards)
|
|
118
|
+
for (const d of dashboards.filter((d) => !IN_CONTENT_SETTINGS.has(d.alias)))
|
|
122
119
|
found.push({
|
|
123
120
|
alias: d.alias,
|
|
124
121
|
label: d.label,
|
|
@@ -126,7 +123,7 @@ export function settingsCards({ dashboards = [], advanced = [] }) {
|
|
|
126
123
|
bundle: d.bundle,
|
|
127
124
|
path: d.path,
|
|
128
125
|
})
|
|
129
|
-
for (const item of advanced)
|
|
126
|
+
for (const item of advanced.filter((item) => !IN_CONTENT_SETTINGS.has(item.alias)))
|
|
130
127
|
found.push({
|
|
131
128
|
alias: item.alias,
|
|
132
129
|
label: item.label,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "../../backoffice-dist/dist/umbraco-package-schema.json",
|
|
3
3
|
"name": "Crombolo",
|
|
4
4
|
"id": "Crombolo.Core",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.63.0",
|
|
6
6
|
"allowPublicAccess": false,
|
|
7
7
|
"extensions": [
|
|
8
8
|
{
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"forEntityTypes": ["crombolo-remote"],
|
|
84
84
|
"meta": {
|
|
85
85
|
"verbs": ["Crombolo.Remote.ApplyStructure"],
|
|
86
|
-
"label": "Change a site's structure
|
|
87
|
-
"description": "
|
|
86
|
+
"label": "Change a site's structure",
|
|
87
|
+
"description": "Apply a bundle that changes the site's content types, stylesheets or scripts. Pushing a whole site, or changing templates or code, also needs Install code on this site"
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
90
|
{
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"meta": {
|
|
96
96
|
"verbs": ["Crombolo.Remote.InstallCode"],
|
|
97
97
|
"label": "Install code on this site",
|
|
98
|
-
"description": "Install bundles
|
|
98
|
+
"description": "Install bundles, the code a bundle carries and the templates it adds or changes, and push a whole site: all of these run on the server. Administrators only have this when a group gives it to them: give it to a group of its own rather than Administrators"
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
101
|
{
|
|
@@ -379,6 +379,41 @@
|
|
|
379
379
|
}
|
|
380
380
|
]
|
|
381
381
|
},
|
|
382
|
+
{
|
|
383
|
+
"type": "workspaceView",
|
|
384
|
+
"alias": "Crombolo.WorkspaceView.UserGroup.Editor",
|
|
385
|
+
"name": "Crombolo User Group Editor",
|
|
386
|
+
"element": "/crombolo-plugin/group-editor.js",
|
|
387
|
+
"weight": 90,
|
|
388
|
+
"meta": {
|
|
389
|
+
"label": "Details",
|
|
390
|
+
"pathname": "details",
|
|
391
|
+
"icon": "edit"
|
|
392
|
+
},
|
|
393
|
+
"conditions": [
|
|
394
|
+
{
|
|
395
|
+
"alias": "Umb.Condition.WorkspaceAlias",
|
|
396
|
+
"match": "Umb.Workspace.UserGroup"
|
|
397
|
+
}
|
|
398
|
+
]
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"type": "dashboard",
|
|
402
|
+
"alias": "Crombolo.Dashboard.ContentSettings",
|
|
403
|
+
"name": "Crombolo Content Settings Dashboard",
|
|
404
|
+
"element": "/crombolo-plugin/content-settings-dashboard.js",
|
|
405
|
+
"weight": 7,
|
|
406
|
+
"meta": {
|
|
407
|
+
"label": "Content settings",
|
|
408
|
+
"pathname": "content-settings"
|
|
409
|
+
},
|
|
410
|
+
"conditions": [
|
|
411
|
+
{
|
|
412
|
+
"alias": "Umb.Condition.SectionAlias",
|
|
413
|
+
"match": "Umb.Section.Settings"
|
|
414
|
+
}
|
|
415
|
+
]
|
|
416
|
+
},
|
|
382
417
|
{
|
|
383
418
|
"type": "dashboard",
|
|
384
419
|
"alias": "Crombolo.Dashboard.Addresses",
|