Commit graph

406 commits

Author SHA1 Message Date
ed fd89f7ecb9 idp: abandon idea for persisting idp volumes;
too fraught with subtle dangers, such as other copyparty instances
ending up sharing knowledge of volumes unintentionally, and
configuration becoming mysteriously sticky (not to mention
this would all become hella difficult to reason about)

instead, rely entirely on users seeing the big red warning
added in 2ebfdc25 if their configuration is dangerous

this decision has the drawback that there will be server stuttering
whenever a new user makes themselves known since the last restart,
as it realizes the volumes exist and does the usual e2ds indexing,
instead of doing it early during startup

but it's probably good enough
2024-03-13 21:49:49 +00:00
ed 2ebfdc2562 idp: add anon-read sanchk 2024-03-13 21:36:36 +00:00
ed dbf1cbc8af idp: hide login/logout UI + improve html_head handling 2024-03-13 18:22:24 +00:00
ed a259704596 Merge branch 'hovudstraum' into idp 2024-03-13 17:28:48 +00:00
ed f8966222e4 todo-done: IdP secret-tokens 2024-03-12 23:06:20 +00:00
ed d71f844b43 IdP: add safeguard --idp-h-key and also require --xff-src 2024-03-12 22:57:47 +00:00
ed f193f398c1 Merge branch 'hovudstraum' into idp 2024-03-12 17:31:27 +00:00
ed 3f05b6655c add UI to abort an unfinished upload; suggested in #77
to abort an upload, refresh the page and access the unpost tab,
which now includes unfinished uploads (sorted before completed ones)

can be configured through u2abort (global or volflag);
by default it requires both the IP and account to match

