Skip to content

Releases: 9001/copyparty

welcome to the grid

29 May 13:16
Compare
Choose a tag to compare

no important bugfixes, just new features

things to know when upgrading:

  • Pillow and FFmpeg is now used to generate thumbnails
    • --no-thumb disables both
    • --no-vthumb disables just FFmpeg
  • new optional dependencies:
    • Pillow to enable thumbnails
      • pyheif-pillow-opener to enable reading HEIF images
      • pillow-avif-plugin to enable reading AVIF images
      • ffmpeg and ffprobe to enable video thumbnails
  • if you wish to wipe the DB and rebuild it to get the new metadata collected as of this version, and you have expensive -mtp parsers (bpm/key) and a huge database (or a slow server), consider https://github.com/9001/copyparty/tree/master/bin#dbtoolpy

new features:

  • thumbnails! of both static images and video files
    • served as webp or jpg depending on browser support
    • new hotkeys: G, T, S, A/D
  • additional metadata collection with -e2ts
    • audio/video codecs, video/image resolution, fps, ...
    • if you wanna reindex, do a single run with -e2tsr to wipe the DB
  • mtp can collect multiple tags at once

bugfixes:

  • when sorting by name, show folders first
  • mimetypes for webp and opus on GET
  • mojibake support
    • up2k into mb folder
    • indexing files in mb folders
    • editing markdown in mb folders

this is a no drift zone

18 May 02:31
Compare
Choose a tag to compare
  • browser: fix off-by-one which made the page slowly shrink back down when navigating away from a large folder
  • browser/mediaplayer: handle unsupported audio codecs better in some (older?) browsers
  • readme/requirements: firefox 34 and chrome 41 were the first browsers with native sha512 / full speed in up2k
  • and the feature nobody asked for:
    2021-0518-041625-hexchat-fs8

fix tagger crash

16 May 18:53
Compare
Choose a tag to compare

inspect

16 May 06:08
Compare
Choose a tag to compare

nothing important this time, just new bling and some fixes to support old browsers
(well except for the basic-uploader summary autoclosing immediately on completion, that was kinda user-confusing)

  • add ad/an flags to -mtp; collect and display metadata from any file, not just audio-files
  • up2k speedboost on older iPhones (native hashing on safari 7 through 10)
  • add --lf-url, URL regex to exclude from log, defaults to ^/\.cpr/ (static files)
  • add --ihead to print specific request headers, * prints all
  • ux fixes
    • include links to the uploaded files in bup summaries
    • ...also make the bup summary not auto-close
    • don't link to bup from up2k if read-only access
    • toggle-switch for tooltips also affects the up2k ui
    • stop flipping back to up2k on older browsers

imagine running servers on windows

13 May 22:15
Compare
Choose a tag to compare
  • fix: uploads when running copyparty on windows (broke in 0.10.18)
  • fix: bup uploads would not get PARTIAL-suffixed if the filename length hits filesystem-max and the client disconnects mid-upload
  • add --dotpart which hides uploads as dotfiles until completed
  • very careful styling of the basic-browser

just 302 it my dude

13 May 16:00
Compare
Choose a tag to compare
  • stop trying to be smart, do full redirects instead
  • allow switching to basic-browser using cookie b=u
  • fix mode-toggling (upload/search) depending on folder permissions
  • persist/clear the password cookie with expiration
  • slight optimizations for rclone clients
  • other minor ui tweaks

denoise

12 May 22:09
Compare
Choose a tag to compare
  • allow navigating to write-only folders using the tree sidebar
  • show logues (prologue/epilogue) in write-only folders as well
    • rename .prologue.html / .epilogue.html when uploaded so people can't embed javascript
  • support pyinstaller
  • hide more of the UI while in write-only folders
  • add a notice in bup that up2k is generally better

alternative title: Petit Up2k's - No Gui!

somebody used -c

02 May 07:26
Compare
Choose a tag to compare
  • cfg-file: fix shorthand for assigning permissions to anonymous users
  • sfx: -j works on python3 (pickle did not enjoy the binary comments)
  • sfx: higher cooldown before it starts deleting tempfiles from old instances
  • sfx: should be a bit smaller (put compressed blobs at the end of the tar)
  • misc minor ui tweaks, mostly the bright-mode theme

write-only volumes are write-only

24 Apr 02:23
Compare
Choose a tag to compare

good thing it was so obviously broken and/or that nobody ever tried to use it

  • regression test added to keep it fixed
  • can now make a hidden/inaccessible folder (optionally inside a public folder) like -v /mnt/nas/music:/music:r -v /mnt/nas/music/inc:/music/inc:w

in other news, minor ui tweaks:

  • clickdrag in the media player sliders doesn't select text any more
  • a few lightmode adjustments
  • less cpu usage? should be

copyparty-sfx.py (latest) made from c5db7c1 (v0.10.15-15) fixes -j (multiprocessing/high-performance)
copyparty-sfx-5a579db.py (old) made from 5a579db (v0.10.15-5) reduced the size

sparse4win

21 Apr 20:21
Compare
Choose a tag to compare

great stuff

  • firefox no longer leaking memory like crazy during large uploads
    • not fixed intentionally (the firefox bug still exists i think)
      • one of the v0.10.x changes are accidentally avoiding it w

good stuff

  • up2k-cli: conditional readahead based on filereader latency (firefox was not happy)
  • up2k-srv: make sparse files on windows if larger than --sparse MiB
    • files will unsparse when upload completes if win10 or newer
    • performance gain starts around 32 and up but default is 4 to save the SSDs
  • up2k-cli: fix high cpu usage after returning to idle
  • up2k-cli: ui tweaks
  • browser: give 404 instead of redirecting home when folder is 404 or 403
  • md-srv: stream documents rather than load into memory