Skip to content

Fix typos discovered by codespell #366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/adr/0002-no-fde-on-unattended-devices.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ physical media backing the system become compromised. If the key to unencrypt
the media is present on the device (e.g., stored as a file), the storage
may as well not be encrypted at all.

As a result, using Full Disk Encrpytion (FDE) on a device required an
As a result, using Full Disk Encryption (FDE) on a device required an
operator to provide the key in order for the system to boot; without an
operator providing the key, the system will not boot. Therefore, devices
must either be attended or they may not utilize Full Disk Encryption. Since
Expand Down
2 changes: 1 addition & 1 deletion doc/adr/0003-rfc-3339-dates-times.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Saving Time changes (periodic or legislative).
## Decision

RFC-3339 has been chosen to represent dates and times which are to be
represented according to Coordinated Univeral Time (UTC).
represented according to Coordinated Universal Time (UTC).

## Consequences

Expand Down
8 changes: 4 additions & 4 deletions doc/adr/0004-basic-security-scanning.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ Proposed

We need to add basic automated security scanning for the PiSpots code.

For Phase 3 we need security scanning which will have automated tooling that scans our code, containers, DB, etc. for the most common security concerns, dependency updates, etc. Based on the reserch we should have two good SAST (static aplication security testing) and two good DAST (dynamic application security testing) tools.
For Phase 3 we need security scanning which will have automated tooling that scans our code, containers, DB, etc. for the most common security concerns, dependency updates, etc. Based on the research we should have two good SAST (static application security testing) and two good DAST (dynamic application security testing) tools.
Code scanning should include :
- looking for vulnerabilities in the source code
- looking for bad/unsafe variabels
- looking for vulnerable dependancies
- looking for bad/unsafe variables
- looking for vulnerable dependencies
- input validation
- execution control analysis
- API scanning
Expand All @@ -30,4 +30,4 @@ We are going to use tools that are supported in other GSA applications for Phase

## Consequences

A license for snyk.io needs to be aquired. MegaLinter needs to be updated with any new SAST tools and checked for conflicts.
A license for snyk.io needs to be acquired. MegaLinter needs to be updated with any new SAST tools and checked for conflicts.
2 changes: 1 addition & 1 deletion doc/adr/0005-auth-pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The authentication process is for preventing an unauthorized user or device from

Without authentication a requester sends a GET or POST to the API and then the API passes the request to the database to process.

While this is good for a private system, it is not safe for a public system so it requires the implementation of authentication using a method to authenticate the requestor.
While this is good for a private system, it is not safe for a public system so it requires the implementation of authentication using a method to authenticate the requester.

## Decision

Expand Down
2 changes: 1 addition & 1 deletion doc/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pre-commit's git hooks:
pre-commit install
```

This sould only have to be performed once.
This should only have to be performed once.

More information is available on the [pre-commit website](https://pre-commit.com/#3-install-the-git-hook-scripts).

Expand Down
4 changes: 2 additions & 2 deletions imls-backend/DATABASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ You will need to create a new database connection. The connection parameters wil
[22,23,23,27,26,21,23,37,44,50,66,75,75,75,70,88,88,86,70,30,25,25,25,25]

- bin_devices_over_time
- `curl “http://localhost:3000/rpc/{function_or_sp_name}?_start={DATE variable}&_fscs_id={TEXT variable}&direction={BOOL varialbe}&_days={INT variable}“`
- `curl “http://localhost:3000/rpc/{function_or_sp_name}?_start={DATE variable}&_fscs_id={TEXT variable}&direction={BOOL variable}&_days={INT variable}“`
- EXAMPLE:
`curl "http://localhost:3000/rpc/bin_devices_over_time?_start=2022-05-10&_fscs_id=AA0003-001&_direction=true&_days=2"`
- Returns an array of INTs (device counts per hour) starting at 12 AM EDT, length 24, for Date+1 Day
- EXAMPLE:
[[12,13,13,13,13,13,17,17,15,16,21,22,20,23,20,16,18,21,21,20,20,26,21,21],[26,26,26,25,24,25,25,24,23,27,21,20,18,19,23,17,20,15,18,20,18,15,15,14]]

- update_presence
- `curl “http://localhost:3000/rpc/update_presence?_start={TIMESTAMPTZ variable}&_end={TIMESTAMPTZ variable}_fscs_id={CHAR(16) variable}&_sensor={INT varialbe}&_manufacture={INT variable}“`
- `curl “http://localhost:3000/rpc/update_presence?_start={TIMESTAMPTZ variable}&_end={TIMESTAMPTZ variable}_fscs_id={CHAR(16) variable}&_sensor={INT variable}&_manufacture={INT variable}“`
- EXAMPLE:
`curl “http://localhost:3000/rpc/update_presence?_start=2022-09-12 02:21:50+00&_end=2022-09-12 04:21:50+00&_fscs_id=AA0003-001&_sensor=2&_manufacture=7”`
- Returns sensor_id upon success requires valid JWT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ data below, following the example that
follows.
----------------------------------------
USWDS automatically generates @font-face
decalarations for the following
declarations for the following

'merriweather'
'public-sans'
Expand Down
2 changes: 1 addition & 1 deletion imls-frontend/src/components/USWDSTable.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe("USWDSUSWDSTable", () => {
expect(wrapper.find("caption").text()).toEqual("New caption");
});

it("should render the specificed number of table rows and columns", () => {
it("should render the specified number of table rows and columns", () => {
const wrapper = mount(USWDSTable, {
props: {
rows: [
Expand Down