Commit graph

590 commits

Author SHA1 Message Date
ed c72753c5da add native ipv6 support 2022-11-06 16:48:05 +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 c2f4090318 webdav: mute some macos spam 2022-10-30 17:45:28 +00:00
ed 62499f9b71 webdav: more sensible overwrite logic 2022-10-30 17:13:06 +00:00
ed 89cf7608f9 webdav: help windows deal with read-only volumes 2022-10-30 17:11:43 +00:00
ed dd26b8f183 webdav: bump chunksize from 2048 to 32760 byte 2022-10-30 16:53:15 +00:00
ed 79303dac6d webdav: default-disable recursive listing 2022-10-30 16:47:20 +00:00
ed 4203fc161b misc 2022-10-30 16:31:04 +00:00
ed edad3246e0 make pylance happier 2022-10-29 20:40:25 +00:00
ed f14369e038 webdav: mkdir semantics 2022-10-24 14:09:09 +02:00
ed cce57b700b fix range-request on empty files 2022-10-24 03:26: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 947dbb6f8a webdav mimetypes based on file extensions (for gnome) 2022-10-22 02:08:19 +02:00
ed 1c2fedd2bf let webdav replace empty files when sufficiently safe 2022-10-22 01:31:18 +02:00
ed 32e826efbc catch and discard macos metadata files 2022-10-22 01:15:54 +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 20c6b82bec replace magic numbers with errno.* 2022-10-19 15:21:48 +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 e788f098e2 dont fallback to icons for waveforms 2022-10-09 00:38:56 +02:00
ed 12219c1bea more fun with symlinks 2022-10-08 21:08:51 +02:00
ed 78fa96f0f4 add unpost sanchk 2022-10-08 18:23:41 +02:00
ed 2a5a4e785f include filekeys in unpost list 2022-10-08 01:18:27 +02:00
ed d8bddede6a new permission G returns filekey on write-only uploads 2022-10-08 01:17:41 +02:00
ed dbb3edec77 print qr-code on startup 2022-10-07 00:47:26 +02:00
ed abb3224cc5 option to save a copy of corrupted uploads 2022-09-26 22:01:49 +02:00
ed e00e80ae39 v1.4.2 2022-09-25 14:36:10 +02:00
ed a286cc9d55 fix printing big unicode messages 2022-09-25 14:04:35 +02:00
ed 1d367a0da0 cleanup 2022-09-23 20:37:37 +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 9401b5ae13 add filetype detection for nameless uploads 2022-09-18 17:30:57 +02:00
ed 09cea66aa8 add ability to set lifetime per-file during upload 2022-09-18 13:12:38 +02:00
ed 13cc33e0a5 support random filenames in bup too 2022-09-18 01:03:38 +02:00
ed fad1449259 drop the redundant request for folders on navigation 2022-09-17 21:39:44 +02:00
ed 3108139d51 30% faster tags listing 2022-09-17 19:36:42 +02:00
ed 2ae99ecfa0 new upload modifiers:
* terse upload responser
* randomize filenames
2022-09-17 14:48:53 +02:00
ed 0dbeb010cf fix symlinked filekeys 2022-09-16 21:41:17 +02:00
ed 1684d05d49 dont crash chrome with too many unique SVGs 2022-09-11 11:47:26 +02:00
ed 0006f933a2 hmac uploader-ip when avoiding filename collisions 2022-09-11 08:27:45 +02:00
ed 0484f97c9c stop writing upload-summary textfiles,
can be reenabled with --write-uplog
2022-09-10 22:07:10 +02:00
ed e430b2567a add pyoxidizer (windows-only) 2022-09-10 17:33:04 +02:00
ed 635ab25013 up2k.js: defer worker startup until needed 2022-09-05 00:55:52 +02:00
ed 799cf27c5d restore .bin-suffix for nameless PUT/POSTs
disappeared in v1.0.11
2022-09-03 19:59:59 +02:00
ed f727d5cb5a new cloudflare memes, thx nh 2022-08-09 09:00:22 +02:00
ed 1c3894743a fix filekeys inside symlinked volumes 2022-08-02 20:26:51 +02:00
ed dac2fad48e v1.3.8 2022-07-27 16:07:26 +02:00
ed e24ffebfc8 indicate write-activity on splashpage 2022-07-27 14:53:15 +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 c2b66bbe73 add potato mode 2022-07-14 02:33:35 +02:00
ed a3431512d8 push queue/status info to server 2022-07-12 21:22:02 +02:00
ed d832b787e7 upload smallest-file-first by default 2022-07-12 20:48:38 +02:00
ed dded4fca76 option to specify favicon + default-enable it 2022-07-05 00:06:22 +02:00
ed d8ebcd0ef7 lol dpi 2022-07-04 22:13:28 +02:00
ed 6e445487b1 satisfy cloudflare DDoS protection 2022-07-03 16:04:28 +02:00
ed 4083533916 vt100 listing: reset color at eof 2022-06-29 22:41:51 +02:00
ed a473e5e19a always include custom css/js 2022-06-27 17:24:30 +02:00
ed 917b6ec03c naming 2022-06-19 22:58:20 +02:00
ed fe67c52ead configurable list of sparse-supporting filesystems +
close nonsparse files after each write to force flush
2022-06-19 22:38:52 +02:00
ed 2147c3a646 run markdown plugins in directory listings 2022-06-19 18:17:22 +02:00
ed 190e11f7ea update deps + misc 2022-06-16 21:43:40 +02:00
ed ad7413a5ff add .PARTIAL suffix to bup uploads too +
aggressive limits checking
2022-06-16 21:00:41 +02:00
ed 903b9e627a ux snappiness + keepalive on http-1.0 2022-06-16 20:33:09 +02:00
ed 728dc62d0b optimize nonsparse uploads (fat32, exfat, hpfs) 2022-06-16 17:51:42 +02:00
ed 438384425a add types, isort, errorhandling 2022-06-16 01:07:15 +02:00
ed fe73f2d579 cleanup 2022-06-07 23:08:43 +02:00
ed 4c4b3790c7 fix read-spin on d/c during json post + errorhandling 2022-06-07 19:02:52 +02:00
ed e7cd922d8b translate splashpage and search too 2022-05-15 13:20:52 +02:00
ed 187feee0c1 add norwegian translation 2022-05-14 23:25:40 +02:00
ed 23e4b9002f support ?doc=mojibake 2022-05-13 18:10:55 +02:00
ed 67c298e66b don't embed huge docs (defer to ajax), closes #9 2022-05-13 17:08:17 +02:00
ed 0143380306 help the query planner 2022-05-13 01:41:39 +02:00
ed 2f2c65d91e improve up2k error messages 2022-05-07 22:15:09 +02:00
ed 0a1d9b4dfd nevermind, not reliable when rproxied 2022-05-01 22:35:34 +02:00
ed b50d090946 add logout on inactivity + related errorhandling 2022-05-01 22:12:25 +02:00
ed 24cb30e2c5 support login from ie4 / win3.11 2022-05-01 11:42:19 +02:00
ed 4549145ab5 fix filekeys in basic-html browser 2022-05-01 11:29:51 +02:00
ed 7755392f57 redirect to webroot after login 2022-04-30 18:15:09 +02:00
ed 125d0efbd8 good stuff 2022-04-29 02:06:56 +02:00
ed f9c159a051 add option to force up2k turbo + hide warning 2022-04-28 21:57:37 +02:00
ed 2ab1325c90 add option to load more search results 2022-04-28 21:55:01 +02:00
ed 9269bc84f2 skip more stuff windows doesn't like 2022-04-28 10:31:10 +02:00
ed f5d6ba27b2 handle invalid headers better 2022-04-27 22:30:19 +02:00
ed 73fa70b41f fix mostly-harmless xss 2022-04-27 22:29:16 +02:00
ed 2a1cda42e7 avoid deadlocks on windows 2022-04-27 22:27:49 +02:00
ed 9697fb3d84 option to disable thumbnails per volume 2022-04-14 17:11:26 +02:00
ed 2dbed4500a add flat theme 2022-04-14 16:57:51 +02:00
ed 344ce63455 basic-browser is implicitly not js 2022-03-21 01:20:47 +01:00
ed f3e8308718 eh, better as volflags 2022-03-20 05:45:07 +01:00
ed 954c7e7e50 add option to request noindex from crawlers 2022-03-20 03:23:42 +01:00
ed 67ff57f3a3 add option to disable html folder listings 2022-03-20 02:45:53 +01:00
ed ac6c4b13f5 add plaintext volume listing 2022-03-02 21:20:19 +01:00
ed c1a7f9edbe ftpd: add indexing, delete, windows support 2022-02-13 13:58:16 +01:00
ed 98a90d49cb ctrl-click document links to open in new tab 2022-02-12 20:26:44 +01:00
ed ce776a547c add rate throttling to uploads too 2022-02-06 02:06:59 +01:00
ed c9cac83d09 fix PUT response in write-only folders 2022-01-18 21:37:11 +01:00
ed e87ea19ff1 return file URL in PUT response 2022-01-11 22:59:19 +01:00
ed dd28de1796 sendfile: handle eagain 2021-12-17 00:04:19 +01:00
ed 6530cb6b05 shut socket on tx error 2021-12-16 22:51:24 +01:00
ed 50d8ff95ae good stuff 2021-12-10 02:21:56 +01:00
ed 689e77a025 option to set a custom servicename 2021-12-06 22:24:25 +01:00
ed 3bd89403d2 apply per-volume index config to ui 2021-12-06 22:04:24 +01:00
ed 352b1ed10a generate correct links when trailing slash missing 2021-12-06 19:49:14 +01:00
ed 4a843a6624 unflicker navpane + add client state escape hatch 2021-12-04 02:46:00 +01:00
ed 1521307f1e use preferred sort on initial render, fixes #8 2021-12-03 02:07:08 +01:00
ed 30f124c061 fix forcing compression levels 2021-11-20 18:51:15 +01:00
ed 2c7ffe08d7 include sha512 as both hex and b64 in responses 2021-11-20 01:03:32 +01:00
ed 6efb8b735a better handling of python builds without sqlite3 2021-11-16 01:13:04 +01:00
ed 12b3a62586 fix dumb mistakes 2021-11-15 20:13:16 +01:00
ed cae436b566 add client-option to disconnect on HTTP 304 2021-11-15 02:45:18 +01:00
ed b206c5d64e handle multiple simultaneous uploads of the same file 2021-11-14 15:03:11 +01:00
ed 62c3272351 add option to simulate latency 2021-11-14 15:01:20 +01:00
ed c26fb43ced more cleanup 2021-11-12 22:30:23 +01:00
ed b8b15814cf add traffic shaping, bump speeds on https/windows 2021-11-12 01:34:56 +01:00
ed a90586e6a8 add reload api 2021-11-06 19:05:58 +01:00
ed f050647b43 rescan volumes on sigusr1 2021-11-06 18:20:31 +01:00
ed e9ab6aec77 allow full mime override 2021-11-06 00:50:20 +01:00
ed 82a0401099 at some point firefox became case-sensitive 2021-11-04 22:10:45 +01:00
ed f083acd46d let client force plaintext response content-type 2021-11-04 22:02:39 +01:00
ed cb7674b091 make prism optional 2021-11-04 03:10:13 +01:00
ed ba36f33bd8 add textfile viewer 2021-11-04 01:40:03 +01:00
ed fdd4f9f2aa dirlist alignment 2021-11-02 18:59:34 +01:00
ed aa2dc49ebe trailing newline for plaintext folder listings 2021-11-02 18:48:32 +01:00
ed f6f9fc5a45 add audio transcoder 2021-11-02 02:59:37 +01:00
ed 3eb83f449b truncate ridiculous extensions 2021-10-27 23:42:28 +02:00
ed d31f69117b better plaintext and vt100 folder listings 2021-10-27 23:04:59 +02:00
ed 94dbd70677 plaintext folder listing with ?ls=t 2021-10-27 00:00:12 +02:00
ed 060dc54832 thumbnail caching 2021-10-24 00:29:04 +02:00
ed f7a4ea5793 add --js-browser 2021-10-24 00:26:47 +02:00
ed 806fac1742 nullwrite fixes 2021-10-19 00:58:24 +02:00
ed 4f97d7cf8d normalize collision suffix 2021-10-19 00:49:35 +02:00
ed 42acc457af allow providing target filename in PUT 2021-10-19 00:48:00 +02:00
ed 3b4dfe326f support pythons with busted ffi 2021-10-12 00:44:55 +02:00
Daedren fc7fe70f66 is_http now a class variable. Also checks lowercase value 2021-10-09 09:58:14 +02:00
Daedren 5aff39d2b2 Protocol of uploaded file based on X-Forwarded-Proto 2021-10-09 09:58:14 +02:00
ed 9e10af6885 make the 404/403 vagueness optional 2021-10-01 19:51:51 +02:00
ed 5886a42901 url escaping 2021-09-26 16:59:02 +02:00
ed 0d5ca67f32 up2k-srv: add option to reuse file-handles 2021-09-26 03:44:22 +02:00
ed 59be76cd44 fix basic-upload into fk-enabled folders 2021-09-19 15:00:55 +02:00
ed b78d207121 encourage statics caching 2021-09-19 00:36:48 +02:00
ed 0fcbcdd08c correctly ordered folders in initial listing 2021-09-19 00:08:29 +02:00
ed fb3811a708 bunch of filekey fixes 2021-09-18 23:44:44 +02:00
ed 06bbf0d656 filekeys in search results 2021-09-18 17:26:13 +02:00
ed 6ddd952e04 return filekeys in upload summary if read-access 2021-09-18 15:57:43 +02:00
ed 2ad12b074b return 404 on browsing folders with g 2021-09-16 00:17:27 +02:00
ed ef1c55286f add filekeys 2021-09-15 23:17:02 +02:00
ed abc0424c26 show login prompt on 404 2021-09-15 21:53:30 +02:00
ed 44e5c82e6d more aggressively no-cache 2021-09-15 20:49:02 +02:00
ed 5849c446ed new access level g 2021-09-15 01:01:20 +02:00
ed 21662c9f3f error-message cleanup 2021-09-07 20:51:07 +02:00
ed a009ff53f7 show README.md in directory listings 2021-09-06 00:23:35 +02:00
ed a61f8133d5 add option to disable logues 2021-09-05 22:33:42 +02:00
ed c2bf6fe2a3 add basic authentication 2021-09-03 20:15:24 +02:00
ed f600116205 login returns to volume listing 2021-08-30 01:55:24 +02:00
ed a1d05e6e12 folder thumbnail fix 2021-08-20 19:22:25 +02:00
ed 84bb6f915e fix unpost ui for nonroot volumes 2021-08-16 00:03:05 +02:00
ed 46752f758a fix bup into volumes with upload rules 2021-08-15 23:59:41 +02:00
ed 030d1ec254 no wait thats too much 2021-08-09 01:15:51 +02:00
ed 5a2b91a084 handle more exceptions + sanitize fs paths in msgs 2021-08-09 01:09:20 +02:00
ed 621471a7cb add streaming upload compression 2021-08-08 02:45:50 +02:00
ed 46e7fa31fe up2k-cli: handle subfolders better 2021-08-07 20:43:24 +02:00
ed 9a45549b66 adding upload rules 2021-08-07 03:45:50 +02:00
ed 3993605324 add -mth (deafult-hidden columns) 2021-08-02 00:47:07 +02:00
ed 24a2f760b7 v0.12.5 2021-07-30 19:28:14 +02:00
ed 4476f2f0da v0.12.3 orz 2021-07-30 00:32:21 +02:00
ed c164fc58a2 add unpost 2021-07-29 23:53:08 +02:00
ed 0c625a4e62 store upload ip and time 2021-07-29 00:30:10 +02:00
ed 72574da834 hide fileman buttons when argv-disabled 2021-07-26 23:35:55 +02:00
ed e648252479 mv works (at least in trivial cases) 2021-07-25 21:15:43 +02:00
ed d020527c6f centralize mojibake support stuff 2021-07-24 21:56:55 +02:00
ed 4451485664 mv/rm (serverside), 100% untested 2021-07-24 20:08:31 +02:00
ed a4e1a3738a more deletion progress 2021-07-23 23:42:07 +02:00
ed 4339dbeb8d mv/rm handlers 2021-07-23 01:14:49 +02:00
ed 5b0605774c add move/delete permission flags 2021-07-22 23:48:29 +02:00
ed 0194eeb31f add login/permissions indicator 2021-07-20 22:42:03 +02:00
ed 629f537d06 add more hotkey tooltips 2021-07-17 01:05:26 +02:00
ed 4446760f74 fix link to ?stack on rootless configs 2021-07-12 22:55:38 +02:00
ed 8837c8f822 print zip/tar errors to log 2021-07-12 00:47:22 +02:00
ed bac301ed66 get rid of iffy default-args 2021-07-12 00:15:13 +02:00
ed 8fcde2a579 move tcp accept into mp-worker 2021-07-09 15:49:36 +02:00
ed b32d1f8ad3 make ?stack work anywhere 2021-07-09 13:46:42 +02:00
ed efbf8d7e0d better handling of invalid requests 2021-07-06 01:03:09 +02:00
ed 397396ea4a apply -nw to PUT uploads too 2021-07-06 00:49:39 +02:00
ed 2f85c1fb18 add logging to file 2021-07-05 23:30:33 +02:00
ed 1e27a4c2df make thumb-dir.txt unretrievable 2021-07-05 00:21:33 +02:00
ed a5120d4f6f parallelize handshakes 2021-07-04 01:48:01 +02:00
ed d6b5351207 add cachebuster because chrome ignores no-cache 2021-07-01 20:10:02 +02:00
ed 05345ddf8b add per-connection request counting 2021-06-30 01:00:00 +02:00
ed 0f09b98a39 scan for additional folder thumbnails 2021-06-30 00:19:39 +02:00
ed 0d46d548b9 fix panic when zero accounts 2021-06-28 15:20:40 +02:00
ed 2b0a7e378e persist url-password as cookie 2021-06-25 20:39:55 +02:00
ed f1870daf0d retry filesearch when rate-limited 2021-06-23 22:01:06 +02:00
ed 9d014087f4 censor passwords in logs 2021-06-23 00:04:11 +02:00
ed 6249bd4163 add pebkac hints 2021-06-22 17:18:34 +02:00
ed 356512270a file extensions dont contain whitespace 2021-06-21 23:50:35 +02:00
ed 2fcd0e7e72 abandon listing tags in browser when db busy 2021-06-20 21:19:47 +02:00
ed 357347ce3a lower timeout on db reads 2021-06-20 21:03:35 +02:00
ed e3031bdeec fix up2k folder-upload 2021-06-20 00:00:50 +00:00
ed 75917b9f7c better fallback 2021-06-19 16:21:39 +02:00
ed 10362aa02e v0.11.18 2021-06-18 00:30:37 +02:00
ed 48a2e1a353 add threadwatcher 2021-06-14 01:57:18 +02:00
ed 3fd0ba0a31 oh right its the other way around 2021-06-13 22:49:55 +02:00
ed 241a143366 add --rproxy for explicit proxy level 2021-06-13 22:22:31 +02:00
ed e7b18ab9fe custom css 2021-06-12 04:22:07 +02:00
ed f156e00064 s/cover/folder/g 2021-06-12 03:06:56 +02:00
ed d53c212516 add mtp queue to status page 2021-06-12 02:23:48 +02:00
ed 88ce008e16 more status on admin panel 2021-06-12 01:39:14 +02:00
ed 081d2cc5d7 add folder thumbnails (cover.jpg or png) 2021-06-11 23:54:54 +02:00
ed 60ac68d000 single authsrv instance per process 2021-06-11 23:01:13 +02:00
ed 972a56e738 fix stuff 2021-06-11 01:45:28 +02:00
ed 5e03b3ca38 use parent db/thumbs in jump-volumes 2021-06-10 20:43:19 +02:00
ed a359d64d44 v0.11.11 2021-06-08 23:43:00 +02:00
ed 1d6ae409f6 count expenses when sending files 2021-06-08 20:17:53 +02:00
ed 9d729d3d1a add thread names 2021-06-08 20:14:23 +02:00
ed b77bed3324 fix terminating tls connections wow 2021-06-08 09:40:49 +02:00
ed 89e48cff24 detect recursive symlinks 2021-06-07 20:09:18 +02:00
ed cda36ea8b4 support json replies from bput 2021-06-06 18:47:21 +02:00
ed 7d20eb202a optimize 2021-06-04 19:35:08 +02:00
ed d89329757e fix permission check in tar/zip generator (gdi) 2021-06-01 03:55:31 +02:00
ed e5f34042f9 more precise volume state in admin panel 2021-06-01 02:32:53 +02:00
ed d0bed95415 search: add a query language 2021-06-01 01:16:40 +02:00
ed 0be7c5e2d8 live db/tags rescan 2021-05-29 23:35:07 +02:00
ed 97be495861 another chrome bug:
navigating somewhere and back can return a REALLY OLD copy of the page
2021-05-29 12:31:06 +02:00
ed 81e281f703 add opus mimetype 2021-05-29 10:17:24 +02:00
ed d25881d5c3 mojibake fixes 2021-05-29 09:01:59 +02:00
ed 7b54a63396 icon fix 2021-05-28 06:25:00 +02:00
ed 0a22b1ffb6 dont log thumbnail GETs by default 2021-05-28 05:16:01 +02:00
ed 5d63949e98 create webp thumbnails by default 2021-05-28 02:44:13 +02:00
ed 6b065d507d crop thumbs for AESTHETICS 2021-05-28 01:46:27 +02:00
ed f7ee02ec35 ux fixes 2021-05-27 01:41:50 +02:00
ed 483dd527c6 add cache eviction 2021-05-25 19:46:35 +02:00
ed e55678e28f fix thumb/ico bugs 2021-05-25 17:36:31 +02:00
ed 4dff726310 initial thumbnail and icon stuff 2021-05-25 03:37:01 +02:00
ed 3b8f697dd4 include links in bup summary 2021-05-16 07:51:22 +02:00
ed 78ba16f722 log filtering by url regex 2021-05-16 07:29:34 +02:00
ed 0fcfe79994 general-purpose file parsing 2021-05-16 07:04:18 +02:00
ed 8810e0be13 add option to log headers 2021-05-16 02:11:09 +02:00
ed 58ba71a76f option to hide incomplete uploads 2021-05-13 22:56:52 +02:00
ed c061461d01 fix md perm reqs + dyn up2k modeset 2021-05-13 17:22:31 +02:00
ed e7982a04fe explicit redirect to single non-roots 2021-05-13 16:54:31 +02:00
ed 33b91a7513 set password cookie expiration 2021-05-13 16:23:28 +02:00
ed 9bb1323e44 rclone faster + query params correctness 2021-05-13 16:02:30 +02:00
ed 26e18ae800 disallow uploading logues 2021-05-12 23:22:43 +02:00