Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5268 closed defect (invalid)

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

Reported by: aseerel4c26 Owned by: rails-dev@…
Priority: trivial Milestone:
Component: admin Version:
Keywords: help.osm.org Cc:

Description

if you try to 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/

Change History (5)

comment:1 Changed 5 years ago by Tom Hughes

Resolution: invalid
Status: newclosed

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.

comment:2 Changed 5 years ago by aseerel4c26

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 seems to be in settings.REP_TO_UPLOAD . Could you please tell me this setting for our installation (the default 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 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.

Last edited 5 years ago by aseerel4c26 (previous) (diff)

comment:3 Changed 5 years ago by Tom Hughes

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.

comment:4 Changed 5 years ago by aseerel4c26

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 …

comment:5 Changed 5 years ago by aseerel4c26

Component: websiteadmin
Note: See TracTickets for help on using tickets.