Compare commits

...

3 commits

Author SHA1 Message Date
ed
a9e02ce753 update pkgs to 1.19.11 2025-09-20 10:17:59 +00:00
ed
70c088aeca v1.19.11 2025-09-20 10:11:03 +00:00
ed
280815f158 ftp: fix unmapped root; closes #827 2025-09-20 10:05:29 +00:00
6 changed files with 41 additions and 15 deletions

View file

@ -3,7 +3,7 @@
# NOTE: You generally shouldn't use this PKGBUILD on Arch, as it is mainly for testing purposes. Install copyparty using pacman instead.
pkgname=copyparty
pkgver="1.19.10"
pkgver="1.19.11"
pkgrel=1
pkgdesc="File server with accelerated resumable uploads, dedup, WebDAV, FTP, TFTP, zeroconf, media indexer, thumbnails++"
arch=("any")
@ -23,7 +23,7 @@ optdepends=("ffmpeg: thumbnails for videos, images (slower) and audio, music tag
)
source=("https://github.com/9001/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
backup=("etc/${pkgname}/copyparty.conf" )
sha256sums=("0b786b9e1d7b64fa8e1ea8fab119c84add4efeef32504cbbd01217ebead6bec0")
sha256sums=("178ac1aedf448e3101b0e99ec2a036aa4eb5119b4300099b4adb9f74afb20ef7")
build() {
cd "${srcdir}/${pkgname}-${pkgver}/copyparty/web"

View file

@ -2,7 +2,7 @@
pkgname=copyparty
pkgver=1.19.10
pkgver=1.19.11
pkgrel=1
pkgdesc="File server with accelerated resumable uploads, dedup, WebDAV, FTP, TFTP, zeroconf, media indexer, thumbnails++"
arch=("any")
@ -20,7 +20,7 @@ optdepends=("ffmpeg: thumbnails for videos, images (slower) and audio, music tag
)
source=("https://github.com/9001/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
backup=("/etc/${pkgname}.d/init" )
sha256sums=("0b786b9e1d7b64fa8e1ea8fab119c84add4efeef32504cbbd01217ebead6bec0")
sha256sums=("178ac1aedf448e3101b0e99ec2a036aa4eb5119b4300099b4adb9f74afb20ef7")
build() {
cd "${srcdir}/${pkgname}-${pkgver}/copyparty/web"

View file

@ -1,5 +1,5 @@
{
"url": "https://github.com/9001/copyparty/releases/download/v1.19.10/copyparty-1.19.10.tar.gz",
"version": "1.19.10",
"hash": "sha256-C3hrnh17ZPqOHqj6sRnISt1O/u8yUEy70BIX6+rWvsA="
"url": "https://github.com/9001/copyparty/releases/download/v1.19.11/copyparty-1.19.11.tar.gz",
"version": "1.19.11",
"hash": "sha256-F4rBrt9EjjEBsOmewqA2qk61EZtDAAmbStufdK+yDvc="
}

View file

@ -1,8 +1,8 @@
# coding: utf-8
VERSION = (1, 19, 10)
VERSION = (1, 19, 11)
CODENAME = "usernames"
BUILD_DT = (2025, 9, 19)
BUILD_DT = (2025, 9, 20)
S_VERSION = ".".join(map(str, VERSION))
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)

View file

@ -279,6 +279,10 @@ class FtpFs(AbstractedFS):
def chdir(self, path: str) -> None:
nwd = join(self.cwd, path)
vfs, rem = self.hub.asrv.vfs.get(nwd, self.uname, False, False)
if not vfs.realpath:
self.cwd = nwd
return
ap = vfs.canonical(rem)
try:
st = bos.stat(ap)
@ -288,12 +292,9 @@ class FtpFs(AbstractedFS):
# returning 550 is library-default and suitable
raise FSE("No such file or directory")
if vfs.realpath:
avfs = vfs.chk_ap(ap, st)
if not avfs:
raise FSE("Permission denied", 1)
else:
avfs = vfs
avfs = vfs.chk_ap(ap, st)
if not avfs:
raise FSE("Permission denied", 1)
self.cwd = nwd

View file

@ -1,3 +1,28 @@
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# 2025-0919-2244 `v1.19.10` ramdisk kinshi
## 🧪 new features
* prevent uploading into ramdisks by default 59a01221 538a205c
* safeguard against misconfigured docker containers, where certain parts of the vfs has not been mapped to actual storage, for example `/w/music` is but `/w/` itself isn't
* can be disabled with `wram` (global-option and/or volflag), mainly for ephemeral servers
* #799 nixos: groups can be specified (thx @AnyTimeTraveler!) ee5f3190
* the logspam from the filesystem indexer can be reduced/disabled 478f1c76
* new options `scan-st-r`, `scan-pr-r`, `scan-pr-s`
## 🩹 bugfixes
* #809 medialinks (`#af-badf00d`) would fail on the very first pageload from a new browser 5996a58b
* #806 instructions for running on iOS was bad (thx @GhelloZ!) 35326a6f
## 🔧 other changes
* copyparty32.exe is now english-only, to save space 669b1075
* version info on startup indicates free-threading or not 65591528
* docs: explain the `daw` option better a043d7cf
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# 2025-0915-0019 `v1.19.9` case-sensitivity, give or take