/srv/irclogs.ubuntu.com/2010/12/16/#ubuntu-locoteams.txt

ComputerChicHi all :)02:30
mhall119hiya02:31
ComputerChicmhall119: How are you?02:35
mhall119good03:12
mhall119you?03:12
ComputerChicmhall119: good04:35
dholbachgood morning!06:55
ComputerChicdholbach:  Good Morning.07:02
YoBoYgod morning07:32
YoBoYgood07:33
Ddorda‏ה13:02
Ddorda‏אופס13:02
Ddorda‎oops13:02
Ddorda‎sorry13:02
mhall119cjohnston: reviewed and merged your branches13:06
dakermhall119, and mine ?13:10
mhall119daker: loco-directory branches?13:30
dakeryes13:30
mhall119oh, didn't see yours down there at the bottom13:30
mhall119let me take a look13:30
dakersure tyt13:30
mhall119hmmm, it doesn't seem to let me change language13:32
mhall119the menu stays on "Arabic" but the language is still English13:32
mhall119and English (United States) isn't an option13:32
mhall119as much as the brits might wish that were true13:32
dakerOh!!13:32
czajkowskilol13:43
czajkowski:D13:43
czajkowskimhall119: not our fault ye spell tings the wrong way 13:43
czajkowski*things13:44
mhall119lol, oh the irony13:44
mhall119and 'our'? My you assimilated fast13:45
czajkowskimhall119: I was already half english my dear :)14:01
Ronniewhat are the steps to runs the LD branche local. i created a patch, but need to test is14:05
Ronnieit*14:05
dakerRonnie, there is an INSTALL file there14:08
dakerjust to14:08
dakerdo*14:09
dakerbzr branch lp:loco-directory14:09
dakercd loco-directory14:09
Ronniedaker: thx. i already were a folder too deep14:09
Ronnieits running now14:10
dakerok14:10
Ronniehow long does the "./manage.py update" command take?14:15
dakerRonnie, It depends on your internet connection14:18
daker~5 -> 10min14:18
Ronniedaker, not much traffic here. (ah just finished)14:19
Ronniehmm, looks like it did not update the events14:20
dakerRonnie, no it just fetch languages/countries/lp teams/lp team admins14:22
Ronnieoh, i need to test events (generate ical)14:22
* Ronnie is fixing: https://bugs.launchpad.net/loco-directory/+bug/67127814:23
ubot4Launchpad bug 671278 in loco-directory "Unable to subscribe to RSS or iCal feed from Google Calendar (affects: 1) (heat: 4)" [Undecided,Incomplete]14:23
dakergimme a sec14:23
Ronnieill give you 3 if you want :P14:24
dakerok14:24
dakerthe first thing you need to do is to add you lp ID to local_settings.py14:25
dakeradded it to DEBUG_USERS14:25
Ronnieok14:27
dakernow you have to login then you will have a full access14:28
Ronnieadded: DEBUG_USERS = ('ronnie.vd.c') in local_settings.py  - logged in, but still cant see the events14:29
dakerRonnie, go to http://127.0.0.1/teams/14:31
dakerthen choose a team14:31
dakerRonnie, events needs to be added 14:31
Ronniedaker, thx :D it worked, and the branche has now be proposed for mergin15:12
dakerok :)15:13
cjohnstonmhall119: is Bug #691202 possilbe18:01
ubot4Launchpad 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/69120218:01
Ronniecjohnston: mhall119, i fixed bug #961202. branche is now propesed for merging18:16
ubot4Ronnie: Bug 961202 on http://launchpad.net/bugs/961202 is private18:16
mhall119cjohnston: I'd say it is18:19
cjohnstonwhatever that bug is, its private18:19
cjohnstonmhall119: I have no idea18:19
mhall119I think he transposed the 6 and 918:19
cjohnstonbug #69120218:19
ubot4Launchpad 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/69120218:19
Ronniei think i did. better use copy/paste next time18:19
cjohnstonRonnie: it cant be fix committed until the fix is committed.. just because you made the patch, it isnt comitted18:20
Ronnieoh, what should i tag it than?18:20
mhall119in progress18:20
cjohnstonin progress18:20
Ronnieok, done18:20
=== Ddorda is now known as ddorda
=== ddorda is now known as Ddorda
Ronniecjohnston, mhall119: somebody already working on: bug #62749220:26
ubot4Launchpad bug 627492 in loco-directory "Limit selection of users to team members (affects: 4) (dups: 2) (heat: 32)" [High,Triaged] https://launchpad.net/bugs/62749220:26
cjohnstonits all yours Ronnie 20:27
Ronnieoke :D20:27
Ronniecjohnston: question regarding this bug...20:28
cjohnstonok20:28
Ronnieis it better to put the 'teams members on top of the list' or 'only the team members'20:28
cjohnstononly team members20:28
cjohnstonthere is no reason someone who isnt a team member should be a contact/admin/chair20:29
cjohnstonthat i know of20:29
cjohnstonunless mhall119 or the loco-council thinks differently20:29
Ronniecjohnston: 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:34
cjohnstoni would think there would have to be based upon the fact that you can only add/modify things for teams you are a member of20:35
Ronnieso far i can only find 'owner, admin and contact'20:36
cjohnstonmhall119: ?20:36
cjohnstontheres an is_team_member or something20:40
Ronniecjohnston: i found: launchpad.is_team_member(request.user, team_object)20:43
Ronnieit does an LP API request20:43
cjohnstonstarting at line 103 http://bazaar.launchpad.net/~loco-directory-dev/loco-directory/0.2/annotate/head%3A/loco_directory/events/views.py20:43
cjohnstonRonnie: ^20:43
cjohnstonya20:45
mhall119Ronnie: 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 team20:51
mhall119cjohnston: there may be occasions where non-members are the current admin or contact for a loco20:51
mhall119and I can definitely see where a non-member might be a meeting chair20:52
Ronniemhall119: i just saw. Im now testing the code (UserProfile.objects.filter(user__groups__name__exact__self.team.lp_name)20:52
mhall119should be an = in there somewhere20:53
Ronniemhall119:  oops, typed wrong in chat20:53
mhall119ok20:53
Ronniethe = is in my code tough20:53
mhall119:)20:53
Ronniemhall119: suggestion. make 2 optgroups.  team members and others ?20:54
=== rafael_carreras_ is now known as rafael_carreras
Ronniemhall119: is it true that not every User object has an profile?21:32
Ronniei think my code is right (http://pastebin.com/LZjvkGU3) but it returns an empty list21:33
Ronnieand now gives an error on .get_profile()21:33
=== evilnhandler is now known as Guest37948
Ronniemhall119, cjohnston: does every User have a UserProfile ? Somehow my code does not work22:27
Ronniecurrent branche can be found here: https://code.launchpad.net/~ronnie.vd.c/loco-directory/62749222:28
czajkowskialoha22:33
czajkowskicjohnston: sup 22:33
=== Guest37948 is now known as evilnhandler
=== evilnhandler is now known as Guest47572
Ronniemhall119, cjohnston: merge proposal done (needed to create manually a UserProfile for my account tough)22:50
mhall119Ronnie: every user created from LP should have a profile23:17
Ronniemhall119: strange, my local account didn't (could it be because the changed-lp-name bug?)23:18
* Ronnie is currently trying to solve: #57061323:18
Ronniebug #57061323:18
ubot4Launchpad bug 570613 in loco-directory "Show map of events (affects: 9) (heat: 25)" [High,Triaged] https://launchpad.net/bugs/57061323:18
mhall119yeah, we've had that one for a while now23:20
mhall119waiting on someone familiar enough with google maps23:21
Ronniemhall119:  http://www.allesoverlinux.nl/ubuntu/kaart/ (some project for ubuntu-nl with google maps v3)23:22
Ronniei think i can solve this problem too23:23
mhall119nice23:23
=== Guest47572 is now known as evilnhandler
=== evilnhandler is now known as Guest44355
Ronniemhall119: any idea what information should be in the "notification" when a user clicks on an event on the map?23:47
=== Guest44355 is now known as evilnhandler

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!