Skip to content

Commit e9d962f

Browse files
committed
v1.15.1
1 parent b540517 commit e9d962f

File tree

5 files changed

+48
-4
lines changed

5 files changed

+48
-4
lines changed

copyparty/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1475,6 +1475,7 @@ def run_argparse(
14751475
) -> argparse.Namespace:
14761476
ap = argparse.ArgumentParser(
14771477
formatter_class=formatter,
1478+
usage=argparse.SUPPRESS,
14781479
prog="copyparty",
14791480
description="http file sharing hub v{} ({})".format(S_VERSION, S_BUILD_DT),
14801481
)

copyparty/__version__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# coding: utf-8
22

3-
VERSION = (1, 15, 0)
3+
VERSION = (1, 15, 1)
44
CODENAME = "fill the drives"
5-
BUILD_DT = (2024, 9, 8)
5+
BUILD_DT = (2024, 9, 9)
66

77
S_VERSION = ".".join(map(str, VERSION))
88
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)

docs/changelog.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,46 @@
1+
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
2+
# 2024-0908-1925 `v1.15.0` fill the drives
3+
4+
## recent important news
5+
6+
* [v1.15.0 (2024-09-08)](https://github.com/9001/copyparty/releases/tag/v1.15.0) changed upload deduplication to be default-disabled
7+
* [v1.14.3 (2024-08-30)](https://github.com/9001/copyparty/releases/tag/v1.14.3) fixed a bug that was introduced in v1.13.8 (2024-08-13); this bug could lead to **data loss** -- see the v1.14.3 release-notes for details
8+
9+
# upload deduplication now disabled by default
10+
11+
because many people found the behavior surprising. This also makes it easier to use copyparty together with other software, since there is no risk of damage to symlinks if there are no symlinks to damage
12+
13+
to enable deduplication, use either `--dedup` (old-default, symlink-based), or `--hardlink` (will use hardlinks when possible), or `--hardlink-only` (disallow symlinks). To choose the approach that fits your usecase, see [file deduplication](https://github.com/9001/copyparty#file-deduplication) in the readme
14+
15+
verification of local file consistency was also added; this happens when someone uploads a dupe, to ensure that no other software has modified the local file since last reindex. This unfortunately makes uploading of duplicate files much slower, and can be disabled with `--safe-dedup 1` if you know that only copyparty will be modifying the filesystem
16+
17+
## new features
18+
19+
* dedup improvements:
20+
* verify consistency of local files before using them as dedup source 6e671c52
21+
* if a local file has been altered by other software since the last reindexing, then this will now be detected
22+
* u2c (commandline uploader): add mode to print hashes of local files 08848be7
23+
* if you've lost a file but you know its `wark` (file identifier), you can now use u2c.exe to scan your whole filesystem for it: `u2c - .`
24+
* #96 use local timezone in log messages b599fbae
25+
26+
## bugfixes
27+
28+
* dedup fixes:
29+
* symlinks could break if moved/renamed inside a volume where deduplication was disabled after some files within had already been deduplicated 4401de04
30+
* when moving/renaming, only consider symlinks between volumes if `xlink` volflag is set b5ad9369
31+
* database consistency verifier (`-e2vp`):
32+
* support filenames with newlines, and warn about missing files b0de84cb
33+
* opengraph/`--og`: fix viewing textfiles e5a836cb
34+
* up2k.js: fix confusing message when uploading many copies of the same file f1130db1
35+
36+
## other changes
37+
38+
* disable upload deduplication by default a2e0f986
39+
* up2k.js: increase handshake timeout to several minutes because of the dedup changes c5988a04
40+
* copyparty.exe: update to python 3.12.6
41+
42+
43+
144
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
245
# 2024-0902-0108 `v1.14.4` another
346

scripts/help2html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# to convert the copyparty --help to html, run this in xfce4-terminal @ 140x43:
88
_ = r""""
9-
echo; for a in '' -accounts -flags -handlers -hooks -urlform -exp -ls -dbd -pwhash -zm; do
9+
echo; for a in '' -bind -accounts -flags -handlers -hooks -urlform -exp -ls -dbd -pwhash -zm; do
1010
./copyparty-sfx.py --help$a 2>/dev/null; printf '\n\n\n%0139d\n\n\n'; done # xfce4-terminal @ 140x43
1111
"""
1212
# click [edit] => [select all]

scripts/help2txt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ exit 0
1919

2020

2121
# first open an infinitely wide console (this is why you own an ultrawide) and copypaste this into it:
22-
for a in '' -accounts -flags -handlers -hooks -urlform -exp -ls -dbd -pwhash -zm; do
22+
for a in '' -bind -accounts -flags -handlers -hooks -urlform -exp -ls -dbd -pwhash -zm; do
2323
./copyparty-sfx.py --help$a 2>/dev/null; printf '\n\n\n%0255d\n\n\n'; done
2424

2525
# then copypaste all of the output by pressing ctrl-shift-a, ctrl-shift-c

0 commit comments

Comments
 (0)