From ecdec75b4e22e54de029778c3e756f9017f9d1ee Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 26 Feb 2023 20:30:17 +0000 Subject: [PATCH] v1.6.6 --- copyparty/__version__.py | 4 +-- copyparty/web/browser.js | 4 +-- docs/changelog.md | 31 +++++++++++++++++++ scripts/pyinstaller/build.sh | 2 +- scripts/pyinstaller/depchk.sh | 56 +++++++++++++++++++++++++++++++++++ 5 files changed, 92 insertions(+), 5 deletions(-) create mode 100755 scripts/pyinstaller/depchk.sh diff --git a/copyparty/__version__.py b/copyparty/__version__.py index 53aeed0a..d850bd85 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (1, 6, 5) +VERSION = (1, 6, 6) CODENAME = "cors k" -BUILD_DT = (2023, 2, 12) +BUILD_DT = (2023, 2, 26) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index d0ef036e..62a717ce 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -110,7 +110,7 @@ var Ls = { "ot_cfg": "configuration options", "ot_u2i": 'up2k: upload files (if you have write-access) or toggle into the search-mode to see if they exist somewhere on the server$N$Nuploads are resumable, multithreaded, and file timestamps are preserved, but it uses more CPU than [🎈]  (the basic uploader)

during uploads, this icon becomes a progress indicator!', "ot_u2w": 'up2k: upload files with resume support (close your browser and drop the same files in later)$N$Nmultithreaded, and file timestamps are preserved, but it uses more CPU than [🎈]  (the basic uploader)

during uploads, this icon becomes a progress indicator!', - "ot_noie": 'This works much better in Chrome / Firefox / Edge', + "ot_noie": 'Please use Chrome / Firefox / Edge', "ab_mkdir": "make directory", "ab_mkdoc": "new markdown doc", @@ -565,7 +565,7 @@ var Ls = { "ot_cfg": "andre innstillinger", "ot_u2i": 'up2k: last opp filer (hvis du har skrivetilgang) eller bytt til sΓΈkemodus for Γ₯ sjekke om filene finnes et-eller-annet sted pΓ₯ serveren$N$Nopplastninger kan gjenopptas etter avbrudd, skjer stykkevis for potensielt hΓΈyere ytelse, og ivaretar datostempling -- men bruker litt mer prosessorkraft enn [🎈]  (den primitive opplasteren "bup")

mens opplastninger foregΓ₯r sΓ₯ vises fremdriften her oppe!', "ot_u2w": 'up2k: filopplastning med stΓΈtte for Γ₯ gjenoppta avbrutte opplastninger -- steng ned nettleseren og dra de samme filene inn i nettleseren igjen for Γ₯ plukke opp igjen der du slapp$N$Nopplastninger skjer stykkevis for potensielt hΓΈyere ytelse, og ivaretar datostempling -- men bruker litt mer prosessorkraft enn [🎈]  (den primitive opplasteren "bup")

mens opplastninger foregΓ₯r sΓ₯ vises fremdriften her oppe!', - "ot_noie": 'Siden fungerer mye bedre i Chrome / Firefox / Edge', + "ot_noie": 'Fungerer mye bedre i Chrome / Firefox / Edge', "ab_mkdir": "lag mappe", "ab_mkdoc": "nytt dokument", diff --git a/docs/changelog.md b/docs/changelog.md index c8d4ab24..73cf3b2d 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,3 +1,34 @@ +β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€ +# 2023-0212-1411 `v1.6.5` windows smb fix + win10.exe + +* read-only demo server at https://a.ocv.me/pub/demo/ +* [docker image](https://github.com/9001/copyparty/tree/hovudstraum/scripts/docker) β•± [similar software](https://github.com/9001/copyparty/blob/hovudstraum/docs/versus.md) β•± [client testbed](https://cd.ocv.me/b/) + +## bugfixes +* **windows-only:** smb locations (network drives) could not be accessed + * appeared in [v1.6.4](https://github.com/9001/copyparty/releases/tag/v1.6.4) while adding support for long filepaths (260chars+) + +## other changes +* removed tentative support for compressed chiptunes (xmgz, xmz, xmj, ...) since FFmpeg usually doesn't + +---- + +# introducing [copyparty640.exe](https://github.com/9001/copyparty/releases/download/v1.6.5/copyparty640.exe) +* built for win10, comes with the latest python and deps (supports win8 with [vc redist 2015](https://www.microsoft.com/en-us/download/details.aspx?id=48145)) +* __*much* safer__ than the old win7-compatible `copyparty.exe` and `copyparty64.exe` + * but only `copyparty-sfx.py` takes advantage of the operating system security patches +* includes pillow for thumbnails and mutagen for media indexing +* around 10% slower (trying to figure out what's up with that) + +starting from the next release, +* `copyparty.exe` (win7 x32) will become `copyparty32.exe` +* `copyparty640.exe` (win10) will be the new `copyparty.exe` +* `copyparty64.exe` (win7 x64) will graduate + +so the [copyparty64.exe](https://github.com/9001/copyparty/releases/download/v1.6.5/copyparty64.exe) in this release will be the "final" version able to run inside a [64bit Win7-era winPE](https://user-images.githubusercontent.com/241032/205454984-e6b550df-3c49-486d-9267-1614078dd0dd.png) (all regular 32/64-bit win7 editions can just use `copyparty32.exe` instead) + + + β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€ # 2023-0211-1802 `v1.6.4` πŸ”§πŸŽ²πŸ”—πŸ³πŸ‡¦πŸŽΆ diff --git a/scripts/pyinstaller/build.sh b/scripts/pyinstaller/build.sh index 6863fb77..0f7cd029 100644 --- a/scripts/pyinstaller/build.sh +++ b/scripts/pyinstaller/build.sh @@ -9,7 +9,7 @@ tee build2.sh | cmp build.sh && rm build2.sh || { [[ $r =~ [yY] ]] && mv build{2,}.sh && exec ./build.sh } -uname -s | grep WOW64 && m=64 || m= +uname -s | grep WOW64 && m= || m=32 uname -s | grep NT-10 && w10=1 || w7=1 [ $w7 ] && pyv=37 || pyv=311 diff --git a/scripts/pyinstaller/depchk.sh b/scripts/pyinstaller/depchk.sh new file mode 100755 index 00000000..75b0237e --- /dev/null +++ b/scripts/pyinstaller/depchk.sh @@ -0,0 +1,56 @@ +#!/bin/bash +set -e +e=0 + +cd ~/dev/pyi + +ckpypi() { + deps=( + altgraph + pefile + pyinstaller + pyinstaller-hooks-contrib + pywin32-ctypes + Jinja2 + MarkupSafe + mutagen + Pillow + ) + for dep in "${deps[@]}"; do + k= + echo -n . + curl -s https://pypi.org/pypi/$dep/json >h + ver=$(jq