Commit graph

590 commits

Author SHA1 Message Date
ed ab40ff5051 add permission "A" (alias of "rwmda."); closes #70 2023-12-31 18:20:24 +00:00
ed 97d9c149f1 IdP config draft (#62) 2023-12-24 13:46:26 +01:00
ed 59688bc8d7 * rename hdr-au-usr to idp-h-usr
* ensure lowercase idp-h-*, xff-hdr
* more macos support in tooling
2023-12-24 13:46:12 +01:00
ed 27433d6214 remove fedora/pypi-copr mention because copr has died;
https://github.com/fedora-copr/copr/issues/3056
2023-12-20 22:35:52 +00:00
ed 10bc2d9205 unsuccessful attempt at dirkeys (#64) 2023-12-17 22:30:22 +00:00
ed 0c50ea1757 list dotfiles only for specific volumes or users (#66):
* permission `.` grants dotfile visibility if user has `r` too
* `-ed` will grant dotfiles to all `r` accounts (same as before)
* volflag `dots` likewise

also drops compatibility for pre-0.12.0 `-v` syntax
(`-v .::red` will no longer translate to `-v .::r,ed`)
2023-12-16 15:38:48 +00:00
ed c057c5e8e8 extend --th-covers with dotfiles; closes #67 2023-12-14 10:53:15 +00:00
ed b1693f95cb alternative fedora packages for when copr breaks 2023-12-09 02:05:06 +00:00
ed 395e3386b7 mention --help for features not documented in readme
plus some small fixes to the packaging section
2023-12-02 23:32:31 +00:00
ed c2f92cacc1 mention the new auth feature 2023-11-30 23:01:05 +00:00
ed f902779050 avoid potential dom confusion (ie8 is already no-js) 2023-11-26 20:08:52 +00:00
ed 43d409a5d9 prisonparty accepts user/group names 2023-11-25 13:40:21 +00:00
ed dabdaaee33 v1.9.16 2023-11-04 21:58:01 +00:00
ed 4b720f4150 add more prometheus metrics; breaking changes:
* cpp_uptime is now a gauge
* cpp_bans is now cpp_active_bans (and also a gauge)

and other related fixes:
* stop emitting invalid cpp_disk_size/free for offline volumes
* support overriding the spec-mandatory mimetype with ?mime=foo
2023-11-04 20:32:34 +00:00
ed 1f75314463 placeholder expansion in readme and logues; closes #56
also fixes the "scan" volflag which broke in v1.9.14
2023-10-24 16:37:32 +00:00
ed 44693d79ec update pkgs to 1.9.14 2023-10-21 14:52:22 +00:00
ed 250aa28185 v1.9.13 2023-10-21 13:14:41 +00:00
ed 801da8079b only 404-ban accounts with permission [gGh]:
never bonk anyone with read-access (able to see directory-listing)
or write-only (not able to retrieve any files at all) due to
either --ban-404 or --ban-url

fixes accidental ban when webdav-uploading files which
match any of the --ban-url patterns (#55)

also default-enables --ban-404 since it is now generally safe
(even when up2k is in turbo mode), plus make turbo smart enough to
disengage when necessary
2023-10-18 22:14:09 +00:00
ed cda90c285e mention lack of EINTR handling in older pytjons 2023-10-17 17:58:01 +00:00
ed ac40dccc8f v1.9.12 2023-10-15 20:06:46 +00:00
ed 0dc3c23b42 add alternative filekey generator; closes #52 2023-10-06 13:41:22 +00:00
ed 6aa10ecedc mention streaming unzip with bsdtar 2023-10-02 07:40:40 +02:00
ed fae5a36e6f v1.9.7 2023-09-30 23:32:51 +00:00
ed aa96a1acdc misc optimizations / cleanup:
* slightly faster startup / shutdown
* forgot a jinja2 golf
* waste 4KiB changing prismjs back to gz since brotli is https-gated ;_;
* broke support for firefox<52 (non-var functions must be toplevel
   or immediately within another function), now even firefox 10 /
   centos 6 is somewhat supported again
2023-09-17 13:02:18 +00:00
ed 18c763ac08 smb: upgrade to impacket 0.11, full user account support,
permissions are now per-account instead of coalescing

also stops windows from freaking out if there's an offline volume
2023-09-09 12:46:37 +00:00
ed 714fd1811a add option to generate pax-format tar archives
and forgot to commit the nix module
2023-09-08 21:13:23 +00:00
ed ba02c9cc12 readme fix + make hacker theme more hacker 2023-09-08 19:35:12 +00:00
ed 5a968f9e47 add permission 'h': folders redirect to index.html;
safest way to make copyparty like a general-purpose webserver where
index.html is returned as expected yet directory listing is entirely
disabled / unavailable
2023-09-07 23:30:01 +00:00
ed cadaeeeace v1.9.4 2023-09-02 00:18:53 +00:00
ed 767696185b add ?tar=gz, ?tar=bz2, ?tar=xz with optional level;
defaults are ?tar=gz:3, ?tar=bz2:9, ?tar=xz:1
2023-09-01 23:44:10 +00:00
ed 9986136dfb apple/ios/iphone: maybe fix background album playback
good news: apple finally added support for samplerates other than
44100 for AudioContext, meaning it would now have been possible to
set non-100% volume for audio files including opus files

bad news: apple broke AudioContext in a way that makes it bug out
mediaSessions, causing lockscreen controls to become mostly useless

bad news: apple broke AudioContext additionally where it randomly
causes playback issues, blocking playback of audio files, even if
the AudioContext is sitting idle doing nothing (which is a
requirement for reliable upload speeds on other platforms)

disable AudioContext on iOS
2023-08-31 19:57:05 +00:00
ed ac21fa7782 v1.9.2 2023-08-26 21:16:30 +00:00
ed 9f8edb7f32 make markdown slightly safer without the nohtml volflag
by running dompurify after marked.parse if plugins are not enabled;
adds no protection against the more practical approach of just
putting a malicious <script> in an html file and uploading that,
but one footgun less is one less footgun
2023-08-26 17:37:02 +00:00
ed 9b46291a20 add option to force-disable turbo,
making it safer to enable --ban-404
(u2c can still get banned inadvertently)
2023-08-26 13:19:38 +00:00
ed cafe53c055 v1.9.0 2023-08-20 22:02:40 +00:00
ed bd3640d256 change to openmetrics 2023-08-20 18:50:14 +00:00
ed fc0405c8f3 add prometheus metrics; closes #49 2023-08-20 17:58:06 +00:00
ed 1b7634932d tar/zip-download: add opus transcoding filter 2023-08-19 19:40:46 +00:00
ed afcd98b794 mention some gotchas (thx noktuas) 2023-08-15 03:38:51 +02:00
ed 999ee2e7bc v1.8.8 2023-07-25 15:50:48 +00:00
ed d0aa20e17c v1.8.7 2023-07-23 15:43:38 +00:00
ed 3dcc386b6f v1.8.3 2023-07-16 22:00:04 +00:00
ed e17bf8f325 require the new admin permission for the admin-panel 2023-07-15 18:39:41 +00:00
ed 50c7bba6ea volflag "nohtml" to never return html or rendered markdown from potentially unsafe volumes 2023-07-13 21:57:52 +00:00
ed 551d99b71b add permission "a" to show uploader IPs (#45) 2023-07-12 21:36:55 +00:00
ed 5d8cb34885 404/403 can be handled with plugins 2023-07-07 21:33:40 +00:00
ed 90601314d6 better explain why very-bad-idea is a very bad idea 2023-06-27 22:30:14 +00:00
ed 9c5eac1274 add fedora package 2023-06-27 22:22:42 +00:00
ed a0c1239246 v1.8.0 2023-06-26 00:05:12 +00:00
ed baaf2eb24d include mdns names in tls cert 2023-06-25 22:06:35 +00:00
ed e197895c10 support hashed passwords; closes #39 2023-06-25 21:50:33 +00:00
ed 8b0cf2c982 volflags to limit volume size / num files; closes #40 2023-06-19 00:42:45 +00:00
ed fa54b2eec4 generate tls certs 2023-06-10 22:46:24 +00:00
ed 93a723d588 add --ansi to systemd, fix grid controls bg,
mention folder thumbs dependency on -e2d,
improve make-sfx warnings,
update changelog
2023-06-06 22:04:39 +00:00
ed 025a537413 add option to show thumbs by default; closes #31 2023-06-02 18:41:21 +00:00
ed 4ccfeeb2cd v1.7.2 2023-05-13 00:00:07 +00:00
ed b286ab539e readme: add more examples 2023-05-12 22:41:06 +00:00
ed 572aa4b26c rename up2k.py (client) to u2c.py 2023-05-07 15:35:56 +00:00
ed 7eb413ad51 doc tweaks 2023-05-05 19:39:10 +00:00
ed 544e0549bc make xvol and xdev apply at runtime (closes #24):
* when accessing files inside an xdev volume, verify that the file
   exists on the same device/filesystem as the volume root

* when accessing files inside an xvol volume, verify that the file
   exists within any volume where the user has read access
2023-04-29 21:10:02 +00:00
ed c44f5f5701 nit 2023-04-29 09:44:46 +00:00
ed 138f5bc989 warn about android powersave settings on music interruption + fix eq on folder change 2023-04-29 09:31:53 +00:00
ed cacca663b3 v1.6.13 2023-04-23 23:05:31 +00:00
ed f5191973df docs cleanup:
* mostly deprecate --http-only and --https-only since there is zero
   performance gain in recent python versions, however could still be
   useful for avoiding limitations in alternative python interpreters
   (and forcing http/https with mdns/ssdp/qr)

* mention antivirus being useless as usual
2023-04-23 20:25:44 +00:00
ed 418000aee3 explain tus incompatibility + update docs 2023-04-19 21:46:33 +00:00
ed dbbba9625b nix: make deps optional + update docs 2023-04-17 13:17:53 +02:00
Chinpo Nya 397bc92fbc rewrite the nix module config with nix options 2023-04-17 00:26:57 +02:00
Chinpo Nya 24b9b8319d nix/nixos documentation 2023-04-17 00:26:57 +02:00
ed 1550350e05 update docs (performance tips, windows example) 2023-04-13 21:36:55 +00:00
ed d6a0a738ce add windows example + update docs + some cosmetics 2023-04-12 22:06:44 +00:00
ed f1775fd51c update deps 2023-04-01 15:15:53 +00:00
ed 4bb306932a update systemd notes 2023-04-01 10:32:12 +00:00
ed 2a37e81bd8 add rclone optimization, closes #21 2023-04-01 10:21:21 +00:00
ed cc355417d4 update docs 2023-03-23 23:37:45 +00:00
ed eb349f339c update foldersync / rclone docs 2023-03-20 21:54:08 +00:00
ed 7b7979fd61 add sftpgo to comparison + update docs 2023-03-19 21:45:35 +00:00
ed b7aea38d77 add iOS uploader (mk.ii) 2023-03-18 18:38:37 +00:00
ed ca04a00662 v1.6.9 2023-03-16 21:06:18 +00:00
ed 5af1575329 readme: ideas welcome w 2023-03-14 22:24:43 +00:00
ed b0cc396bca v1.6.8 2023-03-12 16:10:07 +00:00
ed e405fddf74 specify that only up2k clients will resume uploads 2023-03-09 22:47:37 +00:00
ed bf04e7c089 update some docs 2023-03-09 22:11:39 +00:00
ed e69fea4a59 exe: update screenshots 2023-02-26 22:26:40 +00:00
ed 5cb2e33353 update readmes + fix typo 2023-02-26 19:22:54 +00:00
ed 9dc6a26472 webdav.bat and readme tweaks 2023-02-20 21:00:04 +00:00
ed 9e5e3b099a add optional deps to quickstart section 2023-02-19 22:13:02 +00:00
ed 6c0987d4d0 mention --daw 2023-02-15 17:51:20 +00:00
ed b7be7a0fd8 mirror docker images to ghcr 2023-02-10 23:40:30 +00:00
ed 1526a4e084 add docker packaging 2023-02-10 23:02:01 +00:00
ed a4b56c74c7 support long filepaths on win7 + misc windows fixes 2023-02-10 18:37:37 +00:00
ed 84937d1ce0 add v2 config syntax (#20) 2023-02-07 19:54:08 +00:00
ed eb17f57761 pypi fixes 2023-02-04 17:35:20 +00:00
JeremyStarTM 4e7dd32e78
Added "wow this is better than nextcloud" (#19)
* Added "wow this is better than nextcloud"
2023-02-04 13:00:16 +00:00
ed 39399934ee v1.6.3 2023-01-31 21:03:43 +00:00
ed 87ef50d384 doc 2023-01-29 21:23:48 +00:00
ed 87ad23fb93 docs + chmod 2023-01-29 18:28:53 +00:00
ed c2ace91e52 v1.6.0 2023-01-29 02:55:44 +00:00
ed d4c5fca15b sandbox readme.md / prologue / epilogue 2023-01-28 21:24:40 +00:00
ed 75cea4f684 misc 2023-01-28 13:35:49 +00:00
ed 82f98dd54d delete/move is now POST 2023-01-28 01:02:50 +00:00
ed 741d781c18 add cors controls + improve preflight + pw header 2023-01-28 00:59:04 +00:00
ed bcd91b1809 add eventhook examples 2023-01-27 23:55:57 +00:00
ed 460709e6f3 upgrade wget downloader to use event hooks 2023-01-22 23:45:11 +00:00
ed a8768d05a9 add comparison to similar software 2023-01-22 23:39:19 +00:00
ed f8e3e87a52 add event hooks 2023-01-22 23:35:31 +00:00
ed 79aa40fdea cosmetic fixes 2022-12-14 23:12:51 +00:00
ed 0ab2a665de add example apache config + readme notes 2022-12-11 21:01:38 +00:00
ed bc7af1d1c8 u2cli: add basic folder sync 2022-12-11 17:41:10 +00:00
ed 252b5a88b1 use linklocal on NICs without routable IPs 2022-12-09 19:11:26 +00:00
ed 067cc23346 docs + cleanup 2022-12-03 18:58:56 +00:00
ed 89c9f45fd0 add option for cross-volume dedupe 2022-12-02 17:25:37 +00:00
ed 36dc8cd686 readme + misc 2022-11-27 01:30:18 +00:00
ed 6bc1bc542f rename copyparty-fuse to partyfuse 2022-11-26 19:53:41 +00:00
ed c72753c5da add native ipv6 support 2022-11-06 16:48:05 +00:00
ed b2ab8f971e add config-file preprocessor (%include) 2022-11-04 23:48:14 +00:00
ed 357e7333cc cleanup 2022-11-04 20:27:16 +00:00
ed 98818e7d63 smb: workaround impacket response size limit 2022-11-03 23:17:24 +00:00
ed 8650ce1295 smb: too many clients get confused by blank password 2022-11-03 23:08:04 +00:00
ed 89d1f52235 cursory slowloris / buggy-webdav-client detector 2022-11-01 22:18:20 +00:00
ed 3312c6f5bd autoclose connection-flooding clients 2022-10-31 22:42:47 +00:00
ed d562956809 webdav: windows configurator util 2022-10-30 17:41:33 +00:00
ed 89cf7608f9 webdav: help windows deal with read-only volumes 2022-10-30 17:11:43 +00:00
ed 79303dac6d webdav: default-disable recursive listing 2022-10-30 16:47:20 +00:00
ed fc5bfe81a0 add hotkey '?' for hotkeys listing 2022-10-30 16:05:14 +00:00
ed 1c3e4750b3 better android howto 2022-10-29 20:46:22 +00:00
ed 097b5609dc support grapheneos 2022-10-26 02:35:10 +02:00
ed 69f78b86af cleanup 2022-10-25 01:23:41 +02:00
ed 5f60c509c6 smb: add better-than-nothing permission checks 2022-10-24 21:16:57 +02:00
ed 75e5e53276 readme refactor 2022-10-24 18:48:12 +02:00
ed 4b2b4ed52d smb: fix file rename 2022-10-24 16:08:02 +02:00
ed fb21bfd6d6 update localmount / rclone docs 2022-10-24 15:48:34 +02:00
ed ff04b72f62 smb: add mkdir/copy/rename/delete 2022-10-24 14:08:32 +02:00
ed 5b6194d131 stop win10-webdav from flooding the server 2022-10-24 02:33:23 +02:00
ed 2701238cea reply raw markdown unless ?v 2022-10-24 02:10:07 +02:00
ed 835f8a20e6 default-enable webdav 2022-10-23 23:37:32 +02:00
ed f3a501db30 add SMB/CIFS server 2022-10-23 23:08:00 +02:00
ed 138b932c6a add webdav move/delete 2022-10-22 00:04:51 +02:00
ed 20eeacaac3 add webdav write support + fix http 200/201 2022-10-21 18:47:48 +02:00
ed 81d896be9f webdav notes 2022-10-19 15:52:19 +02:00
ed 046b494b53 winpe support + windows webdav stuff 2022-10-19 00:06:48 +02:00
ed f0e98d6e0d win7 webdav workarounds 2022-10-18 20:52:12 +02:00
ed fe57321853 correct 401/403 usage for webdav 2022-10-18 20:29:06 +02:00
ed 8510804e57 initial webdav support 2022-10-18 19:36:52 +02:00
ed 574db704cc packaging 2022-10-13 20:24:45 +02:00
ed 69406d4344 readme + better window title 2022-10-09 00:04:02 +02:00
ed d16dd26c65 misc 2022-10-08 21:09:04 +02:00
ed 0b265bd673 naming is hard 2022-10-08 16:34:04 +02:00
ed ee67fabbeb update readme 2022-10-08 14:25:13 +02:00
ed b213de7e62 update readme + tests 2022-10-08 14:18:52 +02:00
ed d0bb1ad141 v1.4.3 2022-09-26 22:37:54 +02:00
ed e00e80ae39 v1.4.2 2022-09-25 14:36:10 +02:00
ed ae5c4a0109 update webdeps + isort + readme 2022-09-23 22:32:04 +02:00
ed 32e71a43b8 reinvent fail2ban 2022-09-21 22:27:20 +02:00
ed 0b87a4a810 allow setting lifetimes from up2k ui 2022-09-19 23:49:07 +02:00
ed f5520f45ef add pyinstaller 2022-09-19 00:59:54 +02:00
ed 9401b5ae13 add filetype detection for nameless uploads 2022-09-18 17:30:57 +02:00
ed df64a62a03 patch popen on windows-python <3.8 2022-09-18 15:09:41 +02:00
ed 09cea66aa8 add ability to set lifetime per-file during upload 2022-09-18 13:12:38 +02:00
ed 2ae99ecfa0 new upload modifiers:
* terse upload responser
* randomize filenames
2022-09-17 14:48:53 +02:00
ed fac4b08526 firefox may forget FDs during upload; warn about it 2022-09-07 23:03:48 +02:00
ed 995cd10df8 bump timeouts for zfs / bursty filesystems 2022-09-04 21:21:54 +02:00
ed 788db47b95 option to let mtp's keep stdout/stderr 2022-09-04 01:42:28 +02:00
ed ee0a060b79 mention the chrome gc bugs 2022-08-20 09:25:29 +02:00
ed 1c69ccc6cd v1.3.12 2022-08-13 00:58:49 +02:00
ed 680f8ae814 add xdev/xvol indexing guards 2022-08-03 22:20:28 +02:00
ed bfb3303d87 include client total ETA in upload logs 2022-07-27 12:07:51 +02:00
ed 660705a436 defer volume reindexing on db activity 2022-07-27 11:48:47 +02:00
ed daa6f4c94c add video hotkeys for digit-seeking 2022-07-17 23:45:02 +02:00
ed 4a76663fb2 ensure free disk space 2022-07-17 22:33:08 +02:00
ed 3fa377a580 sqlite diag 2022-07-16 20:43:26 +02:00
ed a11c1005a8 v1.3.6 2022-07-16 03:58:58 +02:00
ed 48b957f1d5 add -e2v (file integrity checker) 2022-07-13 00:48:39 +02:00
ed a3431512d8 push queue/status info to server 2022-07-12 21:22:02 +02:00
ed daff7ff158 v1.3.4 2022-07-06 00:12:10 +02:00
ed 0862860961 misc cleanup 2022-07-06 00:00:56 +02:00
ed 51ddecd101 improve readme 2022-07-05 23:27:48 +02:00
ed 6605e461c7 improve mtp section 2022-07-03 14:23:56 +02:00
ed 40ce4e2275 cleanup 2022-07-03 13:55:48 +02:00
ed cea5aecbf2 v1.3.2 2022-06-20 01:31:29 +02:00
ed 9ad3af1ef6 misc tweaks 2022-06-19 16:05:48 +02:00
ed c6eaa7b836 aight good to know 2022-06-17 00:37:56 +02:00
ed 438384425a add types, isort, errorhandling 2022-06-16 01:07:15 +02:00
ed 4d55e60980 update flat-light ss 2022-05-16 19:01:32 +02:00
ed ddaaccd5af ux tweaks 2022-05-16 18:56:53 +02:00
ed af9000d3c8 v1.2.9 2022-05-12 23:10:54 +02:00
ed 4549145ab5 fix filekeys in basic-html browser 2022-05-01 11:29:51 +02:00
ed dc2ea20959 v1.2.8 2022-04-30 02:16:34 +02:00
ed d4b51c040e doc + ux 2022-04-29 23:13:37 +02:00
ed 125d0efbd8 good stuff 2022-04-29 02:06:56 +02:00
ed 9697fb3d84 option to disable thumbnails per volume 2022-04-14 17:11:26 +02:00
ed fd9d0e433d thumbnails: try FFmpeg for images too 2022-04-11 10:38:57 +02:00
ed b64cabc3c9 thumbnails: add pyvips as alt/supp. to pillow 2022-04-10 14:16:09 +02:00
ed ec4daacf9e v1.2.2 2022-03-20 06:15:57 +01:00
ed 6e14cd2c39 graduate copyparty-sfx.sh 2022-02-13 20:44:03 +01:00
ed b8453c3b4f ftpd: support rootless filesystems 2022-02-13 16:38:24 +01:00
ed 6ce0e2cd5b ftpd: add ftps 2022-02-13 15:46:33 +01:00
ed c1a7f9edbe ftpd: add indexing, delete, windows support 2022-02-13 13:58:16 +01:00
ed b5f2fe2f0a add ftpd 2022-02-13 03:10:53 +01:00
ed 4fbe6b01a8 clarify what the app does 2022-01-17 00:31:23 +00:00
ed ed69d42005 v1.1.11 2022-01-14 22:25:06 +01:00