IRC log of #schooltool for Tuesday, 2013-01-22

*** replaceafill has quit IRC01:13
*** paulproteus has quit IRC01:32
*** paulproteus has joined #schooltool01:40
*** menesis has quit IRC02:34
*** menesis has joined #schooltool09:03
*** povbot_ has joined #schooltool09:41
*** povbot has quit IRC09:43
*** yvl has joined #schooltool15:40
*** replaceafill has joined #schooltool15:46
*** ignas has joined #schooltool15:50
th1ahi replaceafill, menesis, yvl.16:31
replaceafillgood morning/afternoon16:31
th1aI'll get the pieces related to our new server rolling today.16:35
menesishi16:35
menesispieces?16:35
th1aThat's directed at replaceafill.16:35
th1aSIELibre has our first real customer!16:35
th1ahttp://www.sknpep.com/16:36
th1aOK, well, let's get started.16:38
th1aI need to go at 10:30 because there was a snow delay for school, and I'll have to take Vivian.16:38
th1areplaceafill?16:38
replaceafillok16:39
replaceafilli worked on updating our table formatters16:39
replaceafillto use yvl's latest changes16:40
replaceafilli also figured out (kind of) how to create a pdf from the table formatter16:40
replaceafillit seems like the cell formatter attribute of existing tables don't work16:41
replaceafilland it makes sense16:41
replaceafillsince rml output is different from html16:41
replaceafilli have a question here for yvl16:41
replaceafillbut i'm not sure if he's around :)16:41
replaceafillalso, last week i found an issue with our image form field16:42
replaceafill(the one to upload images)16:42
replaceafillwhile working on images for schooltool quiz16:42
replaceafillthe field always assumes png content for images16:42
replaceafillif you don't set the format16:43
replaceafilli ended up overriding the field's logic in schooltool quiz to autodetect the mimetype16:43
replaceafillwe can probably talk about this during the sprint :)16:43
replaceafilland finally16:44
yvlhey guys16:44
replaceafillwhile checking examples for the new table + pdf funcitionality16:44
yvlsorry, I'm a bit late16:44
replaceafillif found that the person_profile.pdf view is broken16:44
replaceafillhttp://69.164.203.135:6660/persons/student055/person_profile.pdf16:44
replaceafill^ that's using sample data16:45
replaceafillhey yvl i have a question :)16:45
replaceafill(as usual) ;)16:45
replaceafilli have this table:16:45
replaceafillhttp://bazaar.launchpad.net/~schooltool-owners/schooltool.cando/trunk/view/head:/src/schooltool/cando/browser/gradebook.py#L160016:45
replaceafillwhen i do student_data_table/@@rml for that ^16:46
replaceafillthe group_by_column is rendered fine16:46
replaceafillyou know, hold on16:46
replaceafilllet me take a screenshot16:46
replaceafillhttp://imagebin.org/24381216:47
replaceafillthe table headers look great16:47
replaceafillmy question16:47
replaceafillfor the Required column16:47
replaceafillthe default table formatter is using a getter and a cell_formatter16:47
replaceafilldo you recommend to change most of the existing columns to do everything on getter?16:48
replaceafilllike getting the _(Yes) or _(No) directly there16:48
replaceafillotherwise, i guess i need to put some adapter in place16:49
replaceafillalso, i noticed grid does some <para>...</para> inside cells, right?16:49
replaceafilli think i need the same functionality for the Skill column16:49
yvlagree16:49
replaceafillskills have loooong titles16:50
yvlas for long titles... they won't fit properly even if within para16:50
yvlwe'll just end up with long vertical macaroni titles16:50
replaceafillah :(16:50
replaceafillthey don't flow automatically?16:51
replaceafilla la html16:51
replaceafill:)16:51
yvlwell even when they do16:51
yvlthere's just a lot of text16:52
yvland very little horizontal space16:52
yvlif you fit some two words per row16:52
yvlyou'll end up with a lot of rows for one description16:52
th1aCan you control the column widths?16:52
th1areplaceafill:  This is based on an existing report, right?16:52
replaceafillth1a, yes16:53
replaceafill@@rml being blindly applied to existing table16:53
th1aYeah... in practice that may work less magically then we'd like, even if it is technically doing what it is supposed to do.16:53
replaceafillyvl, if i want to control widths, i need to override the render method of the rml table, right?16:54
yvllet me look16:54
replaceafillwhat got my attention is that the first column, label, seems bold :)16:55
yvlat the moment - yes16:55
replaceafillyvl, kk16:55
replaceafillyvl, and i could register adapters for the columns, right?16:56
yvlyes16:56
replaceafilllike an adapter named "required"16:56
replaceafilland applied custom rml logic there16:56
replaceafillapply*16:56
yvlright16:57
replaceafilllast question (and sorry for being spitting a lot on you) :)16:57
replaceafillwhat's the tablepart for?16:57
replaceafillcan it be used in a specific way?16:57
replaceafilli mean RMLTablePart16:58
yvlwell16:58
yvlthe intent was it to be used like other "parts"16:58
replaceafilllike ajaxparts?16:59
yvlah16:59
yvlhere it is16:59
yvlgroup.browser.group.PersonProfileGroupsPart17:00
yvlit is registered as a separate "part" in person profile pdf report17:00
yvl(registration done in flrouish.zcml nearby)17:00
replaceafillah, i was following those (parts) when i noticed the error in person_profile.pdf view17:01
replaceafilli'll try to fix the view and see it all working17:01
yvlthe "part" is the thing that also handles title, page breaks (with continued on next page...) and some other style elements17:01
replaceafillah ok17:02
replaceafillkk, i'll continue digging :)17:02
replaceafillth1a, my goal is to have these pdf reports working off existing tables (with little modifications)17:02
replaceafillthis week17:02
replaceafillstudent competency report17:02
replaceafilland validated resume17:02
replaceafillfor cando17:02
replaceafillvirginia reports have been also been updated to this new functionality17:03
* replaceafill done17:03
th1aOK, cool.  Sounds good.17:03
th1aThanks, replaceafill.17:04
th1amenesis?17:04
menesisI have been in bed with cold :(17:04
menesisbut today feeling well already17:04
menesisI couldn't make the release17:05
menesisdoing that today17:05
th1aWe can look forward to a fruitful exchange of international germs next week.17:05
menesisI feel I went through this just in time17:06
th1aIndeed.17:06
menesisand hope to be well next week :)17:06
menesisI found, like replaceafill mentioned already, that the new Person profile pdf results in an error17:07
menesisbut did not find why that happened or fix it17:08
th1areplaceafill:  Are you planning on looking at that?17:09
replaceafillyes17:09
th1akk17:09
menesisI saw there is a new major version of z3c.rml17:10
menesismaybe there are features that you wanted?17:11
menesistake a look17:11
th1aWhere?17:11
menesishttp://pypi.python.org/pypi/z3c.rml17:12
menesisbut in short, I have done very little since the last meeting17:13
th1aI'd think we'd want that.17:13
th1aOK menesis.17:13
th1aI wonder how much of that yvl already implemented for us.17:14
th1aThanks menesis.17:15
th1ayvl?17:15
* yvl looking at z3c.rml 2.0.017:15
yvlplugInGraphic looks promising17:16
yvlso, I'm preparing for the sprint17:16
yvldid the message notifications, at least part of the implementation17:16
yvldid not do the interface yet17:16
yvlhave a solution for disappearing tasks, not quite sure if it works really well17:17
yvlI'll be finished with musts for the sprint, but I doubt that there will be much more17:18
* yvl done17:19
* yvl will be more chatty next week ;)17:20
th1aOK.  Yes, we will have plenty of time to chat.17:20
th1aYou guys will also have a fair amount of time without me present in the later afternoon/evening, so there will be time for hacking, not just discussion.17:21
yvlsure17:21
yvlit would be fun to hack this time :)17:21
th1aThere is not giant new component to plan.17:21
yvlright17:22
th1aOK... should we have a short meeting Thurs. or Fri.?17:22
yvlwell...17:23
yvlwe can...17:23
yvljust to touch base :)17:23
replaceafillthurs works for me, in case i get stuck :)17:23
replaceafill(and probably i will) ;)17:24
yvlI should be around this time on IRC anyway17:24
th1aOK, Thursday makes sense.17:24
yvlso please ping :)17:24
th1aLet's plan on Thursday.17:24
yvlbtw, it seems it will be cold in Providence17:24
yvldo you have much snow now, th1a?17:24
th1aYeah, it is cold right now.17:24
replaceafilloh oh17:24
th1aWe just got about an inch last night, and there was nothing already on the ground.17:24
yvlreplaceafill: http://www.wunderground.com/weather-forecast/US/RI/Providence.html17:25
th1aSo the school superintendent's prediction was wrong.  ;-)17:25
yvlah, good then :)17:25
th1aNext week is supposed to be warmer.17:25
* replaceafill crosses his fingers on that...17:26
th1areplaceafill will have to bring his parka though.17:26
yvlwe can always take him shopping :)))17:26
replaceafill:D17:26
th1aHe certainly doesn't need two!17:26
yvl:D17:27
yvlright17:27
yvlbtw, th1a - is there some shop where I could get my hands on Nexus 7? :)17:28
replaceafillbestbuy! :D17:28
th1aOh, I don't know.17:28
th1areplaceafill:  Yes, you can have that shipped to me, btw.17:28
replaceafillth1a, ah thanks17:28
replaceafillwill do17:28
th1ayvl:  I don't know if you can get one that isn't tied to a US carrier.17:29
th1aAt least not locally.17:29
th1aBut you can have something shipped to me.17:30
yvlhmm17:30
yvlcan you email me your address?17:30
replaceafillamazon sells unlocked phones :)17:30
th1ahttp://www.google.com/nexus/7/retailers/17:30
th1aI'm at 125 Adelaide Ave., Providence, RI 02907.17:31
yvlWalmart :DD17:31
yvlthanks th1a17:31
th1aOK, thanks guys.17:33
th1aTalk to you Thursday.17:33
th1aSee you soon!17:33
yvland see you guys soon!17:33
replaceafillthanks everybody17:33
* th1a drops the bag of gravel.17:33
*** paulproteus has quit IRC18:20
*** paulproteus has joined #schooltool18:23
*** yvl has quit IRC18:47
*** ignas has quit IRC21:10
*** aelkner has quit IRC21:38
*** replaceafill has quit IRC22:17
*** ignas has joined #schooltool22:24
*** ignas_ has joined #schooltool22:41
*** ignas has quit IRC22:42
*** ignas_ is now known as ignas22:42
*** Guest80956 has joined #schooltool22:42
*** Guest80956 has quit IRC22:45

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