diff --git a/copyparty/__version__.py b/copyparty/__version__.py index 8847b151..91f7e29e 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (1, 15, 10) -CODENAME = "fill the drives" -BUILD_DT = (2024, 10, 26) +VERSION = (1, 16, 0) +CODENAME = "COPYparty" +BUILD_DT = (2024, 11, 10) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/copyparty/szip.py b/copyparty/szip.py index 6352e21d..348d8caf 100644 --- a/copyparty/szip.py +++ b/copyparty/szip.py @@ -100,7 +100,7 @@ def gen_hdr( # spec says to put zeros when !crc if bit3 (streaming) # however infozip does actual sz and it even works on winxp - # (same reasning for z64 extradata later) + # (same reasoning for z64 extradata later) vsz = 0xFFFFFFFF if z64 else sz ret += spack(b"1h'; - + var btns = QSA('td button'), aa = btns.length; for (var a = 0; a < aa; a++) btns[a].onclick = bump; diff --git a/docs/changelog.md b/docs/changelog.md index 1c5fbf5a..c316f9cb 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,3 +1,39 @@ +▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ +# 2024-1027-0751 `v1.15.10` temporary upload links + +## 🧪 new features + +* [shares](https://github.com/9001/copyparty#shares) can now be uploaded into, and unpost works too 4bdcbc1c + * useful to create temporary URLs for other people to upload to + * shares can be write-only, so visitors can't browse or see any files +* #110 HTTP 304 (caching): + * support `If-Range` for HTTP 206 159f51b1 + * add server-side and client-side options to force-disable cache dd6dbdd9 + * `--no304=1` shows a button in the controlpanel to disable caching + * `--no304=2` makes that button auto-enabled + * even when `--no304` is not specified, accessing the URL `/?setck=no304=y` force-disables cache + * when cache is force-disabled, browsers will waste a lot of network traffic / data usage + * might help to avoid bugs in browsers or proxies, for example if media files suddenly stop loading + * but such bugs should be exceedingly rare, so do not enable this unless actually necessary + +## 🩹 bugfixes + +* #110 HTTP 304 (caching): + * remove `Content-Length` and `Content-Type` response headers from 304 replies 91240236 + * browsers don't need these, and some middlewares might get confused if they're present +* #113 fix crash on startup if `-j0` was combined with `--ipa` or `--ipu` 3a0d882c +* #111 fix javascript crash if `--u2sz` was set to an invalid value b13899c6 + +## 🔧 other changes + +* #110 HTTP 304 (caching): + * never automatically enable k304 because the `Vary` header killed support for caching in msie anyways 63013cc5 + * change time comparison for `If-Modified-Since` to require an exact timestamp match, instead of the intended "modified since". This technically violates the http-spec, but should be safer for backdating file mtimes 159f51b1 +* new option `--ohead` to log response headers 7678a91b +* added [nintendo 3ds](https://github.com/user-attachments/assets/88deab3d-6cad-4017-8841-2f041472b853) to the [list of supported browsers](https://github.com/9001/copyparty#browser-support) cb81f0ad + + + ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ # 2024-1018-2342 `v1.15.9` rss server