Skip to content

Commit af2b3d8

Browse files
committed
Merge branch 'main' into include-Welsh-in-supported-languages-list
2 parents def48af + 6beece6 commit af2b3d8

File tree

688 files changed

+21729
-19761
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

688 files changed

+21729
-19761
lines changed

Add-ons/The-Licensing-model/index-v9.md renamed to Add-ons/The-Licensing-model/index-v7.md

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
2-
versionFrom: 9.0.0
2+
versionFrom: 7.0.0
33
---
44

55
# The Licensing Model
66

7-
Umbraco Forms and Umbraco Deploy are commercial products.
7+
Umbraco Forms, Umbraco Deploy and Umbraco Courier are commercial products.
88

99
For Umbraco Forms you will have a 14-day free trial to try out the product. After your trial expires, you'll need to have a **valid license** in order to keep using the product on your site.
1010

11-
Umbraco Deploy doesn't come with a 14-day free trial, which means you will need a **valid license** in order to use the products.
11+
Umbraco Courier and Umbraco Deploy don't come with a 14-day free trial, which means you will need a **valid license** in order to use the products. You will be able to test both Deploy and Courier on a local setup without a license.
1212

1313
## How does it work?
1414

@@ -35,7 +35,7 @@ That you can have only 1 license per Umbraco installation.
3535

3636
## What does a license cover?
3737

38-
Even though we use the same licensing model for Umbraco Forms and Umbraco Deploy, there are a few differences as to what the licenses cover.
38+
Even though we use the same licensing model for Umbraco Forms and Umbraco Courier, there are a few differences as to what the licenses cover.
3939

4040
### Umbraco Forms
4141

