mark-kubacki / http.upload

📤 Upload files to your web server using HTTP Methods
BSD 3-Clause "New" or "Revised" License
61 stars 10 forks source link

size quota & page title #16

Closed rgarrigue closed 7 years ago

rgarrigue commented 7 years ago

Hi

Would it be possible to add a quota settings, something that would block upload if 'to directory' + 'attempted upload' > quota ?

Another proposition would be adding an option for a title. Actually mine is just /, kinda unclear if I wanna tell mom do drop / get stuff with caddy :-)

Anyway, thanks for the great job !

mark-kubacki commented 7 years ago

Regarding the title: I guess you refer to a directory listing of some sorts, which is rendered by plugin browse. You can configure templates with browse.

I won't implement any quota enforcement. That would require implementing a proper user management including annotated users. Such an annotation would be the intended allowance. Unfortunately, that is out of scope of this plugin and should go into a dedicated one. The same requirement applies to writing a file as a user, or postponed change of ownership of a file, I am afraid.