Skip to content

Commit ce3cab0

Browse files
committed
v1.16.0
1 parent c784e52 commit ce3cab0

File tree

4 files changed

+41
-5
lines changed

4 files changed

+41
-5
lines changed

copyparty/__version__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# coding: utf-8
22

3-
VERSION = (1, 15, 10)
4-
CODENAME = "fill the drives"
5-
BUILD_DT = (2024, 10, 26)
3+
VERSION = (1, 16, 0)
4+
CODENAME = "COPYparty"
5+
BUILD_DT = (2024, 11, 10)
66

77
S_VERSION = ".".join(map(str, VERSION))
88
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)

copyparty/szip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def gen_hdr(
100100

101101
# spec says to put zeros when !crc if bit3 (streaming)
102102
# however infozip does actual sz and it even works on winxp
103-
# (same reasning for z64 extradata later)
103+
# (same reasoning for z64 extradata later)
104104
vsz = 0xFFFFFFFF if z64 else sz
105105
ret += spack(b"<LL", vsz, vsz)
106106

copyparty/web/shares.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function showqr(href) {
7171
tr[a].cells[11].innerHTML =
7272
'<button value="1">1min</button> ' +
7373
'<button value="60">1h</button>';
74-
74+
7575
var btns = QSA('td button'), aa = btns.length;
7676
for (var a = 0; a < aa; a++)
7777
btns[a].onclick = bump;

docs/changelog.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
2+
# 2024-1027-0751 `v1.15.10` temporary upload links
3+
4+
## 🧪 new features
5+
6+
* [shares](https://github.com/9001/copyparty#shares) can now be uploaded into, and unpost works too 4bdcbc1c
7+
* useful to create temporary URLs for other people to upload to
8+
* shares can be write-only, so visitors can't browse or see any files
9+
* #110 HTTP 304 (caching):
10+
* support `If-Range` for HTTP 206 159f51b1
11+
* add server-side and client-side options to force-disable cache dd6dbdd9
12+
* `--no304=1` shows a button in the controlpanel to disable caching
13+
* `--no304=2` makes that button auto-enabled
14+
* even when `--no304` is not specified, accessing the URL `/?setck=no304=y` force-disables cache
15+
* when cache is force-disabled, browsers will waste a lot of network traffic / data usage
16+
* might help to avoid bugs in browsers or proxies, for example if media files suddenly stop loading
17+
* but such bugs should be exceedingly rare, so do not enable this unless actually necessary
18+
19+
## 🩹 bugfixes
20+
21+
* #110 HTTP 304 (caching):
22+
* remove `Content-Length` and `Content-Type` response headers from 304 replies 91240236
23+
* browsers don't need these, and some middlewares might get confused if they're present
24+
* #113 fix crash on startup if `-j0` was combined with `--ipa` or `--ipu` 3a0d882c
25+
* #111 fix javascript crash if `--u2sz` was set to an invalid value b13899c6
26+
27+
## 🔧 other changes
28+
29+
* #110 HTTP 304 (caching):
30+
* never automatically enable k304 because the `Vary` header killed support for caching in msie anyways 63013cc5
31+
* 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
32+
* new option `--ohead` to log response headers 7678a91b
33+
* 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
34+
35+
36+
137
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
238
# 2024-1018-2342 `v1.15.9` rss server
339

0 commit comments

Comments
 (0)