mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Fix typos (#1141)
Found via `codespell -S omnibus,*.json,yarn.lock,seeds.exs -L keypair,keypairs,iif,statics,wee`
This commit is contained in:
2
.github/workflows/static_analysis.yml
vendored
2
.github/workflows/static_analysis.yml
vendored
@@ -58,7 +58,7 @@ jobs:
|
||||
run: |
|
||||
pip install -r requirements.txt
|
||||
# Don't cache PLTs based on mix.lock hash, as Dialyzer can incrementally update even old ones
|
||||
# Cache key based on Elixir & Erlang version (also usefull when running in matrix)
|
||||
# Cache key based on Elixir & Erlang version (also useful when running in matrix)
|
||||
- name: Restore PLT cache
|
||||
uses: actions/cache@v3.0.11
|
||||
id: plt_cache
|
||||
|
||||
@@ -4,7 +4,7 @@ defmodule FzCommon.FzStringTest do
|
||||
alias FzCommon.FzString
|
||||
|
||||
describe "sanitize_filename/1" do
|
||||
test "santizes sequential spaces" do
|
||||
test "sanitizes sequential spaces" do
|
||||
assert "Factory_Device" == FzString.sanitize_filename("Factory Device")
|
||||
end
|
||||
end
|
||||
|
||||
@@ -18,7 +18,7 @@ defmodule FzHttp.Events do
|
||||
Notifications.add(%{
|
||||
type: :error,
|
||||
message: """
|
||||
#{device.name} was created successfully but an error occured applying its
|
||||
#{device.name} was created successfully but an error occurred applying its
|
||||
configuration to the WireGuard interface. Check the logs for more
|
||||
information.
|
||||
""",
|
||||
@@ -49,7 +49,7 @@ defmodule FzHttp.Events do
|
||||
Notifications.add(%{
|
||||
type: :error,
|
||||
message: """
|
||||
#{device.name} was deleted successfully but an error occured applying its
|
||||
#{device.name} was deleted successfully but an error occurred applying its
|
||||
configuration to the WireGuard interface. Check the logs for more
|
||||
information.
|
||||
""",
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
<div class="field">
|
||||
<%= label(f, :mtu, "Interface MTU", class: "label") %>
|
||||
<p>The WireGuard interface MTU for this Device.</p>
|
||||
<div class="contro">
|
||||
<div class="control">
|
||||
<%= text_input(f, :mtu,
|
||||
class: "input #{input_error_class(f, :mtu)}",
|
||||
disabled: @use_site_mtu
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<td class="is-vcentered"><%= notification.message %></td>
|
||||
<td class="has-text-centered is-vcentered">
|
||||
<button
|
||||
title="Dissmiss notification"
|
||||
title="Dismiss notification"
|
||||
class="delete is-medium"
|
||||
phx-click="clear_notification"
|
||||
phx-value-index={index}
|
||||
|
||||
@@ -112,7 +112,7 @@ defmodule FzVpn.Interface do
|
||||
Remove a peer from an interface.
|
||||
|
||||
If successful we return an :ok status. If the peer fails to be removed from
|
||||
the interface, `{:errorr, error_info}` will be logged and returned.
|
||||
the interface, `{:error, error_info}` will be logged and returned.
|
||||
"""
|
||||
def remove_peer(name, public_key) do
|
||||
result = wg_adapter().remove_peer(name, public_key)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
defmodule FzWall.CLI.Helpers.Nft do
|
||||
@moduledoc """
|
||||
Helper module concering nft commands
|
||||
Helper module concerning nft commands
|
||||
"""
|
||||
import FzCommon.CLI
|
||||
import FzCommon.FzNet, only: [standardized_inet: 1]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
defmodule FzWall.CLI.Helpers.Sets do
|
||||
@moduledoc """
|
||||
Helper module concering nft's named sets
|
||||
Helper module concerning nft's named sets
|
||||
"""
|
||||
|
||||
@actions [:drop, :accept]
|
||||
|
||||
@@ -116,7 +116,7 @@ components:
|
||||
init:
|
||||
summary: Gateway initialization
|
||||
description: |
|
||||
This message indiciates the gateway should reconfigure itself with the contained configuration.
|
||||
This message indicates the gateway should reconfigure itself with the contained configuration.
|
||||
properties:
|
||||
init:
|
||||
type: object
|
||||
|
||||
@@ -34,7 +34,7 @@ modify the following parameters:
|
||||
|
||||
1. **Name**: `Firezone`
|
||||
1. **Domain**: The domain will be used to construct
|
||||
the url to retreive the OIDC discovery document -
|
||||
the url to retrieve the OIDC discovery document -
|
||||
`https://<AUTH0_DOMAIN>/.well-known/openid-configuration`
|
||||
1. **Icon**:
|
||||
[Firezone icon](https://user-images.githubusercontent.com/52545545/156854754-da66a9e1-33d5-47f5-877f-eff8b330ab2b.png)
|
||||
|
||||
@@ -42,7 +42,7 @@ then click **New**.
|
||||
Give the application a name (e.g. "Firezone") and select **WEB**
|
||||
for the application type.
|
||||
|
||||

|
||||

|
||||
|
||||
Select **CODE** for the authentication method.
|
||||
|
||||
@@ -58,7 +58,7 @@ Specify the redirect URI and post logout URI.
|
||||
|
||||
Double-check the configuration, then click **Create**.
|
||||
|
||||

|
||||

|
||||
|
||||
Copy the **ClientId** and **ClientSecret** as it will be used for the Firezone
|
||||
configuration.
|
||||
|
||||
@@ -28,7 +28,7 @@ default port change the `WIREGUARD_PORT` variable.
|
||||
* UDP traceroute (UDP dport 33434-33524, rate limited to 500/second)
|
||||
* Unmatched traffic will be logged. The rules used for logging are separated
|
||||
from the rules to drop traffic and are rate limited. Removing the relevant
|
||||
logging rules will not affect trafic.
|
||||
logging rules will not affect traffic.
|
||||
|
||||
#### Firezone Managed Rules
|
||||
|
||||
|
||||
Reference in New Issue
Block a user