-
-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix JOSM remote control so url= is regular http(s) URL #5439
base: version-3.x
Are you sure you want to change the base?
Conversation
and not "tms[20]:http://..." which fails to load in JOSM
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
hey @mnalis - can you please share more details on your Tasking Manager instance? Looks like this PR is specific for v3. |
Yes, that PR was made for That specific instance (https://tasks.osm-hr.org) had since been upgraded to |
@mnalis - do you know of other v3 instances that we could use to test this behaviour? If none available, let's verify the behaviour in v4 and close it here |
As v3 only supports Oauth1, which is no longer supported by openstreetmap.org, if there are any running TM3 instances left, you wouldn't be able to log in into them any more (unless someone forked the TM3 and backported Oauth2 support into it, of course) |
@mnalis - merging requires testing with V3, but v3 would not support login because of oauth compatibility issue. So only way to test could be output the url somewhere and cross verify in a browser? Not sure - but a full-fledged workflow through OSM login is not possible, I believe. two things to test here:
If we can verify the first step, I think we should be good to merge. |
@ramyaragupathy I'm appreciative of your support, but I'm not sure if using your energy on this PR is warranted any more since 1 July 2024 - when TM V3 was rendered inoperative. The fact that external imagery also doesn't work (which this PR addressed at the time) is of lesser importance now that V3 doesn't work at all. Also, V3 seems not be updated anymore anyway (last commit seems to have been almost 5 years ago), so it seems somewhat unlikely that someone will implement Oauth2 for it and new V3 release made; and unless it happens, any other improvements (such as this one) on V3 branch are mostly pointless, as nobody would be able to use them. So, in my humble opinion - all PRs/issues that relate to V3-only (like this one) and are not applicable to V4, should probably best closed as outdated. (but if you do see some use for V3, I'd be delighted to hear!) |
Otherwise, as
imageryUrl
is (as required) in format liketms[20]:https://tms.osm-hr.org/knin-2007/{zoom}/{x}/{-y}.png
, that value would be sent asurl
parameter to JOSM remote controlimagery
load command, which would thus fail to load imagery (in current testing JOSM version 18583 at least)This PR fixes it so
url=
parameter to remote control is regular http(s) URL likehttps://tms.osm-hr.org/knin-2007/{zoom}/{x}/{-y}.png
, as it should be.