*** th1a has joined #schooltool | 00:13 | |
*** ignas has quit IRC | 00:34 | |
*** th1a_ has joined #schooltool | 02:27 | |
*** menesis has quit IRC | 02:55 | |
*** th1a_ has quit IRC | 03:52 | |
*** th1a_ has joined #schooltool | 04:06 | |
*** th1a_ has quit IRC | 05:08 | |
*** th1a_ has joined #schooltool | 05:28 | |
*** th1a has quit IRC | 06:08 | |
*** aks has joined #schooltool | 06:09 | |
*** aks has joined #schooltool | 06:09 | |
*** klausade_ has joined #schooltool | 07:00 | |
*** klausade has quit IRC | 07:03 | |
*** th1a_ has quit IRC | 07:50 | |
*** alga has joined #schooltool | 09:46 | |
*** klausade_ is now known as klausade | 09:57 | |
*** menesis has joined #schooltool | 11:06 | |
*** aks has quit IRC | 11:57 | |
*** aks has joined #schooltool | 12:00 | |
*** ignas has joined #schooltool | 13:09 | |
*** menesis has quit IRC | 13:42 | |
*** aks has quit IRC | 14:17 | |
*** menesis has joined #schooltool | 14:32 | |
*** th1a_ has joined #schooltool | 16:26 | |
*** th1a has joined #schooltool | 16:29 | |
*** th1a has quit IRC | 16:31 | |
*** th1a has joined #schooltool | 16:33 | |
*** th1a has quit IRC | 16:33 | |
*** th1a has joined #schooltool | 16:34 | |
*** th1a_ has quit IRC | 16:35 | |
*** alga has quit IRC | 17:27 | |
*** yvl has quit IRC | 17:40 | |
*** fsufitch has joined #schooltool | 17:48 | |
*** th1a_ has joined #schooltool | 17:55 | |
*** th1a_ has quit IRC | 18:28 | |
*** menesis has quit IRC | 19:42 | |
*** fsufitch has quit IRC | 19:44 | |
*** fsufitch has joined #schooltool | 19:50 | |
aelkner | hey fsufitch | 19:53 |
---|---|---|
*** fsufitch has quit IRC | 19:56 | |
*** replaceafill has joined #schooltool | 19:57 | |
*** fsufitch has joined #schooltool | 20:35 | |
fsufitch | aelkner: ping | 20:41 |
*** ignas has quit IRC | 20:47 | |
aelkner | fsufitch, what's up? | 20:48 |
th1a | fsufitch: Do you have a meeting with aelkner scheduled? | 20:48 |
aelkner | are you already at the ACC? | 20:48 |
th1a | aelkner: We should talk on the phone today. | 20:48 |
aelkner | th1a, yes, i know | 20:48 |
fsufitch | aelkner: i actually have an odd schedule today, i am just checking in with you before a dentist appointment at 3 pm | 20:48 |
fsufitch | i completely forgot about it until last evening | 20:49 |
fsufitch | i'm still at GMU | 20:49 |
aelkner | it turns out that i need to run my step-father to the airport at 2:30 | 20:49 |
aelkner | when will you be at the ACC? | 20:49 |
fsufitch | that is actually incredibly convenient, that we'll both be away at the same time :) | 20:50 |
fsufitch | im actually going to be working from GMU today | 20:50 |
fsufitch | ive tried to get in touch with jelkner to tell him but ive had no luck | 20:50 |
fsufitch | he hasnt been answering his phone | 20:50 |
fsufitch | and is away on gtalk | 20:50 |
aelkner | did you leave a message on his phone? | 20:50 |
aelkner | that makes his light flash which gets him to check it | 20:51 |
fsufitch | oh, i didnt know | 20:52 |
fsufitch | i should do that | 20:52 |
aelkner | ok, otherwise, we'll just have to look for each other here when we return from our errands | 20:53 |
fsufitch | yup | 20:53 |
aelkner | but in the meantime, so you have a moment to discuss today's goals | 20:53 |
aelkner | do you, i mean? | 20:55 |
aelkner | fsufitch? | 20:56 |
fsufitch | yup | 20:56 |
aelkner | ok, first, a couple small things | 20:57 |
fsufitch | aelkner: i do, sorry, the wifi here is flaky and i sometimes lag | 20:57 |
aelkner | i haven't had the chance to debug the container constraints problem | 20:57 |
aelkner | so go ahead and remove the test for now | 20:57 |
aelkner | we'll look into that later | 20:57 |
aelkner | second, i noticed that you are violating PEP8 in interfaces.py | 20:58 |
fsufitch | ... i am? | 20:58 |
fsufitch | oops! | 20:58 |
aelkner | you need to have two blank lines between classes | 20:58 |
fsufitch | ah, i always forget that | 20:58 |
aelkner | one blank line for methods within a class | 20:58 |
aelkner | actually, it's not just classes, but also methods at indentation level zero also need two blank lines | 20:59 |
fsufitch | i see | 20:59 |
aelkner | so you can fix those two things real quick and commit that | 20:59 |
fsufitch | so everything at indent level 0 | 20:59 |
fsufitch | okay | 20:59 |
aelkner | but first | 21:00 |
aelkner | let's talk about the next thing | 21:00 |
aelkner | i say we start working on views, the first being the schoolyear container view | 21:00 |
aelkner | now since we don't have any view classes for adding stuff to that container | 21:00 |
aelkner | i suggest creating a test-only view for adding whatever you want to the container | 21:01 |
fsufitch | okay | 21:01 |
aelkner | actually, now that i think about it, we had it wrong to have a 'Course Info' link for ISchoolYear | 21:02 |
aelkner | really we need two links, 'Proposed Courses' and 'Current Courses' | 21:02 |
aelkner | the links would be the same but have the additional traversal to either proposed_courses or current_courses | 21:03 |
aelkner | so far, so good? | 21:03 |
fsufitch | yup | 21:03 |
aelkner | ok, so again, you can write the view for either without actually having a view for adding to it | 21:04 |
aelkner | if you create a test-only view that adds seom objects to the containers | 21:04 |
aelkner | it's a hard-coded view class that will go away once we have add views | 21:04 |
aelkner | you have the intervention branch handy | 21:05 |
aelkner | ? | 21:05 |
fsufitch | yup | 21:05 |
aelkner | look at intervention/browser/ftesting.zcml and ftests/ftests.py | 21:05 |
fsufitch | yay being ready for this :) | 21:05 |
fsufitch | ok | 21:05 |
aelkner | you see that it's a simple view class that does everything in __call__ | 21:06 |
fsufitch | wait you're defining new views? | 21:06 |
aelkner | it's a test-only view | 21:08 |
aelkner | it won't be a part of the app, really | 21:08 |
aelkner | just the functional tests | 21:08 |
fsufitch | i see | 21:09 |
aelkner | look at intervention/browser/ftests/intervention_dashboard.txt | 21:10 |
aelkner | and search for update_responsible.html | 21:10 |
fsufitch | mhm | 21:10 |
aelkner | you see, i needed to create a situation that wasn't possible with the real views | 21:11 |
aelkner | changing catalog data in a way that wouldn't otherwise happen | 21:11 |
fsufitch | well i mean, wouldn't that be something to do in a utest, not a ftest? | 21:11 |
aelkner | the intervention detailss are not important, but the model is what i want you to see | 21:11 |
aelkner | no, i'm saying that you will be adding to the functional test, README.txt | 21:12 |
aelkner | and that has nothing to do with the unit tests | 21:12 |
aelkner | so in your functional test, you click 'Proposed Courses' | 21:12 |
aelkner | and you can test that the container view has nothing to list | 21:13 |
fsufitch | and click on the dummy addition view | 21:13 |
fsufitch | oh right, that first | 21:13 |
aelkner | then, only then, you manager.open(the url) | 21:13 |
aelkner | nothing to click, just open app/add_test_data.html | 21:13 |
aelkner | and register your test view against ISchoolToolApplication | 21:14 |
aelkner | since it's just a temporary view, you can change data all you want and not worry about | 21:14 |
aelkner | its function in the overall app | 21:14 |
fsufitch | yup | 21:15 |
replaceafill | aelkner, sorry to interrupt, but do you have a sample pdf with rotated text? | 21:15 |
aelkner | so between the quick commit, you dentist appointment, and getting started on ftests, i think you're set | 21:15 |
aelkner | replaceafill, do you have the niepa package branched? | 21:16 |
replaceafill | yes, i just wanted to see the output without having to build the whole instance... | 21:16 |
fsufitch | aelkner: yup, i think i'm set too | 21:17 |
fsufitch | thanks! | 21:17 |
fsufitch | also, replaceafill, i have a Pyramid question for you | 21:17 |
fsufitch | do you have someplace i can look to see how i can make a login/user system for a Pyramid app? | 21:17 |
fsufitch | (without making it from scratch) | 21:17 |
aelkner | replaceafill, look at niepa/app/browser/report_card.py and its template | 21:18 |
aelkner | RotatedText is defined in the view class and used in the template | 21:18 |
replaceafill | aelkner right | 21:18 |
replaceafill | i just want the resulting pdf :P | 21:18 |
replaceafill | maybe you have one in your testing instance? | 21:19 |
aelkner | sorry, replaceafill, i need to run now | 21:19 |
aelkner | be back in a couple of hours | 21:19 |
replaceafill | aelkner ok | 21:19 |
replaceafill | np | 21:19 |
aelkner | look for me tonight | 21:19 |
replaceafill | cool | 21:19 |
replaceafill | thanks | 21:19 |
aelkner | np | 21:19 |
aelkner | cya | 21:19 |
replaceafill | fsufitch regarding your pyramid question: http://docs.pylonsproject.org/projects/pyramid/1.0/narr/security.html | 21:20 |
replaceafill | i think it's the best place to start | 21:20 |
replaceafill | using ACL's is really easy | 21:20 |
fsufitch | replaceafill: yay, things to learn! | 21:21 |
fsufitch | thanks :) | 21:21 |
replaceafill | i see that everybody tries the repoze.who approach, but according to the core developers is like "too much" for some cases | 21:21 |
replaceafill | and its big problem is the lack of docs :( | 21:22 |
replaceafill | so, i'd advise starting with ACLs | 21:22 |
fsufitch | alrighty | 21:23 |
fsufitch | will do | 21:23 |
*** alga has joined #schooltool | 21:23 | |
fsufitch | now, i gotta go have holes drilled in my teeth | 21:25 |
fsufitch | talk to you later guys | 21:25 |
replaceafill | :)) | 21:25 |
*** fsufitch has quit IRC | 21:30 | |
*** menesis has joined #schooltool | 21:39 | |
*** menesis has quit IRC | 22:19 | |
*** alga has quit IRC | 22:41 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!