Skip to content

Commit

Permalink
Merge pull request #5238 from thc202/network/rm-legacy-panels
Browse files Browse the repository at this point in the history
network: remove legacy options panels
  • Loading branch information
ricekot authored Jan 24, 2024
2 parents 7cecf43 + 983f5a4 commit f671570
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
7 changes: 7 additions & 0 deletions addOns/network/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Notify proxy listeners concurrently, might break listeners that do not correctly handle concurrency.

### Removed
- Remove legacy options panels that helped the user find the new options panels:
- Client Certificate
- Connection
- Dynamic SSL Certificates
- Local Proxies

### Fixed
- Accept rate limit rule's group by in lower case, when handling the API requests.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -611,19 +611,12 @@ public void hook(ExtensionHook extensionHook) {
new LocalServerInfoLabel(
getView().getMainFrame().getMainFooterPanel(), localServersOptions);

hookView.addOptionPanel(
new LegacyOptionsPanel("dynssl", serverCertificatesOptionsPanel));
hookView.addOptionPanel(new LegacyOptionsPanel("proxies", localServersOptionsPanel));

connectionOptionsPanel = new ConnectionOptionsPanel();
optionsDialog.addParamPanel(networkNode, connectionOptionsPanel, true);
hookView.addOptionPanel(new LegacyOptionsPanel("connection", connectionOptionsPanel));

clientCertificatesOptionsPanel =
new ClientCertificatesOptionsPanel(View.getSingleton());
optionsDialog.addParamPanel(networkNode, clientCertificatesOptionsPanel, true);
hookView.addOptionPanel(
new LegacyOptionsPanel("clientcerts", clientCertificatesOptionsPanel));

optionsDialog.addParamPanel(
networkNode, rateLimitExtensionHelper.getRateLimitOptionsPanel(), true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,17 +295,9 @@ network.ui.options.globalexclusions.table.header.name = Name
network.ui.options.globalexclusions.warn.invalidregex.message = The provided regular expression is not valid:\n{0}
network.ui.options.globalexclusions.warn.invalidregex.title = Invalid Regular Expression
network.ui.options.legacy.clientcerts = Client Certificate
network.ui.options.legacy.clientcerts.moved = These options have been moved to Network > Client Certificates.
network.ui.options.legacy.connection = Connection
network.ui.options.legacy.connection.moved = These options have been moved to Network > Connection.
network.ui.options.legacy.dynssl = Dynamic SSL Certificates
network.ui.options.legacy.dynssl.moved = These options have been moved to Network > Server Certificates.
network.ui.options.legacy.globalexcludeurl = Global Exclude URL
network.ui.options.legacy.globalexcludeurl.moved = These options have been moved to Network > Global Exclusions.
network.ui.options.legacy.opennew = Go to New Screen
network.ui.options.legacy.proxies = Local Proxies
network.ui.options.legacy.proxies.moved = These options have been moved to Network > Local Servers/Proxies.
network.ui.options.legacy.ratelimit = Rate Limit
network.ui.options.localservers.add.button = Add
Expand Down

0 comments on commit f671570

Please sign in to comment.