--- Log opened Tue Jul 18 00:00:47 2017 01:47 -!- noradtux [~noradtux@port-22840.pppoe.wtnet.de] has quit [Ping timeout: 240 seconds] 01:47 -!- noradtux [~noradtux@port-4921.pppoe.wtnet.de] has joined #navit 02:12 -!- Navit` [~Navit@www.v6.navit-project.org] has joined #navit 02:14 -!- Netsplit *.net <-> *.split quits: Navit, magruder 02:15 -!- redurgam [redurgam@gateway/shell/panicbnc/x-ctupuskpluktyhvq] has joined #navit 02:17 -!- Millesimus [~Millesimu@serenity.pestnagel.org] has quit [Ping timeout: 240 seconds] 02:17 -!- Millesimus [~Millesimu@serenity.pestnagel.org] has joined #navit 02:21 -!- alialoo2002 [b9a17122@gateway/web/freenode/ip.185.161.113.34] has joined #navit 02:21 -!- alialoo2002 [b9a17122@gateway/web/freenode/ip.185.161.113.34] has quit [Client Quit] 04:09 -!- xenos1984 [~xenos1984@22-164-191-90.dyn.estpak.ee] has joined #navit 07:02 -!- Celelibi [celelibi@226.74.136.88.rev.sfr.net] has quit [Ping timeout: 240 seconds] 08:56 -!- rdo [~rdo@2a03:4000:6:52b6::] has joined #navit 11:27 #navit: < jkoan> Kazer: please fix the openid login... I can't work :( or provide me access so I can fix it 12:49 -!- rdo is now known as rdorsch 14:31 -!- xenos1984 [~xenos1984@22-164-191-90.dyn.estpak.ee] has quit [Ping timeout: 240 seconds] 14:37 -!- Celelibi [celelibi@par69-9-88-166-81-29.fbx.proxad.net] has joined #navit 16:20 #navit: <@KaZeR> jkoan: odd it works for me 16:20 #navit: <@KaZeR> jkoan: what openid URL are you using? 16:25 #navit: <@KaZeR> jkoan: i improved the shapefile documentation btw : https://wiki.navit-project.org/index.php/Shapefiles if you want to give it a try 16:25 #navit: <@KaZeR> we could provide a fully working example for OSM's shapefiles we just need to identify the correct tags 16:46 #navit: < jkoan> yes, i have seen the shapefile sthing :) really nice work :) that was the thig i was try to log in to trac because i want to set all shapefile related things to fixed (at least the doc thing) 16:47 #navit: < jkoan> KaZeR: the bug with openid login: 16:47 #navit: < jkoan> object(Auth_OpenID_EncodingError)#252 (1) { ["response"]=> object(Auth_OpenID_ServerError)#303 (4) { ["message"]=> NULL ["text"]=> string(146) "Request was for https://wiki.navit-project.org/index.php/User:Jkoan, cannot reply with identity http://wiki.navit-project.org/index.php/User:Jkoan" ["contact"]=> NULL ["reference"]=> NULL } } 16:47 #navit: < jkoan> Warning: Invalid argument supplied for foreach() in /var/www/html/extensions/OpenID/SpecialOpenIDServer.body.php on line 688 16:47 #navit: < jkoan> okay wait... you get a pastebin 16:48 #navit: < jkoan> https://pastebin.com/kaKMTFBq 17:09 #navit: <@KaZeR> actually the message is self explanatory :) 17:09 #navit: <@KaZeR> but i can probably add a workaround in the code for that let me see 17:10 #navit: <@KaZeR> (i had to patch the openid extension as they switched to an id-based url instead of a name-based and this would have fucked up all our accounts) 17:10 #navit: < jkoan> yes, i see, thers a redirect, but this is at least a bug 17:11 #navit: <@KaZeR> short term : authenticate using the http:// openid. You will still be redirected to https, but at least it won't complain. I should be able to implement a quick fix 17:12 #navit: < jkoan> only check against the openid string without the proto 17:18 #navit: < jkoan> and ignore case? 17:18 #navit: <@KaZeR> it's a bit more complicated than that. our users are registered using the full url, and trac will consider that http://wiki.navit-project.org/index.php/user:jkoan is not the same user as http://wiki.navit-project.org/index.php/user:jkoan 17:19 #navit: < jkoan> this is the same url. probably you mean https != http for trac users? 17:21 #navit: <@KaZeR> well, this isn't exactly the same url :) 17:22 #navit: <@KaZeR> so trac consider that they differ. strip_protocol ( https://github.com/trac-hacks/authopenid-plugin ) should do the trick but when i tested it yesterday it didn't 17:24 #navit: <@KaZeR> yep it doesn't work : "logged in as https://wiki.navit-project.org/index.php/user:kazer" 17:24 #navit: <@KaZeR> if i log in using http:// then I get my shorter username ("KaZeR") 17:24 #navit: < jkoan> but this is based of a bigger problem. The openid shoudent be the username. the openid should only be the login, and the username should be able to be different, then it needs a openid <-> username matching. 17:25 #navit: < jkoan> btw why you have a short name and i a long name? 17:25 #navit: <@KaZeR> the openid should only be the login : what do you mean? 17:26 #navit: <@KaZeR> trac does not have a notion of username. Sleske did a bunch of queries to update the displayed name. We should automate that so that everybody (like you) get a correct display name 17:26 #navit: < jkoan> the openid string should not be the username, it should only be the reference what server the openid is on 17:26 #navit: <@KaZeR> last time we did it was a few months ago 17:26 #navit: <@KaZeR> https://trac.navit-project.org/ticket/1140 17:27 #navit: < jkoan> probably once we have time we should rewrite the plugin and optimize it our own? 17:27 #navit: <@KaZeR> we actually have a man in the house.. Sleske contributed to the openid plugin. Rewriting it would be tedious, but maybe we can submit patches 17:28 #navit: < jkoan> now my name in wiki is Jkoan :P 17:29 #navit: <@KaZeR> yes but trac does not pull that info from the wiki. We need to look into why sreg doesn't work as expected 17:29 #navit: < jkoan> but i am not admin because its the https thing :( 17:30 #navit: <@KaZeR> just log out of trac, and log in using the http url. You will still be redirected to the https wiki (this is done at the loadbalancer level) but the originating request will be for http:// so it will work 17:30 #navit: <@KaZeR> this is not ideal i know, just a temporary solution 17:31 #navit: <@KaZeR> btw : pulling usernames isn't automated because it also present a security risk. If you create an openid account using another provider and pick the "KaZeR" username, we don't want you to be displayed as "KaZeR" on trac. Displaying the full URL in this case makes sense to avoid identity spoofing 17:32 #navit: <@KaZeR> the only identity provider that we can trust is the wiki, because we manage it 17:33 #navit: < jkoan> i did not mean pull the username, i mean set the username while register(login with openid) the first time 17:34 #navit: <@KaZeR> this will require patching the openid plugin for trac 17:36 #navit: < jkoan> the thing from 19:30:14 is not working, even when i login with http i get the identity from https (jkoan_1 i named it so, this one does not have admin rightes) 17:36 #navit: < jkoan> probably strip_protocol does work if only one account exists 17:38 #navit: <@KaZeR> reverted a patch, try again 17:39 #navit: < jkoan> okay 17:40 #navit: < jkoan> now i have the bug from the beginning http != https 17:41 #navit: < jkoan> both http and https gives the same (php exeption) 17:44 #navit: <@KaZeR> odd.. http works for me 17:45 #navit: < jkoan> wait 17:45 #navit: < jkoan> this is a wiki problem :O 17:46 #navit: < jkoan> the error message is from the wiki not from trac :X 17:46 #navit: < jkoan> the wiki dont understand that http and https is not the same entity 17:47 #navit: < jkoan> the message comes from: https://wiki.navit-project.org/index.php/Special:OpenIDServer 17:47 #navit: <@KaZeR> i can make the wiki believe that they are the same, but trac will still see that as different users 17:48 #navit: <@KaZeR> can you confirm the url you used as your openid identifier and share the exact message from the wiki ? 17:48 #navit: < jkoan> even with the stripe_prot on trac site? 17:48 #navit: < jkoan> *side 17:49 #navit: < jkoan> what? what should i conform? 17:49 #navit: < jkoan> *confirm 17:49 #navit: <@KaZeR> the exact url you type in when trying to log in 17:51 #navit: < jkoan> it was: 17:51 #navit: < jkoan> http://wiki.navit-project.org/index.php/User:jkoan 17:51 #navit: < jkoan> but the problem was that the wiki replyed with 17:51 #navit: < jkoan> http://wiki.navit-project.org/index.php/User:Jkoan (big J) 17:51 #navit: < jkoan> now its working.... 17:55 #navit: <@KaZeR> ok. more work is needed :) 17:55 #navit: < jkoan> i dont really like openid... 17:55 #navit: < jkoan> it is cool, but if something like this starts, its not anymore 17:56 #navit: <@KaZeR> well the issue is that otherwise our option is to have user create another account.. which is a pain in the ass 17:56 #navit: < jkoan> #1349 set fixed? 17:57 #navit: <@KaZeR> yep. I confirmed with pmckinley that it works 17:57 #navit: < jkoan> then its your turn :) 17:58 #navit: <@KaZeR> my turn to do what? 17:58 #navit: < jkoan> set fixed :D 17:59 #navit: <@KaZeR> oh crap forgot to do it. I was convinced i did it 17:59 #navit: <@KaZeR> thanks 17:59 #navit: < jkoan> no problem 17:59 #navit: < jkoan> also, really nice work (Y) 17:59 #navit: <@KaZeR> thanks :) 17:59 #navit: < jkoan> how you found out this? 17:59 #navit: <@KaZeR> debugging :) 18:00 #navit: < jkoan> so the yame as i tryed, but i hasn't enough time 18:00 #navit: <@KaZeR> btw : we can now load shapefiles in navit but the performance will suck. I managed to convert an shp to osm and then to bin, and it's much, much better. I'll prepare a documentation for that 18:01 #navit: <@KaZeR> yeah sometime everybody get stuck :) 18:01 #navit: < jkoan> i also have seen something like that :X but dont know where 18:01 #navit: <@KaZeR> i managed to do it for peter's shapefile, so i know it works now. Just need to do a bit more testing 18:02 #navit: <@KaZeR> btw if you want to play with shapefile, we could provide a fully functional .dbfmap for OSM 18:03 #navit: < jkoan> no i dont want personal. it was only to get into navit source 18:08 #navit: <@KaZeR> gotcha 18:09 -!- jjelen_ [jjelen@nat/redhat/x-aopkiiitilttvwuk] has quit [Ping timeout: 240 seconds] 18:17 #navit: <@KaZeR> jkoan: are you able to log into the forum? 18:18 #navit: < jkoan> nop 18:19 #navit: <@KaZeR> crap. the password encoding looks different 18:20 #navit: < jkoan> yay lovely things :) 18:22 #navit: <@KaZeR> yeah. probably the mediawiki update. I updated to 1.28 yesterday while working on openid to fix trac access. and now, forum is broken \o/ 18:22 #navit: <@KaZeR> looks like they switched to pbkdf2 which our ldap gateway does not understand 18:43 #navit: < jkoan> that dosent look really nice 18:46 #navit: < jkoan> but wait, right now our topology is about wiki is the center and only it stores the passwords. ldap uses them for forums and trac uses openid also from the wiki. 18:46 #navit: < jkoan> Why we have the ldap to read the data from the wiki? shouldent the wiki be able to read from ldap and let ldap manage all passwords and the database? in my eyes its a concept mistake that the ldap reads from the wiki database 18:46 #navit: < jkoan> or is this false kazer? 19:03 #navit: <@KaZeR> there's a trick :) we don't have a fully featured ldap server. What we have is an ldap gateway that pulls credentials from the wiki 19:03 #navit: <@KaZeR> i managed to log in. Can you try to log into the wiki ? 19:10 #navit: <@KaZeR> jkoan: poke :) 19:15 -!- jfitie [5c6e9fbe@gateway/web/freenode/ip.92.110.159.190] has joined #navit 19:15 #navit: < jfitie> hi 19:15 #navit: < jfitie> @kazer -- first try... https://github.com/navit-gps/navit/commit/898608e4df6861c9fe5209411d4f77fb369919a7 19:17 #navit: < jfitie> not 100% sure I got the variables escaped correctly, but seems to work on my local machine when i put an echo before the commands -- https://github.com/navit-gps/navit/blob/898608e4df6861c9fe5209411d4f77fb369919a7/ci/run_linux_tests.sh#L83-L85 19:17 #navit: <@KaZeR> hi jfitie 19:20 #navit: <@KaZeR> the code looks good overall but i think that some reoslutions won't work without using xnest to allow resolution larger than the ci resolution. we'll see :) 19:21 #navit: <@KaZeR> thanks for helping on this btw! 19:22 #navit: < jfitie> Doesn't really matter if the image gets cut off, as long as the 'horizon' is visible. I'd like to do some calculations and see if the optimal pitch (3d look, little unused screen space) can be calculated based on resolution and aspect ratio 19:24 #navit: <@KaZeR> true for the scope of your intent. I'll help with xnest once you'll be done. We could reuse these screenshots for the wiki, documentation, social media etc 19:24 #navit: < jfitie> would be nice if this static value could become a formula result based on resolution - https://github.com/navit-gps/navit/blob/trunk/navit/gui/internal/gui_internal.c#L3430 19:24 #navit: <@KaZeR> jfitie: can you please try to log into the forum? i've been working on an authentication issue and i'd like to know if it works for other people than just me 19:25 #navit: <@KaZeR> should be quite easy to compute it from a formula 19:25 #navit: < jfitie> not sure I have an account there 19:26 #navit: <@KaZeR> a wiki account should be sufficient theoritically 19:26 #navit: < jfitie> probably don't have one :-) 19:26 #navit: <@KaZeR> you don't have a wiki account? this makes me sad :) 19:26 #navit: < jfitie> :p 19:28 #navit: < jfitie> can't stay long - can you let me know if the ci build produces any screenshots for the commit (898608e)? 19:28 -!- jfitie [5c6e9fbe@gateway/web/freenode/ip.92.110.159.190] has quit [Quit: Page closed] 20:01 #navit: < jkoan> Sorry Kazer I don't have much time this week and I am totally away the next two weeks, so if something is really important please mail me ;) 20:03 #navit: < jkoan> But I think having a full featured ldap would protect us from many problems, including trac probably can login from ldap in addition to openid, we only need to migrate the wiki openid users to ldap users which should be possible 20:33 #navit: <@KaZeR> could be yeah. 20:33 #navit: <@KaZeR> jkoan: can you try to just log into the forum? if it works then today's problem is solved :) 20:35 #navit: < jkoan> Yes, it's working 20:35 #navit: <@KaZeR> awesome thanks 20:35 #navit: < jkoan> Good night 20:35 #navit: <@KaZeR> ++ 20:39 -!- zintor [5b5902d7@gateway/web/freenode/ip.91.89.2.215] has joined #navit 20:39 #navit: < zintor> KaZeR: I confirmed the PR on the heightlines issue 20:40 #navit: < zintor> another issue on that: if you click on the breadcrumb "height lines" after the heigthlines are drawn, the heightlines dissapears 20:40 #navit: < zintor> then you go back to menu route and press height lines again, the heightlines are shown 20:40 #navit: < zintor> it is not show stopper ;) 20:44 #navit: < zintor> have to go again...cya all 20:44 -!- zintor [5b5902d7@gateway/web/freenode/ip.91.89.2.215] has quit [Quit: Page closed] 21:15 -!- xenos1984 [~xenos1984@22-164-191-90.dyn.estpak.ee] has joined #navit 23:29 -!- Horwitz [~mich1@p200300800E5BAD00022268FFFE64E7C4.dip0.t-ipconnect.de] has quit [Ping timeout: 255 seconds] 23:34 -!- pmckinley [~Peter_McK@88-110-206-178.dynamic.dsl.as9105.com] has joined #navit 23:34 #navit: < pmckinley> blah 23:34 #navit: < pmckinley> :-D 23:41 -!- Horwitz [~mich1@p200300800E013F00022268FFFE64E7C4.dip0.t-ipconnect.de] has joined #navit 23:42 -!- mode/#navit [+o Horwitz] by ChanServ 23:43 #navit: < pmckinley> Hi Michael 23:44 #navit: < pmckinley> Hi @KaZer 23:52 -!- pmckinley [~Peter_McK@88-110-206-178.dynamic.dsl.as9105.com] has left #navit [] --- Log closed Wed Jul 19 00:00:49 2017