Skip to content

Commit e2dec25

Browse files
committed
v1.16.6
1 parent da5ad2a commit e2dec25

File tree

5 files changed

+49
-16
lines changed

5 files changed

+49
-16
lines changed

copyparty/__version__.py

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

3-
VERSION = (1, 16, 5)
3+
VERSION = (1, 16, 6)
44
CODENAME = "COPYparty"
5-
BUILD_DT = (2024, 12, 11)
5+
BUILD_DT = (2024, 12, 19)
66

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

copyparty/httpcli.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5069,7 +5069,7 @@ def tx_rups(self) -> bool:
50695069
adm = "*" in vol.axs.uadmin or self.uname in vol.axs.uadmin
50705070
dots = "*" in vol.axs.udot or self.uname in vol.axs.udot
50715071

5072-
n = 2000
5072+
n = 1000
50735073
q = "select sz, rd, fn, ip, at from up where at>0 order by at desc"
50745074
for sz, rd, fn, ip, at in cur.execute(q):
50755075
vp = "/" + "/".join(x for x in [vol.vpath, rd, fn] if x)
@@ -5096,12 +5096,12 @@ def tx_rups(self) -> bool:
50965096
rv["fk_alg"] = fk_alg
50975097

50985098
ret.append(rv)
5099-
if len(ret) > 3000:
5099+
if len(ret) > 2000:
51005100
ret.sort(key=lambda x: x["at"], reverse=True) # type: ignore
5101-
ret = ret[:2000]
5101+
ret = ret[:1000]
51025102

5103-
if len(ret) > 2000:
5104-
ret = ret[:2000]
5103+
if len(ret) > 1000:
5104+
ret = ret[:1000]
51055105

51065106
ret.sort(key=lambda x: x["at"], reverse=True) # type: ignore
51075107

copyparty/web/rups.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ a {
5353
}
5454
#wrap td {
5555
font-family: var(--font-mono), monospace, monospace;
56-
white-space: pre;
56+
white-space: pre; /*date*/
57+
overflow: hidden; /*ipv6*/
5758
}
5859
#wrap th:first-child,
5960
#wrap td:first-child {

copyparty/web/rups.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@
3131
<th>file</th>
3232
</tr></thead><tbody>
3333
{% for vp, evp, sz, ip, at in rows %}
34-
<tr>
35-
<td>{{ sz }}</td>
36-
<td>{{ ip }}</td>
37-
<td>{{ at }}</td>
38-
<td>{{ (now-at) }}</td>
39-
<td></td>
40-
<td><a href="{{ r }}{{ evp }}">{{ vp|e }}</a></td>
41-
</tr>
34+
<tr>
35+
<td>{{ sz }}</td>
36+
<td>{{ ip }}</td>
37+
<td>{{ at }}</td>
38+
<td>{{ (now-at) }}</td>
39+
<td></td>
40+
<td><a href="{{ r }}{{ evp }}">{{ vp|e }}</a></td>
41+
</tr>
4242
{% endfor %}
4343
</tbody></table>
4444
{% if not rows %}

docs/changelog.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
2+
# 2024-1211-2236 `v1.16.5` 4chrome
3+
4+
## 🧪 new features
5+
6+
* #124 add workaround for a chrome bug (crash during upload) 24ce46b3
7+
* chrome and chromium-based browsers could OOM
8+
* https://issues.chromium.org/issues/383568268
9+
10+
* #122 "hybrid IdP", regular users can still auth while [IdP](https://github.com/9001/copyparty#identity-providers) is enabled 64501fd7
11+
* previously, enabling IdP would entirely disable password-based login
12+
* now, password-auth is attempted for requests without a valid IdP header
13+
14+
## 🩹 bugfixes
15+
16+
* the terminal window title would only change if `--no-ansi` was specified, which is exactly the opposite of what it should be (and now is) doing db3c0b09
17+
18+
## 🔧 other changes
19+
20+
* mDNS: better log messages when several IPs are added/removed a49bf81f
21+
* webdeps: update dompurify 06868606
22+
23+
----
24+
25+
this release includes a build of [copyparty-winpe64.exe](https://github.com/9001/copyparty/releases/download/v1.16.5/copyparty-winpe64.exe) since the last one was [almost a year ago](https://github.com/9001/copyparty/releases/tag/v1.10.1)
26+
27+
* winpe64.exe is only for *very* specific usecases, you almost definitely *do not* want to download it, please just grab the regular [copyparty.exe](https://github.com/9001/copyparty/releases/latest/download/copyparty.exe) instead (works on all 64bit machines running win8 or newer)
28+
29+
* the only difference between winpe64.exe and [copyparty32.exe](https://github.com/9001/copyparty/releases/latest/download/copyparty32.exe) is that winpe64.exe works in the win7x64 PE (rescue-env), which makes it *almost* entirely useless, and every bit as dangerous to use as copyparty32.exe
30+
31+
32+
133
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
234
# 2024-1207-0024 `v1.16.4` ux is hard
335

0 commit comments

Comments
 (0)