@@ -70,12 +70,21 @@ To clarify on the above:
7070
The license for Umbraco Deploy comes with a recurring yearly fee. Learn more about this and pricing on [Umbraco.com](https://umbraco.com/products/umbraco-deploy/).
7171
:::
7272

73+
### Umbraco Courier
74+
75+
- A single license covers the installation and use of Umbraco Courier in 1 production domain, as well as 2 development domains
76+
- The production domain includes all subdomains (e.g. `*.domain.tld`), as well as the `.local` extension (e.g. `domain.tld.local`)
77+
- The development domains works with or without the `www` subdomain
78+
- The license also includes `localhost` as a valid domain
79+
80+
For the Umbraco Courier license you do not need to purchase additional domains if you are running multiple sites within the same Umbraco installation.
81+
7382
## Configuring and installing your license
7483

7584
You can purchase licenses for our products on our website:
7685

7786
- [Umbraco Forms licenses](https://umbraco.com/apps/umbraco-forms/)
78-
- [Umbraco Deploy licenses](https://umbraco.com/products/umbraco-deploy/)
87+
- [Umbraco Courier licenses](https://umbraco.com/apps/umbraco-courier/)
7988

8089
When you've bought a license you need to configure it with your domains.
8190

@@ -88,28 +97,25 @@ You can either configure your license right away, or you can do it later by visi
8897
Once you've configured your license with the correct domains, you are ready to install the license on your Umbraco installation.
8998

9099
1. Download your license from your Umbraco.com account - this will give you a `.lic` file
91-
2. Place the file in the `/umbraco/Licenses` directory in your Umbraco installation
100+
2. Place the file in the `/bin` directory in your Umbraco installation
92101

93-
The `.lic` file must be placed in the `/umbraco/Licenses` directory in order to be registered by Umbraco Deploy or Umbraco Forms. If the file isn't placed correctly, the application will automatically switch to trial mode.
102+
The `.lic` file must be placed in the `/bin` directory in order to be registered by Umbraco Deploy, Umbraco Courier or Umbraco Forms. If the file isn't placed correctly, the application will automatically switch to trial mode.
94103

95104
![Installing Umbraco Forms license](images/install-forms-license.gif)
96105

97106
## Alternative license location
98107

99-
If you can't include the license file in the `/umbraco/Licenses` directory for any reason it is possible to configure an alternative location for the file.
108+
If you can't include the license file in the `/bin` directory for any reason it is possible to configure an alternative location for the file.
100109

101-
It can be configured in the Umbraco installation's `appSettings.json` file by adding the following AppSetting, where the value contains the path of your custom license directory, relative to the root of your Umbraco Installation.
110+
It can be configured in the Umbraco installation's `Web.config` file by adding the following AppSetting, where `value="~/Licenses/"` contains the path of your custom license directory, relative to the root of your Umbraco Installation.
102111

103112
:::warning
104113
This will also change the location for other Umbraco related licenses in this project.
105114
:::
106115

107-
```json
108-
{
109-
"Umbraco": {
110-
"Licensing": {
111-
"Directory": "~/custom-licenses-folder/"
112-
}
113-
}
114-
}
116+
```xml
117+
<appSettings>
118+
<add key="UmbracoLicensesDirectory" value="~/Licenses/" />
119+
...
120+
</appSettings>
115121
```

Add-ons/The-Licensing-model/index.md

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
2-
versionFrom: 7.0.0
2+
versionFrom: 9.0.0
33
---
44

55
# The Licensing Model
66

7-
Umbraco Forms, Umbraco Deploy and Umbraco Courier are commercial products.
7+
Umbraco Forms and Umbraco Deploy are commercial products.
88

99
For Umbraco Forms you will have a 14-day free trial to try out the product. After your trial expires, you'll need to have a **valid license** in order to keep using the product on your site.
1010

11-
Umbraco Courier and Umbraco Deploy don't come with a 14-day free trial, which means you will need a **valid license** in order to use the products. You will be able to test both Deploy and Courier on a local setup without a license.
11+
Umbraco Deploy doesn't come with a 14-day free trial, which means you will need a **valid license** in order to use the products.
1212

1313
## How does it work?
1414

@@ -35,7 +35,7 @@ That you can have only 1 license per Umbraco installation.
3535

3636
## What does a license cover?
3737

38-
Even though we use the same licensing model for Umbraco Forms and Umbraco Courier, there are a few differences as to what the licenses cover.
38+
Even though we use the same licensing model for Umbraco Forms and Umbraco Deploy, there are a few differences as to what the licenses cover.
3939

4040
### Umbraco Forms
4141

@@ -70,21 +70,12 @@ To clarify on the above:
7070
The license for Umbraco Deploy comes with a recurring yearly fee. Learn more about this and pricing on [Umbraco.com](https://umbraco.com/products/umbraco-deploy/).
7171
:::
7272

73-
### Umbraco Courier
74-
75-
- A single license covers the installation and use of Umbraco Courier in 1 production domain, as well as 2 development domains
76-
- The production domain includes all subdomains (e.g. `*.domain.tld`), as well as the `.local` extension (e.g. `domain.tld.local`)
77-
- The development domains works with or without the `www` subdomain
78-
- The license also includes `localhost` as a valid domain
79-
80-
For the Umbraco Courier license you do not need to purchase additional domains if you are running multiple sites within the same Umbraco installation.
81-
8273
## Configuring and installing your license
8374

8475
You can purchase licenses for our products on our website:
8576

8677
- [Umbraco Forms licenses](https://umbraco.com/apps/umbraco-forms/)
87-
- [Umbraco Courier licenses](https://umbraco.com/apps/umbraco-courier/)
78+
- [Umbraco Deploy licenses](https://umbraco.com/products/umbraco-deploy/)
8879

8980
When you've bought a license you need to configure it with your domains.
9081

@@ -97,25 +88,28 @@ You can either configure your license right away, or you can do it later by visi
9788
Once you've configured your license with the correct domains, you are ready to install the license on your Umbraco installation.
9889

9990
1. Download your license from your Umbraco.com account - this will give you a `.lic` file
100-
2. Place the file in the `/bin` directory in your Umbraco installation
91+
2. Place the file in the `/umbraco/Licenses` directory in your Umbraco installation
10192

102-
The `.lic` file must be placed in the `/bin` directory in order to be registered by Umbraco Deploy, Umbraco Courier or Umbraco Forms. If the file isn't placed correctly, the application will automatically switch to trial mode.
93+
The `.lic` file must be placed in the `/umbraco/Licenses` directory in order to be registered by Umbraco Deploy or Umbraco Forms. If the file isn't placed correctly, the application will automatically switch to trial mode.
10394

10495
![Installing Umbraco Forms license](images/install-forms-license.gif)
10596

10697
## Alternative license location
10798

108-
If you can't include the license file in the `/bin` directory for any reason it is possible to configure an alternative location for the file.
99+
If you can't include the license file in the `/umbraco/Licenses` directory for any reason it is possible to configure an alternative location for the file.
109100

110-
It can be configured in the Umbraco installation's `Web.config` file by adding the following AppSetting, where `value="~/Licenses/"` contains the path of your custom license directory, relative to the root of your Umbraco Installation.
101+
It can be configured in the Umbraco installation's `appSettings.json` file by adding the following AppSetting, where the value contains the path of your custom license directory, relative to the root of your Umbraco Installation.
111102

112103
:::warning
113104
This will also change the location for other Umbraco related licenses in this project.
114105
:::
115106

116-
```xml
117-
<appSettings>
118-
<add key="UmbracoLicensesDirectory" value="~/Licenses/" />
119-
...
120-
</appSettings>
107+
```json
108+
{
109+
"Umbraco": {
110+
"Licensing": {
111+
"Directory": "~/custom-licenses-folder/"
112+
}
113+
}
114+
}
121115
```
Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
---
2+
versionFrom: 8.0.0
3+
meta.Title: "Umbraco Deploy settings"
4+
meta.Description: "Various settings for Umbraco Deploy"
5+
---
6+
7+
# Configurations for Deployments
8+
9+
The UmbracoDeploy.Settings.config file is empty by default, but there are some optional settings you can set in the file to ignore certain types of file, increase timeout limits, etc.
10+
11+
## ExcludedEntityTypes
12+
13+
This setting allows you to exclude a certain type of entity from being deployed. This is **not** recommended to set, but sometimes there may be issues with the way a custom media fileprovider works with your site and you will need to set it for media files. Here is an example:
14+
15+
```xml
16+
<?xml version="1.0" encoding="utf-8"?>
17+
<settings xmlns="urn:umbracodeploy-settings">
18+
<excludedEntityTypes>
19+
<add type="media-file" />
20+
</excludedEntityTypes>
21+
</settings>
22+
```
23+
24+
## RelationTypes
25+
26+
This setting allows you to manage how relations are deployed between environments. You will need to specify an alias and a mode for each relationtype. The mode can be either:
27+
28+
- `Exclude` - This causes the relation to be excluded and not transferred on deployments.
29+
- `Weak` - This causes the relation to be deployed if both content items are found on the target environment.
30+
- `Strong` - This requires the content item that is related is set as a dependency, so if anything is added as a relation it would also add it as a dependency.
31+
32+
```xml
33+
<?xml version="1.0" encoding="utf-8"?>
34+
<settings xmlns="urn:umbracodeploy-settings">
35+
<relationTypes>
36+
<relationType alias="relateParentDocumentOnDelete" mode="Weak" />
37+
<relationType alias="relateShopItemOnCreate" mode="Exclude" />
38+
</relationTypes>
39+
</settings>
40+
```
41+
42+
## ValueConnectors
43+
44+
This setting is used by package creators who wants their custom editors to work with Deploy. The packages should be creating this setting automatically. There is a community driven package that has value connectors for Deploy called [Deploy Contrib](https://github.com/umbraco/Umbraco.Deploy.Contrib).
45+
46+
Here is an example of how the setting can look:
47+
48+
```xml
49+
<?xml version="1.0" encoding="utf-8"?>
50+
<settings xmlns="urn:umbracodeploy-settings">
51+
<valueConnectors>
52+
<valueConnector alias="nuPickers.DotNetCheckBoxPicker"
53+
type="Umbraco.Deploy.Contrib.Connectors.ValueConnectors.NuPickersValueConnector,Umbraco.Deploy.Contrib.Connectors" />
54+
<valueConnector alias="nuPickers.DotNetDropDownPicker"
55+
type="Umbraco.Deploy.Contrib.Connectors.ValueConnectors.NuPickersValueConnector,Umbraco.Deploy.Contrib.Connectors" />
56+
<valueConnector alias="nuPickers.DotNetPrefetchListPicker"
57+
type="Umbraco.Deploy.Contrib.Connectors.ValueConnectors.NuPickersValueConnector,Umbraco.Deploy.Contrib.Connectors" />
58+
<valueConnector alias="nuPickers.DotNetTypeaheadListPicker"
59+
type="Umbraco.Deploy.Contrib.Connectors.ValueConnectors.NuPickersValueConnector,Umbraco.Deploy.Contrib.Connectors" />
60+
</valueConnectors>
61+
</settings>
62+
```
63+
64+
## Timeout settings
65+
66+
Umbraco Deploy have a few built-in timeouts, which on larger sites might need to be modified. You will usually see these timeouts in the backoffice with an exception mentioning a timeout. It will be as part of a full restore or a full deploy of an entire site. In the normal workflow you should never hit these timeouts.
67+
68+
The defaults will cover most though. Changing the defaults by updating the `/Config/UmbracoDeploy.settings.config`. There are four settings available:
69+
70+
- `sessionTimeout`
71+
- `sourceDeployTimeout`
72+
- `httpClientTimeout`
73+
- `databaseCommandTimeout`
74+
75+
These timeout settings default to 20 minutes, but if you are transferring a lot of data you may need to increase it. All of these times are in *seconds*:
76+
77+
:::note
78+
It's important that these settings are added to both the source and target environments in order to work.
79+
:::
80+
81+
```xml
82+
<?xml version="1.0" encoding="utf-8"?>
83+
<settings xmlns="urn:umbracodeploy-settings">
84+
<deploy sessionTimeout="1800" sourceDeployTimeout="1800" httpClientTimeout="1800" databaseCommandTimeout="1800" />
85+
</settings>
86+
```
87+
88+
## Transfer Forms data as content
89+
90+
In order for Deploy to handle Forms data as content, you'll need to add the following setting to `UmbracoDeploy.Settings.config`:
91+
92+
```xml
93+
<?xml version="1.0" encoding="utf-8"?>
94+
<settings xmlns="urn:umbracodeploy-settings">
95+
<forms transferFormsAsContent="true" />
96+
</settings>
97+
```
98+
99+
## Transfer dictionary items as content
100+
101+
In a similar way, Deploy can be configured to allow for backoffice transfers of dictionary items instead of using files serialized to disk, by adding the following setting to `UmbracoDeploy.Settings.config`:
102+
103+
```xml
104+
<?xml version="1.0" encoding="utf-8"?>
105+
<settings xmlns="urn:umbracodeploy-settings">
106+
<dictionary transferDictionaryAsContent="true" />
107+
</settings>
108+
```
109+
110+
## Exporting member groups
111+
112+
This setting is to be defined and set to false only if you are using an external membership provider for your members. You will not want to export Member Groups that would no longer be managed by Umbraco but by an external membership provider.
113+
114+
Setting the `exportMemberGroups` to false will no longer export Member Groups to UDA entities on disk. By default if this setting is not present, its value will automatically be set to true as most sites use Umbraco's built-in membership provider and thus will want the membership groups exported.
115+
116+
```xml
117+
<?xml version="1.0" encoding="utf-8"?>
118+
<settings xmlns="urn:umbracodeploy-settings">
119+
<deploy exportMemberGroups="false" />
120+
</settings>
121+
```
122+
123+
## Ignore broken dependencies
124+
125+
When restoring or transferring content, Umbraco Deploy will make checks to ensure that any dependent content, media or other items are either present in the target environment, or can be deployed from the source environment.
126+
127+
For example, if you have a media picker on a content item, that references a media item that's been deleted or is in the recycle bin, you'll get an error and the deploy won't complete until the issue is resolved (by removing the reference to the deleted media item).
128+
129+
You can configure deploy to ignore these issues and proceed with the transfer operation without warning, with the following setting:
130+
131+
```xml
132+
<?xml version="1.0" encoding="utf-8"?>
133+
<settings xmlns="urn:umbracodeploy-settings">
134+
<deploy ignoreBrokenDependencies="true" />
135+
</settings>
136+
```
137+

0 commit comments

Comments
 (0)