IRC log of #schooltool for Tuesday, 2013-07-16

*** khildin has quit IRC00:18
*** menesis has quit IRC02:08
*** replaceafill has quit IRC02:55
*** Lumiere has quit IRC09:03
*** Lumiere has joined #schooltool09:15
*** menesis has joined #schooltool10:02
*** yvl has joined #schooltool10:32
*** menesis has quit IRC13:36
*** menesis has joined #schooltool14:26
*** pgulley has joined #schooltool15:32
*** replaceafill has joined #schooltool16:28
*** th1a has joined #schooltool16:28
th1ahi replaceafill, yvl, menesis.16:29
replaceafillgood morning/afternoon16:29
yvlgood morning16:31
th1aI don't know if we've discussed name order recently.  Our users in Thailand are concerned about it.16:33
th1a(did we discuss this?)16:33
th1aIf not say "no." ;-)16:34
replaceafillnot recently16:34
yvlno16:34
th1aOK. So they pointed out something which is obvious and straightforward once they tell you.16:34
th1aThe one big thing about countries that reverse their family name/given name order is that you really don't want to be forced to sort by the second name.16:35
th1aOr default to Last, First.16:35
th1aSo that's actually pretty straightforward.16:36
th1aTake all the tables where the names are in one column and sorted by last name and split into two columns where you can sort by either.16:36
th1aAt least conceptually straightforward.16:36
th1aHow much of a pain in practice?16:37
th1aIs this something that could be done in a couple templates to fix most of the cases?16:37
th1aOr touching everything.16:37
replaceafilldoes that includes the gradebook?16:38
th1aYes.16:38
replaceafillah ok16:38
th1aMIght be good to fit that into ongoing grade book work regardless.16:39
th1aThat's probably one their most concerned with.16:39
th1a(all the grade book views)16:39
th1aSo… what would be the time/pain factor in that change, roughly?16:41
* replaceafill is looking other places where we use "last name, first name"16:41
th1aActually, there may not be many.16:42
th1aReports?16:42
replaceafillright, persons, groups, and relationship views split them16:42
replaceafillah16:42
replaceafillreports16:42
th1aAh, so I guess this might not be too bad aside from reports.16:42
yvlhmm16:43
yvlreports, gradebook, journal16:43
yvlinterventions?16:43
replaceafillah the intervention_tab shows first name ,last name16:43
replaceafillsplit, but in a different order16:44
th1aAside from big tables there are probably just some places that randomly have last, first stuck in various views or reports.16:44
th1aI'll file a bug and we should list places in the comments.16:46
yvlmakes sense16:46
th1aSo actually making these changes probably won't be too difficult.16:46
th1aOK, go ahead yvl.16:47
yvlok16:47
yvlsorry, somewhat woozy, in the middle of pdbing16:48
yvlok16:48
yvlon the year status front - some progress16:48
yvlon the st rest api front - mostly done16:49
yvlsmall things keep popping up16:49
yvlmade an egg, hooked up lazr.restful, hooked up basic person16:50
yvladded catalog querying16:51
yvlPATCHing does not work16:51
yvlsomething not hooked up right still16:51
yvlother than that, seems to work nicely16:52
yvl:)16:52
th1aOK… can you hand that off to… Aaron?  Is that his name?16:52
yvlyes16:52
yvlwhen patching works, yes16:52
th1aWhat is PATCH in this context?16:53
yvlupdating objects essentially16:54
th1aOK.16:54
yvlit has post, put and patch for modifying16:54
yvlREST16:54
th1aREST has PATCH?16:54
yvlyes16:55
yvlsee http://en.wikipedia.org/wiki/REST#Concept16:55
yvllazr.restful also supporst WADL16:55
yvl(web application description language)16:56
yvlfor better or for worse16:56
th1aOh, PATCH is new.16:56
th1aI thought I was losing my mind.16:56
yvl:D16:56
th1aNext thing you'll tell me Pluto is not a planet.16:57
th1aOK, so it sounds like a good time to hand this off.16:57
th1aYou can finish your pdb train of thought.16:58
yvlthakns :)16:58
yvlthanks :)16:58
th1aAny questions or issues about statuses?16:58
yvlumm, not yet16:58
th1aOK.  Year statuses are more involved than enrollment statuses.16:59
th1aWhich are you doing first?17:00
yvlstatuses :D17:00
yvlumm17:00
th1aOK.  I wouldn't do years before section or student enrollment.17:00
yvlrelationship statuses to be more precise17:00
th1aYeah, I know.17:00
yvlright17:00
yvlyear statuses are a bit more involved17:00
th1aOK.17:01
th1aThanks yvl.17:01
th1areplaceafill?17:01
replaceafillok17:01
replaceafillyesterday i started working on the malawi grades spreadsheet17:02
replaceafilli made some assumptions:17:02
replaceafillhardcoded database path17:02
th1a(I've not looked at it yet I'm afraid)17:02
replaceafillah, i was going to ask you about the grades :(17:03
replaceafillthere's a P in there i don't understand17:03
replaceafillmaybe i should just send jonathan an email?17:03
replaceafilli "think" it means "passed"17:03
replaceafillbased on the whole thread of question/emails17:03
th1aYou've been exchanging emails?17:04
replaceafillno17:04
replaceafilli meant the launchpad emails :)17:04
th1aBased on the older ones.17:04
replaceafillyes17:04
th1atbh, this is just a test, so you could go ahead and guess.17:04
replaceafillah ok17:04
th1aIf "p" means something else, that's easy to change.17:04
replaceafillif it means "passed", i wonder how should we handle it17:04
th1aI'll look at it today.17:04
replaceafillbecause the rest of the grades are just numbers17:05
th1aIn what sense?17:05
th1aAh.17:05
replaceafilland the "p"s don't happen in a specific way17:05
replaceafilllike "we use p's for the 3rd term each year"17:05
replaceafillor something like that17:05
th1aI'm downloading it.17:06
th1aAny other issues?17:06
replaceafilli'm also assumming the sections are already created, etc17:06
replaceafillusing the standard spreadsheet17:06
replaceafillyvl, question17:06
th1aIt is in the spreadsheet he sent, right?17:07
replaceafillwhen the deb packages are installed, schooltool is inserted in the pythonpath, correct?17:07
replaceafilli'm using a sandbox instance to test it for now17:07
replaceafillth1a, yes, he sent the standard one, and an additional for grades17:07
th1aRight.17:08
th1aThe P's are assigned to specific courses, like "Study Skills"17:08
replaceafillah!17:08
th1aBut not always.17:08
th1aI think just sniff the score system, essentially.17:09
yvlreplaceafill, if you're asking if shcooltool is available in sys python, then yes17:09
th1aDuck typing.  ;-)17:09
replaceafillyvl, ah, that :)17:09
menesisreplaceafill: yes, installed schooltool is available from pythonpath (/usr/lib/python2.7/dist-packages)17:09
replaceafillah ok17:09
replaceafillso in order to run a script that modifies the database, he'll need to stop the service, correct?17:10
replaceafillothewise, he'd get a "lock" error17:10
replaceafillth1a, so the report sheet would have two different Grade activities?17:11
replaceafillor maybe i'm missing something17:12
th1aI guess that's a necessary implication.17:12
replaceafillah ok17:12
th1aWell...17:12
th1aMaybe just make it skip the P's for now and then ask.17:13
replaceafillah cool, that's easier :D17:13
th1aJust from a time point of view I'd rather have him respond to a draft than wait for him to answer a question before taking the next step.17:13
th1aSo otherwise is this looking reasonably straightforward?17:13
replaceafillcool, makes sense17:13
replaceafillyes17:13
replaceafillno issues yet, and i have the report sheets created17:14
replaceafill(with activities)17:14
th1aOK.  Good.17:14
replaceafilllast thing on my notes17:14
replaceafilljelkner is requesting a change on how images are handled in quizzes17:14
replaceafilli think it wouldn't take long17:15
th1aPut them on the filesystem?17:15
th1aLIke our other images?17:15
replaceafillno, that's already done17:16
replaceafillthe workflow to link an image with a question is two steps:17:16
replaceafillyou need to upload the image to an image container17:16
replaceafilland after that, you add the question and look for the image17:17
replaceafillthey basically want the ability to upload the image while you're creating the question17:17
th1aIf they need you to do some plumbing on that, it is fine.17:18
replaceafillah ok, cool17:18
replaceafilli'll tell jelkner17:18
replaceafillthat's it from me17:18
th1aOK, thanks replaceafill.17:19
th1amenesis?17:19
menesisI had two days off Thu-Fri17:19
menesisyesterday I finally fixed all test failures on ubuntu jenkins17:20
th1a(that reminds me I have a budget update after menesis's report)17:20
menesisthat was mostly python3 related stuff17:21
menesisand updated to latest versions of zope.testing and testrunner17:21
menesiseverything committed to debian, too17:22
menesisthen turned to schooltool's failing tests17:22
menesisfixed a few17:22
menesisbut most are link not found or permission denied errors because manager can longer see courses, sections or something else17:23
menesisfunctional tests17:23
menesisthere are also some unit test failures regarding scores17:23
menesisalso, filed bugs to remove some obsolete zope packages17:24
th1aWhat kind of unit test failures?17:24
menesishttp://source.schooltool.org/buildbot/builders/schooltool_trunk/builds/88/steps/unit%20tests/logs/stdio17:25
th1aOK.17:26
menesistests expect scores but gets str's or similar17:26
th1aLooks pretty random.17:26
menesisnot updated after rewrite17:27
menesisthat's all to report17:27
th1aOK.  Thanks menesis.17:28
th1aSo the good news is we're slightly under budget at the mid-way point in the year.  A few thousand euro under 50%.17:28
th1aSo everyone (menesis) can keep working at pretty much the current rate.17:28
yvlgreat :)17:30
th1aOK.17:30
th1aThat is all.17:30
th1aCan we meet Thursday?17:30
replaceafill+1 on thu17:30
th1ayvl?  menesis?17:32
menesislet me check17:32
menesisyes17:32
menesisI go to the dentist in the morning17:33
th1aOK, thursday at the regular time then.17:35
th1aThanks guys.  Have a great week!17:36
* th1a drops the bag of gravel.17:36
yvl+1 on thu17:37
yvlsorry, my dentist just called :)17:37
th1aOop.17:37
th1aOh, I thought you meant he called to move your appt. to Thursday.17:37
th1a:-D17:37
pgulleyreplaceafill, I just pushed the rest of the auto-save work to my repo, if you'd like to look at it at any point.17:41
replaceafillpgulley, ah ok17:41
replaceafillpgulley, you need to stick savetime under preference.ApplicationPreferences17:43
replaceafillpgulley, i don't see the reference to form in "$(form)"17:45
*** yvl has quit IRC17:46
pgulleyI can do the former, but I'm not sure I know what you mean by the latter17:46
replaceafillin the js inserted in the template17:47
replaceafillthere's a reference to "form"17:47
replaceafillbut "form" is not defined17:47
replaceafillright?17:47
pgulleyno, that's a jquery selector17:50
pgulleyform is defined once the page is populated17:51
replaceafillshouldn't it be: $('form')17:51
pgulleyhuh. so it should be.17:52
pgulleyIt still ran without that though. I'll fix it17:52
replaceafillhmm, and it worked?17:52
pgulleymhm!17:53
replaceafillpgulley, i need to go, make sure it works and i'll branch and test it when i get back17:57
*** replaceafill has quit IRC17:59
*** Lumiere has quit IRC18:19
*** Lumiere has joined #schooltool18:19
*** menesis has quit IRC19:12
*** menesis has joined #schooltool20:03
*** pgulley has quit IRC20:34
*** pgulley has joined #schooltool20:39
*** th1a has quit IRC21:06
*** th1a has joined #schooltool21:17
*** pgulley has quit IRC22:08
*** replaceafill has joined #schooltool22:20
*** th1a has quit IRC22:48
*** th1a has joined #schooltool23:24
*** th1a has quit IRC23:51
*** th1a has joined #schooltool23:52

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