Re: [OSM-talk] "Preferred Languages" on https://www.openstreetmap.org/user/putusernamehere/account

2010-03-19 Thread Ævar Arnfjörð Bjarmason
On Fri, Mar 19, 2010 at 16:32, Andy Allan  wrote:
> I think you're wrong about the bug, btw. I'm using firefox, which
> fills in one of the password boxes, whereas you assert on the chromium
> bug report that firefox fills out neither.

When I try it now on Firefox 3.6 then Firefox exhibits the same issues
as Chrome. But when I filed the bug my version of Firefox (that came
with Ubuntu) didn't have this issue.

I logged into openstreetmap.org at the time, had Firefox remember my
password and it did that on the login form, but did not fill out any
of the password fields in the preferences. Now it does however.

Anyway. IMO the best way to solve this issue is to just redesign the
preferences so that they have tabs (like e.g. the Twitter preferences
do). Then OAuth settings could also be moved from the main user page
into the preferences, and anything password-related could have its own
tab.

I'm not offering patches though:) There's other stuff that needs to be
done to the preferences like making the language selection better. I'd
file bugs if Tom wouldn't bite my head off :)

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] "Preferred Languages" on https://www.openstreetmap.org/user/putusernamehere/account

2010-03-19 Thread John Smith
On 20 March 2010 02:36, Tom Hughes  wrote:
> Alternatively there was be something we can do in the page - are there
> any sort of standards that browsers adhere to about particular classes
> or names on the fields?

Not sure about all browsers, but some have an autocomplete option.



___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] "Preferred Languages" on https://www.openstreetmap.org/user/putusernamehere/account

2010-03-19 Thread Andy Allan
On Fri, Mar 19, 2010 at 4:36 PM, Tom Hughes  wrote:

> Alternatively there was be something we can do in the page - are there any
> sort of standards that browsers adhere to about particular classes or names
> on the fields?

http://stackoverflow.com/questions/1567426/how-can-i-stop-the-password-field-being-pre-populated-on-edit

Seems as simple as this. I've just checked on another site that
(irritatingly) doesn't have my password autofilled, and it has
autofill=off on the form only.

Cheers,
Andy

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] "Preferred Languages" on https://www.openstreetmap.org/user/putusernamehere/account

2010-03-19 Thread Tom Hughes
On 19/03/10 16:32, Andy Allan wrote:

> I think you're wrong about the bug, btw. I'm using firefox, which
> fills in one of the password boxes, whereas you assert on the chromium
> bug report that firefox fills out neither.
>
> The whys and wherefores of how I've got Firefox to auto-fill the first
> box isn't relevant, but if it's annoying for me I suspect it's
> annoying for other people. I'll make an investigation into what we can
> do to prevent this from happening. I don't think there's any reason to
> auto-fill these two password boxes, so I suspect something clever
> involving randomising the password input fields' id or name will keep
> them from being filled.

The obvious thing to do is just to ignore the fact that the first one is 
filled in if (a) it has the user's current password and (b) the other 
one is empty.

No idea how easy that is to do without looking at it though.

Alternatively there was be something we can do in the page - are there 
any sort of standards that browsers adhere to about particular classes 
or names on the fields?

It doesn't happen for me in FF by the way, but I am using LastPass 
rather than the built-in password manager.

Tom

-- 
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] "Preferred Languages" on https://www.openstreetmap.org/user/putusernamehere/account

2010-03-19 Thread Andy Allan
On Fri, Mar 19, 2010 at 4:17 PM, Ævar Arnfjörð Bjarmason
 wrote:
> On Fri, Mar 19, 2010 at 16:14, Tom Hughes  wrote:
>> On 19/03/10 16:11, Ævar Arnfjörð Bjarmason wrote:
>>
>>> This is a known issue in Chrome at least:
>>> http://code.google.com/p/chromium/issues/detail?id=28519
>>>
>>> I don't know if we could do anything to work around it.
>>
>> The description on that bug is still wrong - there is no need to provide
>> either password to change your email address. The only time you need to
>> provide passwords on that page is when you want to change your password.
>
> Sure. I'm just pointing out that it's a known bug in a major browser.
> I can also see why someone would be confused when they see the error
> the rails_port throws at them in this case.

