[07:07:31]  karenreid (~karenreid@bas1-toronto05-1177663643.dsl.bell.ca) joined #markus.
 [08:37:25]  karenreid (~karenreid@bas1-toronto05-1177663643.dsl.bell.ca) left irc: Quit: karenreid
 [10:48:57]  karenreid (~karenreid@vpn-shaper00.cs.toronto.edu) joined #markus.
 [10:49:12]  #markus: mode change '+o karenreid' by MarkUsBot!~MarkUsBot@li136-145.members.linode.com
 [11:07:21]  karenreid_ (~karenreid@ joined #markus.
 [11:11:09]  karenreid (~karenreid@vpn-shaper00.cs.toronto.edu) left irc: Ping timeout: 240 seconds
 [11:11:11]  Nick change: karenreid_ -> karenreid
 [11:19:20]  karenreid (~karenreid@ left irc: Quit: karenreid
 [11:20:45]  tobioboye (~drone@bas4-toronto12-3096472497.dsl.bell.ca) joined #markus.
 [12:59:30]  tobioboye (~drone@bas4-toronto12-3096472497.dsl.bell.ca) left irc: Quit: tobioboye
 [13:38:20]  dadacha (~ddadacha@ joined #markus.
 [13:41:03]  tobioboye (~drone@gw-wifi12.cdf.utoronto.ca) joined #markus.
 [13:57:12]  dadacha (~ddadacha@ left irc: Remote host closed the connection
 [14:04:42]  dadacha (~ddadacha@ joined #markus.
 [14:13:54]  aimenk (~aimenk@CPE00226b45e6b2-CM001ac318b812.cpe.net.cable.rogers.com) joined #markus.
 [15:12:31] <tobioboye>  hey Benjamin_V quick question
 [15:56:12]  dadacha (~ddadacha@ left irc: Ping timeout: 248 seconds
 [15:57:02]  dadacha (~ddadacha@ joined #markus.
 [16:33:34]  Nick change: m_conley_away -> m_conley
 [16:57:32]  karenreid (~karenreid@bas1-toronto05-1177663643.dsl.bell.ca) joined #markus.
 [17:04:01] <aimenk>  hey tobioboye u there?
 [17:05:33]  lissyx (~alex@ joined #markus.
 [17:05:54] <tobioboye>  yeah [
 [17:08:43] <dadacha>  oh man I just realized you can do ctrl+shift+F in gnome-terminal..
 [17:09:42] <aimenk>  i was working on issue 327
 [17:10:11] <aimenk>  and was wondering if i want to display first and last name of members in a group, where exactly would be a good place to look at
 [17:10:19] <tobioboye>  one sec
 [17:10:55] <aimenk>  suree
 [17:11:26]  *** tobioboye taking a look at the issue
 [17:13:57] <dadacha>  aimenk: good place to look for the first and last name?
 [17:14:01] <dadacha>  or where to put it?
 [17:14:15] <aimenk>  where to put it
 [17:14:23] <aimenk>  cos i placed first name and last name heading
 [17:14:45] <aimenk>  but i m not exactly sure how to display the actual first and last name
 [17:15:32] <dadacha>  you placed fn and ln heading?
 [17:16:15] <aimenk>  yupp
 [17:16:48] <aimenk>  like where it says Name Section and Graders
 [17:16:56] <aimenk>  i was able to add First Name and Last Name
 [17:17:06] <dadacha>  aimenk: well I see that the usernames are already there, they're probably being printed directly from the variable. You can just do var.first_name var.last_name
 [17:17:23] <dadacha>  oh I see as a separate column?
 [17:17:37] <dadacha>  aimenk: which view are we talking about here/
 [17:17:38] <dadacha>  ?
 [17:17:50] <aimenk>  Graders View
 [17:17:58] <dadacha>  1 sec
 [17:18:29] <aimenk>  Assignments > select an assignment > Graders
 [17:18:33] <dadacha>  yeah
 [17:18:44] <dadacha>  so find the view file associated with this page in app
 [17:19:20] <dadacha>  it's just adding the value of the row as something like group-name user-name1 user-name2..etc
 [17:19:37] <dadacha>  so after user-name1 just add (var.first_name var.last_name)
 [17:19:48] <dadacha>  oh actually sorry
 [17:19:52] <aimenk>  yeaa i was looking in the view
 [17:20:01] <aimenk>  not exactly sure if i m looking at the right files
 [17:20:02]  *** dadacha suspects this is using groups to grab users
 [17:20:11] <dadacha>  oh okay, which file are you looking at?
 [17:20:45] <aimenk>  ok so to add the headings i added it to views/graders/_boot.js.erb
 [17:21:19] <aimenk>  so now just trying to figure out where to get the values of FN and LN from and populate it on the table
 [17:22:14] <dadacha>  right, 1 sec looking at the file
 [17:22:20] <dadacha>  but I think that's the right place
 [17:22:46] <aimenk>  yeaa
 [17:23:27] <aimenk>  soo this is the right place to look in if i want to get the values?
 [17:23:49] <aimenk>  cos it didnt seem like it :s
 [17:26:25] <tobioboye>  oops sorry folks
 [17:26:30] <dadacha>  yeah it is
 [17:26:33] <tobioboye>  i got a little distracted
 [17:26:35] <dadacha>  it's setting up the table using javascript
 [17:27:31] <dadacha>  I believe it's somewhere from line 10 to 72
 [17:27:48]  Last message repeated 1 time(s).
 [17:27:48]  *** dadacha just has no idea about JS + tables..
 [17:28:00] <tobioboye>  what view files are you looking at folks?
 [17:28:39] <aimenk>  same here
 [17:28:45] <dadacha>  graders/_boot.js.erb
 [17:28:48] <aimenk>  do u guys know if any tutorial i can look at for it
 [17:28:52] <dadacha>  tobioboye: -^
 [17:31:04] <dadacha>  aimenk: nope
 [17:31:33] <aimenk>  tobioboye: do u know of any?
 [17:43:16] <aimenk>  tobioboye: ??
 [17:43:49] <dadacha>  aimenk: yeah I have no idea sorry
 [17:44:01] <dadacha>  m_conley: would you happen to know?
 [17:44:06] <aimenk>  dadacha: thats okk. thanks for ur help nyways :)
 [17:44:23] <aimenk>  dadacha: maybe i can comment on the issue and ask benjamin where to look
 [17:44:36] <m_conley>  dadacha: what's the question?
 [17:44:39]  *** m_conley reads scrollback
 [17:45:11] <m_conley>  aimenk: you're looking for a tutorial - on which subject?
 [17:45:20] <dadacha>  m_conley: we're looking at the graders view atm under assignments
 [17:45:33] <dadacha>  m_conley: we aren't sure how it gets access to the group names/usernames etc
 [17:45:35] <aimenk>  i m working on issue 327
 [17:46:00] <aimenk>  and i was looking in to view/graders/boots.js.erb
 [17:46:03] <dadacha>  m_conley: we've found that it's in views/graders/_boot.js.erb
 [17:46:15] <aimenk>  i was able to ad columns First name and last name
 [17:46:24] <aimenk>  but not sure how exactly to get the values
 [17:47:09] <tobioboye>  not sure honestly
 [17:47:09] <m_conley>  aimenk: can I answer in about 10 mins?
 [17:47:10] <dadacha>  m_conley: so do you know a tutorial for rendering tables in JS/prototype
 [17:47:24] <m_conley>  aimenk: are you sticking around for a little bit?
 [17:47:25] <aimenk>  tobioboye: thankss nywayy
 [17:47:30] <tobioboye>  sowwwie
 [17:47:36] <aimenk>  m_conley: yeaa i'll be here
 [17:47:48] <m_conley>  aimenk: alright - thanks - I'll let you know when I'm back. :)
 [17:47:53] <aimenk>  kk cool
 [17:47:59] <NelleV>  m_conley: hey ! Did someone give tobioboye and dadacha ops on irc ?
 [17:48:15] <dadacha>  nope
 [17:48:23] <dadacha>  if you're nickserv-ing, it's ddadacha
 [17:48:26]  Nick change: dadacha -> ddadacha
 [17:49:04] <NelleV>  ddadacha: This is supposed to be done with MarkUsBot, and I don't know how to
 [17:49:08] <tobioboye>  I think I have to register my nick with the nick server
 [17:49:29] <m_conley>  NelleV: it's been years since I admin'd MarkUsBot - not sure I remember how. :/
 [17:49:33]  #markus: mode change '+o ddadacha' by m_conley!~mconley@li67-220.members.linode.com
 [17:49:36]  #markus: mode change '+o tobioboye' by m_conley!~mconley@li67-220.members.linode.com
 [17:49:39]  #markus: mode change '+o NelleV' by m_conley!~mconley@li67-220.members.linode.com
 [17:49:42]  #markus: mode change '+o karenreid' by m_conley!~mconley@li67-220.members.linode.com
 [17:49:43] <NelleV>  ddadacha: I don't know who owns the chan in order to make it directly through nickserv (which should be the correct way to do it IMO, as you can't op and deop easily with MarkUsBot )
 [17:49:48]  #markus: mode change '-o NelleV' by NelleV!~Nelle@unaffiliated/nellev
 [17:49:55] <NelleV>  m_conley: I don't like to stay op on a chan :p
 [17:50:06] <NelleV>  m_conley: if I need to op, I just quit and come back
 [17:50:37] <ddadacha>  NelleV: m_conley owns the channel
 [17:50:58] <ddadacha>  /msg chanserv info #markus
 [17:51:48] <ddadacha>  and for access, /msg chanserv help flags
 [17:51:52] <NelleV>  m_conley: so technically, you could add us to the op list of the chan directly with chanserv
 [17:52:15] <ddadacha>  yep
 [17:52:21] <ddadacha>  that's what it's there for ;)
 [17:52:35] <m_conley>  NelleV: I guess so, yes I could. OPing isn't really what MarkUsBot's primary function is though. It's for logging.
 [17:53:20] <NelleV>  m_conley: I just don't know any of the commands to manage MarkUsBot :p
 [17:53:43] <ddadacha>  where's the source? :P
 [17:53:46] <m_conley>  NelleV: me neither - I'd have to re-read the EggDrop manual, and if I recall, it's a bit opaque
 [17:54:08] <NelleV>  ddadacha: the main server
 [17:54:22] <m_conley>  aimenk: I'll be with you soon - Review Board meeting ending in 5 min
 [17:54:24] <NelleV>  I remember it is a python bot
 [17:54:39] <aimenk>  m_conley: thankss :)
 [17:54:41] <ddadacha>  well for chanserv, it's just /msg chanserv flags #markus nick +*
 [17:54:50] <ddadacha>  but you might want to limit the +* to some specific flags
 [17:55:02]  *** ddadacha is lazy and just does +* for all my channels
 [17:57:47] <NelleV>  time for me to go. See you later !
 [17:57:58] <tobioboye>  NelleV: See you :)
 [17:58:03] <NelleV>  (there's a lot of people here for a saturday night !)
 [17:58:16] <ddadacha>  bye!
 [17:59:12] <tobioboye>  lol NelleV we don't have much a life :P
 [17:59:36] <tobioboye>  well that's not quite true. I've had my dose of partying for the weekend :)
 [17:59:50] <aimenk>  same heree...
 [17:59:59] <aimenk>  liver cant handle 2 nights of partying in a row
 [18:00:01] <aimenk>  :P
 [18:01:14] <NelleV>  tobioboye: I just came back from party. I have a tendency to check my mails every night :/
 [18:01:15] <ddadacha>  haha
 [18:01:55] <m_conley>  aimenk: ok, you've got my attention
 [18:01:59]  *** m_conley re-reads the issue
 [18:02:08] <aimenk>  m_conley: cool
 [18:02:41] <ddadacha>  m_conley: 17:51-17:53 for a digest but I might have explained poorly ;)
 [18:02:54] <tobioboye>  NelleV: :)
 [18:03:29] <m_conley>  aimenk: alright, lemme pull up bug 327...
 [18:03:40] <aimenk>  m_conley: kk thanksss
 [18:04:46]  karenreid (~karenreid@bas1-toronto05-1177663643.dsl.bell.ca) left irc: Quit: karenreid
 [18:05:42] <m_conley>  aimenk: OK, I think I understand the issue
 [18:05:47] <aimenk>  kk cool
 [18:05:52] <m_conley>  aimenk: lemme start fishing around in MarkUs code - hang on...
 [18:06:02] <m_conley>  aimenk: (this is the view where we're seeing the list of submissions, right?)
 [18:06:12] <aimenk>  submission
 [18:06:14] <aimenk>  and graders
 [18:06:18] <aimenk>  so i m working on graders right now
 [18:06:40] <aimenk>  if u go to assignments > click on assignment> graders
 [18:07:10] <aimenk>  then it should show the first and last name of the students in the group
 [18:07:17] <m_conley>  aimenk: ah, I see
 [18:07:23] <aimenk>  i was able to get the heading first and last name but not the values itself
 [18:08:13] <m_conley>  aimenk: ah, right, so this is with our funky table thinger
 [18:09:16] <aimenk>  yessss
 [18:09:32] <ddadacha>  m_conley: in views/graders/_boot*
 [18:09:51] <m_conley>  blast from the past
 [18:09:56] <m_conley>  I haven't seen this code in like 3 years
 [18:10:00] <ddadacha>  :O really
 [18:10:02] <m_conley>  gimme a sec
 [18:10:07] <ddadacha>  oh that particular coe
 [18:10:07] <m_conley>  gotta put my brain in a time machine
 [18:10:08] <ddadacha>  code*
 [18:10:16] <ddadacha>  haha
 [18:10:20] <ddadacha>  m_conley++
 [18:11:04] <tobioboye>  :)
 [18:11:59] <m_conley>  aimenk: alright, so the first thing to note is that FilterTable get populated with stuff *after* the page has been loaded. If I'm not mistaken, there's an AJAX call, and then the table populates.
 [18:12:12] <m_conley>  aimenk: also, I'm sorry for FilterTable. I wrote it, and I'm sorry.
 [18:12:22] <aimenk>  haha m_conley
 [18:12:25] <aimenk>  i forgive u :P
 [18:12:40] <aimenk>  kk so the values (like first name last name)
 [18:12:42] <m_conley>  aimenk: so, if I'm not mistaken, the code you're looking to change is actually on the server-side of things
 [18:12:56] <aimenk>  oooh okk
 [18:13:02] <aimenk>  soo where exactly
 [18:14:28] <m_conley>  aimenk: I think this is what you should be looking at: https://github.com/MarkUsProject/Markus/blob/master/app/views/graders/table_row/_filter_table_row.html.erb
 [18:14:45] <m_conley>  aimenk: _filter_table_row.html.erb, if I'm not mistaken, is used as the template for each row being displayed in that table
 [18:15:19] <m_conley>  aimenk: those first few lines, you can see, show the student's username. You can fill in the first and last name there too.
 [18:15:29] <aimenk>  ooh okk
 [18:15:48] <aimenk>  that makes sense
 [18:15:56] <ddadacha>  aimenk: BTW if it's using the grouping to grab the usernames, you can use the function Jay implemented to grab their first and last names
 [18:16:04] <ddadacha>  it was for his first review IIRC
 [18:16:09] <aimenk>  i'll take a look
 [18:16:09] <ddadacha>  but that's if there's no username var
 [18:16:12]  *** ddadacha hasn't looked
 [18:16:14] <aimenk>  yeaaa i saw that review
 [18:16:48] <m_conley>  aimenk: OK, so here's where we stashed the code to grab the template file (_filter_table_row in this case), and stuff it with various things: https://github.com/MarkUsProject/Markus/blob/master/app/helpers/graders_helper.rb
 [18:17:17] <m_conley>  aimenk: now you might be asking yourself
 [18:17:26] <m_conley>  aimenk: "Where is the documentation for this crazy piece of hackery?"
 [18:18:08] <m_conley>  aimenk: and the answer: I'm not sure we wrote any. FilterTable was written in a crazy rush to push the first MarkUs out the door, when jerboaa, NelleV and myself were working on it the first summer.
 [18:18:20] <m_conley>  aimenk: so we didn't have any time to document - we just plowed forward towards our 0.1.
 [18:18:36] <aimenk>  oooh
 [18:18:36] <m_conley>  aimenk: and for that, I'm truly sorry. :/