https://a.ocv.me/pub/g/nerd-stuff/2024-0310-stoltzekleiven.jpg
2024-03-11 01:32:02 +01:00
ed a1ad608267 add TODO.md, closes #78 2024-03-09 09:02:16 +00:00
ed bec3fee9ee idp(#62): add unfinished docker-compose attempts 2024-02-27 02:01:06 +00:00
ed c8ea4066b1 less confusing explanation hopefully 2024-02-25 04:43:32 +00:00
ed 6cc7101d31 custom-fonts: add config file example (#74) 2024-02-25 00:15:57 +00:00
ed 263adec70a add support for custom fonts; closes #74 2024-02-24 23:30:17 +00:00
ed ac96fd9c96 get rid of brotli due to poor support; closes #73
some reverse-proxies expect plaintext replies, and
we don't have a brotli decompressor to satisfy this

additionally, because brotli is https-gated (thx google),
it was already an impractical mess anyways

the sfx is now 7 KiB larger
2024-02-24 22:24:44 +00:00
ed 1b52ef1f8a Merge branch 'hovudstraum' into idp 2024-02-23 22:25:48 +00:00
ed 13e77777d7 v1.10.2 2024-02-21 21:32:11 +00:00
ed eeecc50757 v1.10.1 2024-02-18 15:54:38 +00:00
ed a0da0122b9 v1.10.0 2024-02-15 00:00:41 +00:00
ed d636316a19 add tftp server 2024-02-10 18:37:21 +00:00
ed 35165f8472 Merge branch 'hovudstraum' into idp 2024-02-03 19:14:49 +00:00
ed fabeebd96b v1.9.31 2024-02-03 15:33:11 +00:00
ed b1cf588452 add lore 2024-02-03 15:05:27 +00:00
ed caf7e93f5e IdP (#62): add groups + dynamic vols (non-persistent)
features which should be good to go:
* user groups
* assigning permissions by group
* dynamically created volumes based on username/groupname
* rebuild vfs when new users/groups appear

but several important features still pending;
* detect dangerous configurations
   * dynamic vol below readable path
* remember volumes created during previous runs
   * helps prevent unintended access
   * correct filesystem-scan on startup
2024-01-30 19:13:42 +01:00
ed eefa0518db change FFmpeg from BtbN to gyan/codex;
deps are more up-to-date and slightly better codec selection
2024-01-28 22:04:01 +00:00
ed 6c2c6090dc notes: hardlink/symlink conversion + phone cam sync 2024-01-27 18:52:08 +00:00
ed fade751a3e v1.9.30 2024-01-25 22:52:42 +00:00
ed 14bccbe45f backports from IdP branch:
* allow mounting `/` (the entire filesystem) as a volume
  * not that you should (really, you shouldn't)
* improve `-v` helptext
* change IdP group symbol to @ because % is used for file inclusion
  * not technically necessary but is less confusing in docs
2024-01-25 21:39:30 +00:00
ed 64cac003d8 add missing historic changelog entries 2024-01-24 01:28:29 +00:00
ed 140f6e0389 add contextlet + igloo irc config + upd changelog 2024-01-14 04:58:24 +00:00
ed 9bc09ce949 accept file POSTs without specifying the act field;
primarily to support uploading from Igloo IRC but also generally useful
(not actually tested with Igloo IRC yet because it's a paid feature
so just gonna wait for spiky to wake up and tell me it didn't work)
2024-01-08 19:09:53 +00:00
ed 987caec15d v1.9.28 2023-12-31 18:49:42 +00:00
ed 39554b4bc3 guard against unintended access if user-db is corrupted 2023-12-24 16:12:18 +01:00
ed 97d9c149f1 IdP config draft (#62) 2023-12-24 13:46:26 +01:00
ed d15000062d v1.9.27 2023-12-08 21:33:12 +00:00
ed a360ac29da v1.9.26 2023-12-08 01:36:01 +00:00
ed c7770904e6 v1.9.25 2023-12-01 23:26:16 +00:00
ed e6bcee28d6 v1.9.22 2023-12-01 00:31:02 +00:00
ed 00812cb1da new option --ipa; client IP allowlist:
connections from outside the specified list of IP prefixes are rejected
(docker-friendly alternative to -i 127.0.0.1)

also mkdir any missing folders when logging to file
2023-11-30 20:45:43 +00:00
ed 16766e702e add basic-docker-compose (#59) 2023-11-30 20:14:38 +00:00
ed c4ba123779 v1.9.21 2023-11-25 14:17:58 +00:00
ed eddce00765 v1.9.20 2023-11-21 23:25:41 +00:00
ed 9ccc238799 v1.9.19 2023-11-19 12:29:19 +00:00
ed deef32335e v1.9.18 2023-11-18 21:06:55 +00:00
ed ee3333362f v1.9.17 2023-11-11 17:38:43 +00:00
ed 7c0c6b94a3 drop asyncore; pyftpdlib has vendored it 2023-11-11 17:20:00 +00:00
ed dabdaaee33 v1.9.16 2023-11-04 21:58:01 +00:00
ed c07e0110f8 v1.9.15 2023-10-24 16:43:26 +00:00
ed 250aa28185 v1.9.13 2023-10-21 13:14:41 +00:00
ed e4001550c1 v1.9.11 2023-10-09 00:36:54 +00:00
ed acc363133f v1.9.10 2023-10-08 20:51:49 +00:00
ed e7fff77735 v1.9.9 2023-10-07 22:29:37 +00:00
ed fcc3336760 v1.9.8 2023-10-06 17:50:35 +00:00
ed fae5a36e6f v1.9.7 2023-09-30 23:32:51 +00:00
ed cae5ccea62 v1.9.6 2023-09-23 12:15:24 +00:00
ed a996a09bba v1.9.5 2023-09-09 13:36:56 +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 cadaeeeace v1.9.4 2023-09-02 00:18:53 +00:00
ed 700111ffeb v1.9.3 2023-08-31 22:11:31 +00:00
ed ac21fa7782 v1.9.2 2023-08-26 21:16:30 +00:00
ed 14497b2425 docs:
* mention cloudflare-specific nginx config

versus.md:
* seafile has a size limit on zip downloads
* seafile and nextcloud are slow at uploading many small files

u2c: improve error message in funky environments
2023-08-25 21:57:26 +00:00
ed cafe53c055 v1.9.0 2023-08-20 22:02:40 +00: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 9eaa9904e0 v1.8.6 2023-07-21 00:36:37 +00:00
ed 3dcc386b6f v1.8.3 2023-07-16 22:00:04 +00:00
ed 85a637af09 v1.8.2 2023-07-14 15:58:39 +00:00
ed a10cad54fc v1.8.1 2023-07-07 22:20:01 +00:00
ed e197895c10 support hashed passwords; closes #39 2023-06-25 21:50:33 +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 9f122ccd16 make-sfx: option to auto-obtain webdeps 2023-06-04 23:46:38 +00:00
ed df5d309d6e document the make-sfx.sh fast option 2023-06-04 14:13:35 +00:00
ed c355f9bd91 catch common environment issues (#32):
* error-message which explains how to run on py2 / older py3
   when trying to run from source
* check compatibility between jinja2 and cpython on startup
* verify that webdeps are present on startup
* verify that webdeps are present when building sfx
* make-sfx.sh grabs the strip-hints dependency
2023-06-04 13:13:36 +00:00
ed 4ccfeeb2cd v1.7.2 2023-05-13 00:00:07 +00:00
ed deca082623 v1.7.1 2023-05-07 18:34:39 +00:00
ed 572aa4b26c rename up2k.py (client) to u2c.py 2023-05-07 15:35:56 +00:00
ed 867d8ee49e replace setup.py with pyproject.toml + misc cleanup 2023-05-07 14:37:57 +00:00
ed 7eb413ad51 doc tweaks 2023-05-05 19:39:10 +00:00
ed 1e22222c60 v1.7.0 2023-04-29 21:14:38 +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 d3ccd3f174 v1.6.15 2023-04-26 23:00:55 +00:00
ed 673b4f7e23 option to show symlink's lastmod instead of deref;
mainly motivated by u2cli's folder syncing in turbo mode
which would un-turbo on most dupes due to wrong lastmod

disabled by default for regular http listings
(to avoid confusion in most regular usecases),
enable per-request with urlparam lt

enabled by default for single-level webdav listings
(because rclone hits the same issue as u2cli),
can be disabled with arg --dav-rt or volflag davrt

impossible to enable for recursive webdav listings
2023-04-26 18:54:21 +00:00
ed 8790f89e08 fix installing from source tarball 2023-04-26 18:40:47 +00:00
ed cacca663b3 v1.6.13 2023-04-23 23:05:31 +00:00
ed d999f06bb9 volflags can be -unset 2023-04-23 21:05:29 +00:00
ed 42099baeff v1.6.12 2023-04-20 21:41:47 +00:00
ed 418000aee3 explain tus incompatibility + update docs 2023-04-19 21:46:33 +00:00
ed 1550350e05 update docs (performance tips, windows example) 2023-04-13 21:36:55 +00:00
ed 5cc190c026 better 2023-04-12 22:09:46 +00:00
ed d6a0a738ce add windows example + update docs + some cosmetics 2023-04-12 22:06:44 +00:00
ed f0000d9861 v1.6.11 2023-04-01 21:12:54 +00:00
ed 2a37e81bd8 add rclone optimization, closes #21 2023-04-01 10:21:21 +00:00
ed c01cad091e v1.6.10 2023-03-20 21:56:31 +00:00
ed eb349f339c update foldersync / rclone docs 2023-03-20 21:54:08 +00:00
ed 24d8caaf3e switch rclone to owncloud mode so it sends lastmod 2023-03-20 21:45:52 +00:00
ed 7b7979fd61 add sftpgo to comparison + update docs 2023-03-19 21:45:35 +00:00
ed ca04a00662 v1.6.9 2023-03-16 21:06:18 +00:00
ed b0cc396bca v1.6.8 2023-03-12 16:10:07 +00:00
ed c39c93725f v1.6.7 2023-03-05 20:18:16 +00:00
ed ecdec75b4e v1.6.6 2023-02-26 20:30:17 +00:00
ed 5cb2e33353 update readmes + fix typo 2023-02-26 19:22:54 +00:00
ed dc2e2cbd4b v1.6.5 2023-02-12 14:11:45 +00:00
ed cdec42c1ae v1.6.4 2023-02-11 18:02:05 +00:00
ed 1526a4e084 add docker packaging 2023-02-10 23:02:01 +00:00
ed 84937d1ce0 add v2 config syntax (#20) 2023-02-07 19:54:08 +00:00
ed 5095d17e81 more interesting config example 2023-02-05 21:32:20 +00:00
ed 4a7633ab99 fix outdated docs mentioned in #17 sry 2023-02-02 20:12:32 +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 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 b005acbfda enable text selection between breadcrumbs + update vs 2023-01-23 22:44:29 +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 264894e595 add cursed usecases 2023-01-16 21:46:11 +00:00
ed dacca18863 v1.5.6 2023-01-12 05:15:30 +00:00
ed 4500c04edf v1.5.4 2022-12-29 04:44:15 +00:00
ed fbc2424e8f v1.5.2 2022-12-12 22:59:31 +00:00
ed 0ab2a665de add example apache config + readme notes 2022-12-11 21:01:38 +00:00
ed cd9cafe3a1 v1.5.0 2022-12-03 20:45:49 +00:00
ed 067cc23346 docs + cleanup 2022-12-03 18:58:56 +00:00
ed c7d950dd5e ux tweaks + devdocs 2022-11-27 22:07:28 +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 8829f56d4c mdns ipv6 fixes; now works on ie11/safari, not linux:
* subscribe/announce on LL only
* add NSEC records if 4/6-only
2022-11-15 06:39:53 +00:00
ed b3eb117e87 add mdns zeroconf announcer 2022-11-13 20:05:16 +00:00
ed b2ab8f971e add config-file preprocessor (%include) 2022-11-04 23:48:14 +00:00
ed 4203fc161b misc 2022-10-30 16:31:04 +00:00
ed a42af7655e fix relative link 2022-10-26 02:32:24 +02:00
ed 75e5e53276 readme refactor 2022-10-24 18:48:12 +02:00
ed fb21bfd6d6 update localmount / rclone docs 2022-10-24 15:48:34 +02:00
ed acd32abac5 v1.4.6 2022-10-13 21:37:05 +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 dbb3edec77 print qr-code on startup 2022-10-07 00:47:26 +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 98d5aa17e2 notes on dealing with bitflips 2022-09-24 22:41:00 +02:00
ed ae5c4a0109 update webdeps + isort + readme 2022-09-23 22:32:04 +02:00
ed f5474d34ac embed licenses 2022-09-20 20:11:38 +02:00
ed 6db72d7166 optimizations / cleanup 2022-09-15 01:18:19 +02:00
ed e430b2567a add pyoxidizer (windows-only) 2022-09-10 17:33:04 +02:00
ed 500e3157b9 v1.3.16 2022-08-18 19:24:06 +02:00
ed a900c36395 v1.3.15 2022-08-18 01:02:19 +02:00
ed 389a00ce59 v1.3.13 2022-08-15 19:11:21 +02:00
ed 1c69ccc6cd v1.3.12 2022-08-13 00:58:49 +02:00
ed 4aaa111925 v1.3.9 2022-08-04 00:39:37 +02:00
ed 680f8ae814 add xdev/xvol indexing guards 2022-08-03 22:20:28 +02:00
ed 660705a436 defer volume reindexing on db activity 2022-07-27 11:48:47 +02:00
ed 4a76663fb2 ensure free disk space 2022-07-17 22:33:08 +02:00
ed c2a0b1b4c6 autopotato 2022-07-15 02:39:32 +02:00
ed c2b66bbe73 add potato mode 2022-07-14 02:33:35 +02:00
ed 0862860961 misc cleanup 2022-07-06 00:00:56 +02:00
ed 715727b811 add changelog 2022-06-17 15:33:57 +02:00
ed 00b5db52cf notes 2022-05-01 12:02:27 +02:00
ed ec4daacf9e v1.2.2 2022-03-20 06:15:57 +01:00
ed fc9dd5d743 meadup changes 2022-01-03 01:16:27 +01:00
ed 41ce613379 add multisearch 2021-12-12 20:11:07 +01:00
ed dd122111e6 v1.1.4 2021-11-28 04:22:05 +01:00
ed 3ca46bae46 good oneliner 2021-11-20 00:20:34 +01:00
ed 51e6c4852b retire ogvjs 2021-11-14 19:28:44 +01:00
ed c26fb43ced more cleanup 2021-11-12 22:30:23 +01:00
ed 8a59b40c53 better clientside upload dedup 2021-11-10 20:57:45 +01:00
ed 0ced020c67 update readme 2021-11-06 22:15:37 +01:00
ed 8164910fe8 support setting argv from config files 2021-11-06 03:11:21 +01:00
ed 3498644055 fix permission parser so it matches the documentation 2021-11-06 03:09:03 +01:00
ed 03ca96ccc3 performance tips 2021-10-31 06:24:11 +01:00
ed d77ec22007 more ux 2021-10-23 16:59:11 +02:00
ed 734e9d3874 v1.0.8 2021-10-04 22:50:06 +02:00
ed 9fe1edb02b support multiple volume flags in one group 2021-09-18 23:45:43 +02:00
ed 32a1c7c5d5 cosmetic 2021-09-18 02:07:29 +02:00
ed c5fbbbbb5c show current line number in md-editor 2021-09-17 01:36:06 +02:00
ed abc0424c26 show login prompt on 404 2021-09-15 21:53:30 +02:00
ed 759b0a994d alternative equalizer tuning 2021-09-09 00:27:18 +02:00
ed 5e62532295 minimal-up2k: remove filesearch dropzone 2021-09-08 09:16:02 +02:00
ed 96771bf1bd linken 2021-09-07 22:12:28 +02:00
ed 580078bddb more readme stuff 2021-09-07 22:10:59 +02:00
ed c5c7080ec6 more readme fixup 2021-09-07 21:57:33 +02:00
ed 4f5e8f8cf5 toc tweaks 2021-09-04 21:21:18 +02:00
ed 95309afeea fix file-list jumping around during uploads 2021-09-03 20:17:44 +02:00
ed cab7c1b0b8 browser-icons: centered play button 2021-09-01 22:35:27 +02:00
ed fff052dde1 explain the magic 2021-08-29 00:11:06 +02:00
ed 12a3f0ac31 update the filetype icons example 2021-08-28 02:56:07 +02:00
ed 2b6e5ebd2d update minimal-up2k 2021-08-25 08:26:38 +02:00
ed cc05e67d8f add summaries to readme toc 2021-08-22 17:23:42 +02:00
ed 638b05a49a fix image-viewer touch handler 2021-08-14 22:40:54 +02:00
ed 0a25a88a34 add mojibake fixer 2021-07-31 14:31:39 +02:00
ed 24a2f760b7 v0.12.5 2021-07-30 19:28:14 +02:00
ed 5b0605774c add move/delete permission flags 2021-07-22 23:48:29 +02:00
ed 4bfb0d4494 notes 2021-07-19 23:46:44 +02:00
ed 919bd16437 add hls notes 2021-07-03 01:32:36 +02:00
ed d94c6d4e72 more rice 2021-06-25 03:02:04 +02:00
ed 1e0a448feb audio-key: truncate at 5min + mojibake support 2021-06-22 22:21:39 +02:00
ed 2579dc64ce update notes 2021-06-21 22:49:28 +00:00
ed 35e2138e3e doc: macos support 2021-06-21 18:42:15 +02:00
ed cf2d6650ac audio-eq: flatten frequency response 2021-06-15 21:06:00 +02:00
ed 4846e1e8d6 mention num.clients for rproxy 2021-06-14 19:27:34 +02:00
ed fc024f789d v0.11.14 2021-06-14 03:05:50 +02:00
ed 6da63fbd79 up2k-cli: recover from lost handshakes 2021-06-14 01:01:06 +02:00