Lumiere | the problem is the utility is completely undershadowed because nothing uses it right | 00:01 |
---|---|---|
Lumiere | I forsee it being entirely ajax and the only way anyone wants to find data in the system | 00:01 |
Lumiere | at least for a teacher or studen | 00:01 |
fsufitch | pcardune, the "zapi" thing you told me to use is nonexistant | 00:01 |
eldar | well, the skilldriver plug for it that i had chris right is gonnna be useful | 00:02 |
fsufitch | what do i need to import? | 00:02 |
pcardune | fsufitch: it's there: from zope.app import zapi | 00:02 |
fsufitch | ok ty | 00:02 |
pcardune | zapi.absoluteURL(thing, self.request) | 00:02 |
fsufitch | and eldar, isn't it spelled write? | 00:02 |
th1a | OK... I don't necessarily object to having some kind of quick ajax-y access to the info on the dashboard. | 00:02 |
th1a | But I do object to where it is placed and how it is implemented in terms of UI. | 00:02 |
Lumiere | then lets make it right | 00:03 |
Lumiere | and not kill it | 00:03 |
Lumiere | :) | 00:03 |
th1a | I guess I'm not sure what the real difference in performance is here. | 00:03 |
th1a | Is the info in the dashboard cached? | 00:04 |
th1a | Or is it loaded each time you hit the tab? | 00:04 |
fsufitch | pcardune, i got it working for persons | 00:04 |
eldar | loaded when you hit the tab | 00:04 |
pcardune | fsufitch: cool | 00:04 |
th1a | So is it really that much quicker than loading a new page? | 00:04 |
*** bvuong has quit IRC | 00:04 | |
Lumiere | but, it's just the data being loaded | 00:04 |
Lumiere | not the entire skin | 00:04 |
th1a | I can't really judge because I'm just doing it locally. | 00:04 |
fsufitch | pcardune, ... no other response? | 00:05 |
*** bvuong has joined #schooltool | 00:05 | |
Lumiere | fsufitch: he may be looking at some other stuff atm ;) | 00:05 |
eldar | th1a, it is not the load time, it is the act of clicking to go on a new page, the average user does not like that | 00:05 |
pcardune | fsufitch: does it work with resources too? | 00:05 |
fsufitch | i need to register a template for resources | 00:05 |
th1a | eldar: If the average user does not like going to a new page, we made a big mistake in developing a web application. | 00:06 |
fsufitch | and just change 1 thing | 00:06 |
Lumiere | th1a: loading part of a page is not the same as loading a full page | 00:06 |
Lumiere | users are really liking ajax because you only ever load the skin once | 00:06 |
*** bvuong has quit IRC | 00:06 | |
Lumiere | you're just loading data beyond that | 00:06 |
eldar | th1a, if it the dashboard is supposed to be a quick panel kind of thing, then having to go to that page every time someone needs it defeats the purpose of it being a quick panel | 00:07 |
fsufitch | pcardune, how would i check inside the page template whether the context is a person container or a resource container? | 00:08 |
Lumiere | fsufitch: shouldn't you know by context? | 00:08 |
fsufitch | i mean with a tal:condition | 00:09 |
th1a | eldar: It just depends on how much quicker it actually is. | 00:09 |
t3h_sood | context/__class__ | 00:09 |
Lumiere | fsufitch: I am just saying that the url should be different which means some piece of data isn't the same | 00:10 |
Lumiere | th1a: we can look at it in a few cases... 1) KB of code generated | 00:10 |
fsufitch | t3h_sood, thx | 00:10 |
fsufitch | also, you can lose the game again | 00:11 |
t3h_sood | fsufitch: STOP FAILING AT LIFE | 00:11 |
Lumiere | 2) number of calls you need to do to generate said code | 00:11 |
th1a | Lumiere: I'm just interested in real world performance over a network. | 00:12 |
Lumiere | jelkner agrees with eldar and I | 00:12 |
th1a | When I'm doing everything locally, there is no real difference in response time. | 00:12 |
Lumiere | he likes the dashboard and doesn't want it to go anywhere | 00:13 |
Lumiere | th1a: I was talking about response tiems | 00:13 |
jelkner | th1a: my 2 cents - all the students here who have used cando *like* the dashboard | 00:13 |
jelkner | you are the only one i know of who is against it | 00:14 |
Lumiere | I just don't know how to standardly test full response time | 00:14 |
th1a | th1a: Subjective observation is fine by me. | 00:14 |
Lumiere | what I CAN test is how much code we transfer | 00:14 |
jelkner | navigation must be *really* easy for the app to work well | 00:14 |
Lumiere | and how many calls we make to create that code | 00:14 |
jelkner | if you fix the rest of the navigation (which is a mess) | 00:14 |
jelkner | then I will be less concerned about the dashboard, but I still really like it | 00:15 |
th1a | 1) I did completely redesign the navigation a year ago, but have never been able to get that into trunk. | 00:16 |
th1a | 2) The current implementation of the dashboard is clearly a workaround for otherwise screwed up navigation. | 00:17 |
th1a | But you can't keep hanging new tabs and widgets to fix that problem. | 00:18 |
th1a | Anyhow... when you're running CanDo on a remote server, how much of a difference in load time is there between using the pop-up dashboard and just reloading an average page? | 00:19 |
Lumiere | th1a: it's noticable | 00:19 |
Lumiere | it takes 2-3 _seconds_ less | 00:20 |
Lumiere | on an old cando | 00:21 |
Lumiere | (acc's instance) | 00:21 |
*** trekkiemage has joined #schooltool | 00:21 | |
th1a | Well, if we need to keep the Ajax for performance, fine. | 00:23 |
th1a | But I think the UI implementation should be more standard. | 00:24 |
th1a | No other web application I've ever seen has a floating tab at the bottom of the frame. | 00:27 |
*** bvuong has joined #schooltool | 00:27 | |
fsufitch | pcardune, it works by resource too | 00:30 |
fsufitch | so proud ^_^ | 00:30 |
th1a | What if it acted as a pop-up window when you click on your name or "Dashboard" in the top bar? | 00:31 |
eldar | then the user would have to switch between windows to use it | 00:33 |
th1a | I mean a tricky CSS implemented window. | 00:33 |
eldar | is the idea of a slide up that bothersome? | 00:33 |
th1a | It is a completely random metaphor. | 00:34 |
th1a | Plus it takes time and processor cycles. | 00:35 |
Lumiere | th1a: firefox does something like the dashboard | 00:36 |
*** bvuong has quit IRC | 00:36 | |
Lumiere | lp does it too | 00:36 |
Lumiere | we'll put it where you want top left right or whatever | 00:37 |
pcardune | th1a: have you ever used launchpad's help? | 00:37 |
th1a | It isn't in the bottom middle! | 00:37 |
th1a | And it doesn't float over everything. | 00:38 |
*** whaddon has joined #schooltool | 00:38 | |
th1a | pcardune and I can arm-wrestle over this in Vilnius. | 00:39 |
* th1a is going to cook dinner. | 00:39 | |
*** jfroche_ has joined #schooltool | 00:39 | |
*** whaddon has quit IRC | 00:39 | |
pcardune | th1a: we can make it a drinking game for your birthday, whoever can drink the most beers gets to decide where it goes | 00:40 |
pcardune | but you have to decide when you are already drunk | 00:40 |
t3h_sood | " 'bool' object not callable " <-- wtf? >_< Paul please help us :-) | 00:40 |
t3h_sood | or eldar. Whichever is fine >_< | 00:41 |
Lumiere | th1a: you can't call a <type 'bool'> | 00:44 |
Lumiere | err t3h_sood | 00:44 |
Lumiere | <_< | 00:44 |
*** didymo has joined #schooltool | 00:49 | |
*** bnguyen has left #schooltool | 00:50 | |
wjohnsto`ACC | eldar: | 00:50 |
wjohnsto`ACC | my password is watermelon | 00:50 |
wjohnsto`ACC | don't feel left behind | 00:50 |
eldar | cool :P | 00:50 |
t3h_sood | mine is cucumber <_< | 00:50 |
t3h_sood | not really :-) BYEBYE | 00:50 |
eldar | mine still might be banana | 00:50 |
*** t3h_sood has left #schooltool | 00:50 | |
eldar | i might have switched after jason tested it | 00:51 |
*** wjohnsto`ACC has quit IRC | 00:51 | |
Lumiere | nope | 00:51 |
*** eldar has quit IRC | 00:52 | |
*** jfroche has quit IRC | 00:52 | |
*** tdoggette_ has quit IRC | 00:54 | |
*** lhuynh has quit IRC | 00:54 | |
*** trekkiemage has quit IRC | 00:55 | |
*** jelkner has quit IRC | 00:57 | |
*** fsufitch has quit IRC | 00:57 | |
*** AVN` has quit IRC | 00:58 | |
*** jfroche_ has quit IRC | 01:17 | |
*** pcardune has quit IRC | 01:21 | |
*** jinty has joined #schooltool | 01:35 | |
*** fsufitch has joined #schooltool | 02:04 | |
*** jinty_ has joined #schooltool | 02:06 | |
*** jinty has quit IRC | 02:23 | |
*** bvuong has joined #schooltool | 03:20 | |
*** bvuong has quit IRC | 03:20 | |
*** pcardune has joined #schooltool | 04:07 | |
*** AVN` has joined #schooltool | 04:15 | |
*** tdoggette has joined #schooltool | 04:15 | |
AVN` | lol, i tried to join using cd | 04:15 |
AVN` | ping-pcardune, Lumiere eldar | 04:16 |
AVN` | any will do | 04:16 |
fsufitch | boo! | 04:16 |
tdoggette | Me and Chris Beacham are working on security tests for schooltool and cando, and we're puzzled by this bug | 04:16 |
AVN` | eek | 04:16 |
tdoggette | in the http://localhost instance of schooltool that our test runs in, there's no "Last name" field when you add a person | 04:17 |
AVN` | Its extremely strange, for some reason, it appears that the tests are running a different version of cando | 04:17 |
AVN` | though they are running from the same instance, so they should be identical | 04:17 |
tdoggette | AVN == Beacham | 04:18 |
tdoggette | Anyone have any ideas? | 04:18 |
AVN` | filip, could you IM pcardune ? | 04:19 |
AVN` | its kind of a crazy, insane, loco bug | 04:19 |
tdoggette | This other schooltool version has to have source somewhere | 04:19 |
pcardune | welcome to person/demographics hell | 04:19 |
tdoggette | Yeah, well | 04:19 |
tdoggette | It seems like the one the test sees doesn't even use person/demo | 04:20 |
tdoggette | it's only got a few fields | 04:20 |
AVN` | and it has groups | 04:20 |
tdoggette | on the same page, as opposed to the latest, which has a whole bunch | 04:20 |
AVN` | but not groups | 04:21 |
* tdoggette finished Beacham's sentences | 04:21 | |
tdoggette | pcardune, any idea where the localhost version of schooltool could be coming from | 04:21 |
tdoggette | and how we can point it at something more recent | 04:21 |
tdoggette | or update it or something | 04:21 |
AVN` | I did a ps aux, and I didn't see any instances running other than tdoggette's | 04:22 |
tdoggette | The testbrowser is pointed at http://localhost | 04:23 |
tdoggette | and browser.contents paints a different picture than looking at the HTML of my instance does | 04:24 |
pcardune | tdoggette: use this to see what you have: http://beta.carduner.net/wordpress/?p=14 | 04:24 |
tdoggette | running now | 04:26 |
tdoggette | ach, I have to kill my instance for that to work, I guess | 04:30 |
tdoggette | I got "Address already in use" | 04:30 |
pcardune | pass in port as a keyword argument and make it different | 04:30 |
pcardune | I bet someone else is using that same port on maddog | 04:30 |
tdoggette | wait, how do I change port? | 04:31 |
tdoggette | change browser.url? | 04:32 |
tdoggette | pcardune | 04:32 |
pcardune | no | 04:33 |
pcardune | startServer(http, browser.url, username, passwd, port=2311) | 04:33 |
tdoggette | ah | 04:33 |
tdoggette | I'll use my port, I know that's open | 04:34 |
tdoggette | the test seems to be hanging before hitting my security.txt | 04:36 |
pcardune | hanging? or running startServer? | 04:36 |
tdoggette | Tear down cando.curriculum.browser.ftests.curriculum_functional_layer ... not supported | 04:37 |
tdoggette | which is usual | 04:37 |
tdoggette | but it's not going past it, as per usual | 04:37 |
pcardune | just wait a bit more | 04:37 |
tdoggette | I plan to. | 04:37 |
tdoggette | ... | 04:38 |
tdoggette | ... | 04:39 |
tdoggette | pcardune, ... | 04:42 |
pcardune | tdoggette: debug :) | 04:42 |
tdoggette | Isn't that what this is for? | 04:42 |
pcardune | yeah, not figure out why it's not working :) | 04:42 |
tdoggette | >>> server.startServer(http, browser.url, 'manager', 'schooltool', port=8124) | 04:43 |
tdoggette | that is correct, yes? | 04:43 |
pcardune | yep | 04:43 |
tdoggette | I'll try running it again. Maybe it was a freak thing. | 04:43 |
tdoggette | It runs now | 04:45 |
tdoggette | but gives the "Address already in use" bit again | 04:45 |
tdoggette | I'll change port. | 04:45 |
AVN` | i got that too | 04:46 |
AVN` | use 8120 | 04:46 |
AVN` | i think thats mine | 04:46 |
tdoggette | I'm trying 8106 | 04:46 |
tdoggette | Failing that, I'll use yours | 04:46 |
AVN` | ah | 04:49 |
AVN` | 8121 | 04:49 |
tdoggette | It's hanging on "Tear down" etc. again | 04:49 |
tdoggette | Restart fixed it | 04:50 |
tdoggette | and the address is in use. | 04:50 |
tdoggette | Running w/ 8121 | 04:50 |
tdoggette | Whoo, it is TEARIN' it DOWN | 04:52 |
AVN` | I love how lively this is | 04:52 |
AVN` | TEAR DOWN THE ROOF ! | 04:52 |
tdoggette | Well, if you say his name, a genie appears | 04:52 |
tdoggette | Don't, though | 04:52 |
tdoggette | The genie is busy | 04:53 |
AVN` | and makes 30 bucks an hour | 04:53 |
fsufitch | AVN`, when you have something to ask of me, plz use fsufitch instead of filip | 04:53 |
tdoggette | If we study real hard, we can be highly paid and confined in a bottle too. | 04:54 |
fsufitch | Xchat only blips me when you use fsufitch | 04:54 |
AVN` | oh, sorry filip | 04:54 |
fsufitch | FSUFITCH! | 04:54 |
AVN` | but that was like 5 hours ago | 04:54 |
tdoggette | fsufitch, you mean. | 04:54 |
AVN` | no, i mean filip | 04:54 |
tdoggette | do you? | 04:54 |
AVN` | yes, i intentionally used it wrong | 04:54 |
fsufitch | ... | 04:54 |
fsufitch | i h8 u | 04:54 |
AVN` | lol | 04:54 |
AVN` | see ya l8er filip | 04:55 |
tdoggette | ih81337 | 04:55 |
AVN` | this isn't 1337, this is teenage girl txtmsg speak | 04:56 |
AVN` | and by this, i mean that | 04:56 |
tdoggette | omg | 04:57 |
tdoggette | (All if this inanity is being faithfully logged) | 04:58 |
tdoggette | *of | 04:58 |
AVN` | I'll censor vulgarity, but not stupidity | 04:58 |
tdoggette | Irritatingly, after we've got the right version of schooltool running correctly, everything else will fall into place | 04:59 |
tdoggette | And the genie's magic see-all is not WORKING | 04:59 |
tdoggette | I'm just gonna let it hang forever | 04:59 |
tdoggette | see what it does | 04:59 |
AVN` | hmmm | 04:59 |
AVN` | i think there was a way to give it priority | 04:59 |
AVN` | so it gets CPU with first priority | 05:00 |
AVN` | if forget how | 05:00 |
AVN` | are you sure you sshed with X forwarding? | 05:00 |
AVN` | both times? or did you start gobby with an & | 05:00 |
tdoggette | no, it's all x-forwarded | 05:01 |
AVN` | alright | 05:02 |
tdoggette | And all hanging, still. | 05:09 |
AVN` | hmmm | 05:11 |
AVN` | perhaps its genie summering time | 05:11 |
tdoggette | Let's not. | 05:12 |
tdoggette | I've got to go. | 05:12 |
tdoggette | I'd stay, but my room is needed | 05:12 |
tdoggette | And I am not armed with a laptop. | 05:12 |
tdoggette | Let's resume tomorrow. | 05:13 |
tdoggette | I'll call you in the morning with my availability, because it's variable due to houseguests. | 05:13 |
tdoggette | Farewell, AVN`. | 05:14 |
AVN` | bye | 05:14 |
tdoggette | OH! | 05:14 |
tdoggette | OH! | 05:14 |
AVN` | WHAT? | 05:14 |
tdoggette | IT STARTED | 05:14 |
AVN` | ZOMG | 05:14 |
AVN` | ZOMG | 05:14 |
AVN` | wow | 05:14 |
AVN` | climatic | 05:14 |
tdoggette | I was just leaving, too | 05:14 |
AVN` | whats up with it | 05:14 |
tdoggette | slowness, for one. | 05:15 |
tdoggette | it's waiting for localhost | 05:15 |
tdoggette | I was right when I said I had to go | 05:16 |
tdoggette | and it's not loading at all | 05:16 |
tdoggette | We can pick up tomorrow | 05:16 |
AVN` | ah... leave it open, save time | 05:17 |
tdoggette | Okay. | 05:17 |
AVN` | tomorrow | 05:17 |
tdoggette | Like I said, I'll call. | 05:17 |
AVN` | and, you could IM me | 05:17 |
tdoggette | We'll beat this. | 05:17 |
AVN` | or email | 05:17 |
tdoggette | right. | 05:17 |
AVN` | see ya | 05:17 |
*** tdoggette is now known as tdoggette_sleep | 05:17 | |
AVN` | don't forget the clockout | 05:17 |
AVN` | time is now 10:18 | 05:18 |
AVN` | in case we need that later | 05:18 |
tdoggette_sleep | I'm out. | 05:18 |
AVN` | k | 05:19 |
*** didymo has quit IRC | 06:00 | |
*** pcardune has quit IRC | 06:31 | |
*** didymo has joined #schooltool | 06:55 | |
*** alga has joined #SchoolTool | 09:59 | |
*** jinty_ has quit IRC | 10:14 | |
*** shubacka has joined #schooltool | 10:18 | |
*** shubacka has quit IRC | 10:38 | |
*** shubacka has joined #schooltool | 10:41 | |
*** shubacka has quit IRC | 10:44 | |
*** jfroche has joined #schooltool | 11:08 | |
*** Fujitsu has quit IRC | 13:06 | |
*** Fujitsu has joined #schooltool | 13:17 | |
*** didymo has quit IRC | 14:09 | |
*** pcardune has joined #schooltool | 15:26 | |
*** pcardune has quit IRC | 15:46 | |
*** eldar has joined #schooltool | 16:02 | |
*** pcardune has joined #schooltool | 16:14 | |
*** mgedmin has joined #schooltool | 16:32 | |
dwelsh | th1a: you around? | 16:38 |
*** pcardune has quit IRC | 16:46 | |
*** pcardune has joined #schooltool | 17:09 | |
*** lisppaste5 has quit IRC | 17:14 | |
*** lisppaste5 has joined #schooltool | 17:21 | |
th1a | dwelsh: I am around. | 17:37 |
AVN` | tdoggette_sleep, ping | 17:42 |
AVN` | tdoggette_sleep, when you come, i got it to work, port 8080 | 17:54 |
AVN` | slow with the loading though | 17:57 |
AVN` | real slow | 18:11 |
AVN` | pcardune, any other suggestions? | 18:14 |
pcardune | AVN`: suggestions for...? | 18:15 |
pcardune | th1a: did you see my drinking game suggestion from yesterday? | 18:15 |
th1a | Yes. | 18:15 |
th1a | pcardune: I need a note from jelkner giving you permission to drink. | 18:16 |
pcardune | why does he need to give me permission? | 18:16 |
* mgedmin searches irclogs | 18:16 | |
mgedmin | Lumiere: yes you can call <type 'bool'>, just try it: | 18:16 |
mgedmin | >>> bool() | 18:16 |
mgedmin | False | 18:16 |
AVN` | we need to tell what version of cando the test is running | 18:16 |
mgedmin | what you can't is call instances of type bool: True() or False() will barf | 18:17 |
* th1a is pulling pcardune's leg. | 18:18 | |
pcardune | AVN`: you are running whatever version you have checked out... which is probably (should be) trunk. the thing you need to know is whether you are using schooltool.demographics person or schooltool.person | 18:20 |
pcardune | I'm guessing you are using schooltool.person | 18:20 |
pcardune | which is fine | 18:20 |
AVN` | how can we tell? | 18:20 |
AVN` | if we are just following links | 18:20 |
pcardune | you just need to change your tests to make it use the forms for schooltool.person | 18:20 |
pcardune | AVN`: by using that whole startServer business and looking at the form for adding a person | 18:21 |
pcardune | if the form has a bunch of stuff about demographics, then you are clearly using demographics person... but if the form doesn't have a bunch of demographics then you are using schooltool's simple person | 18:21 |
pcardune | AVN`: does that make sense? | 18:22 |
AVN` | well, the start server doesn't work | 18:22 |
AVN` | nothing loads | 18:22 |
AVN` | firefox opens, but its just a blank screen | 18:22 |
AVN` | it hangs on 'waiting for localhost' | 18:22 |
*** mgedmin has quit IRC | 18:24 | |
pcardune | AVN`: in that case you can always read through the output of the html and see what fields are there | 18:27 |
AVN` | yeah, its got groups, so its demographics | 18:28 |
AVN` | but why? | 18:28 |
AVN` | its following the same path as we would if we clicked through | 18:28 |
AVN` | why does it find demographics? | 18:28 |
Lumiere | hi all? | 18:37 |
AVN` | hi | 18:37 |
AVN` | can you help me figure out why the automated tests | 18:37 |
AVN` | find the wrong new person? | 18:38 |
AVN` | er, new person page | 18:38 |
Lumiere | pcardune: would be better equipped to do that | 18:38 |
AVN` | he stopped responding | 18:39 |
pcardune | AVN`: you guys really shouldn't worry about what kind of person it finds | 18:39 |
pcardune | it has to do with your functional test setup | 18:40 |
AVN` | well, it would be nice to understand how it works | 18:40 |
AVN` | like, is it going to do this agian | 18:41 |
AVN` | in other cases? | 18:41 |
AVN` | finding other forms? | 18:41 |
pcardune | no | 18:41 |
AVN` | cause forms you can't find are hard to write for | 18:41 |
pcardune | only with persons | 18:41 |
Lumiere | person is the only thing like that really | 18:41 |
AVN` | so its only person | 18:41 |
AVN` | sure? | 18:41 |
pcardune | yep | 18:41 |
AVN` | allright | 18:41 |
pcardune | and that is something which might be worked out in the coming weeks | 18:41 |
Lumiere | pcardune: I doubt it | 18:41 |
AVN` | ok, well, we can change it back then | 18:42 |
eldar | pcardune, which form framework should I ask Stephan to present on? z3.form or formlib? | 18:49 |
Lumiere | z3.formjs? | 18:50 |
Lumiere | XD | 18:50 |
pcardune | hmm, z3c.form I guess | 18:50 |
pcardune | although it currently is not in a state such that it can be used in schooltool, we need to provide UI hooksup for it which shouldn't be that difficult | 18:50 |
AVN` | how do I access person.demographics? | 19:08 |
AVN` | from cando? | 19:11 |
AVN` | how do i get to it? | 19:11 |
eldar | go to schooltool source | 19:12 |
eldar | and look for it | 19:12 |
eldar | it's all there | 19:12 |
AVN` | I'll wait till tdoggette_sleep gets back, getting nowhere fast | 19:17 |
Lumiere | AVN`: look at journals too | 19:21 |
Lumiere | they have to get some info from person | 19:21 |
* pcardune goes to get lunch | 19:26 | |
*** alga has quit IRC | 19:33 | |
*** tdoggette_sleep is now known as tdoggette | 19:57 | |
tdoggette | AVN`, you there? | 19:57 |
AVN` | yeah | 20:09 |
AVN` | whats up? | 20:10 |
tdoggette | Oh, you're there. | 20:14 |
tdoggette | Did you figure out where the schooltool instance that wasn't using the demographics person was coming from? | 20:15 |
tdoggette | AVN`, | 20:15 |
AVN` | actually | 20:15 |
AVN` | its the same instance | 20:15 |
AVN` | so i gather | 20:15 |
AVN` | its just finding it differently | 20:15 |
AVN` | also you are running like 5 versions of the test | 20:16 |
AVN` | i suggest you do ps aux | 20:16 |
AVN` | | grep cando | 20:16 |
AVN` | and start killing them | 20:16 |
tdoggette | Oh wow | 20:17 |
AVN` | yeah | 20:17 |
tdoggette | I don't suppose there's a convenient automated way to kill everything I'm running? | 20:19 |
AVN` | well | 20:19 |
AVN` | there is killall | 20:19 |
AVN` | for instance | 20:19 |
AVN` | killall cando | 20:19 |
AVN` | might do it | 20:19 |
AVN` | or killall python | 20:19 |
tdoggette | "no process killed" | 20:20 |
Lumiere | tdoggette: there are 2 implementations of the IPerson interface | 20:20 |
Lumiere | tdoggette: on maddog? | 20:20 |
tdoggette | How can we see one and the testbrowser the other? | 20:20 |
Lumiere | tdoggette: it shouldn't matter | 20:20 |
tdoggette | Well, the version that we can see demands "Last name" to add a person | 20:21 |
AVN` | well, yeah diffrent forms | 20:21 |
AVN` | it does matter | 20:21 |
tdoggette | and the one the testbrowser can see doesn't have the field | 20:21 |
Lumiere | AVN`: what's this test for? | 20:22 |
AVN` | we can work around that, but the point is we need to figure out why the test browser is going to the wrong page, because we need to know how it works | 20:22 |
AVN` | its security testing | 20:22 |
tdoggette | Lumiere, permissions. | 20:22 |
Lumiere | uh, iirc you shouldn't be testing add person | 20:22 |
AVN` | so we are going to be all over cando | 20:22 |
AVN` | We need to make people | 20:22 |
AVN` | to test other things | 20:23 |
tdoggette | a student, a teacher, an admin | 20:23 |
Lumiere | yes, but you don't need to worry about the values of the user | 20:23 |
tdoggette | to see what each has the ability to do | 20:23 |
Lumiere | just that they exist | 20:23 |
tdoggette | We need to make them exist | 20:23 |
AVN` | well, we need to make them | 20:23 |
tdoggette | seeing as they don't | 20:23 |
Lumiere | just addPerson | 20:23 |
AVN` | the point is not that we need to add people, the point is why is the brower not behaving like we expect | 20:24 |
AVN` | because if it is not behaving like we expect, we can't be sure that its testing what we think it is | 20:24 |
AVN` | we could miss stuff... etc | 20:25 |
Lumiere | look at SchoolTool/src/schooltool/resource/ | 20:25 |
Lumiere | look at SchoolTool/src/schooltool/resource/browser/security.txt | 20:25 |
Lumiere | it addPerson's a few people | 20:27 |
Lumiere | then it gives them permissions | 20:27 |
Lumiere | then it tests | 20:28 |
Lumiere | you don't *care* what type of person you're using | 20:28 |
Lumiere | they both implement IPerson | 20:28 |
Lumiere | or they are the anonymous person | 20:28 |
tdoggette | Okay, that'll make our job easier | 20:29 |
tdoggette | But, like AVN` said, we still don't know why out testbrowser isn't looking at the same thing we are | 20:29 |
Lumiere | yes | 20:29 |
tdoggette | *our | 20:29 |
Lumiere | it may be ftesting.zcml | 20:30 |
Lumiere | but yet it still doesn't matter :) | 20:30 |
tdoggette | Well, yes, yes it does matter | 20:30 |
tdoggette | Because we need it to see what we see | 20:31 |
tdoggette | And it's not | 20:31 |
Lumiere | tdoggette: you're wrong | 20:31 |
AVN` | no, he's not | 20:31 |
Lumiere | you just need to know | 20:31 |
AVN` | we can't, on the lowest level, write for something we can't see | 20:31 |
AVN` | If the form is called Surname instead of last name, its going to fail | 20:32 |
Lumiere | AVN`: then change the zcml of schooltool to use a non-demographics person (and ask ignas how to do it... OR ask ignas/pcardune how to make testbrowser use demographics.person | 20:32 |
Lumiere | but in the end... you don't need to look at person at all | 20:32 |
Lumiere | you're NOT TESTING person | 20:33 |
Lumiere | in any way shape or form | 20:33 |
tdoggette | But it /should/ be the same instance we have | 20:33 |
tdoggette | we are SEEING a demographics person | 20:33 |
Lumiere | person is schooltool core code | 20:33 |
tdoggette | and it's getting a regular person from somewhere else | 20:33 |
Lumiere | rather then cando module code | 20:33 |
AVN` | how do we know it won't do this again> | 20:34 |
AVN` | its much better if its the same instance | 20:34 |
Lumiere | AVN`: because person is the only thing in schooltool with 2 implementations | 20:34 |
AVN` | are you sure? | 20:35 |
Lumiere | (at least for now, and it will be the only thing with 2 implementations packaged in by default) | 20:35 |
Lumiere | yes | 20:35 |
tdoggette | I still wish I knew from where it pulled the other one | 20:35 |
Lumiere | there will be multiple gradebooks, but only 1 gradebook will exist in the code at any time | 20:35 |
Lumiere | tdoggette: it's all zcml | 20:35 |
tdoggette | But shouldn't it be the /same/ zcml | 20:36 |
tdoggette | ? | 20:36 |
Lumiere | no | 20:36 |
AVN` | tdoggette, reopen the file in gobby, i edited it a little | 20:36 |
Lumiere | ftesting.zcml vs site.zcml | 20:36 |
tdoggette | AVN`, what session? | 20:36 |
AVN` | its still running | 20:37 |
AVN` | er | 20:37 |
AVN` | nvm | 20:37 |
AVN` | start a new one | 20:38 |
AVN` | i guess | 20:38 |
tdoggette | 6118 again | 20:39 |
AVN` | aight | 20:39 |
*** deathomen has joined #schooltool | 21:53 | |
*** aelkner has joined #schooltool | 22:05 | |
*** deathomen has quit IRC | 22:05 | |
*** deathomen has joined #schooltool | 22:05 | |
*** deathomen has left #schooltool | 22:05 | |
aelkner | pcardune: bitchx is bitchin' | 22:05 |
pcardune | yep | 22:05 |
*** wjohnsto has quit IRC | 22:10 | |
AVN` | tdoggette, are you there? ping | 22:10 |
AVN` | nvm | 22:11 |
Lumiere | bitchx < irssi | 22:24 |
AVN` | irssi < xchat | 22:27 |
*** AVN` is now known as AVN_clockout | 22:27 | |
* pcardune wipes forehead | 22:59 | |
*** mlinnell has joined #schooltool | 23:00 | |
*** cpcarey has joined #schooltool | 23:02 | |
aelkner | hi mlinnell | 23:06 |
mlinnell | aelkner, hi | 23:06 |
aelkner | i have to get set up on another machine, so i'm signing ouff for a sec | 23:06 |
mlinnell | we're on gobby | 23:06 |
mlinnell | ok | 23:06 |
*** aelkner has quit IRC | 23:06 | |
*** aelkner has joined #schooltool | 23:09 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!