Open tystuyfzand opened 2 years ago
why would you need confirmation for a button that clearly says upload? it's not like you upload any sensitive information either
as for the log api key, i don't think the average user cares, at least i don't recall anyone ever asking about it, something like that would probably be better served in the wiki
You'd be surprised honestly. People think "Oh I wonder what this button does" and then click it, only to upload the log file instantly. Sadly, while I agree that it's not sensitive information others may think it is - it's the source of at least 3-4 reports a month. The only thing I've seen has been computer usernames being a full name/similar (which could be solved by just censoring the account name in the output? But not necessary)
As for the login link, true. It's a very simple "Hey, use this link if you want to attach uploads to your account" which could be beneficial for users, considering the authorize page is a thing and just gives them a token.
Confirmation has been added in #4816, hopefully this makes your life a bit easier :)
This issue should not be closed until the documentation issues have been addressed
Role
I maintain Paste.ee
Suggestion
Improve the Paste.ee Implementation/Support
Benefit
Easy registration of Paste.ee accounts, less accidental uploads
This suggestion is unique
You may use the editor below to elaborate further.
Currently, when uploading pastes there is no confirmation dialog. Users regularly click "Upload" not knowing that it would be sent to a site on the internet that they have no control over removing it.
There are a few ways to simplify and improve the Paste.ee experience with this.
Adding a confirmation dialog to ensure users are aware that uploading the log sends it to a site would be good, just to reduce the amount of "I wasn't sure what this did"
Along with that, there are regular questions on how to link your own account, I think it'd be a pretty cool idea to use either the authorization page (which takes the guess work out of doing it yourself and is just a link), or the login endpoint (which would require a popup for username/password, or even a registration embedded site?)
Authorization page, which gives the user a token to put in/use:
https://paste.ee/account/api/authorize/APPLICATION_KEY
Login endpoint:
https://docs.paste.ee/#user-authentication