Commit Graph

55 Commits

Author SHA1 Message Date
b6ed78a70c Add syntax highlighting for text files 2021-12-09 09:59:39 +01:00
eb03f6ba31 Ignore Uploads directory 2021-12-08 19:44:50 +01:00
d82cf5456c Move things to their own functions 2021-12-08 19:43:56 +01:00
8b8b210968 Add webhooks 2021-12-07 20:16:58 +01:00
0b387cc792 Respond with error code 2021-12-07 20:02:21 +01:00
fad95e339c Add link to Swagger and ReDoc to / 2021-12-07 19:58:14 +01:00
db2b16dc1c Move settings to settings.py 2021-12-07 19:57:24 +01:00
919e6efd80 Overwrite thumbnail if one already exists 2021-12-06 17:49:18 +01:00
96cfc914ad Only create HTML for video, otherwise return file immediately 2021-12-05 00:11:56 +01:00
f9478267bb Revert thumbnails for images 😿 2021-12-04 23:08:23 +01:00
219b3dda47 Make thumbnails for images and only append .jpg for movies 2021-12-04 22:35:19 +01:00
ccb23d59e1 Fix that you couldn't save thumbnail and create html when custom upload folder 2021-12-04 21:59:22 +01:00
90f2b3c8de Add python-dotenv 2021-12-04 21:45:24 +01:00
616218d612 Add UPLOAD_FOLDER to example file 2021-12-04 21:06:03 +01:00
0d2cd4f8c2 Update poetry.lock 2021-12-04 21:00:18 +01:00
a43011962e Update pyproject.toml 2021-12-04 21:00:08 +01:00
565e22a372 Add support for custom upload folder 2021-12-04 20:57:57 +01:00
cffb4e5837 Fix spelling mistakes 2021-12-04 20:49:47 +01:00
393b8797f9 Update README.md 2021-12-04 20:49:34 +01:00
ec5722ab55 Update poetry.lock 2021-12-03 14:25:41 +01:00
23deb9e8d5 Add Gunicorn and Uvicorn as dependencies 🦄 2021-11-26 11:54:06 +01:00
f18e946bac Remove .html from JSON output 2021-10-29 02:13:51 +02:00
578c6eb525 Fix Docker stuff 2021-10-29 02:07:55 +02:00
5dea20803b Update Dockerfile 2021-10-29 01:18:43 +02:00
d6e938aada Add environment varablie for DOMAIN 2021-10-29 01:18:29 +02:00
0445b73a7f Remove dhooks 2021-10-29 01:17:55 +02:00
3ca1c7286d Remove Uploads folder, it will be created if needed 2021-10-29 00:46:10 +02:00
ebee8a58c6 Fix correct folder 2021-10-29 00:45:46 +02:00
a2552c6fc5 Silence error 2021-10-29 00:45:24 +02:00
dc3d79629b Remove unused index.html file 2021-10-29 00:36:30 +02:00
9032e2f628 Use ffmpeg-python instead of subprocess 2021-10-28 23:38:48 +02:00
9020344432 Make arguments shorter and add type hints 2021-10-28 21:05:20 +02:00
bf3cc3f683 Add metadata to Docs 2021-10-28 20:51:44 +02:00
6fdc6a80b0 Return html_url immediately 2021-10-28 17:48:54 +02:00
20605f7c33 Add / to end of domain if not exists 2021-10-28 16:24:58 +02:00
ba28b4d7b7 Send errors to Discord 2021-10-28 16:24:34 +02:00
3c666bc0de Place video/image/text/other in separate folders 2021-10-28 16:24:00 +02:00
84537b7f01 Add more HTML elements 2021-10-28 16:10:02 +02:00
c5fdfa3215 Use FastAPI instead of Flask 2021-10-28 15:31:30 +02:00
f3fb957717 Use Poetry 2021-10-28 15:30:00 +02:00
9858d5eae6 Use Black 2021-10-27 21:16:46 +02:00
cbd74a2171 Delete .github/workflows directory 2021-08-05 14:03:48 +02:00
e1f32e8367 Update requirements.txt 2021-05-27 02:46:39 +02:00
e5e8be5537 Update requirements.txt 2021-05-27 02:17:24 +02:00
fe0606c362 Fix typo 2021-05-27 02:17:15 +02:00
cea8d60099 Use environment variable for domain 2021-05-25 23:32:01 +02:00
1897ca13be Create codeql-analysis.yml 2021-05-12 03:11:33 +02:00
7200d3f091 Fix .html 2021-05-12 01:03:53 +02:00
9970dffdb2 Remove .html 2021-05-12 00:55:22 +02:00
b1d8f5eec1 Move video files to separate folder 2021-05-11 23:54:35 +02:00