Opened 13 years ago
Closed 10 years ago
#4498 closed defect (fixed)
Can not upload GPS Track (OAuth)
Reported by: | calibrator | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin DirectUpload | Version: | latest |
Keywords: | Cc: |
Description
LOSM 2959. Uploading GPS works OK with Normal_Authentication but impossible upload GPS track via plugin DirectUpload (v.19082) with OAuth (GPS Uploading granted in Oauth granted rights). See attache screens.
Attachments (3)
Change History (19)
Changed 13 years ago by
Attachment: | Settings_Oauth_Upload_GPS.PNG added |
---|
Changed 13 years ago by
Attachment: | No passw_GPS_UPL_Oauth.PNG added |
---|
comment:1 Changed 13 years ago by
Component: | Plugin → Plugin directupload |
---|
comment:2 Changed 13 years ago by
comment:3 Changed 13 years ago by
Summary: | Can not upload GPS Track (OAuth) → [PATCH] Can not upload GPS Track (OAuth) |
---|
find attached a patch that
- adds oauth support,
- adds tag, description, and privacy history and autocomplete to the upload dialog,
- changes the way the gpx layer to be uploaded is selected among all open layers. you don't have to activate the gpx layer anymore, but just select it (as in "zoom to layer"). this saves some mouse clicks and doesn't disrupt the editing process (the current active editing layer can stay active)
- (hopefully) simplifies some of the code
developed against r3627, updated to the latest r3648 without problems. i did some testing and found no problems - no guarantees though.
note that i had to use some not so pretty workarounds around josm architectural shortcomings. i hope i find the time to address those by providing patches to josm core which define better interfaces. i wouldn't mind if someone beats me to it, though :)
comment:4 Changed 13 years ago by
this last comment by "anonymous" is mine. is there an issue with the trac login? as soon as i press "preview" or "submit", i am logged out ...
comment:5 Changed 13 years ago by
Hmm, you're sure? I heard some of such issues, but could never reproduce them.
comment:6 Changed 13 years ago by
yep, definitely. i log in and get a "logged in as ax" on the top right. clicking any link or submitting any form or just reloading the page gives me the "Login" link on the top right again, and forms being submitted as anonymous. i have to manually fill the "Your email or username" box. both firefox and google chrome. are there different user classes?
comment:8 Changed 13 years ago by
no. i have both a trac_session and a trac_form_token cookie. doesn't help.
comment:9 Changed 13 years ago by
Can you try another browser or disable Firefox plugins? Trac needs both the cookies as well as the form tokens in the HTML code to properly recognice a session. Please open a new report for this issue. If you switch to http or would also be nice when you could record data transfer using wireshark or similar tools and send it to me. You should have my mail from josm-dev.
comment:10 follow-up: 12 Changed 13 years ago by
the reason for the trac auth issue seems to have been determined.
regarding the patch for the actual gps track upload issue: can i do anything to get someone to look at (and commit) it ?
Changed 13 years ago by
Attachment: | DirectUpload.patch added |
---|
comment:11 Changed 13 years ago by
removed an unnecessary comment and an unnecessary super.
from the patch.
comment:12 Changed 13 years ago by
Replying to ax:
the reason for the trac auth issue seems to have been determined.
regarding the patch for the actual gps track upload issue: can i do anything to get someone to look at (and commit) it ?
I'll care for the patches tomorrow.
comment:14 Changed 13 years ago by
Summary: | [PATCH] Can not upload GPS Track (OAuth) → Can not upload GPS Track (OAuth) |
---|
comment:16 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Ticket #4933 has been marked as a duplicate of this ticket.