pacUrl is set/unset incorrectly
Currently /connectivity/pacUrl gets unset when /settings/systemProxy is false, and set when it's true. This is the opposite of when the UI needs to display it. Instead, it should be set once, as soon as the backend knows what it should be, and never needs to be unset thereafter.
(Also, it's still getting a random number tacked onto the end (e.g. proxy_on.pac-1374763195) that it doesn't need.)
I think this is fixed in 779c3b7.
just ran from a fresh checkout of HEAD with no ~/.lantern dir and pacUrl is no longer set by the time we get to the systemProxy modal, reopening.


Once I complete setup, go into settings, and set systemProxy to false, pacUrl is finally populated:

It's still getting a random number at the end though, which @myleshorton said is no longer necessary. Can we ditch that once and for all? It'd really be awesome if the random path were like 7 characters shorter so that url could fit on one line, too.
Right - this was discussed at length on IRC yesterday - over to you @ghostdance!
On Friday, March 22, 2013, skivvies wrote:
Once I complete setup, go into settings, and set systemProxy to false, pacUrl is finally populated:
[image: Screen Shot 2013-03-22 at 10 12 41 AM]https://f.cloud.github.com/assets/475147/291048/e5121c34-92fa-11e2-9bf0-f0395cec0c19.png
It's still getting a random number at the end though, which @myleshortonhttps://github.com/myleshortonsaid is no longer necessary. Can we ditch that once and for all? It'd really be awesome if the random path were like 7 characters shorter so that url could fit on one line, too.
— Reply to this email directly or view it on GitHubhttps://github.com/getlantern/lantern/issues/597#issuecomment-15298816 .
Sent from Gmail Mobile
A good deal of what was discussed at length yesterday was specific to OS X. This previously worked because it was set in the Launcher to be available during setup and immediately after.
I can't really test this thoroughly now, since I can't sign into the Lantern network.
Still observing a null pacUrl, reopening. Plz don't close before testing.
We discussed explicitly that pacUrl was no longer set at startup and that there was a bug with the dashboard crashing, which it turns out were the same bug. Are you working on this or should I fix? Should be a one line change in Connectivity.
looks like this is working now, awesome.