**** BEGIN LOGGING AT Thu Jul 24 03:00:02 2014 Jul 24 06:33:08 morning chat Jul 24 06:58:52 hey enyo-team members, you should start to do some conventions overseas, so there's a more active comunity on this side of the pond :D Jul 24 07:19:50 you could do: http://www.dotjs.eu, where JS professionals from Europe gather Jul 24 07:22:34 or http://multi-mania.be/14/ hosted by my old school, where you can educate the future, because all students are required to go :) Jul 24 10:17:22 morning Jul 24 10:27:29 hi dmanderson Jul 24 11:07:31 morning mr dmanderson Jul 24 11:11:05 how are you today? Jul 24 12:22:15 I'm good, you? Jul 24 12:22:58 GodGinrai, you were asking about private git repo's yesterday, but I couldn't read what you were looking for… Jul 24 12:23:21 at work we use stash, it's the selfhosted version of bitbucket Jul 24 12:23:39 and on my personal server i have gitlab running Jul 24 12:24:17 i self hosted isn't really needed, you can hoste private repos on bitbucket for small teams Jul 24 12:24:19 for free Jul 24 12:28:42 I see Jul 24 12:31:20 gitlab also has a very easy CI module Jul 24 12:31:35 called gitlab CI Jul 24 12:33:06 but stash has an allround better experience, especially if you use jira as a bugtracker, and sourcetree to manage local git Jul 24 12:33:26 same company, very nicely intertwined Jul 24 12:33:40 is that a word, intertwined? Jul 24 12:33:46 :) Jul 24 12:36:25 I believe it is Jul 24 12:36:31 summatusmentis: you there? Jul 24 13:04:30 :( Jul 24 13:08:02 I'm thinking not Jul 24 13:08:27 yea :\ Jul 24 13:52:49 any1 has a good login example ? I want to show a certain panel only when not authenticated Jul 24 13:52:57 scenes was what I was used to Jul 24 13:53:57 scenes? Jul 24 14:02:03 probably a mojo term Jul 24 14:03:37 ah Jul 24 14:06:26 "mojo scenes" does *not* pull up sfw topics related to what you were discussing, SimpsonTP <.< Jul 24 14:07:40 ? Jul 24 14:08:18 in a google search Jul 24 14:08:32 lol Jul 24 14:08:35 mojo scenes Jul 24 14:08:40 turn on the pg filter Jul 24 14:08:40 yea <.< Jul 24 14:09:38 dmanderson: btw, I'm having problems w/ http basic auth Jul 24 14:10:05 And I can't tell if the problem is due to the way I am trying to do it, or with the server Jul 24 14:10:06 yeah, still a no go? Jul 24 14:10:29 it's giving me a CORS error Jul 24 14:11:02 but the server I am calling has Access-Control-Allow-Orig...* Jul 24 14:11:13 * Access-Control-Allow-Origin: * Jul 24 14:11:52 I'm getting this problem when I try to do it w/ enyo.Ajax or jquery's $.ajax Jul 24 14:20:50 dmanderson: is it possible that you can put together a working example on JSFiddle so I can compare to see what is different? If I fiddled mine, it wouldn't help because it relies on a URL you don't have access to Jul 24 14:28:12 SimpsonTP: what exactly are you trying to do w/ your login? Jul 24 14:50:42 dmanderson: I may have figured out what's wrong Jul 24 14:50:55 I think that a pre-flight OPTIONS request is being sent Jul 24 14:51:03 and not handled correctly Jul 24 14:51:37 how would I go about removing the x-requested-with header from my Ajax request?> Jul 24 15:02:22 Ok Jul 24 15:02:29 now I don't think that is actually the case Jul 24 15:02:40 hmm ok, well I tried an ajax call and it works http://jsfiddle.net/toxigenicpoem/R8z3w/ Jul 24 15:02:42 the api is sending headers back Jul 24 15:02:58 though you need to disable web security in chrome to by pass cors for the example Jul 24 15:03:02 with access-control-allow-origin: * and access-control-allow-headers: x-requested-with Jul 24 15:03:08 I don't use Chrome Jul 24 15:03:11 I use FF Jul 24 15:03:27 I’m just stating Jul 24 15:03:32 the basic auth is working Jul 24 15:03:44 if you want to see the example you’ll need to disable web security to bypass cors Jul 24 15:05:59 I'm not even seeing a request in Firebug Jul 24 15:09:27 huh yeah interesting Jul 24 15:42:00 any idea why that is? Jul 24 16:13:55 dmanderson: I think I found the problem Jul 24 16:14:15 Web Standards are not well thought out Jul 24 16:20:23 GodGinrai: now I am Jul 24 16:27:41 having tremendous trouble w/ CORS+basic auth T_T Jul 24 16:27:58 it sounded like you have done this before Jul 24 16:28:18 when you talked earlier Jul 24 16:43:42 I have, but I don't have a lot of time right now to get into it. Can I ping you later? Jul 24 18:01:52 summatusmentis: sure Jul 24 18:19:37 GodGinrai: sorry, I had a meeting I wasn't prepared for Jul 24 18:19:53 can you be more explicit about what your issues are? Jul 24 18:20:43 We manually create the basic auth header Jul 24 18:22:21 tmp += "Basic " + window.btoa("username:password"); Jul 24 18:22:52 ajax = new enyo.Ajax({url: serverURL method: "GET", headers: {Authorization: tmp}}); Jul 24 18:23:20 we also have an entirely custom server Jul 24 18:24:47 so I guess the one barrier is that I haven't tested this method on a "normal" Basic Auth server Jul 24 18:29:45 summatusmentis: It turns out Jul 24 18:29:49 it was a problem on the API side Jul 24 18:30:09 the API was looking for credentials on the OPTIONS preflight request Jul 24 18:30:15 and thus was rejecting Jul 24 18:36:20 ugh Jul 24 18:36:27 the OPTIONS preflight is the bane of my existence Jul 24 18:36:32 I always forget about it Jul 24 18:36:49 it's really frustrating when you're writing the sever, and you didn't know Enyo sends one of those Jul 24 18:47:47 it's actually a browser thing, not an enyo thing Jul 24 18:48:44 oh Jul 24 18:48:57 well, the point is, I completely understand your frustration Jul 24 18:50:11 lol yea Jul 24 18:50:23 It was an interesting experience trying to figure this out **** ENDING LOGGING AT Fri Jul 25 03:00:00 2014