I think you're wrong about the bug, btw. I'm using firefox, which
fills in one of the password boxes, whereas you assert on the chromium
bug report that firefox fills out neither.

The whys and wherefores of how I've got Firefox to auto-fill the first
box isn't relevant, but if it's annoying for me I suspect it's
annoying for other people. I'll make an investigation into what we can
do to prevent this from happening. I don't think there's any reason to
auto-fill these two password boxes, so I suspect something clever
involving randomising the password input fields' id or name will keep
them from being filled.

Cheers,
Andy

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] "Preferred Languages" on https://www.openstreetmap.org/user/putusernamehere/account

2010-03-19 Thread Ævar Arnfjörð Bjarmason
On Fri, Mar 19, 2010 at 16:14, Tom Hughes  wrote:
> On 19/03/10 16:11, Ævar Arnfjörð Bjarmason wrote:
>
>> This is a known issue in Chrome at least:
>> http://code.google.com/p/chromium/issues/detail?id=28519
>>
>> I don't know if we could do anything to work around it.
>
> The description on that bug is still wrong - there is no need to provide
> either password to change your email address. The only time you need to
> provide passwords on that page is when you want to change your password.

Sure. I'm just pointing out that it's a known bug in a major browser.
I can also see why someone would be confused when they see the error
the rails_port throws at them in this case.

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] "Preferred Languages" on https://www.openstreetmap.org/user/putusernamehere/account

2010-03-19 Thread Tom Hughes
On 19/03/10 16:11, Ævar Arnfjörð Bjarmason wrote:

> This is a known issue in Chrome at least:
> http://code.google.com/p/chromium/issues/detail?id=28519
>
> I don't know if we could do anything to work around it.

The description on that bug is still wrong - there is no need to provide 
either password to change your email address. The only time you need to 
provide passwords on that page is when you want to change your password.

Tom

-- 
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] "Preferred Languages" on https://www.openstreetmap.org/user/putusernamehere/account

2010-03-19 Thread Ævar Arnfjörð Bjarmason
On Wed, Mar 17, 2010 at 20:23, Tom Hughes  wrote:
> On 17/03/10 19:56, Niklas Cholmkvist wrote:
>
>> Does the field for "Preferred Languages" have any purpose? Does it
>> change the language of the user interface of the website?
>
> That's exactly what it does yes.
>
>> I tried to
>> change it from English to Greek by putting in "el", but to save the
>> change I had to put in my password. Later it said I had to do
>> something about my email. I didn't understand how to save my changes
>> to test.
>
> There's no need to enter your password to change it your preferred
> languages - if you leave both passwords blank then it won't touch the
> password.
>
> My guess is that your browser filled in the first password automatically
> and it then thought you were trying to change the password and
> complained that the two passwords were not the same.

This is a known issue in Chrome at least:
http://code.google.com/p/chromium/issues/detail?id=28519

I don't know if we could do anything to work around it.

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] "Preferred Languages" on https://www.openstreetmap.org/user/putusernamehere/account

2010-03-17 Thread Tom Hughes
On 17/03/10 19:56, Niklas Cholmkvist wrote:

> Does the field for "Preferred Languages" have any purpose? Does it
> change the language of the user interface of the website?

That's exactly what it does yes.

> I tried to
> change it from English to Greek by putting in "el", but to save the
> change I had to put in my password. Later it said I had to do
> something about my email. I didn't understand how to save my changes
> to test.

There's no need to enter your password to change it your preferred 
languages - if you leave both passwords blank then it won't touch the 
password.

My guess is that your browser filled in the first password automatically 
and it then thought you were trying to change the password and 
complained that the two passwords were not the same.

None of which has any bearing on the language - if it accepts the 
changes then he language will be changed.

Tom

-- 
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


[OSM-talk] "Preferred Languages" on https://www.openstreetmap.org/user/putusernamehere/account

2010-03-17 Thread Niklas Cholmkvist
Hi,

Does the field for "Preferred Languages" have any purpose? Does it
change the language of the user interface of the website? I tried to
change it from English to Greek by putting in "el", but to save the
change I had to put in my password. Later it said I had to do
something about my email. I didn't understand how to save my changes
to test.

Looking forward to your help,

Niklas

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk