*** replaceafill has joined #schooltool | 00:04 | |
*** dlobo has quit IRC | 00:24 | |
*** pcardune has joined #schooltool | 00:34 | |
*** pcardune has quit IRC | 01:09 | |
*** jelkner has joined #schooltool | 01:22 | |
*** pcardune has joined #schooltool | 01:30 | |
*** replaceafill has quit IRC | 01:42 | |
*** jelkner has quit IRC | 01:43 | |
*** th1a_ is now known as th1a | 02:02 | |
*** replaceafill has joined #schooltool | 02:23 | |
*** krushik has quit IRC | 02:29 | |
*** replaceafill has quit IRC | 02:32 | |
*** replaceafill has joined #schooltool | 02:51 | |
*** dlobo has joined #schooltool | 02:58 | |
*** dlobo has quit IRC | 03:02 | |
*** replaceafill has quit IRC | 03:12 | |
*** replaceafill has joined #schooltool | 03:15 | |
*** alga has quit IRC | 03:20 | |
*** replaceafill has quit IRC | 03:25 | |
*** dlobo has joined #schooltool | 03:37 | |
*** pcardune has quit IRC | 04:12 | |
*** dlobo has quit IRC | 04:32 | |
*** th1a has quit IRC | 05:08 | |
*** aelkner has quit IRC | 05:38 | |
*** pcardune has joined #schooltool | 05:43 | |
*** replaceafill has joined #schooltool | 06:29 | |
*** ignas has quit IRC | 06:52 | |
*** pcardune has quit IRC | 07:15 | |
*** alga has joined #SchoolTool | 07:49 | |
*** alga has quit IRC | 08:00 | |
*** replaceafill has quit IRC | 10:16 | |
*** povbot has joined #schooltool | 11:58 | |
*** alga has joined #SchoolTool | 12:25 | |
*** Aiste has joined #schooltool | 13:42 | |
*** ignas has joined #schooltool | 13:52 | |
*** menesis has joined #schooltool | 14:17 | |
*** menesis has quit IRC | 14:22 | |
*** menesis has joined #schooltool | 14:22 | |
*** dlobo has joined #schooltool | 15:00 | |
*** krushik has joined #schooltool | 15:05 | |
*** lisppaste5 has quit IRC | 15:20 | |
*** dlobo has quit IRC | 16:43 | |
*** lisppaste5 has joined #schooltool | 16:44 | |
*** lisppaste5 has quit IRC | 16:50 | |
*** lisppaste5 has joined #schooltool | 17:03 | |
*** th1a has joined #schooltool | 17:08 | |
th1a | menesis: When can we do some st.org updating - slash - killing Plone? | 17:41 |
---|---|---|
*** pcardune has joined #schooltool | 17:47 | |
*** pcardune has quit IRC | 17:55 | |
*** menesis has quit IRC | 17:56 | |
*** dlobo has joined #schooltool | 18:03 | |
ignas | th1a: are you going to put http://blog.launchpad.net/general/wear-your-badge-with-pride in schooltool home page? | 18:07 |
th1a | ignas: Yes. | 18:08 |
th1a | The new page is 95% ready, including the badge. | 18:08 |
*** replaceafill has joined #schooltool | 18:18 | |
*** menesis has joined #schooltool | 18:25 | |
*** Aiste has quit IRC | 18:29 | |
*** alga has quit IRC | 19:12 | |
*** replaceafill has quit IRC | 19:12 | |
*** menesis has quit IRC | 19:22 | |
*** replaceafill has joined #schooltool | 19:39 | |
th1a | replaceafill: So... do we need to discuss anything about this XML-RPC project? | 19:42 |
replaceafill | the exact signatures for the calls | 19:43 |
th1a | Meaning? | 19:44 |
replaceafill | Needed operations: | 19:45 |
replaceafill | People | 19:45 |
replaceafill | enumerate people | 19:45 |
replaceafill | get person | 19:45 |
replaceafill | create person | 19:45 |
replaceafill | modify person | 19:45 |
replaceafill | delete person | 19:45 |
replaceafill | i guess enumerate people is everybody in the persons container | 19:45 |
replaceafill | just: server.getPersons() | 19:46 |
replaceafill | get person: server.getPerson(person_id) | 19:46 |
th1a | I think so. | 19:46 |
replaceafill | but for create person i dont know how much data will chris will send | 19:46 |
replaceafill | three attributes are required to build a basicperson object | 19:46 |
replaceafill | person_id, first_name and last_name | 19:47 |
replaceafill | but you can store a lot of other info for a person, like demographics for example | 19:47 |
th1a | I would code it the way that is cleanest on our side. | 19:48 |
replaceafill | Meaning? :) | 19:48 |
replaceafill | just basic stuff? | 19:49 |
replaceafill | i was thinking that if somebody needs to store demographics for example we could write another method for it | 19:49 |
th1a | How does SchoolTool's internal API do it? | 19:50 |
replaceafill | demographics stuff? | 19:50 |
th1a | Well, if I want to create a person and set their demographics. | 19:50 |
replaceafill | it uses an adapter IBasicPerson -> IDemographics | 19:50 |
replaceafill | and basicperson also has some other attributes like prefix, middle_name, suffix | 19:51 |
replaceafill | prefered_name, gender | 19:51 |
replaceafill | i was thinking of using a signature like this: methodName(required_attr1, required_attr2, optional_attrs_as_dict) | 19:52 |
th1a | for demo? | 19:52 |
replaceafill | since XMLRPC doesnt allow optional attributes | 19:53 |
th1a | I see. | 19:53 |
replaceafill | the other side will have to send: createPerson("tom", "Tom", "Hoffman", {"gender": "male"}) | 19:53 |
replaceafill | or createPerson("tom", "Tom", "Hoffman", {}) | 19:53 |
th1a | Yes. | 19:54 |
*** mgedmin has joined #schooltool | 19:54 | |
th1a | The things to remember here are: | 19:55 |
th1a | 1) Chris is writing a little utility for himself and you're extending something pretty complicated, | 19:55 |
th1a | so it is easier for him to adapt to us than vice versa; | 19:55 |
th1a | 2) I'm paying you. | 19:55 |
replaceafill | ah cool | 19:56 |
replaceafill | ok | 19:56 |
th1a | So just make it work cleanly and sensibly from ST's point of view. | 19:56 |
th1a | He can adapt his XML-RPC calls easily enough. | 19:56 |
replaceafill | great | 19:56 |
replaceafill | i'll stick to the required, required, optional form then | 19:57 |
th1a | y | 19:57 |
th1a | Later we may adapt this to fit better with mnet, but that's not a concern now. | 19:59 |
replaceafill | yes i was thinking the same, moodle will send different data probably | 19:59 |
replaceafill | userdata: associative array such as: | 19:59 |
replaceafill | * username=>moquist | 19:59 |
replaceafill | * firstname=>Matt | 19:59 |
replaceafill | * lastname=>Oquist | 19:59 |
replaceafill | * idnumber=>1234457 # unique ID shared by Moodle & SchoolTool | 19:59 |
replaceafill | * email=>moquist@majen.net | 19:59 |
replaceafill | * password_hash=>234lih23rlh2asldfjas | 19:59 |
replaceafill | * password_hash_algorithm=>md5 | 19:59 |
replaceafill | * ircnick=>moquist | 19:59 |
replaceafill | * arbitrary_field=>arbitrary_data_string... | 19:59 |
replaceafill | sorry for the flooding :( | 20:00 |
th1a | Doing this first will give us a nice clear understanding of how to do the next mnet steps though. | 20:00 |
replaceafill | th1a, Matt just asked: "Are we expecting to try and leverage this api for the direct Moodle integration as well?" | 20:04 |
replaceafill | sorry, Brett | 20:04 |
*** dlobo_ has joined #schooltool | 20:07 | |
*** ignas has quit IRC | 20:14 | |
*** dlobo has quit IRC | 20:19 | |
*** dlobo_ is now known as dlobo | 20:19 | |
th1a | anyhow, you should just start working on this as soon as you can. | 20:35 |
th1a | replaceafill ^ | 20:35 |
replaceafill | i almost finish :) | 20:36 |
replaceafill | looking for a better way to write tests for it | 20:36 |
th1a | Ya. | 20:36 |
replaceafill | there's a TestRequest class in the zope.publisher package that looks promising | 20:37 |
replaceafill | th1a, can i create a subpackage xmlrpc in every package we're creating views for? | 20:37 |
replaceafill | basicperson.xmlrpc | 20:37 |
replaceafill | course.xmlrpc | 20:38 |
th1a | y | 20:38 |
replaceafill | cool | 20:38 |
*** pcardune has joined #schooltool | 20:55 | |
th1a | pcardune: Have you been talking more to Dan Meyer? | 20:55 |
pcardune | th1a: not lately | 20:56 |
th1a | Do you know if he's getting anywhere with that? | 20:56 |
pcardune | pcardune: I suspect he is swamped with being a teacher | 21:05 |
pcardune | as I have not heard anything/seen any tweets | 21:05 |
th1a | Actually he's starting grad school, but perhaps swamped by that. ;-) | 21:05 |
*** dlobo has quit IRC | 21:17 | |
*** replaceafill has quit IRC | 21:33 | |
*** alga has joined #SchoolTool | 22:05 | |
*** dlobo has joined #schooltool | 22:08 | |
*** dlobo has quit IRC | 22:10 | |
*** mgedmin has quit IRC | 22:18 | |
*** dlobo has joined #schooltool | 22:34 | |
*** dlobo has quit IRC | 23:19 | |
*** lisppaste5 has quit IRC | 23:34 | |
*** lisppaste5 has joined #schooltool | 23:35 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!