73045dc5e5
Move storage to classes, support double suffixes
2021-05-23 19:13:51 +02:00
cd083a7f83
Use pathlib
2021-05-23 19:13:51 +02:00
b5ce94edeb
Update README
2021-05-23 19:13:51 +02:00
b7c12902da
Update requirements.txt
2021-05-23 19:13:51 +02:00
493119fc68
Drop Flask-Manager
2021-05-23 19:13:51 +02:00
59a0439c1a
Drop dump_urls endpoint
...
who cares lol
(originally added for issue #1 but they never archived 0x0)
2021-05-23 19:13:51 +02:00
d815d6855f
Use template responses
2021-05-23 19:13:51 +02:00
5db62c2dbf
Support instance config
2021-05-23 19:13:51 +02:00
a4da58f3f3
Add mailmap
2021-05-23 19:13:51 +02:00
a52127f0c3
Add text/plain exception for .log name extension
...
Fixes #29
2020-11-03 04:02:13 +01:00
a4d496d42d
Change license to EUPL
2020-11-03 04:01:30 +01:00
Martin Herkt
f66418ad4d
Update requirements.txt
2019-04-30 19:06:25 +02:00
Martin Herkt
cfee463780
Disable NSFW detection by default
...
See #11
2018-12-22 19:50:32 +01:00
Martin Herkt
b1c79e582b
add extension override for audio/flac
2018-01-09 08:26:11 +01:00
Martin Herkt
4b8c9eb758
Add extension override for text/x-diff
2017-12-22 21:41:51 +01:00
Martin Herkt
0b288d9a94
Add command to delete all files uploaded by address
2017-11-08 11:29:02 +01:00
Martin Herkt
5608c72e03
Fix indent error in querybl
2017-11-08 11:20:46 +01:00
Martin Herkt
b2d830e2aa
store_url: only accept identity content encoding
...
Some servers (like IPFS gateways) will use chunked transfer encoding on
anything but identity content encoding. Also, probably fix a potential
zip bomb vulnerability.
2017-10-30 05:36:03 +01:00
Martin Herkt
04b46bd01a
Tweak NSFW threshold
...
Of course it’ll have a few false positives, but this seems to work well
with the 0x0.st dataset.
2017-10-27 09:38:19 +02:00
Martin Herkt
c3c29ab500
Faster query commands, add removed query filter
2017-10-27 08:53:19 +02:00
Martin Herkt
ebfbc6b153
Add NSFW filter to address query commands
2017-10-27 08:36:36 +02:00
Martin Herkt
7bbeb2d144
Add NSFW detection
2017-10-27 05:28:45 +02:00
Martin Herkt
def5d9802f
Add querybl command to query uploads by addresses in blacklist
2017-10-27 02:21:33 +02:00
Martin Herkt
2e509a1faf
Fix try/except syntax
2017-03-27 22:18:38 +02:00
Martin Herkt
462555d532
Add support for upload IP blacklists
...
The format is one address per line, with # used for comments.
2017-02-03 04:10:58 +01:00
Martin Herkt
714de58180
add more URL validation
...
Turns out ShareX users and shell script authors are fucking retarded.
2017-01-01 21:20:40 +01:00
Martin Herkt
6bc7690711
add BEACON dump with start index for urlte.am
...
fixes #1
2017-01-01 21:20:39 +01:00
Martin Herkt
e974834422
do not shorten our host URLs
...
Turns out ShareX users are fucking retarded.
2017-01-01 20:26:35 +01:00
Martin Herkt
0c5d8690cc
use function to format host URL
2017-01-01 20:26:09 +01:00
Martin Herkt
6de22ca8fa
fix text/ MIME charset workaround for real
2016-11-23 01:03:49 +01:00
Martin Herkt
200d0a369f
fix text/ MIME charset workaround
2016-11-01 21:53:10 +01:00
Martin Herkt
56f0295be2
init
2016-11-01 05:25:58 +01:00