DaylightingSociety / WhereAreTheEyes

Surveillance Detection and Mapping App
https://eyes.daylightingsociety.org
BSD 3-Clause "New" or "Revised" License
230 stars 18 forks source link

Consider validate username before start marking cameras #14

Open elKaZe opened 7 years ago

elKaZe commented 7 years ago

I've registered and set my username, but when I started marking pins it showed an alert saying that the username wasn´t registered. I think it's would be nice to validate username at the moment it is set in the configuration.

milo-trujillo commented 7 years ago

Hmm, that's a good point. This would require extending the API so we can make a request that checks "Is this name valid", rather than the current behavior, which is to check as part of the camera-posting request. I can't think of any significant downsides to extending the API that way, though.

milo-trujillo commented 6 years ago

This is now implemented on the server and iOS client in the 1.4 branch, with an Android implementation coming soon. Unfortunately as a side-effect of #57 it is an extremely slow API call (> 2 minutes), and so the feature is effectively blocked until we have migrated enough users to the new login database format that we can discard the legacy database.