th1a | hi replaceafill. | 02:00 |
---|---|---|
replaceafill | hey th1a | 02:02 |
*** replaceafill has quit IRC | 03:11 | |
*** povbot has joined #schooltool | 06:38 | |
*** yvl has joined #schooltool | 08:33 | |
*** th1a_iPhone has joined #schooltool | 17:42 | |
*** th1a_iPhone has quit IRC | 17:49 | |
*** replaceafill has joined #schooltool | 18:04 | |
replaceafill | hey th1a | 18:04 |
th1a | hi replaceafill. | 18:04 |
replaceafill | i think my main laptop is slowly dying :( | 18:05 |
th1a | Ah... | 18:05 |
th1a | They all do. | 18:05 |
th1a | Eventually. | 18:05 |
th1a | Get a desktop. | 18:05 |
replaceafill | i've been having so much trouble powering on these past couple of days | 18:05 |
th1a | They are immortal -- just swap out parts. | 18:05 |
replaceafill | :D | 18:05 |
th1a | Mine still has instructions for dialup taped to the inside. | 18:05 |
replaceafill | maybe i will | 18:05 |
th1a | Admittedly, only the *case* is immortal. | 18:06 |
replaceafill | true | 18:06 |
th1a | They're so cheap. | 18:06 |
th1a | Track down a nice M1 keyboard... | 18:06 |
th1a | clack! clack! | 18:06 |
replaceafill | the noisy one? | 18:07 |
replaceafill | :D | 18:07 |
replaceafill | i just got a new keyboard for my laptop | 18:07 |
replaceafill | it's so silent | 18:07 |
th1a | Ah. | 18:08 |
replaceafill | ok, i fixed the attendance report | 18:08 |
th1a | Cool. We've not heard from Fran today yet. | 18:08 |
replaceafill | added the full school section Fran requested | 18:08 |
replaceafill | yeah | 18:09 |
replaceafill | so, i'll move to the filters issue | 18:09 |
replaceafill | i guess that's it from me | 18:10 |
th1a | OK, let me go through the basics here on the API issue quickly, see if this makes sense. | 18:10 |
replaceafill | ok | 18:10 |
th1a | 1) We need to pull all student records from the API and check for updates to enrollment and demographics. | 18:10 |
th1a | Actually, | 18:11 |
th1a | 0) In all situations where data between the two conflicts, most recent change wins. | 18:11 |
th1a | 1a) Ideally this is sheduled via the web interface. If it is too bandwidth hungry to do daily, then weekly, etc. | 18:12 |
th1a | 2) Changes to people in SchoolTool should be pushed at time of change. | 18:13 |
th1a | 1b) If SchoolTool has the more recent change, push it to Journey. | 18:13 |
th1a | (sorry I'm going out of sequence here) | 18:13 |
replaceafill | np | 18:14 |
th1a | 2a) I don't think we should bother marking these as successfully synced or not, because I think we'll just have to run big sync checks pretty regularly either way. | 18:14 |
th1a | But that's a bit of an implementation detail. | 18:14 |
th1a | Similarly: | 18:15 |
th1a | 3) SchoolTool attendance changes should be pushed at the time of change to Journey. | 18:15 |
th1a | 4) We will periodically pull daily (hourly?) changes from Journey, exactly how to do this depends on the API. | 18:16 |
th1a | (4 refers to attendance) | 18:16 |
th1a | Again, if ST has the more recent data then, we'll try to push. | 18:17 |
th1a | That's... it? | 18:17 |
replaceafill | ok | 18:18 |
replaceafill | so, we need a task that repeats itself | 18:19 |
replaceafill | instead of having the user scheduleding it | 18:19 |
th1a | I meant scheduling a repeating task. | 18:20 |
th1a | Justas used to say this was possible with our sync machinery. | 18:20 |
th1a | I can't remember if you've done it. | 18:20 |
replaceafill | i don't think so | 18:21 |
th1a | That's not necessarily a hard core requirement. | 18:21 |
replaceafill | in proximity, there's a sync button | 18:21 |
th1a | We could start with cron. | 18:21 |
th1a | Don't get too hung up on that point. | 18:23 |
replaceafill | http://docs.celeryproject.org/en/latest/userguide/periodic-tasks.html | 18:23 |
replaceafill | probably | 18:23 |
replaceafill | ok | 18:23 |
th1a | Don't get palpitations over it. | 18:23 |
replaceafill | ok | 18:24 |
th1a | We could certainly fully test against their server with a cron version and then add through the web scheduling. | 18:24 |
th1a | The first task in this project is trying to estimate it. | 18:25 |
replaceafill | what about the mapping between our data and their data? | 18:26 |
replaceafill | could you take a look at that too? | 18:26 |
th1a | Yeah, where can I see their data? | 18:26 |
replaceafill | i sent you the login details some time ago | 18:26 |
replaceafill | want me to fwd it again? | 18:27 |
replaceafill | sent | 18:27 |
th1a | Thanks. | 18:27 |
th1a | OK... | 18:29 |
th1a | How do we query for attendance records? | 18:29 |
replaceafill | student instance | 18:29 |
replaceafill | afaik | 18:29 |
th1a | Oh, it is all per student? | 18:31 |
replaceafill | no, there's a student attendance record | 18:31 |
replaceafill | it's like a meeting i guess | 18:31 |
th1a | Well, you end up with something like this: John_2015-08-25_Afternoon_✔ Present | 18:33 |
th1a | I guess you can probably query by study group, and by completed or edited date. | 18:34 |
th1a | Venues are schools, right, so they'd be different instances. | 18:35 |
th1a | ? | 18:35 |
th1a | I don't remember how we map study groups. | 18:36 |
th1a | That's not necessarily a blocking questions though. | 18:36 |
replaceafill | i wonder if we should access the production data to get a better feeling of this | 18:37 |
th1a | It would help to be able to view it. | 18:37 |
th1a | But I don't think there is that much to it if you can get a sense of how to structure a query through the api. | 18:38 |
replaceafill | http://resources-staging.journeyapps.com/v4/api/queries | 18:38 |
th1a | If we can say "Give me all the student attendance records for this study group completed or edited on this date," everything else is implementation detail. | 18:39 |
th1a | ;-) | 18:39 |
th1a | Easy peasy. ;-) | 18:39 |
replaceafill | like /objects/student_instance?query[register_id]=995c576b-8159-4712-bebd-8226295c5101 | 18:41 |
replaceafill | i *think* we'll need a couple of queries at the same time | 18:42 |
replaceafill | or, we can annotate stuff | 18:42 |
th1a | What's the whole url there? | 18:43 |
replaceafill | like sections with their journey id counterpart | 18:43 |
th1a | Yeah. I guess neither of us took enough notes when we discussed the structure of the Journey app. | 18:45 |
replaceafill | i don't have any notes on journey at this point | 18:45 |
th1a | Yeah, we discussed it but that was a while ago. | 18:46 |
th1a | Basically, if you can get some queries and maybe simple adds going on the staging server, we should be able to estimate this and get some questions answered. | 18:48 |
replaceafill | th1a, that's not an issue for me | 18:49 |
replaceafill | my issue is the same as day 1 | 18:49 |
replaceafill | what's what on what side | 18:49 |
replaceafill | ok | 18:49 |
replaceafill | i see a User model in journey | 18:49 |
replaceafill | afaik that's the person who enters data | 18:50 |
replaceafill | right? | 18:50 |
replaceafill | i mean, in the app | 18:50 |
replaceafill | i guess that matches with our "evaluator" for attendance data in ST | 18:50 |
replaceafill | right? | 18:50 |
th1a | I guess, yes. | 18:51 |
replaceafill | venue? | 18:52 |
replaceafill | that looks like a school | 18:52 |
replaceafill | ok, what's that for us? | 18:52 |
replaceafill | different ST instances? | 18:52 |
th1a | Yes, I think. | 18:52 |
replaceafill | so, we need each ST instance to have a journey id annotation | 18:53 |
replaceafill | to save that | 18:53 |
th1a | OK, yes. | 18:53 |
replaceafill | ok, i guess i need to write this down | 18:55 |
replaceafill | i'll use the blueprint | 18:55 |
th1a | OK. | 18:55 |
replaceafill | ok, today i poke, take notes etc | 18:56 |
replaceafill | and tomorrow we try to estimate | 18:56 |
replaceafill | does that make sense? | 18:56 |
th1a | Yeah. | 18:57 |
replaceafill | kk | 18:57 |
th1a | Just keep in mind that the exact mapping isn't so much an issue compared to just knowing how the queries work and adding records works. | 18:57 |
replaceafill | i know how to do that! | 18:58 |
replaceafill | querying and adding stuff | 18:58 |
replaceafill | (i guess) | 18:58 |
replaceafill | your issues and my issues are different i guess :) | 18:59 |
th1a | OK, poke around. | 18:59 |
replaceafill | oh, i do have notes on journey :O | 18:59 |
th1a | Ah. | 18:59 |
replaceafill | which are basically the start of this discussion | 18:59 |
replaceafill | what's what... | 18:59 |
replaceafill | what relates to what on journey | 19:00 |
replaceafill | i'll try to convert to readable sentences | 19:00 |
replaceafill | ok | 19:00 |
th1a | Yeah, that should be all we need. | 19:00 |
th1a | I rely on you to take notes. ;-) | 19:01 |
replaceafill | ¬¬ | 19:01 |
replaceafill | we're doomed | 19:01 |
replaceafill | :) | 19:01 |
replaceafill | anything else th1a | 19:02 |
replaceafill | ? | 19:02 |
th1a | No. | 19:02 |
replaceafill | i need to assembly my latop back | 19:02 |
replaceafill | i have screws all over :( | 19:02 |
th1a | I'll add my notes to the blueprint. | 19:02 |
replaceafill | kk | 19:02 |
th1a | OK. | 19:03 |
th1a | Thanks replaceafill. | 19:03 |
replaceafill | thanks th1a | 19:03 |
*** povbot has joined #schooltool | 19:33 | |
*** yvl has quit IRC | 20:44 | |
replaceafill | th1a, oh my | 22:37 |
replaceafill | so good timing with the ldap bugs | 22:37 |
replaceafill | i noticed (both i think) them last week | 22:38 |
replaceafill | and Richard seems to know a lot about the topic | 22:38 |
th1a | Yes... | 22:59 |
th1a | I'm not sure I grasp the significance, replaceafill. | 22:59 |
replaceafill | hey th1a | 23:14 |
replaceafill | i mean | 23:14 |
replaceafill | you know how easy is to try some software, test it, notice that it's broken and say "fuck it, i'll look for something else" | 23:15 |
th1a | Yes... | 23:15 |
replaceafill | you can see even our docs are misleading | 23:15 |
replaceafill | (on the topic) | 23:15 |
th1a | Regarding LDAP. | 23:15 |
replaceafill | yeah | 23:15 |
th1a | Well... | 23:15 |
replaceafill | i spent like 30 minutes fighting the same problem | 23:15 |
th1a | Ah. | 23:16 |
replaceafill | until i realized the doc was incorrect | 23:16 |
replaceafill | (and probably isn't) | 23:16 |
replaceafill | it's the implementation (probably) | 23:16 |
replaceafill | unfortunately i have no idea | 23:16 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!