BobbyWibowo / lolisafe

Blazing fast file uploader and awesome bunker written in node! 🚀
MIT License
317 stars 56 forks source link

Split upload age option for registered and guests. #350

Closed Chiaki closed 2 years ago

Chiaki commented 3 years ago

Would be nice if admin could configure upload age option (automatically delete uploads after a certain amount of time) for registered users and guests separately. Example: guest can't configure upload age, registered user can choose from available options.

BobbyWibowo commented 3 years ago

Yeah, I've been wanting something similar for quite a while now. But I was also entertaining the thought of having dynamic upload age, at least specifically for non-registered, like the one being used in http://0x0.st/ (scroll down to their "file retention period" section). I'm still mulling things through, and waiting for a bit more of a free time and drive to come around, but yeah, this'll go to my personal backlog.

BobbyWibowo commented 2 years ago

Implemented in https://github.com/BobbyWibowo/lolisafe/commit/2d147e748b85729b8c38740aa6eb51b09827ca39