Found via `codespell -S omnibus,*.json,yarn.lock,seeds.exs -L keypair,keypairs,iif,statics,wee`
This commit is contained in:
Kian-Meng Ang
2022-11-24 13:42:54 +08:00
committed by GitHub
parent 11b24866ef
commit ec5f0e24ae
12 changed files with 14 additions and 14 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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.
""",

View File

@@ -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

View File

@@ -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}

View File

@@ -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)

View File

@@ -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]

View File

@@ -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]

View File

@@ -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

View File

@@ -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)

View File

@@ -42,7 +42,7 @@ then click **New**.
Give the application a name (e.g. "Firezone") and select **WEB**
for the application type.
![Name the applicaiton and select type WEB](https://user-images.githubusercontent.com/42775578/190860326-cb6998a1-035a-4324-89f8-3c31fb2dfeea.png)
![Name the application and select type WEB](https://user-images.githubusercontent.com/42775578/190860326-cb6998a1-035a-4324-89f8-3c31fb2dfeea.png)
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**.
![Configuratin Overview](https://user-images.githubusercontent.com/42775578/190860669-f478d930-24a0-4854-8631-bc3b1025e3db.png)
![Configuration Overview](https://user-images.githubusercontent.com/42775578/190860669-f478d930-24a0-4854-8631-bc3b1025e3db.png)
Copy the **ClientId** and **ClientSecret** as it will be used for the Firezone
configuration.

View File

@@ -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