mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
v1.16.0
This commit is contained in:
parent
c784e5285e
commit
ce3cab0295
|
@ -1,8 +1,8 @@
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
|
|
||||||
VERSION = (1, 15, 10)
|
VERSION = (1, 16, 0)
|
||||||
CODENAME = "fill the drives"
|
CODENAME = "COPYparty"
|
||||||
BUILD_DT = (2024, 10, 26)
|
BUILD_DT = (2024, 11, 10)
|
||||||
|
|
||||||
S_VERSION = ".".join(map(str, VERSION))
|
S_VERSION = ".".join(map(str, VERSION))
|
||||||
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
|
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
|
||||||
|
|
|
@ -100,7 +100,7 @@ def gen_hdr(
|
||||||
|
|
||||||
# spec says to put zeros when !crc if bit3 (streaming)
|
# spec says to put zeros when !crc if bit3 (streaming)
|
||||||
# however infozip does actual sz and it even works on winxp
|
# 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
|
vsz = 0xFFFFFFFF if z64 else sz
|
||||||
ret += spack(b"<LL", vsz, vsz)
|
ret += spack(b"<LL", vsz, vsz)
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,7 @@ function showqr(href) {
|
||||||
tr[a].cells[11].innerHTML =
|
tr[a].cells[11].innerHTML =
|
||||||
'<button value="1">1min</button> ' +
|
'<button value="1">1min</button> ' +
|
||||||
'<button value="60">1h</button>';
|
'<button value="60">1h</button>';
|
||||||
|
|
||||||
var btns = QSA('td button'), aa = btns.length;
|
var btns = QSA('td button'), aa = btns.length;
|
||||||
for (var a = 0; a < aa; a++)
|
for (var a = 0; a < aa; a++)
|
||||||
btns[a].onclick = bump;
|
btns[a].onclick = bump;
|
||||||
|
|
|
@ -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
|
# 2024-1018-2342 `v1.15.9` rss server
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue