ed
8f59afb159
fix another race (unpost):
...
unposting could collide with most other database-related activities,
causing one or the other to fail.
luckily the unprotected query performed by the unpost API happens to be
very cheap, so also the most likely to fail, and would succeed upon a
manual reattempt from the UI.
even in the worst case scenario, there would be no unrecoverable damage
as the next rescan would auto-repair any resulting inconsistencies.
2023-07-14 15:21:14 +00:00
ed
77f1e51444
fix unlikely race (e2tsr):
...
if someone with admin rights refreshes the homepage exactly as the
directory indexer decides to `_drop_caches`, the indexer thread would
die and the up2k instance would become inoperable...
luckily the probability of hitting this by chance is absolutely minimal,
and the worst case scenario is having to restart copyparty if this
happens immediately after startup; there is no risk of database damage
2023-07-14 15:20:25 +00:00
ed
22fc4bb938
add event-hook for banning users
2023-07-13 22:29:32 +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
b54b7213a7
more thumbnailer configs available as volflags:
...
--th-convt = convt
--th-no-crop = nocrop
--th-size = thsize
2023-07-11 22:15:37 +00:00
ed
a14943c8de
update pkgs to 1.8.1
2023-07-07 23:58:16 +00:00
ed
a10cad54fc
v1.8.1
2023-07-07 22:20:01 +00:00
ed
8568b7702a
add pillow10 support + improve text rendering
2023-07-07 22:13:04 +00:00
ed
5d8cb34885
404/403 can be handled with plugins
2023-07-07 21:33:40 +00:00
ed
8d248333e8
dont disable quickedit when hashing passwords interactively
2023-07-07 18:29:30 +00:00
ed
99e2ef7f33
ux: fix tabs clipping in fedora-ff, hackertheme up2k flags
2023-07-07 18:24:58 +00:00
ed
e767230383
very-bad-idea: prefer mpv / streamlink; closes #42
2023-06-28 21:25: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
50905439e4
update pkgs to 1.8.0
2023-06-26 00:46:55 +00:00
ed
a0c1239246
v1.8.0
2023-06-26 00:05:12 +00:00
ed
b8e851c332
cloudflare update + cosmetics:
...
* toastb padding fixes scrollbar on norwegian 403 in firefox
* fix text aspect ratio in seekbaron compact toggle
* crashpage had link overlaps on homepage
2023-06-25 23:09:29 +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
cb75efa05d
md-editor: index file and trigger upload hooks
2023-06-20 18:11:35 +00:00
ed
8b0cf2c982
volflags to limit volume size / num files; closes #40
2023-06-19 00:42:45 +00:00
ed
fc7d9e1f9c
update pkgs to 1.7.6
2023-06-11 09:13:58 +00:00
ed
10caafa34c
v1.7.6
2023-06-11 08:14:45 +00:00
ed
22cc22225a
v1.7.5
2023-06-11 01:32:56 +00:00
ed
22dff4b0e5
update pkgs to 1.7.4
2023-06-11 01:26:25 +00:00
ed
a00ff2b086
v1.7.4
2023-06-11 00:07:38 +00:00
ed
e4acddc23b
v1.7.3
2023-06-11 00:03:03 +00:00
ed
2b2d8e4e02
tls / gencert fixes
2023-06-10 23:34:34 +00:00
ed
5501d49032
prefer urandom for fk-salt unless cert.pem exists
2023-06-10 22:47:39 +00:00
ed
fa54b2eec4
generate tls certs
2023-06-10 22:46:24 +00:00
ed
cb0160021f
upgrade pyinstaller env/deps
2023-06-10 11:58:58 +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
8ebe1fb5e8
mention cfssl.sh in the default-certificate warning,
...
and improve documentation inside cfssl.sh
2023-06-06 21:41:19 +00:00
clach04
2acdf685b1
Fix issue #33 - no color output expected when redirecting stdout
2023-06-05 01:58:49 +02:00
ed
9f122ccd16
make-sfx: option to auto-obtain webdeps
2023-06-04 23:46:38 +00:00
ed
03be26fafc
improve check for type-hint support
2023-06-04 22:59:25 +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
9c28ba417e
option to regex-exclude files in browser listings
2023-06-02 21:54:25 +00:00
ed
705b58c741
support the NO_COLOR environment variable
...
https://no-color.org/ and more importantly
https://youtu.be/biW5UVGkPMA?t=150
2023-06-02 20:22:57 +00:00
ed
510302d667
support ftps-only; closes #30
2023-06-02 19:02:50 +00:00
ed
025a537413
add option to show thumbs by default; closes #31
2023-06-02 18:41:21 +00:00
ed
60a1ff0fc0
macos: mute select() noise on wake from suspend
2023-05-19 16:37:52 +02:00
ed
f94a0b1bff
update pkgs to 1.7.2
2023-05-13 00:49:46 +00:00
ed
4ccfeeb2cd
v1.7.2
2023-05-13 00:00:07 +00:00
ed
2646f6a4f2
oh nice, looks like 3.18 fixed whatever broke in 3.17
2023-05-12 23:38:10 +00:00
ed
b286ab539e
readme: add more examples
2023-05-12 22:41:06 +00:00
ed
2cca6e0922
warn when sharing certain system locations
2023-05-12 21:38:16 +00:00
ed
db51f1b063
cfg: allow trailing colon on category headers
2023-05-12 21:01:34 +00:00