[02:30] Hi all :) [02:31] hiya [02:35] mhall119: How are you? [03:12] good [03:12] you? [04:35] mhall119: good [06:55] good morning! [07:02] dholbach: Good Morning. [07:32] god morning [07:33] good [13:02] ‏ה [13:02] ‏אופס [13:02] ‎oops [13:02] ‎sorry [13:06] cjohnston: reviewed and merged your branches [13:10] mhall119, and mine ? [13:30] daker: loco-directory branches? [13:30] yes [13:30] oh, didn't see yours down there at the bottom [13:30] let me take a look [13:30] sure tyt [13:32] hmmm, it doesn't seem to let me change language [13:32] the menu stays on "Arabic" but the language is still English [13:32] and English (United States) isn't an option [13:32] as much as the brits might wish that were true [13:32] Oh!! [13:43] lol [13:43] :D [13:43] mhall119: not our fault ye spell tings the wrong way [13:44] *things [13:44] lol, oh the irony [13:45] and 'our'? My you assimilated fast [14:01] mhall119: I was already half english my dear :) [14:05] what are the steps to runs the LD branche local. i created a patch, but need to test is [14:05] it* [14:08] Ronnie, there is an INSTALL file there [14:08] just to [14:09] do* [14:09] bzr branch lp:loco-directory [14:09] cd loco-directory [14:09] daker: thx. i already were a folder too deep [14:10] its running now [14:10] ok [14:15] how long does the "./manage.py update" command take? [14:18] Ronnie, It depends on your internet connection [14:18] ~5 -> 10min [14:19] daker, not much traffic here. (ah just finished) [14:20] hmm, looks like it did not update the events [14:22] Ronnie, no it just fetch languages/countries/lp teams/lp team admins [14:22] oh, i need to test events (generate ical) [14:23] * Ronnie is fixing: https://bugs.launchpad.net/loco-directory/+bug/671278 [14:23] Launchpad bug 671278 in loco-directory "Unable to subscribe to RSS or iCal feed from Google Calendar (affects: 1) (heat: 4)" [Undecided,Incomplete] [14:23] gimme a sec [14:24] ill give you 3 if you want :P [14:24] ok [14:25] the first thing you need to do is to add you lp ID to local_settings.py [14:25] added it to DEBUG_USERS [14:27] ok [14:28] now you have to login then you will have a full access [14:29] added: DEBUG_USERS = ('ronnie.vd.c') in local_settings.py - logged in, but still cant see the events [14:31] Ronnie, go to http://127.0.0.1/teams/ [14:31] then choose a team [14:31] Ronnie, events needs to be added [15:12] daker, thx :D it worked, and the branche has now be proposed for mergin [15:13] ok :) [18:01] mhall119: is Bug #691202 possilbe [18:01] Launchpad bug 691202 in loco-directory "venues of the country of the current selected team should be first (affects: 1) (heat: 6)" [Wishlist,New] https://launchpad.net/bugs/691202 [18:16] cjohnston: mhall119, i fixed bug #961202. branche is now propesed for merging [18:16] Ronnie: Bug 961202 on http://launchpad.net/bugs/961202 is private [18:19] cjohnston: I'd say it is [18:19] whatever that bug is, its private [18:19] mhall119: I have no idea [18:19] I think he transposed the 6 and 9 [18:19] bug #691202 [18:19] Launchpad bug 691202 in loco-directory "venues of the country of the current selected team should be first (affects: 1) (heat: 6)" [Wishlist,Fix committed] https://launchpad.net/bugs/691202 [18:19] i think i did. better use copy/paste next time [18:20] Ronnie: it cant be fix committed until the fix is committed.. just because you made the patch, it isnt comitted [18:20] oh, what should i tag it than? [18:20] in progress [18:20] in progress [18:20] ok, done === Ddorda is now known as ddorda === ddorda is now known as Ddorda [20:26] cjohnston, mhall119: somebody already working on: bug #627492 [20:26] Launchpad bug 627492 in loco-directory "Limit selection of users to team members (affects: 4) (dups: 2) (heat: 32)" [High,Triaged] https://launchpad.net/bugs/627492 [20:27] its all yours Ronnie [20:27] oke :D [20:28] cjohnston: question regarding this bug... [20:28] ok [20:28] is it better to put the 'teams members on top of the list' or 'only the team members' [20:28] only team members [20:29] there is no reason someone who isnt a team member should be a contact/admin/chair [20:29] that i know of [20:29] unless mhall119 or the loco-council thinks differently [20:34] cjohnston: isn't there already a relationshipt between teams and 'members' ? i cant find it in the models. Should i fetch them myself from launchpad? [20:35] i would think there would have to be based upon the fact that you can only add/modify things for teams you are a member of [20:36] so far i can only find 'owner, admin and contact' [20:36] mhall119: ? [20:40] theres an is_team_member or something [20:43] cjohnston: i found: launchpad.is_team_member(request.user, team_object) [20:43] it does an LP API request [20:43] starting at line 103 http://bazaar.launchpad.net/~loco-directory-dev/loco-directory/0.2/annotate/head%3A/loco_directory/events/views.py [20:43] Ronnie: ^ [20:45] ya [20:51] Ronnie: every LP team has a Django group, if the Django user is in the Django group by the same name, they're a member of that team [20:51] cjohnston: there may be occasions where non-members are the current admin or contact for a loco [20:52] and I can definitely see where a non-member might be a meeting chair [20:52] mhall119: i just saw. Im now testing the code (UserProfile.objects.filter(user__groups__name__exact__self.team.lp_name) [20:53] should be an = in there somewhere [20:53] mhall119: oops, typed wrong in chat [20:53] ok [20:53] the = is in my code tough [20:53] :) [20:54] mhall119: suggestion. make 2 optgroups. team members and others ? === rafael_carreras_ is now known as rafael_carreras [21:32] mhall119: is it true that not every User object has an profile? [21:33] i think my code is right (http://pastebin.com/LZjvkGU3) but it returns an empty list [21:33] and now gives an error on .get_profile() === evilnhandler is now known as Guest37948 [22:27] mhall119, cjohnston: does every User have a UserProfile ? Somehow my code does not work [22:28] current branche can be found here: https://code.launchpad.net/~ronnie.vd.c/loco-directory/627492 [22:33] aloha [22:33] cjohnston: sup === Guest37948 is now known as evilnhandler === evilnhandler is now known as Guest47572 [22:50] mhall119, cjohnston: merge proposal done (needed to create manually a UserProfile for my account tough) [23:17] Ronnie: every user created from LP should have a profile [23:18] mhall119: strange, my local account didn't (could it be because the changed-lp-name bug?) [23:18] * Ronnie is currently trying to solve: #570613 [23:18] bug #570613 [23:18] Launchpad bug 570613 in loco-directory "Show map of events (affects: 9) (heat: 25)" [High,Triaged] https://launchpad.net/bugs/570613 [23:20] yeah, we've had that one for a while now [23:21] waiting on someone familiar enough with google maps [23:22] mhall119: http://www.allesoverlinux.nl/ubuntu/kaart/ (some project for ubuntu-nl with google maps v3) [23:23] i think i can solve this problem too [23:23] nice === Guest47572 is now known as evilnhandler === evilnhandler is now known as Guest44355 [23:47] mhall119: any idea what information should be in the "notification" when a user clicks on an event on the map? === Guest44355 is now known as evilnhandler