pglombardo / PasswordPusher

🔐 Securely share sensitive information with automatic expiration & deletion after a set number of views or duration. Track who, what and when with full audit logs.
https://docs.pwpush.com
Apache License 2.0
2.11k stars 358 forks source link

FR: Make maximum shared text length configurable #1497

Open pglombardo opened 1 year ago

pglombardo commented 1 year ago

🚀 Feature Request

A user via email would like to "limit the number of characters for example to 256 instead of 1048576"

🔈 Motivation

🛰 Alternatives

📎 Additional context

MindTooth commented 1 year ago

Thanks. We've been limiting this ourself using a hack. We landed on 8192. Tried looking up where to contribute, but then I ended up in JavaScript code. 😅

tweinberger-lei commented 1 year ago

@MindTooth: can you share you JavaScript code with me? thx!

MindTooth commented 1 year ago

@MindTooth: can you share you JavaScript code with me? thx!

We just patched these values: https://github.com/search?q=repo%3Apglombardo%2FPasswordPusher%201048576&type=code

pglombardo commented 2 months ago

Just an update for this FR: This has been added on pwpush.com and will be moved to the open source version once I get through the back log. All settings.yml configuration is moving in-app soon.

Screenshot 2024-09-01 at 16 37 20