Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

wrong error message at help.osm.org when you try to upload images while not being logged-in #5266

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments

Comments

@openstreetmap-trac
Copy link

Reporter: aseerel4c26
[Submitted to the original trac issue database at 2.36pm, Tuesday, 13th January 2015]

if you try to [https://help.openstreetmap.org/questions/ask/ ask a question] without being already logged in and then try to upload a image, it shows a wrong error message (as it already works with 11 points, which everybody has after validating the email address): "uploading images is limited to users with > 60 reputation points"

Please change the message to e.g. this: uploading images is limited to logged-in users (top right corner).

If there really is a karma points limit (which?):

  • please also check the error message text which appears for a logged-in user with too few karma points.
  • Please also add this limit to the Karma list at https://help.openstreetmap.org/faq/
@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 11.22pm, Tuesday, 13th January 2015]

The "website" component in trac refers to www.osm.org, not help.osm.org or any other sites that we run.

The help site is run using third party software, so it's behaviour is not something we can change beyond the configuration options that it offers us.

@openstreetmap-trac
Copy link
Author

Author: aseerel4c26
[Added to the original trac issue at 12.04am, Wednesday, 14th January 2015]

Umm, and where is the bug tracker for the help.osm.org admins?! I guessed you are. ;-)

Yes, in fact I thought you could change the config (or modify the python source). Apparently there is some config, because the karma limit is not right.

The real value [https://github.com/dzone/osqa/blob/master/forum/models/user.py#L416 seems] to be in settings.REP_TO_UPLOAD . Could you please tell me this setting for our installation (the default [https://github.com/dzone/osqa/blob/master/forum/settings/minrep.py#L30 is] 60 but at https://help.openstreetmap.org/questions/40297 we had an upload by an user with just 11 karma points)? At least we could tell people then what they need to be able to upload.

The message [https://github.com/dzone/osqa/blob/master/forum/views/writers.py#L63 seems] to be hardcoded. :-(

So you think I should report this upstream at the dead http://jira.osqa.net issue list? There is even no comment since months on a security issue (at least it claims) http://jira.osqa.net/browse/OSQA-954 . Similar on the https://github.com/dzone/osqa/ . Offtopic: Not quite a good feeling with this abandoned software which likely really has dozens of security bugs.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 12.11am, Wednesday, 14th January 2015]

Well there isn't really one - the admin component is probably the best there is. As I say there isn't much we can do about most things.

Very few of our settings have been changed, so the karma requirements are almost certainly whatever the defaults are.

We're not really using the osqa.net version anymore, because it's dead. We're using the fork at https://github.com/dzone/osqa in order to get support for more recent Django versions.

@openstreetmap-trac
Copy link
Author

Author: aseerel4c26
[Added to the original trac issue at 12.38am, Wednesday, 14th January 2015]

Thanks, I have changed the component.

@"karma requirements are almost certainly whatever the defaults are": Well, apparently not SomeoneElse tested it today, upload was possible with karma 11 whereas the default is 60. I do not know if it even works with lower karma values. That means that new used can upload, but they need to log in first (and maybe validate the email to get 10 points). This depends on what our setting is. Could you please look it up?

@"dead": By the way: My links go to the fork's code (it is even advertised by the official homepage). But the fork also looks to be quite dead. However

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant