mirror of
https://github.com/9001/copyparty.git
synced 2026-02-26 13:33:09 -07:00
Compare commits
6 commits
v1.20.9
...
hovudstrau
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7c60adc69c | ||
|
|
d3260b27a6 | ||
|
|
e2ace1dab7 | ||
|
|
a29037a0e2 | ||
|
|
ecdfd2d1ab | ||
|
|
00ab7888d7 |
|
|
@ -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.
|
# NOTE: You generally shouldn't use this PKGBUILD on Arch, as it is mainly for testing purposes. Install copyparty using pacman instead.
|
||||||
|
|
||||||
pkgname=copyparty
|
pkgname=copyparty
|
||||||
pkgver="1.20.8"
|
pkgver="1.20.10"
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="File server with accelerated resumable uploads, dedup, WebDAV, SFTP, FTP, TFTP, zeroconf, media indexer, thumbnails++"
|
pkgdesc="File server with accelerated resumable uploads, dedup, WebDAV, SFTP, FTP, TFTP, zeroconf, media indexer, thumbnails++"
|
||||||
arch=("any")
|
arch=("any")
|
||||||
|
|
@ -24,7 +24,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")
|
source=("https://github.com/9001/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
||||||
backup=("etc/${pkgname}/copyparty.conf" )
|
backup=("etc/${pkgname}/copyparty.conf" )
|
||||||
sha256sums=("6b1d8d3043b8b1899cb1fb140dcac87b7bcda52ba6566f0d8ec8c0c143966ef0")
|
sha256sums=("a651df2ab768ebdf2f41b7ff1e1fec788ae8a34848ce228c189f2d0f566c9fd9")
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}/copyparty/web"
|
cd "${srcdir}/${pkgname}-${pkgver}/copyparty/web"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
|
|
||||||
pkgname=copyparty
|
pkgname=copyparty
|
||||||
pkgver=1.20.8
|
pkgver=1.20.10
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="File server with accelerated resumable uploads, dedup, WebDAV, SFTP, FTP, TFTP, zeroconf, media indexer, thumbnails++"
|
pkgdesc="File server with accelerated resumable uploads, dedup, WebDAV, SFTP, FTP, TFTP, zeroconf, media indexer, thumbnails++"
|
||||||
arch=("any")
|
arch=("any")
|
||||||
|
|
@ -21,7 +21,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")
|
source=("https://github.com/9001/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
||||||
backup=("/etc/${pkgname}.d/init" )
|
backup=("/etc/${pkgname}.d/init" )
|
||||||
sha256sums=("6b1d8d3043b8b1899cb1fb140dcac87b7bcda52ba6566f0d8ec8c0c143966ef0")
|
sha256sums=("a651df2ab768ebdf2f41b7ff1e1fec788ae8a34848ce228c189f2d0f566c9fd9")
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}/copyparty/web"
|
cd "${srcdir}/${pkgname}-${pkgver}/copyparty/web"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"url": "https://github.com/9001/copyparty/releases/download/v1.20.8/copyparty-1.20.8.tar.gz",
|
"url": "https://github.com/9001/copyparty/releases/download/v1.20.10/copyparty-1.20.10.tar.gz",
|
||||||
"version": "1.20.8",
|
"version": "1.20.10",
|
||||||
"hash": "sha256-ax2NMEO4sYmcsfsUDcrIe3vNpSumVm8NjsjAwUOWbvA="
|
"hash": "sha256-plHfKrdo698vQbf/Hh/seIroo0hIziKMGJ8tD1Zsn9k="
|
||||||
}
|
}
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
|
|
||||||
VERSION = (1, 20, 9)
|
VERSION = (1, 20, 10)
|
||||||
CODENAME = "sftp is fine too"
|
CODENAME = "sftp is fine too"
|
||||||
BUILD_DT = (2026, 2, 25)
|
BUILD_DT = (2026, 2, 25)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -650,8 +650,8 @@ class HttpCli(object):
|
||||||
if len(zso) > self.args.cookie_cmax:
|
if len(zso) > self.args.cookie_cmax:
|
||||||
self.loud_reply("cookie header too big", status=400)
|
self.loud_reply("cookie header too big", status=400)
|
||||||
return False
|
return False
|
||||||
zsll = [x.split("=", 1) for x in zso.split(";") if "=" in x]
|
zsll = [x.lstrip().split("=", 1) for x in zso.split(";") if "=" in x]
|
||||||
cookies = {k.strip(): unescape_cookie(zs, k) for k, zs in zsll}
|
cookies = {k.rstrip(): unescape_cookie(zs.strip(), k) for k, zs in zsll}
|
||||||
cookie_pw = cookies.get("cppws" if self.is_https else "cppwd") or ""
|
cookie_pw = cookies.get("cppws" if self.is_https else "cppwd") or ""
|
||||||
if "b" in cookies and "b" not in uparam:
|
if "b" in cookies and "b" not in uparam:
|
||||||
uparam["b"] = cookies["b"]
|
uparam["b"] = cookies["b"]
|
||||||
|
|
|
||||||
|
|
@ -1439,7 +1439,7 @@ class SvcHub(object):
|
||||||
self.log("root", "ssdp startup failed;\n" + min_ex(), 3)
|
self.log("root", "ssdp startup failed;\n" + min_ex(), 3)
|
||||||
|
|
||||||
def reload(self, rescan_all_vols: bool, up2k: bool) -> str:
|
def reload(self, rescan_all_vols: bool, up2k: bool) -> str:
|
||||||
t = "config has been reloaded"
|
t = "users, volumes, and volflags have been reloaded"
|
||||||
with self.reload_mutex:
|
with self.reload_mutex:
|
||||||
self.log("root", "reloading config")
|
self.log("root", "reloading config")
|
||||||
self.asrv.reload(9 if up2k else 4)
|
self.asrv.reload(9 if up2k else 4)
|
||||||
|
|
@ -1449,6 +1449,7 @@ class SvcHub(object):
|
||||||
t += "; volumes are now reinitializing"
|
t += "; volumes are now reinitializing"
|
||||||
else:
|
else:
|
||||||
self.log("root", "reload done")
|
self.log("root", "reload done")
|
||||||
|
t += "\n\nchanges to global options (if any) require a restart of copyparty to take effect"
|
||||||
self.broker.reload()
|
self.broker.reload()
|
||||||
return t
|
return t
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10041,7 +10041,7 @@ var mpss = (function() {
|
||||||
vthresh: afilt.sscv[0],
|
vthresh: afilt.sscv[0],
|
||||||
sthresh: afilt.sscv[1],
|
sthresh: afilt.sscv[1],
|
||||||
etresh: afilt.sscv[2],
|
etresh: afilt.sscv[2],
|
||||||
sspeed: Math.min(8.0, Math.max(0.15, afilt.sscv[3])),
|
sspeed: clamp(afilt.sscv[3], 0.15, 8.0),
|
||||||
rspeed: 0.2,
|
rspeed: 0.2,
|
||||||
loopInterval: 25,
|
loopInterval: 25,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,16 @@
|
||||||
|
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
||||||
|
# 2026-0225-0834 `v1.20.9` SECURITY: XSS fix
|
||||||
|
|
||||||
|
## ⚠️ ATTN: this release fixes an XSS vulnerability
|
||||||
|
|
||||||
|
[GHSA-62cr-6wp5-q43h](https://github.com/9001/copyparty/security/advisories/GHSA-62cr-6wp5-q43h) could let an attacker execute arbitrary JS by tricking you into clicking a malicious link 31b2801f
|
||||||
|
|
||||||
|
## 🔧 other changes
|
||||||
|
|
||||||
|
* webdav: [dav-port](https://copyparty.eu/cli/#g-dav-port) can be used as an alternative to [daw](https://copyparty.eu/cli/#g-daw) d21242fc
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
||||||
# 2026-0222-1507 `v1.20.8` no265
|
# 2026-0222-1507 `v1.20.8` no265
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue