You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -93,9 +96,6 @@ How many items are in a 'page' of data sent between servers.
93
96
<!--| 5 |-->
94
97
How many media items are in a 'page' of data sent between servers, as media is compressed and sent in pages between servers changing this value will change the size of those compressed files.
95
98
96
-
### EnableRollback
97
-
A rollback folder will be created for each sync, ensuring a backup if it all goes wrong.
@@ -110,15 +110,6 @@ Things to exclude from system.
110
110
### FileReplacements
111
111
Things that might be replaced inside a file.
112
112
113
-
### RenameUsingAssembly
114
-
Do we rename any instances of your site name in the viewimports file. This setting is on by default.
115
-
116
-
### MaxRequestBodySize
117
-
Maximum request size. The default is 500mb, if you set it to zero there is no limit.
118
-
119
-
### RequestTimeout
120
-
Timeout for http requests in seconds.
121
-
122
113
### IncludeHost
123
114
<!--| true/false |-->
124
115
If the hostname is included as part of the signature when signing requests between sites. Turning this value off may make it possible to replay requests on another server.
@@ -130,9 +121,6 @@ If true uSync will require a hostname as part of the sync.
130
121
### UserAgentString
131
122
Set the user agent string.
132
123
133
-
### SeedServerUrl
134
-
This setting is the equivalent of clicking the 'sync' button on a site, but as a pull. All server settings will be pulled from the other site.
135
-
136
124
### RequestHeaders
137
125
Add your own custom header key pairs that will get added to every request.
138
126
@@ -148,6 +136,15 @@ Add your own custom header key pairs that will get added to every request.
148
136
Use of this setting could badly break your site. We **do not** advise turning it on unless you are 100% sure you know what you're doing.
149
137
:::
150
138
139
+
```json
140
+
"Publisher": {
141
+
"Settings": {
142
+
"AllowDeletingOfOrphanedItemsForAllTypes":
143
+
["document-type", "media-type"]
144
+
}
145
+
}
146
+
```
147
+
151
148
Enabling this setting allows you to remove 'missing' datatypes and doctypes. However, this could have a knock-on effect of **removing *all* associated content and media from your site.** We strongly advise you do not enable it.
152
149
153
150
This setting is set to false by default.
@@ -164,6 +161,7 @@ This setting is set to false by default.
164
161
"AllowDeletingOfOrphanedItemsForTypes":
165
162
["document-type", "media-type"]
166
163
}
164
+
}
167
165
```
168
166
Content and media types always have the 'delete missing' feature available. Enabling this setting turns the 'delete missing' feature on for additional [EntityTypes](https://github.com/umbraco/Umbraco-CMS/blob/contrib/src/Umbraco.Core/Constants-UdiEntityType.cs) for the Umbraco objects. When pushing these extra objects, uSync will delete orphaned items.
169
167
@@ -175,6 +173,15 @@ As with a lot of settings that permit automatic deleting, enabling this can badl
175
173
Incorrect use of this setting could delete whole sites from your installation. We **do not** advise turning it on unless you are 100% sure you know what you're doing.
176
174
:::
177
175
176
+
```json
177
+
"Publisher": {
178
+
"Settings": {
179
+
"AllowDeletingOfOrphanedItemsFromRoot":
180
+
["document-type", "media-type"]
181
+
}
182
+
}
183
+
```
184
+
178
185
Enabling this setting allows uSync to remove orphaned items from the root of your site. This can lead to the deletion of your **entire site**, and we *highly* reccomend you do not enable it.
0 commit comments