*** filip101 has quit IRC | 00:15 | |
*** alga has joined #SchoolTool | 00:40 | |
*** filip101 has joined #schooltool | 00:42 | |
pcardune | th1a: I threw a bug your way | 00:48 |
---|---|---|
*** filip101 has quit IRC | 01:01 | |
th1a | pcardune: Threw my bug away? | 01:06 |
pcardune | no | 01:15 |
pcardune | th1a: I threw a bug at you | 01:15 |
pcardune | \me throws a bug at th1a | 01:15 |
* pcardune throws a bug at th1a | 01:15 | |
th1a | Which bug? | 01:15 |
pcardune | 82908 | 01:16 |
pcardune | the one with the security flag set on it | 01:16 |
wjohnsto | pcardune: are you there? | 01:46 |
pcardune | wjohnsto: yes | 01:46 |
wjohnsto | I have a question | 01:47 |
wjohnsto | a couple of questions actually | 01:47 |
pcardune | shoot | 01:47 |
wjohnsto | I am in the Zope3 class, if you didn't already know..... I have been messing around with my zope site this past week | 01:48 |
pcardune | good | 01:48 |
wjohnsto | which looks pretty neat, IMO.... but I put an XHTML validator on the site | 01:48 |
wjohnsto | and my Contact Container page is not valid HTML, but the errors do not seem to be in my contactcontainer.pt file | 01:49 |
wjohnsto | if you would like to see for yourself, and maybe help me out the link is: | 01:50 |
wjohnsto | http://maddog.yhspatriot.net:8120/Contact%20Container | 01:50 |
* Fujitsu blinks. | 01:51 | |
Fujitsu | ... a digg link? | 01:51 |
wjohnsto | I was just messing around ;) | 01:52 |
wjohnsto | it's really only an image | 01:52 |
wjohnsto | if you want to see the skin, it looks better | 01:52 |
wjohnsto | but the HTML validator doesn't work with it | 01:52 |
wjohnsto | http://maddog.yhspatriot.net:8120/++skin++ZContact/ | 01:52 |
pcardune | i'll take a look | 01:53 |
wjohnsto | pcardune: In addition, there was an error that said something along the lines of needing this line: | 01:54 |
wjohnsto | <form tal:attributes="action request/URL" method="POST"> | 01:54 |
wjohnsto | to be: <form tal:attributes="action request/URL" method="GET"> | 01:54 |
wjohnsto | but I am thinking there was a reason for that that I probably don't know yet | 01:54 |
pcardune | well, for the xhtml validation, it looks like the default zope skin does not yield valid xhtml | 01:56 |
pcardune | which does not surprise me | 01:57 |
wjohnsto | yeah | 01:58 |
pcardune | With the xhtml validation for your skin, it seems like the validator does not like the ++ in the url | 01:58 |
wjohnsto | yea | 01:58 |
pcardune | I suspect that the validator uses +'s for something | 01:59 |
wjohnsto | you can check it yourself if you click on the validator image in the non-skin URL | 01:59 |
pcardune | (that's what I looked at) | 02:00 |
wjohnsto | ok, sorry | 02:00 |
wjohnsto | well I'll just assume that everything is right if my part of the HTML is correct | 02:00 |
pcardune | So, it looks like you won't be able to do validation on your skin | 02:01 |
wjohnsto | yeah, that's a bit of a setback | 02:01 |
wjohnsto | How does the site look, in your opinion? | 02:02 |
pcardune | unless you do some stuff that I personally consider bad practice although it is done all the time in other applications | 02:02 |
wjohnsto | as long as I can check it without the skin, I'm not too worried about it | 02:02 |
pcardune | The skin looks alright but I would suggest figuring out how to use menus | 02:03 |
wjohnsto | ok | 02:03 |
pcardune | also, how is the Home button generated? | 02:04 |
pcardune | oh i see, it just goes to / | 02:04 |
wjohnsto | I just linked directly to http://maddog.yhspatriot.net:8120/++skin++ZContact/ | 02:04 |
wjohnsto | yeah | 02:04 |
pcardune | ok, so that is also something you generally won't want in a skin | 02:04 |
wjohnsto | and the back button is "onclick=history.go(-1) | 02:04 |
wjohnsto | ok | 02:04 |
wjohnsto | well I just did it for now, because it makes it a little easier | 02:05 |
wjohnsto | I'll get rid of it eventually | 02:05 |
pcardune | yeah, that is what I always do too | 02:05 |
wjohnsto | I actually put that command in my .pt files | 02:05 |
wjohnsto | instead of using the style.css | 02:05 |
pcardune | Also, there needs to be an Edit link from a contact's page to their edit page | 02:05 |
pcardune | in the default zope skin that is handled with menus | 02:06 |
wjohnsto | I only put the color schemes and other things like that in the style.css | 02:06 |
wjohnsto | ok | 02:06 |
pcardune | If you can figure out how to reuse the zope menus, or create your own (even better) then that would be super cool | 02:06 |
wjohnsto | Maybe something along the lines of a table | 02:06 |
wjohnsto | on the side | 02:06 |
wjohnsto | or something | 02:06 |
wjohnsto | are we able to edit without being logged in? I thought that the edit page was under zope.ManageContent | 02:07 |
pcardune | reusing menus is pretty straight forward, just look in zope/app/basicskin/view_macros.pt | 02:08 |
wjohnsto | ok | 02:08 |
pcardune | oh yeah, i guess I'm not logged in so I wouldn't be able to see the edit link anyways | 02:08 |
wjohnsto | yeah | 02:08 |
wjohnsto | I mean | 02:08 |
wjohnsto | Brittney (my partner) and I put an add and Edit button in there | 02:09 |
wjohnsto | but you had to login to use it | 02:09 |
wjohnsto | It seems to me that if I changed zope.ManageContent to zope.View it would work normally, but I don't think I'm supposed to do that | 02:10 |
pcardune | I think it might be a good idea to have a standard log in that people can use so everyone can see what everyone else is working on | 02:10 |
wjohnsto | in the browser:editform | 02:10 |
pcardune | that would work, but it isn't a good idea to change permissions on the fly like that | 02:11 |
pcardune | you want to have a really good reason | 02:11 |
wjohnsto | yeah | 02:11 |
pcardune | but there is another way | 02:11 |
wjohnsto | there is? Please tell! | 02:11 |
pcardune | you can log in to your zope site | 02:11 |
wjohnsto | and then go to the skins | 02:11 |
pcardune | and in your root folder click on "grant" | 02:11 |
wjohnsto | oh ok | 02:11 |
pcardune | actually, that won't work | 02:12 |
pcardune | I thought there was an anonymous user but apparently not | 02:13 |
wjohnsto | hmm | 02:13 |
pcardune | well, you can go ahead and change the permissions in zcml so long as you remember to change them back | 02:13 |
wjohnsto | ok | 02:14 |
pcardune | there are lots of other solutions but they all get into security stuff which we haven't done yet and is kind of hard to understand | 02:14 |
wjohnsto | ok | 02:14 |
wjohnsto | I have one more question about actually getting my Poll to collect information when people click Vote | 02:14 |
pcardune | Oh yeah, Mr. Elkner told me you were working on that | 02:15 |
wjohnsto | Jeff Elkner told me to ask you or Eldar about it | 02:15 |
wjohnsto | yeah | 02:15 |
wjohnsto | I wanted to know if there is any sort of Python script or something I could write to store that information | 02:16 |
wjohnsto | I assume it's possible, but I don't know how I would implement the script into zope | 02:16 |
wjohnsto | Mr. Elkner said that would be a good project for me | 02:16 |
pcardune | yes | 02:16 |
pcardune | So I see you have added that poll just onto the contact container page template right? | 02:17 |
wjohnsto | yeah | 02:17 |
wjohnsto | and I used a simple javascript alert thing for now | 02:17 |
wjohnsto | to make the box pop-up when you click "Vote" | 02:18 |
pcardune | And what exactly did you have in mind for how this should work | 02:19 |
pcardune | do you want this to appear on every page? on one voting page? | 02:19 |
wjohnsto | something along the lines of | 02:19 |
wjohnsto | there are two options | 02:19 |
pcardune | do you want this to be a part of the contact application, or something separate alltogether? | 02:19 |
wjohnsto | just separate | 02:20 |
wjohnsto | I think I'll keep it to the Contact Container | 02:20 |
wjohnsto | and I was thinking that there might be a way to write a program that takes the choice that people put, and stores it in some sort of list or something | 02:21 |
wjohnsto | and then somehow displays the list | 02:21 |
pcardune | ok | 02:21 |
wjohnsto | I just thought of it today, so I haven't really gone into the workings | 02:21 |
pcardune | well I think you should create a totally separate application from zcontact that just allows people to create polls | 02:22 |
pcardune | so, instead of adding a Z Contact Container, they would add a Poll | 02:23 |
wjohnsto | ok | 02:23 |
pcardune | and then for the Poll there might be a title and a description | 02:23 |
wjohnsto | sounds interesting | 02:23 |
wjohnsto | so kind of like adding a Container or Contact? | 02:23 |
pcardune | and that Poll object would store all the results | 02:23 |
pcardune | right | 02:23 |
pcardune | I wouldn't store the results as a list because all you really care about is incrementing the results of the poll | 02:24 |
wjohnsto | yeah | 02:24 |
wjohnsto | well, this was just preliminary thinking ;) | 02:24 |
wjohnsto | that doesn't seem like it would be too hard | 02:24 |
wjohnsto | I could basically follow along the same lines of zcontact and contact container | 02:25 |
pcardune | I think for starters you should only support yes or no polls | 02:25 |
wjohnsto | yeah | 02:25 |
pcardune | so your poll object would have a counter for yes responses and a counter for no responses | 02:25 |
wjohnsto | ok | 02:25 |
pcardune | then you just throw in some page templates and browser views and you've got yourself a complete application! | 02:25 |
wjohnsto | and I'll have to come up with my own way of counting, I assume | 02:25 |
wjohnsto | Sounds fun! | 02:27 |
wjohnsto | I guess I'll start working on that, but sadly I don't think I'll have a working version by Saturday :( | 02:27 |
pcardune | that's fine because you'll get to work on it a bunch on saturday | 02:27 |
pcardune | are you going to the career center on saturday? | 02:27 |
wjohnsto | yes | 02:28 |
wjohnsto | I'm pretty sure I could get a page working by Saturday | 02:29 |
wjohnsto | and then maybe I'll work on getting the counting and information storing at the Career Center | 02:29 |
pcardune | good deal | 02:30 |
wjohnsto | ok, well it's time for dinner, so I'll talk to you on Saturday, I guess! | 02:30 |
wjohnsto | you'll be working remotely? | 02:30 |
pcardune | yep | 02:32 |
pcardune | but if you have skype, you can skype me | 02:32 |
wjohnsto | ok | 02:32 |
*** pcardune has left #schooltool | 02:32 | |
wjohnsto | william_johnston | 02:33 |
*** filip101 has joined #schooltool | 02:40 | |
*** filip101 has left #schooltool | 03:01 | |
*** wrobel has quit IRC | 03:21 | |
*** alga has quit IRC | 05:41 | |
*** pcardune has joined #schooltool | 05:42 | |
*** pcardune has quit IRC | 05:43 | |
*** pcardune has joined #schooltool | 05:44 | |
*** didymo has quit IRC | 06:38 | |
*** Bhaskar has joined #schooltool | 06:41 | |
*** pcardune has quit IRC | 08:10 | |
*** pcardune has joined #schooltool | 08:19 | |
*** pcardune_ has joined #schooltool | 08:21 | |
*** pcardune has quit IRC | 08:21 | |
*** pcardune_ has quit IRC | 08:21 | |
*** didymo has joined #schooltool | 08:38 | |
*** Bhaskar has quit IRC | 08:58 | |
*** didymo has quit IRC | 09:04 | |
*** wjohnsto has quit IRC | 09:06 | |
*** Spec has quit IRC | 09:07 | |
*** wrobel has joined #schooltool | 09:13 | |
*** jfroche has joined #schooltool | 09:38 | |
*** thisfred has joined #schooltool | 11:34 | |
*** jfroche has quit IRC | 12:08 | |
SteveA | th1a: http://community.linux.com/community/07/03/15/1949220.shtml?tid=19&tid=11 | 13:22 |
*** alga has joined #SchoolTool | 14:03 | |
*** jfroche has joined #schooltool | 14:59 | |
*** thisfred has quit IRC | 15:08 | |
*** jfroche has quit IRC | 15:41 | |
*** ignas has joined #schooltool | 15:51 | |
*** jfroche has joined #schooltool | 16:53 | |
*** macpower has joined #schooltool | 16:56 | |
macpower | hi all | 16:56 |
macpower | how are you? | 16:56 |
ignas | quite well | 16:59 |
ignas | thank you | 16:59 |
jfroche | ignas: hello, in Lyceum the different classe in one year (e.g 1A, 1B, 1C ...) are groups ? | 17:00 |
ignas | yes | 17:00 |
ignas | don't have anything better yet | 17:00 |
jfroche | ignas: i have the same problem here | 17:01 |
macpower | you know the funambol project? | 17:01 |
macpower | please | 17:01 |
ignas | macpower: no i don't know, could you give an url? | 17:02 |
macpower | www.funambol.com | 17:02 |
macpower | and i help me on the project | 17:02 |
ignas | and ? | 17:04 |
macpower | you know? | 17:04 |
ignas | what? | 17:04 |
macpower | this project | 17:04 |
ignas | nope | 17:04 |
ignas | never heard of it | 17:04 |
macpower | ok | 17:05 |
Lumiere | 'morning all | 17:21 |
ignas | evening here ;) | 17:22 |
ignas | Lumiere: so you want to learn how to write functional tests? :D | 17:22 |
ignas | because i would be very glad to help you | 17:22 |
ignas | functional tests for bug reports make them way way way more likely to be fixed | 17:23 |
*** wdickers has joined #schooltool | 17:24 | |
wdickers | th1a: you there? | 17:24 |
Lumiere | yes | 17:26 |
Lumiere | I'd love to learn how to write functional tests | 17:26 |
Lumiere | well | 17:26 |
Lumiere | I kinda understand the basics of it | 17:26 |
Lumiere | just not some of the more intricate stuff | 17:26 |
ignas | i saw you got stuck with creating a person, or did you manage to accomplish that? | 17:26 |
Lumiere | no | 17:27 |
Lumiere | mostly cause I got dragged off before I could | 17:27 |
Lumiere | I feel like I am juggling 100 tennis balls | 17:27 |
ignas | i see | 17:27 |
Lumiere | where someone randomally lights some on fire | 17:27 |
Lumiere | while I juggle them | 17:27 |
ignas | i would suggest you to look at: src/schooltool/resource/browser/cal-booking.txt | 17:28 |
Lumiere | ok | 17:28 |
ignas | it has most of the setup you need | 17:28 |
Lumiere | so I have to somehow pick up a fire extinguisher, put out the fire and still keep the tennis balls in the air | 17:28 |
Lumiere | ahh | 17:31 |
Lumiere | I see the functional test that I need to change in there | 17:31 |
Lumiere | Frog should be capable of booking resources at 111 | 17:32 |
Lumiere | well | 17:32 |
Lumiere | nm | 17:32 |
Lumiere | I need to copy this idea | 17:32 |
Lumiere | and addGroup the user to the teachers group | 17:32 |
Lumiere | which should be capable of booking resources | 17:33 |
th1a | wdickers: I am here. | 17:33 |
th1a | Wading through my tax receipts. | 17:33 |
wdickers | let me move to gmail | 17:33 |
ignas | Lumiere: if you don't know any shorthands you can just do it like you would do it through the UI | 17:35 |
Lumiere | this ftest makes sense | 17:35 |
Lumiere | ok | 17:35 |
ignas | Lumiere: you can create persons for example by just clicking Persons, New Person, filling the form and clicking Add | 17:35 |
Lumiere | I just need to add to a group | 17:35 |
Lumiere | something that needs some help | 17:36 |
ignas | so click on person, click "edit membership" | 17:36 |
Lumiere | is the access controls ;) | 17:36 |
Lumiere | yea | 17:36 |
ignas | click "Teachers" | 17:36 |
ignas | click "Add" | 17:36 |
ignas | and you're set | 17:36 |
*** pcardune has joined #schooltool | 17:38 | |
Lumiere | hi paul | 17:39 |
Lumiere | I can do that | 17:40 |
Lumiere | do I have to do anything to open the actions menu? | 17:40 |
ignas | no | 17:40 |
ignas | pcardune: better ask questions in here ;) | 17:41 |
Lumiere | k | 17:41 |
*** wdickers has quit IRC | 17:41 | |
pcardune | i thought I did ask question in here ignas but the irc client i'm using always confuses me as to which channel I'm in | 17:41 |
ignas | btw, if someone would make all the items (both viewlet and non viewlet) displayed in the same dropdown menu "Actions" | 17:42 |
ignas | it would speed up the merging of the branch at least a bit | 17:42 |
pcardune | ok | 17:42 |
pcardune | i'll do that | 17:42 |
ignas | because in some time all the actions will be viewletized, so there is no sense to have them separate | 17:42 |
*** macpower has left #schooltool | 17:43 | |
ignas | pcardune: hmm, weird, the only test that is failing is cal-booking.txt | 17:52 |
ignas | and it's because someone forgot to update the test after updating the template | 17:52 |
pcardune | yeah that was me | 17:52 |
pcardune | i ran the test | 17:52 |
pcardune | but none of the tests ran | 17:53 |
pcardune | and all i saw was "tests passed" | 17:53 |
Lumiere | lol | 17:53 |
pcardune | i missed the "0 tests run" part | 17:53 |
Lumiere | the ftest should use a little ansi color | 17:53 |
Lumiere | to light up the important stuff | 17:54 |
Lumiere | the cal-booking test needs a little help | 17:56 |
ignas | what kind of ? | 17:56 |
ignas | except for the fact that it is failing | 17:58 |
ignas | :) | 17:58 |
ignas | in at least 2 places | 17:58 |
* ignas is fixing it | 17:58 | |
* pcardune is fixing it | 17:58 | |
ignas | :D | 17:58 |
* pcardune twiddles thumbs while tests rerun | 17:58 | |
Lumiere | lol | 18:00 |
Lumiere | some of the tests don't match what I think they should | 18:00 |
Lumiere | for permissions | 18:00 |
ignas | like what? | 18:01 |
* ignas pulls out his secret weapon | 18:01 | |
Lumiere | you shouldn't have to add someone as a leader | 18:02 |
Lumiere | to let them book the resource | 18:02 |
ignas | well - it's either you are a teacher or a leader | 18:02 |
ignas | or a manager | 18:02 |
ignas | or you can't book a resource | 18:02 |
Lumiere | k | 18:02 |
ignas | or do you want students booking stuff? | 18:02 |
Lumiere | no | 18:02 |
Lumiere | I'm thinking there are more permissions we need to put in the background | 18:03 |
ignas | if you want that just fix the test and upload the fixed test with a bug report stating the desired behaviour | 18:03 |
Lumiere | I may | 18:03 |
pcardune | now all this moo crap is breaking | 18:03 |
pcardune | mooa moob mooc?! | 18:03 |
pcardune | lol | 18:03 |
ignas | :D | 18:04 |
* ignas is fixing that for like 10 minutes already | 18:04 | |
Lumiere | but I'll let you fix the test first | 18:04 |
Lumiere | then fix it again | 18:04 |
ignas | pcardune: hint - the search is not working | 18:04 |
pcardune | ok, so if that is not my problem I will upload the other fixed test | 18:05 |
pcardune | ignas and or Lumiere, do you know how to remove the password lock on an RSA key? | 18:06 |
Lumiere | uh | 18:06 |
Lumiere | ssh key? | 18:06 |
ignas | pcardune: don't think you can .. why would you do it? | 18:07 |
pcardune | so that I don't have to enter in my password every time i access a site using rsa keys | 18:08 |
ignas | hmm, rsa - as in ssh keys, like when you svn up and must enter your password? | 18:08 |
Lumiere | -p Requests changing the passphrase of a private key file instead of | 18:09 |
Lumiere | creating a new private key. The program will prompt for the file | 18:09 |
Lumiere | containing the private key, for the old passphrase, and twice for | 18:09 |
Lumiere | the new passphrase. | 18:09 |
Lumiere | ssh-keygen -p | 18:09 |
ignas | and i would suggest using ssh-agent | 18:09 |
Lumiere | so would I | 18:10 |
Lumiere | does ubuntu start an agent when X starts? | 18:10 |
ignas | Lumiere: no idea | 18:12 |
pcardune | what does ssh-agent do? | 18:16 |
Lumiere | it creates a secure method to use your passworded ssh-key without the password every time | 18:17 |
Lumiere | pcardune: see pm | 18:17 |
ignas | Lumiere: the test is fixed no | 18:20 |
ignas | now | 18:20 |
ignas | :) | 18:20 |
Lumiere | ok | 18:23 |
Lumiere | is it fixed in branch too? | 18:23 |
ignas | it doesn't exist in the trunk | 18:24 |
ignas | so yes :) | 18:24 |
Lumiere | ok | 18:25 |
pcardune | ignas: how do you do a rectangular select in emacs? | 19:15 |
ignas | place mark in one corner of the selection | 19:16 |
ignas | place point in the other corner | 19:16 |
ignas | and Ctrl + x + r + some letter for the command | 19:16 |
ignas | depends on the command | 19:16 |
pcardune | hmmm | 19:17 |
pcardune | i'm just trying to cut | 19:17 |
pcardune | so I try Ctrl +x r Ctrl+w? | 19:18 |
ignas | i'd guess | 19:18 |
pcardune | oh i see, Ctrl+x r k | 19:19 |
pcardune | Lumiere: bug fixed | 20:03 |
Lumiere | k | 20:08 |
pcardune | Lumiere: anything else you want me to work on asap? | 20:32 |
*** ignas has quit IRC | 20:33 | |
*** th1a has quit IRC | 21:13 | |
*** alga has quit IRC | 23:21 | |
*** jfroche has quit IRC | 23:32 | |
*** filip101 has joined #schooltool | 23:44 | |
*** alga has joined #SchoolTool | 23:47 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!