Skip to content

Commit

Permalink
Merge pull request #933 from mozilla/StartDownloadsInTempDirectory
Browse files Browse the repository at this point in the history
Start downloads in temp directory
  • Loading branch information
mkaply authored Jul 11, 2022
2 parents c800c68 + 488c4cc commit 3e411e4
Show file tree
Hide file tree
Showing 11 changed files with 80 additions and 1 deletion.
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ Policies can be specified using the [Group Policy templates on Windows](https://
| **[`ShowHomeButton`](#showhomebutton)** | Show the home button on the toolbar.
| **[`SSLVersionMax`](#sslversionmax)** | Set and lock the maximum version of TLS.
| **[`SSLVersionMin`](#sslversionmin)** | Set and lock the minimum version of TLS.
| **[`StartDownloadsInTempDirectory`](#startdownloadsintempdirectory)** | Force downloads to start off in a local, temporary location rather than the default download directory.
| **[`SupportMenu`](#supportmenu)** | Add a menuitem to the help menu for specifying support information.
| **[`UserMessaging`](#usermessaging)** | Don't show certain messages to the user.
| **[`UseSystemPrintDialog`](#usesystemprintdialog)** | Print using the system print dialog instead of print preview.
Expand Down Expand Up @@ -5666,6 +5667,40 @@ Value (string):
}
}
```
### StartDownloadsInTempDirectory
Force downloads to start off in a local, temporary location rather than the default download directory.

**Compatibility:** Firefox 102\
**CCK2 Equivalent:** N/A\
**Preferences Affected:** `browser.downloads.start_downloads_in_tmp_dir`

#### Windows (GPO)
```
Software\Policies\Mozilla\Firefox\StartDownloadsInTempDirectory = 0x1 | 0x0
```
#### Windows (Intune)
OMA-URI:
```
./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/StartDownloadsInTempDirectory
```
Value (string):
```
<enabled/> or <disabled/>
```
#### macOS
```
<dict>
<key>StartDownloadsInTempDirectory</key>
<true/> | <false/>
</dict>
```
#### policies.json
```
{
"policies": {
"StartDownloadsInTempDirectory": true | false
}
```
### UserMessaging

Prevent Firefox from messaging the user in certain situations.
Expand Down
2 changes: 2 additions & 0 deletions mac/org.mozilla.firefox.plist
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,8 @@
<string>tls1.2</string>
<key>SSLVersionMax</key>
<string>tls1.3</string>
<string>StartDownloadsInTempDirectory</string>
<true/>
<key>SupportMenu</key>
<dict>
<key>Title</key>
Expand Down
4 changes: 4 additions & 0 deletions windows/de-DE/firefox.adml
Original file line number Diff line number Diff line change
Expand Up @@ -930,6 +930,10 @@ Wenn diese Richtlinieneinstellung deaktiviert oder nicht konfiguriert ist, zeigt
Wenn diese Richtlinieneinstellung deaktiviert oder nicht konfiguriert ist, werden Warnungen für alle ausführbaren Dateitypen angezeigt.

Ausführliche Informationen zur Erstellung der Richtlinie finden Sie unter https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.</string>
<string id="StartDownloadsInTempDirectory">Start Downloads in Temporary Directory</string>
<string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.

If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
<string id="Preferences_Boolean_Explain">Wenn diese Richtlinieneinstellung aktiviert ist, ist die Einstellung auf true gesperrt. Wenn diese Richtlinieneinstellung deaktiviert ist, ist die Einstellung auf false gesperrt.

Für eine Beschreibung der Einstellung, siehe:
Expand Down
4 changes: 4 additions & 0 deletions windows/en-US/firefox.adml
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
If this policy is disabled or not configured, warnings are shown for all executable file types.

For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.</string>
<string id="StartDownloadsInTempDirectory">Start Downloads in Temporary Directory</string>
<string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.

If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
<string id="Preferences_Boolean_Explain">If this policy is enabled, the preference is locked to true. If this policy is disabled, the preference is locked to false.

For a description of the preference, see:
Expand Down
4 changes: 4 additions & 0 deletions windows/es-ES/firefox.adml
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
If this policy is disabled or not configured, warnings are shown for all executable file types.

For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.</string>
<string id="StartDownloadsInTempDirectory">Start Downloads in Temporary Directory</string>
<string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.

If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
<string id="Preferences_Boolean_Explain">Si esta política está habilitada, la preferencia se bloquea en true. Si esta política está deshabilitada, la preferencia está bloqueada en false.

Para una descripción de la preferencia, visita:
Expand Down
10 changes: 10 additions & 0 deletions windows/firefox.admx
Original file line number Diff line number Diff line change
Expand Up @@ -3865,5 +3865,15 @@
<multiText id="JSON" valueName="ExemptDomainFileTypePairsFromFileTypeDownloadWarnings" maxLength="16384"/>
</elements>
</policy>
<policy name="StartDownloadsInTempDirectory" class="Both" displayName="$(string.StartDownloadsInTempDirectory)" explainText="$(string.StartDownloadsInTempDirectory_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="StartDownloadsInTempDirectory">
<parentCategory ref="firefox"/>
<supportedOn ref="SUPPORTED_FF102"/>
<enabledValue>
<decimal value="1"/>
</enabledValue>
<disabledValue>
<decimal value="0"/>
</disabledValue>
</policy>
</policies>
</policyDefinitions>
6 changes: 5 additions & 1 deletion windows/fr-FR/firefox.adml
Original file line number Diff line number Diff line change
Expand Up @@ -924,8 +924,12 @@ If this policy is disabled or not configured, Firefox will show print preview be
<string id="ExemptDomainFileTypePairsFromFileTypeDownloadWarnings_Explain">If this policy is enabled, you can define a list of domains and file type extensions that will be exempt from executable warnings.

If this policy is disabled or not configured, warnings are shown for all executable file types.

For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.</string>
<string id="StartDownloadsInTempDirectory">Start Downloads in Temporary Directory</string>
<string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.

If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
<string id="Preferences_Boolean_Explain">Si cette stratégie est activée, la préférence est verrouillée sur true. Si cette stratégie est désactivée, la préférence est verrouillée sur false.

Pour une description de la préférence, voir:
Expand Down
4 changes: 4 additions & 0 deletions windows/it-IT/firefox.adml
Original file line number Diff line number Diff line change
Expand Up @@ -928,6 +928,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
If this policy is disabled or not configured, warnings are shown for all executable file types.

For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.</string>
<string id="StartDownloadsInTempDirectory">Start Downloads in Temporary Directory</string>
<string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.

If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
<string id="Preferences_Boolean_Explain">Se questo criterio è abilitato, la preferenza è impostata a Vero e resa non modificabile. Se questo criterio è disabilitato, la preferenza è impostata a Falso e resa non modificabile.

Per una descrizione della preferenza, si veda:
Expand Down
4 changes: 4 additions & 0 deletions windows/ru-RU/firefox.adml
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
If this policy is disabled or not configured, warnings are shown for all executable file types.

For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.</string>
<string id="StartDownloadsInTempDirectory">Start Downloads in Temporary Directory</string>
<string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.

If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
<string id="Preferences_Boolean_Explain"> Если эта политика включена, предпочтение заблокировано на true. Если эта политика отключена, предпочтение заблокировано на false.

Описание предпочтения см .:
Expand Down
4 changes: 4 additions & 0 deletions windows/zh-CN/firefox.adml
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
If this policy is disabled or not configured, warnings are shown for all executable file types.

For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.</string>
<string id="StartDownloadsInTempDirectory">Start Downloads in Temporary Directory</string>
<string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.

If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
<string id="Preferences_Boolean_Explain">若启用此原则,偏好设定将锁定为 true。 若禁用此原则,偏好设定则锁定为false。

若需要偏好设置的详细说明,请参考:
Expand Down
4 changes: 4 additions & 0 deletions windows/zh-TW/firefox.adml
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
If this policy is disabled or not configured, warnings are shown for all executable file types.

For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.</string>
<string id="StartDownloadsInTempDirectory">Start Downloads in Temporary Directory</string>
<string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.

If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
<string id="Preferences_Boolean_Explain">若啟用此原則,偏好設定將鎖定為 true。若停用此原則,偏好設定則鎖定為 false。

若需要偏好設定的詳細說明,請參考:
Expand Down

0 comments on commit 3e411e4

Please sign in to comment.