@crombolo/backoffice-host 0.43.1 → 0.44.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/branding/theme-dark.css +2 -0
- package/plugin/branding/theme.css +3 -0
- package/plugin/bundle-editor.js +1 -1
- package/plugin/bundles-created-overview.js +1 -1
- package/plugin/bundles-created.js +13 -4
- package/plugin/bundles-installed.js +3 -3
- package/plugin/bundles-marketplace.js +2 -2
- package/plugin/bundles-tool.js +79 -0
- package/plugin/ci-access-words.js +57 -0
- package/plugin/ci-access.js +270 -0
- package/plugin/form-picker-options.js +61 -5
- package/plugin/form-picker.js +27 -18
- package/plugin/form-type-note.js +53 -0
- package/plugin/forms-client.js +6 -0
- package/plugin/forms-entries.js +39 -0
- package/plugin/localizations/umbraco-package.json +1 -1
- package/plugin/overview-dashboard.js +4 -4
- package/plugin/seo/umbraco-package.json +1 -1
- package/plugin/settings-card.js +57 -0
- package/plugin/settings-cards.js +67 -17
- package/plugin/settings-section.js +57 -27
- package/plugin/sign-in/umbraco-package.json +1 -1
- package/plugin/umbraco-package.json +42 -40
- package/src/extensions.ts +7 -3
|
@@ -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.44.0",
|
|
6
6
|
"allowPublicAccess": false,
|
|
7
7
|
"extensions": [
|
|
8
8
|
{
|
|
@@ -71,6 +71,17 @@
|
|
|
71
71
|
"description": "Replace a site people rely on, and approve or decline other people's pushes to it"
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
|
+
{
|
|
75
|
+
"type": "entityUserPermission",
|
|
76
|
+
"alias": "Crombolo.UserPermission.Remote.ApplyStructure",
|
|
77
|
+
"name": "Crombolo Remote ApplyStructure Permission",
|
|
78
|
+
"forEntityTypes": ["crombolo-remote"],
|
|
79
|
+
"meta": {
|
|
80
|
+
"verbs": ["Crombolo.Remote.ApplyStructure"],
|
|
81
|
+
"label": "Change a site's structure and code",
|
|
82
|
+
"description": "Push a whole site, or apply a bundle that changes its content types, views, styles or code"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
74
85
|
{
|
|
75
86
|
"type": "entityUserPermission",
|
|
76
87
|
"alias": "Crombolo.UserPermission.Media.Read",
|
|
@@ -133,40 +144,37 @@
|
|
|
133
144
|
}
|
|
134
145
|
},
|
|
135
146
|
{
|
|
136
|
-
"type": "
|
|
137
|
-
"alias": "Crombolo.
|
|
138
|
-
"name": "Crombolo
|
|
139
|
-
"element": "/crombolo-plugin/
|
|
140
|
-
"weight": 300,
|
|
141
|
-
"overwrites": ["Umb.SectionView.Packages.Marketplace"],
|
|
147
|
+
"type": "dashboard",
|
|
148
|
+
"alias": "Crombolo.Dashboard.CiAccess",
|
|
149
|
+
"name": "Crombolo CI Access",
|
|
150
|
+
"element": "/crombolo-plugin/ci-access.js",
|
|
142
151
|
"meta": {
|
|
143
|
-
"label": "
|
|
144
|
-
"pathname": "
|
|
145
|
-
"icon": "icon-cloud"
|
|
152
|
+
"label": "CI access",
|
|
153
|
+
"pathname": "ci-access"
|
|
146
154
|
},
|
|
147
155
|
"conditions": [
|
|
148
156
|
{
|
|
149
157
|
"alias": "Umb.Condition.SectionAlias",
|
|
150
|
-
"match": "Umb.Section.
|
|
158
|
+
"match": "Umb.Section.Settings"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"alias": "Umb.Condition.CurrentUser.IsAdmin"
|
|
151
162
|
}
|
|
152
163
|
]
|
|
153
164
|
},
|
|
154
165
|
{
|
|
155
|
-
"type": "
|
|
156
|
-
"alias": "Crombolo.
|
|
157
|
-
"name": "Crombolo
|
|
158
|
-
"element": "/crombolo-plugin/bundles-
|
|
159
|
-
"weight": 100,
|
|
160
|
-
"overwrites": ["Umb.SectionView.Packages.Builder"],
|
|
166
|
+
"type": "dashboard",
|
|
167
|
+
"alias": "Crombolo.Dashboard.Bundles",
|
|
168
|
+
"name": "Crombolo Bundles",
|
|
169
|
+
"element": "/crombolo-plugin/bundles-tool.js",
|
|
161
170
|
"meta": {
|
|
162
|
-
"label": "
|
|
163
|
-
"pathname": "
|
|
164
|
-
"icon": "icon-files"
|
|
171
|
+
"label": "Bundles",
|
|
172
|
+
"pathname": "bundles"
|
|
165
173
|
},
|
|
166
174
|
"conditions": [
|
|
167
175
|
{
|
|
168
176
|
"alias": "Umb.Condition.SectionAlias",
|
|
169
|
-
"match": "Umb.Section.
|
|
177
|
+
"match": "Umb.Section.Settings"
|
|
170
178
|
}
|
|
171
179
|
]
|
|
172
180
|
},
|
|
@@ -306,25 +314,6 @@
|
|
|
306
314
|
}
|
|
307
315
|
]
|
|
308
316
|
},
|
|
309
|
-
{
|
|
310
|
-
"type": "sectionView",
|
|
311
|
-
"alias": "Crombolo.SectionView.Bundles.Installed",
|
|
312
|
-
"name": "Crombolo Installed Packages",
|
|
313
|
-
"element": "/crombolo-plugin/bundles-installed.js",
|
|
314
|
-
"weight": 200,
|
|
315
|
-
"overwrites": ["Umb.SectionView.Packages.Installed"],
|
|
316
|
-
"meta": {
|
|
317
|
-
"label": "Installed",
|
|
318
|
-
"pathname": "installed",
|
|
319
|
-
"icon": "icon-box"
|
|
320
|
-
},
|
|
321
|
-
"conditions": [
|
|
322
|
-
{
|
|
323
|
-
"alias": "Umb.Condition.SectionAlias",
|
|
324
|
-
"match": "Umb.Section.Packages"
|
|
325
|
-
}
|
|
326
|
-
]
|
|
327
|
-
},
|
|
328
317
|
{
|
|
329
318
|
"type": "workspaceView",
|
|
330
319
|
"alias": "Crombolo.WorkspaceView.Webhook.Storage",
|
|
@@ -499,6 +488,19 @@
|
|
|
499
488
|
}
|
|
500
489
|
]
|
|
501
490
|
},
|
|
491
|
+
{
|
|
492
|
+
"type": "workspaceFooterApp",
|
|
493
|
+
"alias": "Crombolo.WorkspaceFooterApp.FormTypeNote",
|
|
494
|
+
"name": "Crombolo Form Type Note",
|
|
495
|
+
"element": "/crombolo-plugin/form-type-note.js",
|
|
496
|
+
"weight": 910,
|
|
497
|
+
"conditions": [
|
|
498
|
+
{
|
|
499
|
+
"alias": "Umb.Condition.WorkspaceAlias",
|
|
500
|
+
"match": "Umb.Workspace.DocumentType"
|
|
501
|
+
}
|
|
502
|
+
]
|
|
503
|
+
},
|
|
502
504
|
{
|
|
503
505
|
"type": "backofficeEntryPoint",
|
|
504
506
|
"alias": "Crombolo.EntryPoint.HelpMenu",
|
package/src/extensions.ts
CHANGED
|
@@ -94,9 +94,13 @@ export function extensionOf(bundle: BundlePackage): InstalledExtension | undefin
|
|
|
94
94
|
version: bundle.version,
|
|
95
95
|
allowPublicAccess: field.allowPublicAccess ?? false,
|
|
96
96
|
allowTelemetry: field.allowTelemetry ?? false,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
// Each extension names its bundle, so Settings can group a bundle's cards and link to it.
|
|
98
|
+
extensions: (field.extensions ?? []).map((extension) => {
|
|
99
|
+
const rewritten = rewriteAssets(extension, packageName)
|
|
100
|
+
return rewritten && typeof rewritten === 'object'
|
|
101
|
+
? { ...rewritten, cromboloBundle: { name: bundle.name, packageName } }
|
|
102
|
+
: rewritten
|
|
103
|
+
}),
|
|
100
104
|
importmap: rewriteImportmap(field.importmap, packageName),
|
|
101
105
|
},
|
|
102
106
|
}
|