From 555a0f0761c277994b3757897d69210fa7b13b79 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 4 Nov 2025 13:30:05 -0500 Subject: [PATCH] [DATALAD RUNCMD] chore: run codespell throughout fixing a few typos interactively === Do not change lines below === { "chain": [], "cmd": "codespell -w -i 3 -C 4", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ --- bin/mtag/very-bad-idea.py | 2 +- contrib/media-osd-bgone.ps1 | 2 +- copyparty/__main__.py | 2 +- copyparty/authsrv.py | 2 +- copyparty/httpcli.py | 2 +- copyparty/mtag.py | 2 +- copyparty/web/browser.js | 2 +- docs/changelog.md | 6 +++--- docs/chungus.conf | 2 +- docs/notes.sh | 2 +- docs/up2k.txt | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/bin/mtag/very-bad-idea.py b/bin/mtag/very-bad-idea.py index 50cd390d..37bea9da 100755 --- a/bin/mtag/very-bad-idea.py +++ b/bin/mtag/very-bad-idea.py @@ -166,7 +166,7 @@ def open_url(txt): # nope, # close any error messages: sp.call(["xdotool", "search", "--name", "Error", "windowclose"]) - # sp.call(["xdotool", "key", "ctrl+alt+d"]) # doesnt work at all + # sp.call(["xdotool", "key", "ctrl+alt+d"]) # does not work at all # sp.call(["xdotool", "keydown", "--delay", "100", "ctrl+alt+d"]) # sp.call(["xdotool", "keyup", "ctrl+alt+d"]) sp.call(["xdg-open", txt]) diff --git a/contrib/media-osd-bgone.ps1 b/contrib/media-osd-bgone.ps1 index 8018bd69..db0f0230 100644 --- a/contrib/media-osd-bgone.ps1 +++ b/contrib/media-osd-bgone.ps1 @@ -14,7 +14,7 @@ # then create a shortcut to that bat-file and move the shortcut here: # %appdata%\Microsoft\Windows\Start Menu\Programs\Startup # -# and now this will autorun on bootup +# and now this will autorun on boot-up Add-Type -TypeDefinition @" diff --git a/copyparty/__main__.py b/copyparty/__main__.py index bc847738..304af8fd 100644 --- a/copyparty/__main__.py +++ b/copyparty/__main__.py @@ -1711,7 +1711,7 @@ def add_db_general(ap, hcores): ap2.add_argument("--no-idx", metavar="PTN", type=u, default=noidx, help="regex: disable indexing of matching absolute-filesystem-paths during e2ds folder scan (must be specified as one big regex, not multiple times) (volflag=noidx)") ap2.add_argument("--no-dirsz", action="store_true", help="do not show total recursive size of folders in listings, show inode size instead; slightly faster (volflag=nodirsz)") ap2.add_argument("--re-dirsz", action="store_true", help="if the directory-sizes in the UI are bonkers, use this along with \033[33m-e2dsa\033[0m to rebuild the index from scratch") - ap2.add_argument("--no-dhash", action="store_true", help="disable rescan acceleration; do full database integrity check -- makes the db ~5%% smaller and bootup/rescans 3~10x slower") + ap2.add_argument("--no-dhash", action="store_true", help="disable rescan acceleration; do full database integrity check -- makes the db ~5%% smaller and boot-up/rescans 3~10x slower") ap2.add_argument("--re-dhash", action="store_true", help="force a cache rebuild on startup; enable this once if it gets out of sync (should never be necessary)") ap2.add_argument("--no-forget", action="store_true", help="never forget indexed files, even when deleted from disk -- makes it impossible to ever upload the same file twice -- only useful for offloading uploads to a cloud service or something (volflag=noforget)") ap2.add_argument("--forget-ip", metavar="MIN", type=int, default=0, help="remove uploader-IP from database (and make unpost impossible) \033[33mMIN\033[0m minutes after upload, for GDPR reasons. Default [\033[32m0\033[0m] is never-forget. [\033[32m1440\033[0m]=day, [\033[32m10080\033[0m]=week, [\033[32m43200\033[0m]=month. (volflag=forget_ip)") diff --git a/copyparty/authsrv.py b/copyparty/authsrv.py index b6ac299e..cd10543b 100644 --- a/copyparty/authsrv.py +++ b/copyparty/authsrv.py @@ -2648,7 +2648,7 @@ class AuthSrv(object): for mtp in local_only_mtp: if mtp not in local_mte: - t = 'volume "/{}" defines metadata tag "{}", but doesnt use it in "-mte" (or with "cmte" in its volflags)' + t = 'volume "/{}" defines metadata tag "{}", but does not use it in "-mte" (or with "cmte" in its volflags)' self.log(t.format(vol.vpath, mtp), 1) errors = True diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 2abea441..d4e330fc 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -2081,7 +2081,7 @@ class HttpCli(object): oh["Dav"] = "1, 2" oh["Ms-Author-Via"] = "DAV" - # winxp-webdav doesnt know what 204 is + # winxp-webdav does not know what 204 is self.send_headers(0, 200) return True diff --git a/copyparty/mtag.py b/copyparty/mtag.py index a22fa0dd..2ddf1aec 100644 --- a/copyparty/mtag.py +++ b/copyparty/mtag.py @@ -320,7 +320,7 @@ def parse_ffprobe( if v2 is None or zf > v2: ret[rk] = zf except: - # sqlite doesnt care but the code below does + # sqlite does not care but the code below does if v1 not in ["N/A"]: ret[rk] = v1 else: diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 12ff96b9..12a36c9d 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -2236,7 +2236,7 @@ var vbar = (function () { setTimeout(function () { if (IPHONE && mp.au && mul < 0.9 && mp.au.volume == 1) - toast.inf(6, 'volume doesnt work because apple says no'); + toast.inf(6, 'volume does not work because apple says no'); }, 1); } can.onmousedown = function (e) { diff --git a/docs/changelog.md b/docs/changelog.md index 2b5a8b95..c899fca6 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -3699,7 +3699,7 @@ don't get excited! nothing new and revolutionary, but `xvol` and `xdev` changed ## bugfixes * more sqlite query-planner twiddling - * deleting files is MUCH faster now, and uploads / bootup might be a bit better too + * deleting files is MUCH faster now, and uploads / boot-up might be a bit better too * webdav optimizations / compliance * should make some webdav clients run faster than before * in very related news, the webdav-client in [rclone](https://github.com/rclone/rclone/) v1.63 ([currently beta](https://beta.rclone.org/?filter=latest)) will be ***FAST!*** @@ -4420,7 +4420,7 @@ after two exciting releases, time for something boring ## new features *but wait, there's more!*   not only do you get the [multithreaded file hashing](https://github.com/9001/copyparty/releases/tag/v1.3.11) but also -- -* faster bootup and volume reindexing when `-e2ds` (file indexing) is enabled +* faster boot-up and volume reindexing when `-e2ds` (file indexing) is enabled * `3x` faster is probably the average on most instances; more files per folder = faster * `9x` faster on a 36 TiB zfs music/media nas with `-e2ts` (metadata indexing), dropping from 46sec to 5sec * and `34x` on another zfs box, 63sec -> 1.8sec @@ -7184,7 +7184,7 @@ nothing really important happened since [v0.11.6](https://github.com/9001/copypa ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ -# 2021-0608-0741 `v0.11.10` dont leave me hangin +# 2021-0608-0741 `v0.11.10` dont leave me hanging * drop-in upgrade, no additional steps since [v0.11.1](https://github.com/9001/copyparty/releases/tag/v0.11.1) * nothing really important since [v0.11.6](https://github.com/9001/copyparty/releases/tag/v0.11.6) diff --git a/docs/chungus.conf b/docs/chungus.conf index a8e34516..ef52ebc7 100644 --- a/docs/chungus.conf +++ b/docs/chungus.conf @@ -1248,7 +1248,7 @@ # if the directory-sizes in the UI are bonkers, use this along with -e2dsa to rebuild the index from scratch re-dirsz - # disable rescan acceleration; do full database integrity check -- makes the db ~5% smaller and bootup/rescans 3~10x slower + # disable rescan acceleration; do full database integrity check -- makes the db ~5% smaller and boot-up/rescans 3~10x slower no-dhash # force a cache rebuild on startup; enable this once if it gets out of sync (should never be necessary) diff --git a/docs/notes.sh b/docs/notes.sh index 9152d4ac..41d43831 100644 --- a/docs/notes.sh +++ b/docs/notes.sh @@ -271,7 +271,7 @@ brew install python@2 pip install virtualenv # fix firefox phantom breakpoints, -# suggestions from bugtracker, doesnt work (debugger is not attachable) +# suggestions from bugtracker, does not work (debugger is not attachable) devtools settings >> advanced >> enable browser chrome debugging + enable remote debugging burger > developer >> browser toolbox (ctrl-alt-shift-i) iframe btn topright >> chrome://devtools/content/debugger/index.html diff --git a/docs/up2k.txt b/docs/up2k.txt index 5c07b4e4..35c387ec 100644 --- a/docs/up2k.txt +++ b/docs/up2k.txt @@ -17,7 +17,7 @@ server creates session id and replies with the same json: secretsalt, name, size, *hash ]))[:32].replace('+','-').replace('/','_') -cilent uploads each chunk: +client uploads each chunk: POST application/octet-stream X-Up2k-Hash: fUGShzwcSAmw5IbQ3y_2TUrI8a89LYQO-kW0o0rRcU0 X-Up2k-Wark: CVNt9EYhgTFHU3xiK6gL-0ciJFopshvo