Skip to content

Commit

Permalink
v1.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
9001 committed Feb 26, 2023
1 parent 5cb2e33 commit ecdec75
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 5 deletions.
4 changes: 2 additions & 2 deletions copyparty/__version__.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions copyparty/web/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 [🎈]&nbsp; (the basic uploader)<br /><br />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 [🎈]&nbsp; (the basic uploader)<br /><br />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",
Expand Down Expand Up @@ -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 [🎈]&nbsp; (den primitive opplasteren "bup")<br /><br />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 [🎈]&nbsp; (den primitive opplasteren "bup")<br /><br />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",
Expand Down
31 changes: 31 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -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` 🔧🎲🔗🐳🇦🎶

Expand Down
2 changes: 1 addition & 1 deletion scripts/pyinstaller/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
56 changes: 56 additions & 0 deletions scripts/pyinstaller/depchk.sh
Original file line number Diff line number Diff line change
@@ -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 <h -r '.releases|keys|.[]' | sort -V | tail -n 1)
while IFS= read -r fn; do
[ -e "$fn" ] && k="$fn" && break
done < <(
jq -r '.releases["'"$ver"'"]|.[]|.filename' <h
)
[ -z "$k" ] && echo "outdated: $dep" && cp h "ng-$dep" && e=1
done
true
}

ckgh() {
deps=(
upx/upx
)
for dep in "${deps[@]}"; do
k=
echo -n .
while IFS= read -r fn; do
[ -e "$fn" ] && k="$fn" && break
done < <(
curl -s https://api.github.com/repos/$dep/releases | tee h |
jq -r 'first|.assets|.[]|.name'
)
[ -z "$k" ] && echo "outdated: $dep" && cp h "ng-$dep" e=1
done
true
}

ckpypi
ckgh

rm h
exit $e

0 comments on commit ecdec75

Please sign in to comment.