aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Wise <pabs3@bonedaddy.net>2022-10-26 04:00:31 +0800
committerGitHub <noreply@github.com>2022-10-25 20:00:31 +0000
commitac9190cf3f4f698bd9ba403cc1a27f5bc7dde7b1 (patch)
tree54981a4be937c96eb5f9f214107d68c55ee1e9dd
parentMoved some configs to package.json, removed an unnecessary dependency, added ... (diff)
downloadlibredirect-ac9190cf3f4f698bd9ba403cc1a27f5bc7dde7b1.zip
Clean up various minor issues (#506)
* Fix spelling and capitalisation errors Suggested-by: codespell & spellintian * Drop inkscape:export-filename attributes from svg elements in SVG files These paths represent privacy leaks and are incorrect on other systems.
-rw-r--r--.gitea/issue_template/bug.md2
-rw-r--r--.gitea/issue_template/feature.md4
-rw-r--r--Privacy-Policy.md2
-rw-r--r--README.md4
-rw-r--r--chromium.md2
-rw-r--r--img/chromium-badge.svg6
-rw-r--r--img/libredirect-cover-photo.svg1
-rw-r--r--img/libredirect_full.svg5
-rw-r--r--img/patreon.svg1
-rw-r--r--src/assets/images/libredirect.svg5
10 files changed, 7 insertions, 25 deletions
diff --git a/.gitea/issue_template/bug.md b/.gitea/issue_template/bug.md
index 3dfb0b73..c4016d46 100644
--- a/.gitea/issue_template/bug.md
+++ b/.gitea/issue_template/bug.md
@@ -27,6 +27,6 @@ Libredirect version:
<!--Just drag and drop any screenshots or videos you have of the issue below-->
<br>
-<!--Put an "x" inbetween the brackets to confirm-->
+<!--Put an "x" between the brackets to confirm-->
- [ ] I have checked on codeberg and github and can confirm this issue is not a duplicate.
diff --git a/.gitea/issue_template/feature.md b/.gitea/issue_template/feature.md
index 6993b6d4..0e13c21c 100644
--- a/.gitea/issue_template/feature.md
+++ b/.gitea/issue_template/feature.md
@@ -5,11 +5,11 @@ labels:
- "Kind: Feature"
---
-## Describe your current issue/inconvinience
+## Describe your current issue/inconvenience
## Explain how this new feature will solve this
<br>
-<!--Put an "x" inbetween the brackets to confirm-->
+<!--Put an "x" between the brackets to confirm-->
- [ ] I have checked on codeberg and github and can confirm this issue is not a duplicate.
diff --git a/Privacy-Policy.md b/Privacy-Policy.md
index 5445fcc8..d2878c79 100644
--- a/Privacy-Policy.md
+++ b/Privacy-Policy.md
@@ -6,7 +6,7 @@
OpenStreetMap (OSM) reverse geocoding, done via the [OSM Nomantim API](https://nominatim.org/release-docs/develop/api/Overview/),
used as part of OSM redirects, which can be disabled by toggling the OSM redirects.
- It also connects to [this url](https://raw.githubusercontent.com/libredirect/libredirect/master/src/instances/data.json) to update the Instances List. Though this only gets triggered when the user presses the `Update Instances` button.
-- For bibliogram instances. To set a cookie you should send an http request to the server as the server stores settings values itself and gives you a token to access them.
+- For bibliogram instances. To set a cookie you should send an HTTP request to the server as the server stores settings values itself and gives you a token to access them.
## Future Changes
diff --git a/README.md b/README.md
index 09ddf433..4d57cf55 100644
--- a/README.md
+++ b/README.md
@@ -70,7 +70,7 @@ npm update
npm install
```
-To generate html that uses `config.json` (needed to develop/build the extention), run:
+To generate HTML that uses `config.json` (needed to develop/build the extension), run:
```
npm run ejs
@@ -78,7 +78,7 @@ npm run ejs
Afterwards, you will need to run it if you modify `config.json` or any files ending with .ejs.
-### Build the extention zip archive:
+### Build the extension zip archive:
```
npm run build
diff --git a/chromium.md b/chromium.md
index af67a834..3f3693d2 100644
--- a/chromium.md
+++ b/chromium.md
@@ -3,7 +3,7 @@
- Download the latest `.crx` file: [libredirect-2.3.4.crx](https://github.com/libredirect/libredirect/releases/download/v2.3.4/libredirect-2.3.4.crx)
- Open `chrome://extensions`
- Enable `dev mode`
-- Rerfesh the page
+- Refresh the page
- Drag and drop the `.crx` file to the page
Updates are automatic
diff --git a/img/chromium-badge.svg b/img/chromium-badge.svg
index 36a29cd4..d7229a28 100644
--- a/img/chromium-badge.svg
+++ b/img/chromium-badge.svg
@@ -7,7 +7,6 @@
viewBox="0 0 60.519775 21.431252"
version="1.1"
id="svg5"
- inkscape:export-filename="/home/esmail/Desktop/badge-chromium.png"
inkscape:export-xdpi="128"
inkscape:export-ydpi="128"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
@@ -103,7 +102,6 @@
y="151.16965"
rx="2.0848312"
ry="2.0902083"
- inkscape:export-filename="/home/esmail/Desktop/rect26364.png"
inkscape:export-xdpi="115.2"
inkscape:export-ydpi="115.2" />
<image
@@ -114,13 +112,11 @@
id="image832"
x="137.35938"
y="151.16965"
- inkscape:export-filename="/home/esmail/Desktop/rect26364.png"
inkscape:export-xdpi="115.2"
inkscape:export-ydpi="115.2" />
<g
id="g872"
transform="matrix(0.03495208,0,0,0.03504223,193.54644,152.64989)"
- inkscape:export-filename="/home/esmail/Desktop/rect26364.png"
inkscape:export-xdpi="115.2"
inkscape:export-ydpi="115.2"
style="stroke-width:0.760472">
@@ -172,7 +168,6 @@
x="214.87363"
y="159.88052"
id="text5452"
- inkscape:export-filename="/home/esmail/Desktop/rect26364.png"
inkscape:export-xdpi="115.2"
inkscape:export-ydpi="115.2"
transform="scale(0.99871289,1.0012888)"><tspan
@@ -187,7 +182,6 @@
x="214.51498"
y="166.31212"
id="text5746"
- inkscape:export-filename="/home/esmail/Desktop/rect26364.png"
inkscape:export-xdpi="115.2"
inkscape:export-ydpi="115.2"
transform="scale(0.99871289,1.0012888)"><tspan
diff --git a/img/libredirect-cover-photo.svg b/img/libredirect-cover-photo.svg
index d3f79cb4..6b05a5df 100644
--- a/img/libredirect-cover-photo.svg
+++ b/img/libredirect-cover-photo.svg
@@ -7,7 +7,6 @@
viewBox="0 0 423.33333 105.83333"
version="1.1"
id="svg5"
- inkscape:export-filename="/home/esmail/Desktop/libredirect-cover-photo.png"
inkscape:export-xdpi="115.2"
inkscape:export-ydpi="115.2"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
diff --git a/img/libredirect_full.svg b/img/libredirect_full.svg
index 8e8f6fea..afb9b6ea 100644
--- a/img/libredirect_full.svg
+++ b/img/libredirect_full.svg
@@ -7,7 +7,6 @@
viewBox="0 0 1701.7863 333.36884"
version="1.1"
id="svg5"
- inkscape:export-filename="/home/parsarch/bitmap.png"
inkscape:export-xdpi="78.019997"
inkscape:export-ydpi="78.019997"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
@@ -78,14 +77,12 @@
style="fill:#000000;fill-opacity:1;stroke-width:10.6446;stroke-linejoin:bevel;paint-order:stroke markers fill;stop-color:#000000"
d="m 166.68447,1.5258789e-5 c -3.52434,0 -7.04775,1.350880241211 -9.74829,4.051407541211 L 4.050805,156.93523 c -5.4010733,5.40105 -5.4010733,14.09797 0,19.49903 l 152.885375,152.8838 c 5.40106,5.40105 14.09676,5.40105 19.49783,0 l 152.88412,-152.8838 c 5.40106,-5.40106 5.40106,-14.09798 0,-19.49903 L 176.43401,4.0514228 C 173.73349,1.3508955 170.2088,1.5258789e-5 166.68447,1.5258789e-5 Z"
sodipodi:nodetypes="sccccccscs"
- inkscape:export-filename="/home/parsarch/path983.png"
inkscape:export-xdpi="78.019997"
inkscape:export-ydpi="78.019997" />
<path
id="path1147"
style="fill:#fbc118;fill-opacity:1;stroke-width:10.6446;stroke-linejoin:bevel;paint-order:stroke markers fill;stop-color:#000000"
d="m 166.68447,1.5258789e-5 c -3.52434,0 -7.04775,1.350880241211 -9.74829,4.051407541211 L 4.050805,156.93523 c -5.4010733,5.40105 -5.4010733,14.09797 0,19.49903 l 152.885375,152.8838 c 5.40106,5.40105 14.09676,5.40105 19.49783,0 l 152.88412,-152.8838 c 5.40106,-5.40106 5.40106,-14.09798 0,-19.49903 L 176.43401,4.0514228 C 173.73349,1.3508955 170.2088,1.5258789e-5 166.68447,1.5258789e-5 Z m 0,10.719943741211 c 3.2977,0 6.5954,1.263101 9.12228,3.78996 L 318.85962,157.56247 c 5.05373,5.05374 5.05373,13.1908 0,18.24454 L 175.80675,318.85957 c -5.05375,5.05374 -13.19085,5.05374 -18.24457,0 L 14.509325,175.80701 c -5.0537517,-5.05374 -5.0537517,-13.1908 0,-18.24454 L 157.56218,14.509919 c 2.52687,-2.526859 5.82459,-3.78996 9.12229,-3.78996 z"
- inkscape:export-filename="/home/parsarch/path983.png"
inkscape:export-xdpi="78.019997"
inkscape:export-ydpi="78.019997" />
<rect
@@ -97,7 +94,6 @@
y="129.73819"
transform="matrix(0.70710753,-0.70710617,0.70710753,0.70710617,0,0)"
ry="11.988618"
- inkscape:export-filename="/home/parsarch/path983.png"
inkscape:export-xdpi="78.019997"
inkscape:export-ydpi="78.019997" />
<path
@@ -105,7 +101,6 @@
d="m 184.9484,150.31257 c -47.94368,20.63825 -46.95176,86.74351 -46.95176,86.74351 l -33.49195,2e-5 c 0,0 -0.43631,-96.71487 73.1579,-116.43438 -6.91258,-13.8541 -10.36137,-19.42664 -5.93301,-21.619621 5.93589,-2.939527 68.02199,11.715951 70.34687,20.392521 2.28516,8.52832 -46.82723,53.14308 -53.65602,53.14308 -5.85198,0 -4.22909,-7.02227 -3.47216,-22.22513 z"
id="path983"
sodipodi:nodetypes="ccccssscc"
- inkscape:export-filename="/home/parsarch/path983.png"
inkscape:export-xdpi="78.019997"
inkscape:export-ydpi="78.019997" />
<g
diff --git a/img/patreon.svg b/img/patreon.svg
index a8ff1312..7d7de18b 100644
--- a/img/patreon.svg
+++ b/img/patreon.svg
@@ -7,7 +7,6 @@
viewBox="0 0 23.940294 8.4666664"
version="1.1"
id="svg5"
- inkscape:export-filename="/mnt/main_storage/Git/libredirect/img/patreon.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
diff --git a/src/assets/images/libredirect.svg b/src/assets/images/libredirect.svg
index c57fca1b..87cb1e96 100644
--- a/src/assets/images/libredirect.svg
+++ b/src/assets/images/libredirect.svg
@@ -7,7 +7,6 @@
viewBox="0 0 333.36893 333.3689"
version="1.1"
id="svg5"
- inkscape:export-filename="/home/parsarch/bitmap.png"
inkscape:export-xdpi="78.019997"
inkscape:export-ydpi="78.019997"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20, custom)"
@@ -78,14 +77,12 @@
style="fill:#000000;fill-opacity:1;stroke-width:10.6446;stroke-linejoin:bevel;paint-order:stroke markers fill;stop-color:#000000"
d="m 166.68447,1.5258789e-5 c -3.52434,0 -7.04775,1.350880241211 -9.74829,4.051407541211 L 4.050805,156.93523 c -5.4010733,5.40105 -5.4010733,14.09797 0,19.49903 l 152.885375,152.8838 c 5.40106,5.40105 14.09676,5.40105 19.49783,0 l 152.88412,-152.8838 c 5.40106,-5.40106 5.40106,-14.09798 0,-19.49903 L 176.43401,4.0514228 C 173.73349,1.3508955 170.2088,1.5258789e-5 166.68447,1.5258789e-5 Z"
sodipodi:nodetypes="sccccccscs"
- inkscape:export-filename="/home/parsarch/path983.png"
inkscape:export-xdpi="78.019997"
inkscape:export-ydpi="78.019997" />
<path
id="path1147"
style="fill:#fbc118;fill-opacity:1;stroke-width:10.6446;stroke-linejoin:bevel;paint-order:stroke markers fill;stop-color:#000000"
d="m 166.68447,1.5258789e-5 c -3.52434,0 -7.04775,1.350880241211 -9.74829,4.051407541211 L 4.050805,156.93523 c -5.4010733,5.40105 -5.4010733,14.09797 0,19.49903 l 152.885375,152.8838 c 5.40106,5.40105 14.09676,5.40105 19.49783,0 l 152.88412,-152.8838 c 5.40106,-5.40106 5.40106,-14.09798 0,-19.49903 L 176.43401,4.0514228 C 173.73349,1.3508955 170.2088,1.5258789e-5 166.68447,1.5258789e-5 Z m 0,10.719943741211 c 3.2977,0 6.5954,1.263101 9.12228,3.78996 L 318.85962,157.56247 c 5.05373,5.05374 5.05373,13.1908 0,18.24454 L 175.80675,318.85957 c -5.05375,5.05374 -13.19085,5.05374 -18.24457,0 L 14.509325,175.80701 c -5.0537517,-5.05374 -5.0537517,-13.1908 0,-18.24454 L 157.56218,14.509919 c 2.52687,-2.526859 5.82459,-3.78996 9.12229,-3.78996 z"
- inkscape:export-filename="/home/parsarch/path983.png"
inkscape:export-xdpi="78.019997"
inkscape:export-ydpi="78.019997" />
<rect
@@ -97,7 +94,6 @@
y="129.73819"
transform="matrix(0.70710753,-0.70710617,0.70710753,0.70710617,0,0)"
ry="11.988618"
- inkscape:export-filename="/home/parsarch/path983.png"
inkscape:export-xdpi="78.019997"
inkscape:export-ydpi="78.019997" />
<path
@@ -105,7 +101,6 @@
d="m 184.9484,150.31257 c -47.94368,20.63825 -46.95176,86.74351 -46.95176,86.74351 l -33.49195,2e-5 c 0,0 -0.43631,-96.71487 73.1579,-116.43438 -6.91258,-13.8541 -10.36137,-19.42664 -5.93301,-21.619621 5.93589,-2.939527 68.02199,11.715951 70.34687,20.392521 2.28516,8.52832 -46.82723,53.14308 -53.65602,53.14308 -5.85198,0 -4.22909,-7.02227 -3.47216,-22.22513 z"
id="path983"
sodipodi:nodetypes="ccccssscc"
- inkscape:export-filename="/home/parsarch/path983.png"
inkscape:export-xdpi="78.019997"
inkscape:export-ydpi="78.019997" />
</g>