mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 01:39:26 +02:00
Compare commits
3 commits
e1ea9852c6
...
a9e02ce753
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a9e02ce753 | ||
![]() |
70c088aeca | ||
![]() |
280815f158 |
6 changed files with 41 additions and 15 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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="
|
||||
}
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue