From b772ce8b7e79cfbf1b2558fb665ded298e5a1359 Mon Sep 17 00:00:00 2001 From: retoor Date: Sun, 1 Dec 2024 10:27:41 +0100 Subject: [PATCH] Updated two extensions. --- dist/rupload-1.3.37-py3-none-any.whl | Bin 5759 -> 5814 bytes dist/rupload-1.3.37.tar.gz | Bin 5149 -> 5259 bytes src/rupload/app.py | 23 +++++++++++++++-------- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/dist/rupload-1.3.37-py3-none-any.whl b/dist/rupload-1.3.37-py3-none-any.whl index 86b8356779c09a4393443658f5126bddc579c7b2..b87d42dd40e74987508f27ab1cdc06d2eb8a1343 100644 GIT binary patch delta 4038 zcmZu!2T&7Cw+#dcEi?h?U3%zUK|l~N^xkWzA{`MBA^{CZ4WTz7^j-y|iWF%Z@tf2$NV&24Adr z<9)|VN^#UnT(2ko8d`7uRTZN(;FlmVT9{FzQ7Gn0@-9U^$2D5;QySpY<*)7zocBuS z52dcl4?-K5{)-KPvx2K9G8$Xd7w~Sju(l_ss~5$mXT9y|wIZGH@G~EHpvZ(3>=IZ; ze<%x{DIE!V=83HeSzEi&!u>6Rj#3F(IqTm z;L_tKFN7&H_bv@25+1&UAngU`{9SUj3#JKstxAj>lmF%9 z*3rr$P1-W-^ha-OCETtXlaFByL)jp&Xa(C=QDL~0}njgX4(9mrFb8$o*)uU+~D5{KqL z^SP5)%9WOm9nNUOv4U}k{oSA@mmao{GF?=9#Ezw$x^5kIT)Tuq{tx_)nCC5T7{~MS zI|v9#d_}(kFG!!%%E}8(+3z%Fe1;ymakAfl7UAa z*!sSA&H4IMibH9{*~1ExQVdI)q<-N*dNA)G{;5rj{PrGUqoxwpR~cG&QR<0%zF(pq z1#Bj4AD{B%)7S5^a0*pYnR!*X$dgA7!qbt321x8nr1UgLb=A`M`cM_S}+b?1_ zKj1#*n)NhO^W-}0jyfB$*h3=)PN$C2*COAK%HG;$l@Thzub!H7Bo4!J9hrh) z&5ZT%5ecq<8wV;>R`BQ5vfy&L4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655f5f 100644 --- a/src/rupload/app.py +++ b/src/rupload/app.py @@ -2,14 +2,19 @@ import pathlib from aiohttp import web +MAX_FILE_SIZE = 1024 * 1024 * 50 # 50Mb +UPLOAD_FOLDER_QUOTA = 10 * 1024 * 1024 * 1024 # 10Gb +UPLOAD_URL = "/" +UPLOAD_PATH = "uploads" + class Rupload(web.Application): def __init__( self, - upload_url: str = "/uploads/", - upload_path: str = "uploads", - max_file_size: int = 1024 * 1024 * 50, - upload_folder_quota: int = 10 * 1024 * 1024 * 1024, + upload_url: str = UPLOAD_URL, + upload_path: str = UPLOAD_PATH, + max_file_size: int = MAX_FILE_SIZE, + upload_folder_quota: int = UPLOAD_FOLDER_QUOTA, ): self.upload_path = upload_path.rstrip("/") self.max_file_size = max_file_size @@ -175,6 +180,8 @@ def get_images(path): ".gif", ".jpeg", ".bmp", + ".webp", + ".svg", ]: images.append(image) return images @@ -288,10 +295,10 @@ async def handle_index(request: web.Request): def create_app( - upload_url: str = "/", - upload_path: str = "upload", - max_file_size: int = 1024 * 1024 * 50, - upload_folder_quota: int = 10 * 1024 * 1024 * 1024, + upload_url: str = UPLOAD_URL, + upload_path: str = UPLOAD_PATH, + max_file_size: int = MAX_FILE_SIZE, + upload_folder_quota: int = UPLOAD_FOLDER_QUOTA, ): app = Rupload( upload_url=upload_url,