diff --git a/README.md b/README.md index 36457872..419c0b67 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ made in Norway ๐Ÿ‡ณ๐Ÿ‡ด * [creating a playlist](#creating-a-playlist) - with a standalone mediaplayer or copyparty * [audio equalizer](#audio-equalizer) - and [dynamic range compressor](https://en.wikipedia.org/wiki/Dynamic_range_compression) * [fix unreliable playback on android](#fix-unreliable-playback-on-android) - due to phone / app settings - * [textfile viewer](#textfile-viewer) - with realtime streaming of logfiles and such ([demo](https://a.ocv.me/pub/demo/logtail/?doc=lipsum.txt&tail)) + * [textfile viewer](#textfile-viewer) - with realtime streaming of logfiles and such ([demo](https://a.ocv.me/pub/demo/logtail/)) * [markdown viewer](#markdown-viewer) - and there are *two* editors * [markdown vars](#markdown-vars) - dynamic docs with serverside variable expansion * [other tricks](#other-tricks) @@ -1131,13 +1131,14 @@ due to phone / app settings, android phones may randomly stop playing music whe ## textfile viewer -with realtime streaming of logfiles and such ([demo](https://a.ocv.me/pub/demo/logtail/?doc=lipsum.txt&tail)) , and terminal colors work too +with realtime streaming of logfiles and such ([demo](https://a.ocv.me/pub/demo/logtail/)) , and terminal colors work too click `-txt-` next to a textfile to open the viewer, which has the following toolbar buttons: * `โœ๏ธ edit` opens the textfile editor * `๐Ÿ“ก follow` starts monitoring the file for changes, streaming new lines in realtime * similar to `tail -f` + * [link directly](https://a.ocv.me/pub/demo/logtail/?doc=lipsum.txt&tail) to a file with tailing enabled by adding `&tail` to the textviewer URL ## markdown viewer diff --git a/copyparty/__version__.py b/copyparty/__version__.py index db81f3bd..ba36cf60 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (1, 17, 2) -CODENAME = "mixtape.m3u" -BUILD_DT = (2025, 5, 27) +VERSION = (1, 18, 0) +CODENAME = "logtail" +BUILD_DT = (2025, 6, 22) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/docs/changelog.md b/docs/changelog.md index d61c7489..51531513 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,3 +1,35 @@ +โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€ +# 2025-0527-1939 `v1.17.2` pushing chrome to the limits (and then some) + +## ๐Ÿงช new features + +* not this time + +## ๐Ÿฉน bugfixes + +* up2k: improve file-hashing speed on recent versions of google chrome e3e51fb8 + * speed increased from 319 to 513 MiB/s by default (but older chrome versions did 748...) + * read the commit message for the full story, but basically chrome has gotten gradually slower over the past couple versions (starting from v133) and this makes it slightly less bad again + * hashing speed can be further improved from `0.5` to `1.1` GiB/s by enabling the `[wasm]` option in the `[โš™๏ธ] settings` tab + * this option can be made default-enabled with `--nosubtle 137` but beware that this increases the chances of running into browser-bugs (foreshadowing...) +* up2k: fix errorhandler for browser-bugs (oom and such) 49c71247 + * because [chrome-bug 383568268](https://issues.chromium.org/issues/383568268) is about to make a [surprise return?!](https://issues.chromium.org/issues/383568268#comment14) +* #168 fix uploading into shares if path-based proxying is used 9cb93ae1 +* #165 unconditionally heed `--rp-loc` 84f5f417 + * the config-option for [path-based proxying](https://github.com/9001/copyparty/#reverse-proxy) was ignored if the reverse-proxy was untrusted; this was confusing and not strictly necessary + +## ๐Ÿ”ง other changes + +* #166 the nixos module was improved once more (thx @msfjarvis!) 48470f6b 60fb1207 +* added usage instructions to [minimal-up2k.js](https://github.com/9001/copyparty/tree/hovudstraum/contrib/plugins#example-browser-js), the up2k-ui [simplifier](https://user-images.githubusercontent.com/241032/118311195-dd6ca380-b4ef-11eb-86f3-75a3ff2e1332.png) 1d308eeb +* docker: improve feedback if config is bad or missing 28b63e58 + +## ๐ŸŒ  fun facts + +* this release was tested using an [unreliable rdp connection](https://a.ocv.me/pub/g/nerd-stuff/PXL_20250526_021207825.jpg) through two ssh-jumphosts to a qemu win10 vm back home from the bergen-oslo night train wifi + + + โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€ # 2025-0518-2234 `v1.17.1` as seen on archlinux diff --git a/scripts/deps-docker/Dockerfile b/scripts/deps-docker/Dockerfile index 79664a67..874fd5c4 100644 --- a/scripts/deps-docker/Dockerfile +++ b/scripts/deps-docker/Dockerfile @@ -3,7 +3,7 @@ WORKDIR /z ENV ver_asmcrypto=c72492f4a66e17a0e5dd8ad7874de354f3ccdaa5 \ ver_hashwasm=4.12.0 \ ver_marked=4.3.0 \ - ver_dompf=3.2.5 \ + ver_dompf=3.2.6 \ ver_mde=2.18.0 \ ver_codemirror=5.65.18 \ ver_fontawesome=5.13.0 \ diff --git a/scripts/tl.js b/scripts/tl.js index 3069099c..4de73b5d 100644 --- a/scripts/tl.js +++ b/scripts/tl.js @@ -423,6 +423,7 @@ var tl_browser = { "f_empty": 'this folder is empty', "f_chide": 'this will hide the column ยซ{0}ยป\n\nyou can unhide columns in the settings tab', "f_bigtxt": "this file is {0} MiB large -- really view as text?", + "f_bigtxt2": "view just the end of the file instead? this will also enable following/tailing, showing newly added lines of text in real time", "fbd_more": '
showing {0} of {1} files; show {2} or show all
', "fbd_all": '
showing {0} of {1} files; show all
', "f_anota": "only {0} of the {1} items were selected;\nto select the full folder, first scroll to the bottom", @@ -527,6 +528,11 @@ var tl_browser = { "tvt_next": "show next document$NHotkey: K\">โฌ‡ next", "tvt_sel": "select file   ( for cut / copy / delete / ... )$NHotkey: S\">sel", "tvt_edit": "open file in text editor$NHotkey: E\">โœ๏ธ edit", + "tvt_tail": "monitor file for changes; show new lines in real time\">๐Ÿ“ก follow", + "tvt_wrap": "word-wrap\">โ†ต", + "tvt_atail": "lock scroll to bottom of page\">โš“", + "tvt_ctail": "decode terminal colors (ansi escape codes)\">๐ŸŒˆ", + "tvt_ntail": "scrollback limit (how many bytes of text to keep loaded)", "m3u_add1": "song added to m3u playlist", "m3u_addn": "{0} songs added to m3u playlist", @@ -626,6 +632,7 @@ var tl_browser = { "u_https3": "for better performance", "u_ancient": 'your browser is impressively ancient -- maybe you should use bup instead', "u_nowork": "need firefox 53+ or chrome 57+ or iOS 11+", + "tail_2old": "need firefox 105+ or chrome 71+ or iOS 14.5+", "u_nodrop": 'your browser is too old for drag-and-drop uploading', "u_notdir": "that's not a folder!\n\nyour browser is too old,\nplease try dragdrop instead", "u_uri": "to dragdrop images from other browser windows,\nplease drop it onto the big upload button",