Remove the "use flash clipboard" preference

This was only used in the GWT UI, which has been removed.

Change-Id: I378c7258708be3ef7d26c63e8f7b2ed9bdcb7703
This commit is contained in:
David Pursehouse
2019-05-13 16:22:52 +02:00
parent 31cbd1f63e
commit 8e0764cc54
4 changed files with 0 additions and 13 deletions

View File

@@ -1251,7 +1251,6 @@ any account.
{
"changes_per_page": 25,
"show_site_header": true,
"use_flash_clipboard": true,
"download_command": "CHECKOUT",
"date_format": "STD",
"time_format": "HHMM_12",
@@ -1307,7 +1306,6 @@ link:#preferences-input[PreferencesInput] entity.
{
"changes_per_page": 50,
"show_site_header": true,
"use_flash_clipboard": true,
"expand_inline_diffs": true,
"download_command": "CHECKOUT",
"date_format": "STD",
@@ -1358,7 +1356,6 @@ link:#preferences-info[PreferencesInfo] entity.
{
"changes_per_page": 50,
"show_site_header": true,
"use_flash_clipboard": true,
"expand_inline_diffs": true,
"download_command": "CHECKOUT",
"date_format": "STD",
@@ -2724,8 +2721,6 @@ The number of changes to show on each page.
Allowed values are `10`, `25`, `50`, `100`.
|`show_site_header` |not set if `false`|
Whether the site header should be shown.
|`use_flash_clipboard` |not set if `false`|
Whether to use the flash clipboard widget.
|`expand_inline_diffs` |not set if `false`|
Whether to expand diffs inline instead of opening as separate page
(PolyGerrit only).
@@ -2798,8 +2793,6 @@ The number of changes to show on each page.
Allowed values are `10`, `25`, `50`, `100`.
|`show_site_header` |optional|
Whether the site header should be shown.
|`use_flash_clipboard` |optional|
Whether to use the flash clipboard widget.
|`expand_inline_diffs` |not set if `false`|
Whether to expand diffs inline instead of opening as separate page
(PolyGerrit only).

View File

@@ -1055,7 +1055,6 @@ PreferencesInfo] is returned.
{
"changes_per_page": 25,
"show_site_header": true,
"use_flash_clipboard": true,
"download_command": "CHECKOUT",
"date_format": "STD",
"time_format": "HHMM_12",
@@ -1134,7 +1133,6 @@ PreferencesInfo] is returned.
{
"changes_per_page": 50,
"show_site_header": true,
"use_flash_clipboard": true,
"download_command": "CHECKOUT",
"date_format": "STD",
"time_format": "HHMM_12",

View File

@@ -133,8 +133,6 @@ public class GeneralPreferencesInfo {
public Integer changesPerPage;
/** Should the site header be displayed when logged in ? */
public Boolean showSiteHeader;
/** Should the Flash helper movie be used to copy text to the clipboard? */
public Boolean useFlashClipboard;
/** Type of download URL the user prefers to use. */
public String downloadScheme;
/** Type of download command the user prefers to use. */
@@ -210,7 +208,6 @@ public class GeneralPreferencesInfo {
GeneralPreferencesInfo p = new GeneralPreferencesInfo();
p.changesPerPage = DEFAULT_PAGESIZE;
p.showSiteHeader = true;
p.useFlashClipboard = true;
p.downloadScheme = null;
p.downloadCommand = DownloadCommand.CHECKOUT;
p.dateFormat = DateFormat.STD;

View File

@@ -74,7 +74,6 @@ public class GeneralPreferencesIT extends AbstractDaemonTest {
// change all default values
i.changesPerPage *= -1;
i.showSiteHeader ^= true;
i.useFlashClipboard ^= true;
i.downloadCommand = DownloadCommand.REPO_DOWNLOAD;
i.dateFormat = DateFormat.US;
i.timeFormat = TimeFormat.HHMM_24;