[Talk-GB] MapThePaths update: live edit of designation and prow_ref

Rob Nickerson rob.j.nickerson at gmail.com
Wed Jul 11 22:25:42 UTC 2018


And as promised, I tested it today and can confirm that it is working for
me now :-)

P.s. View the changesets with a MapThePaths comment here
http://resultmaps.neis-one.org/osm-changesets?comment=MapThePaths#7/52.626/-1.566

*Rob*


On Tue, 10 Jul 2018 at 11:54, Nick Whitelegg <nick.whitelegg at solent.ac.uk>
wrote:

>
> Hi, the Chrome issue now seems to be fixed.
>
>
> Technical info if you're interested: the fetch() API for sending AJAX
> requests does not send the session cookie by default in Chrome unless the
> 'credentials' option is set to 'include'.
>
>
> See:
>
>
> https://developers.google.com/web/updates/2015/03/introduction-to-fetch
>
>
> <https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters>
>
> If you want to try editing with Chrome, please use Ctrl+F5 to force a
> reload of the cache.
>
>
> Nick
> ------------------------------
> *From:* Nick Whitelegg <nick.whitelegg at solent.ac.uk>
> *Sent:* 09 July 2018 09:03:08
> *To:* Andrew Black
> *Cc:* Talk-GB
> *Subject:* Re: [Talk-GB] MapThePaths update: live edit of designation and
> prow_ref
>
>
>
> OK, sorry.. there appears to be an issue with Chrome. Not got time to
> investigate right now, but will reply when I've found the problem.
>
>
> Just tested, I can edit in Firefox but getting the error in Chrome.
>
>
> Nick
>
>
>
> ------------------------------
> *From:* Andrew Black <andrewdblack at googlemail.com>
> *Sent:* 08 July 2018 21:09:29
> *To:* Nick Whitelegg
> *Cc:* Talk-GB
> *Subject:* Re: [Talk-GB] MapThePaths update: live edit of designation and
> prow_ref
>
> I am getting "your editing session has timed out, please log in again."
> despite having logged in less than a minute earlier.
> Chrome if it is relevant
>
> Thanks
>
> On 7 July 2018 at 19:45, Nick Whitelegg <nick.whitelegg at solent.ac.uk>
> wrote:
>
>
> 401 would mean you're not logged in.. when you login it stores your OAuth
> token in a session, which expires after a certain time (15 minutes I think,
> need to check the configuration).
>
>
> I'll modify the code when I have a moment so that if it gives a 401 it
> comes up with a more friendly message to tell the user they need to log
> back in.
>
>
> I have changed the code slightly to reduce the risk of caching old
> versions of the JavsScript.
>
>
> Nick
>
>
>
> ------------------------------
> *From:* Rob Nickerson <rob.j.nickerson at gmail.com>
> *Sent:* 07 July 2018 18:20:15
>
> *To:* Nick Whitelegg
> *Cc:* Talk-GB
> *Subject:* Re: [Talk-GB] MapThePaths update: live edit of designation and
> prow_ref
>
> Still having issues.
>
> I was getting the correct message box but now I just get "OpenStreetMap
> returned an error: code 401".
>
> BTW: I am adding designation but no prow_ref. For now I will continue with
> JOSM.
>
> *Rob*
>
>
> On Sat, 7 Jul 2018 at 17:38, Nick Whitelegg <nick.whitelegg at solent.ac.uk>
> wrote:
>
>
> Hello Rob,
>
>
> To add to Martin's comment, try using Ctrl+F5 on MapThePaths itself as you
> might be using a cached old version of the scripts.
>
>
> When you add a designation and/or prow_ref, an alert box reading 'Way NNN
> successfully updated in OSM' should appear. Does this appear?
>
>
> The way you mentioned doesn't seem to have any edits even after refreshing.
>
>
> Nick
>
>
> ------------------------------
> *From:* Rob Nickerson <rob.j.nickerson at gmail.com>
> *Sent:* 07 July 2018 12:37:26
> *To:* Nick Whitelegg
> *Cc:* Talk-GB
> *Subject:* Re: [Talk-GB] MapThePaths update: live edit of designation and
> prow_ref
>
> In that case it is not working for me. Username is RobJN (with
> capitalisation). Tried to edit a few ways including this one:
> https://www.openstreetmap.org/way/454674177
>
> Anyone else having success? problems?
>
> Thanks,
> *Rob*
>
>
> On Sat, 7 Jul 2018 at 11:10, Nick Whitelegg <nick.whitelegg at solent.ac.uk>
> wrote:
>
>
> Hello Rob,
>
>
> Should be immediate: for example I've added a number of prow_ref tags in
> just the last few minutes. See:
>
>
> https://www.openstreetmap.org/changeset/60485630
>
>
> One update today BTW - formerly each edit had a separate changeset, which
> wasn't ideal. Now multiple edits in one session are grouped into a single
> changeset.
>
>
> Let me know if you're still having problems; let me know what edits you're
> trying to do and I'll try and reproduce them.
>
>
> Nick
>
>
>
> ------------------------------
> *From:* Rob Nickerson <rob.j.nickerson at gmail.com>
> *Sent:* 06 July 2018 23:42:41
> *To:* talk-gb at openstreetmap.org; Nick Whitelegg
> *Subject:* Re: [Talk-GB] MapThePaths update: live edit of designation and
> prow_ref
>
> Hi Nick,
>
> How long does it take for the edits to go through to OSM? I expected it to
> be live but this doesn't seem to be the case.
>
> Thanks,
> *Rob*
>
>
> _______________________________________________
> Talk-GB mailing list
> Talk-GB at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-gb
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-gb/attachments/20180711/e90c588a/attachment.html>


More information about the Talk-GB mailing list