*** pcardune has quit IRC | 00:06 | |
*** alga has quit IRC | 00:17 | |
*** jinty has quit IRC | 00:37 | |
*** didymo has joined #schooltool | 02:01 | |
*** srichter has quit IRC | 04:29 | |
*** srichter has joined #schooltool | 04:29 | |
*** mgedmin has joined #schooltool | 08:50 | |
*** kitblake has joined #schooltool | 09:14 | |
*** faassen has joined #schooltool | 12:04 | |
*** thisfred has joined #schooltool | 12:09 | |
*** ignas has joined #schooltool | 12:47 | |
povbot | /svn/commits: * faassen committed revision 6137: | 13:52 |
---|---|---|
povbot | /svn/commits: * Add a new required field last_name to the add form (from demographics). | 13:52 |
povbot | /svn/commits: * create evil dependency on demographics in schooltool.app.browser.ftests.setup | 13:52 |
povbot | /svn/commits: (addPerson) supplying a default last_name always. | 13:52 |
povbot | /svn/commits: * change all the tests so they use the addPerson function, making it easier | 13:52 |
povbot | /svn/commits: to change the add form. | 13:52 |
*** alga has joined #SchoolTool | 14:13 | |
*** PupenoK has joined #schooltool | 14:58 | |
PupenoK | Hello. | 14:58 |
PupenoK | What is the proper way to get all members of a group ? I was using: getSchoolToolApplication()['groups']['teachers'].members, but today it stopped working (on the functional tests, it still works in the browser). | 14:59 |
ignas | PupenoK: one note - avoid using getSchoolToolApplication | 15:06 |
ignas | use ISchoolToolApplication(None) | 15:06 |
ignas | as you can stub it away in unit tests more easily | 15:07 |
ignas | getSchoolToolApplication is the low level call that you can't replace easily | 15:07 |
ignas | and for tests | 15:07 |
ignas | can i see a backtrace ? | 15:07 |
PupenoK | I am not doing getSchoolToolApplication in the tests but in the code itself. The backtrace is not very usefull. | 15:08 |
PupenoK | I am generating the list of teachers for a drop down list and in the browser it works, in the tests it doesn't. | 15:09 |
*** MyNameIsNotBob has joined #schooltool | 15:10 | |
MyNameIsNotBob | whats the default username and password? | 15:11 |
PupenoK | mmmh... I think I've found the problem. | 15:11 |
*** mgedmin has quit IRC | 15:11 | |
ignas | PupenoK: don't use getSchoolToolapplication in the code | 15:12 |
PupenoK | MyNameIsNotBob: "manager", "schooltool". | 15:12 |
PupenoK | ok, solve the problem. | 15:12 |
MyNameIsNotBob | PupenoK, thank you | 15:12 |
PupenoK | ignas: Ok, I'll take a look at the alternative. | 15:12 |
PupenoK | ignas: but ISchoolToolApplication is an interface, how it is supoused to replace a function ? | 15:15 |
ignas | read the documentation for getSchoolToolApplication | 15:15 |
PupenoK | oh. | 15:15 |
povbot | /svn/commits: * pupeno committed revision 6138: | 15:42 |
povbot | /svn/commits: Relative paths instead of long absolute ones. | 15:42 |
*** PupenoK has quit IRC | 16:42 | |
povbot | /svn/commits: * ignas committed revision 6139: | 17:01 |
povbot | /svn/commits: Fixed a bug, you could not look at the calendar of the last day in a term. | 17:01 |
povbot | /svn/commits: * gintas committed revision 6140: | 17:26 |
povbot | /svn/commits: Hooked up README doctest. | 17:26 |
*** FarcePest has joined #schooltool | 17:35 | |
*** FarcePest has left #schooltool | 17:37 | |
*** alga has quit IRC | 17:57 | |
*** whaddon has joined #schooltool | 18:23 | |
*** ignas_ has joined #schooltool | 18:40 | |
povbot | /svn/commits: * gintas committed revision 6141: | 18:42 |
povbot | /svn/commits: Added the <security:aggregate_crowd> ZCML directive. | 18:42 |
povbot | /svn/commits: Declared the 'administration' crowd using <aggregate_crowd> instead of having custom crowd class. | 18:42 |
povbot | /svn/commits: As an aside, fixed some discriminator definitions, refactored some code to reduce duplication. | 18:42 |
*** whaddon has quit IRC | 18:57 | |
*** Tv has joined #schooltool | 18:59 | |
Tv | Hello people. I think I have a fix for http://issues.schooltool.org/issue471 | 18:59 |
Tv | But roundup doesn't seem to be sending me my registration email, so I can't put it there ;) | 18:59 |
Tv | http://rafb.net/paste/results/4Il7lh71.html | 19:01 |
th1a | Tv: Cool! | 19:03 |
Tv | emailing -dev | 19:03 |
th1a | Thanks. | 19:03 |
Tv | ah, just got the roundup email | 19:04 |
Tv | issue updated | 19:07 |
Tv | sorry for rushing, I just wanted to finish this before I get interrupted | 19:07 |
*** mgedmin has joined #schooltool | 19:16 | |
povbot | /svn/commits: * gintas committed revision 6142: | 19:35 |
povbot | /svn/commits: * checkPermission now raises an AssertionError if no matching crowds are found. * Removed commented debug statements. * Split checkPermission into several methods. * Made tests prettier. | 19:35 |
Tv | well, the mailing list refused my post anyway ;) | 19:49 |
Tv | fortunately roundup allowed me to register | 19:49 |
ignas | Tv, thanks for the patch, though you should read http://source.schooltool.org/trac/browser/trunk/schooltool/src/schooltool/calendar/timezones.txt ... | 20:09 |
*** faassen has quit IRC | 20:09 | |
ignas | as it would not really work correctly with most of the timezones ... | 20:09 |
Tv | ignas: I'm not claiming it's not right, I'm claiming it works and looks pretty ;) | 20:09 |
Tv | err, one "not" too many | 20:09 |
Tv | 10 The user's preferred timezone should only be used when accepting 11 datetime input from the user, and when determining the day boundaries 12 on the calendar views. | 20:10 |
Tv | I'd say the change in my patch seems to be doing exactly the latter one. | 20:10 |
Tv | can you be more specific? | 20:11 |
Tv | I'm too distracted right now to digest all of timezones.txt | 20:13 |
ignas | ouch, apparently "combine" is not mentioned in the document :/ | 20:18 |
povbot | /svn/commits: * gintas committed revision 6143: | 20:18 |
ignas | read the part that is talking about replace | 20:18 |
povbot | /svn/commits: Implemented a checker for our special 'crowd.*' permissions in the security policy. | 20:18 |
ignas | and assume that same rules apply to providing the timezone for the constructor of time and datetime | 20:19 |
ignas | line 61 | 20:19 |
ignas | or should i say 57 ;) | 20:19 |
Tv | ah, that seems like a simple change | 20:21 |
ignas | oh and if you would write a unit test too ;) it would be perfect (as I would not have to do it :) | 20:23 |
Tv | today = tz.localize(cursor)? | 20:23 |
ignas | today = tz.localize(datetime.combine(cursor, time)) | 20:24 |
Tv | ah, right, I thought time was datetime.time there | 20:26 |
Tv | or, wait | 20:27 |
Tv | I'm too distracted to think ;) | 20:27 |
*** thisfred has quit IRC | 20:30 | |
*** wdickers has joined #schooltool | 20:42 | |
*** felipe__ has joined #schooltool | 20:43 | |
felipe__ | Can I subscribe to the schooltool calendar with the thunderbird calendar plugin? | 20:43 |
felipe__ | I'm trying but mozilla calendar is asking for the location of the calendar file | 20:44 |
*** wdickers has quit IRC | 20:48 | |
ignas | yes you can, you should see open in ical in the actions menu | 20:56 |
ignas | when looking at your calendar | 20:56 |
ignas | if you would copy that link to your mozilla calendar it should just work | 20:56 |
felipe__ | hmm I'll see | 20:57 |
ignas | ok, not just work, mozilla calendar can't handle timezones properly as well as schoolbell ... | 20:57 |
ignas | schoolbell is kind of buggy and mozilla calendar just can't do timezones | 20:57 |
ignas | so you will encounter weird bugs probably | 20:57 |
ignas | but if you are not using timezones | 20:57 |
ignas | everything should be more or less fine | 20:57 |
felipe__ | ahh...using timezones? | 20:57 |
ignas | there is a setting in your preferences | 20:58 |
ignas | that set's the timezone you are in | 20:58 |
felipe__ | ah | 20:59 |
felipe__ | how long does it takes to load the calendar once I hit ok? | 21:00 |
ignas | should not take long | 21:01 |
ignas | it's quite fast i suppose | 21:01 |
ignas | unless you have gazillion of events in there | 21:01 |
felipe__ | OK, It worked :) | 21:01 |
felipe__ | where's the timezone settings? to aviod it | 21:02 |
ignas | in your user prefferences | 21:03 |
ignas | should be somewhere in the menu on the left | 21:03 |
felipe__ | I just installed SchooTool yesterday and Im playing with it. There is almos no documentation on how to do things | 21:05 |
felipe__ | If I make changes through mozilla calendar will they be reflected on schooltool? | 21:05 |
felipe__ | what about the calendars from courses or other things do they also are shown in mozilla calendar? | 21:06 |
ignas | felipe__: no calendars for courses are not shown in mozilla calendar | 21:07 |
ignas | and i think you have to click on publish or something like that to synchronize mozilla calendar with schooltool calendar | 21:08 |
felipe__ | mmn, is there a weay that I can get the links for the other calendars in schooltool so I can add them to mozilla calendar? | 21:09 |
ignas | go to the calendar of some other user | 21:09 |
ignas | and there should be a link "Open in iCal" too | 21:10 |
povbot | /svn/commits: * ignas committed revision 6144: | 21:11 |
povbot | /svn/commits: Added a missing unit test for checkCrowds of SchoolToolSecurityPolicy. | 21:11 |
felipe__ | what about the groups calendars? | 21:13 |
felipe__ | What I want to do I subscribe to all the calendars my user has in schooltool with mozilla calendar.. | 21:14 |
felipe__ | i*is | 21:14 |
felipe__ | Well I managed to subscribe to a student calendar :) | 21:17 |
felipe__ | I'll see if I can do the same with a course calendar | 21:17 |
ignas | course - not really, group - yes you can | 21:18 |
ignas | you can't subscribe to calendars generated from timetables ... | 21:19 |
felipe__ | well I just subscribed to a section calendar :) | 21:20 |
*** th1a has quit IRC | 21:20 | |
ignas | and it has no events ;) | 21:21 |
ignas | well ok, homeworks are events | 21:21 |
ignas | but nothing else | 21:21 |
ignas | like - actual section meetings | 21:21 |
*** th1a has joined #schooltool | 21:25 | |
felipe__ | let me check it | 21:34 |
felipe__ | right | 21:35 |
felipe__ | why it doesnt has events? | 21:36 |
felipe__ | Well basically I can subscribe to everything I have access in schooltool but the calendars generated by de time tables. | 21:47 |
felipe__ | right? | 21:47 |
th1a | felipe__: Can you see your own timetable? | 21:48 |
felipe__ | nope :( | 21:49 |
* th1a checks the IRC backlog... | 21:50 | |
felipe__ | BTW I'm not using the newest schooltool, Im using the one that comes with ubuntu breezy. | 21:51 |
th1a | OK. | 21:52 |
felipe__ | thla, Is there a way to obtain the path for all the calendar one in subscribed in shooltool? | 21:53 |
felipe__ | *calendars | 21:53 |
th1a | I'm not sure what you mean. | 21:54 |
felipe__ | thla, Well I'm using mozilla calendar and I have there my calendar(default), my gmail calendar, and I added my user schooltool calendar, the groups calendar and other. To do this I had to hunt for the path using the manager user. So If could get this info in one place it will be easier to add the calendars to other calendar software such as mozilla calendar. | 21:56 |
felipe__ | English is not my first language so....sorry for any mispelling :9 | 21:57 |
th1a | No problem. | 21:57 |
felipe__ | So, is there a link to get these paths? | 22:00 |
th1a | felipe__: I guess it is pretty clear that we've been focusing on the web interface and not use with external clients. | 22:00 |
th1a | The .ics file should always be in the same place relative to the web calendar. | 22:01 |
th1a | I guess that's obvious though. | 22:03 |
felipe__ | thla, Well I can guess now the path to the calendar files, so for me is not a big deal, but to someone else it could. | 22:03 |
felipe__ | it would be nice to have a place where to get this paths easily. Just and Idea :o) | 22:03 |
th1a | I'll give it some thought. | 22:03 |
th1a | You're right that it isn't easy enough. | 22:04 |
felipe__ | I'll be back I'm going to lunch | 22:04 |
th1a | OK. | 22:05 |
*** mgedmin has quit IRC | 22:16 | |
felipe__ | I'm back | 22:24 |
th1a | I'm still here ;-) | 22:25 |
felipe__ | No lunch? | 22:25 |
th1a | It is after 3:00 here in Providence, RI. | 22:26 |
felipe__ | RI? | 22:26 |
th1a | Rhode Island, USA. | 22:26 |
felipe__ | Ahh | 22:26 |
felipe__ | 2:36 over here. Quito, Ecuador. | 22:26 |
th1a | Aha. | 22:27 |
th1a | felipe__: Do you work at a school? | 22:27 |
felipe__ | thla: No I just came back from Chili after finishing the univerisity. Currently I'm looking for a job. When I have time I try to learn everything related to edubuntu, I want to present a proyect here to help schools with low resourses :o) | 22:29 |
th1a | I see. | 22:29 |
th1a | Cool. | 22:29 |
th1a | I'm working on some code & a proposal for integrating more of the parts of Edubuntu (including SchoolTool). | 22:29 |
th1a | Sharing more data between the parts. | 22:30 |
felipe__ | thla: and my father has something to do with a small school, so they'll be my guinea (<- did I spelled that right) pigs. | 22:30 |
th1a | Good. | 22:30 |
*** ignas has quit IRC | 22:31 | |
felipe__ | I have to go, nice chatting with you. Its great to have direct access to the developers :o) and be heard. | 22:32 |
th1a | Thanks for your input, felipe__ | 22:32 |
felipe__ | thla, Np. bye | 22:33 |
*** felipe__ has quit IRC | 22:33 | |
*** tiredbones has quit IRC | 23:21 | |
*** tiredbones has joined #schooltool | 23:25 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!