*** jstraw1 has quit IRC | 00:07 | |
*** jelkner has quit IRC | 00:41 | |
*** wgrant has joined #schooltool | 00:53 | |
*** mgedmin has quit IRC | 01:19 | |
*** th1a has quit IRC | 02:24 | |
*** ignas has quit IRC | 03:03 | |
*** alga has quit IRC | 03:42 | |
*** mgedmin has joined #schooltool | 05:43 | |
*** mgedmin has quit IRC | 07:07 | |
*** tdoggette has joined #schooltool | 07:10 | |
*** povbot has joined #schooltool | 11:39 | |
*** povbot` has quit IRC | 11:45 | |
*** ignas has joined #schooltool | 12:51 | |
*** alga has joined #SchoolTool | 12:54 | |
*** tdoggette has quit IRC | 13:14 | |
*** yvl has quit IRC | 14:08 | |
*** tdoggette has joined #schooltool | 14:31 | |
*** tdoggette_ has joined #schooltool | 14:31 | |
*** Aiste has quit IRC | 15:30 | |
*** th1a has joined #schooltool | 15:38 | |
ignas | th1a: ayt? | 16:03 |
---|---|---|
th1a | hi ignas. | 16:03 |
th1a | What's up? | 16:03 |
ignas | do we want Reservation fix in the bugfix release? | 16:03 |
th1a | It would be nice. | 16:04 |
th1a | I don't think there is much to it, well, aside from broken tests. | 16:04 |
ignas | ok | 16:04 |
ignas | well, just wanted to know where to branch it off really | 16:05 |
th1a | Step 1) Move the link from a tab to the manage screen. | 16:05 |
th1a | Step 2) Fix tests. | 16:05 |
th1a | Anything else? | 16:05 |
ignas | not really, maybe remove the Book button, but even that is not absolutely necessary | 16:05 |
th1a | Action? | 16:06 |
th1a | Which Book button? | 16:06 |
ignas | yeah, i mean - if the view is only usable by manager | 16:06 |
ignas | it should focus only on managing resources really | 16:06 |
th1a | Oh. Yeah, it isn't really a priority. | 16:07 |
th1a | Either way. | 16:07 |
th1a | I'd leave it. | 16:07 |
th1a | Because the intention is to improve and use the view eventually. | 16:07 |
ignas | yeah | 16:07 |
ignas | i will look whether I can improve it in some easy way | 16:08 |
ignas | there is a slight possibility (very slight) | 16:08 |
ignas | that i can make it show events on a hourly grid | 16:08 |
ignas | if there are no timetables/ timetable events | 16:08 |
ignas | available | 16:08 |
th1a | I wouldn't worry about it now. | 16:10 |
ignas | i mean - if it will seem like an easier task than fixing all the tests ;) | 16:15 |
th1a | True. | 16:16 |
th1a | Although I still think having two routes is confusing. | 16:16 |
th1a | Unless the distinction is more clear. | 16:17 |
ignas | well, dwelsh wanted the second one very very much... | 16:17 |
ignas | from what I can recall | 16:17 |
ignas | i mean - we spent a whole sprint implementing the other way ;) | 16:17 |
th1a | Here's what I think is needed. | 16:18 |
th1a | Well... | 16:19 |
th1a | Hm. | 16:19 |
th1a | I guess Welsh's use case is more "I need this thing, tell me when it is available." | 16:20 |
th1a | I tend to think "I need something this time, what's available." | 16:20 |
ignas | yeah, and both points are valid... | 16:20 |
ignas | which is why we have both of them more or less functional... | 16:20 |
th1a | Right. | 16:20 |
ignas | the problem is that - "more or less" part | 16:21 |
th1a | If you could create events on the booking calendar I guess that would make it good enough to keep. | 16:21 |
th1a | 'cause right now it is just wtf if you don't already have the event. | 16:22 |
ignas | yeah, the problem is - we want to display possible events for resources | 16:22 |
ignas | and at the moment we can only generate possibilities using the timetable schema grid | 16:22 |
ignas | we should do hourly grid if there are no timetables... | 16:22 |
th1a | Yes. | 16:22 |
ignas | which is what I was thinking of looking into ;) | 16:23 |
th1a | OK. | 16:23 |
*** fsufitch has joined #schooltool | 16:51 | |
fsufitch | ignas: ping | 16:51 |
ignas | fsufitch: pong | 16:51 |
fsufitch | yay you're there | 16:51 |
fsufitch | i got a question about zope schema fields | 16:51 |
fsufitch | how would i use schema (or zope in general) to store an uploaded file? | 16:51 |
ignas | photo = zope.schema.Bytes( | 16:52 |
ignas | title=_("Photo"), | 16:52 |
ignas | required=False, | 16:52 |
ignas | description=_("""Photo (in JPEG format)""")) | 16:52 |
ignas | good enough? | 16:52 |
fsufitch | Bytes? | 16:52 |
fsufitch | yeah, i guess | 16:53 |
ignas | :) | 16:53 |
fsufitch | and when someone wants to download it what do i do? | 16:53 |
fsufitch | because this is for attachments to messages on this forum thingy i'm making | 16:53 |
ignas | PersonPhotoView | 16:54 |
fsufitch | oh, so a special view? | 16:54 |
ignas | schooltool.person.browser.person.PersonPhotoView | 16:54 |
fsufitch | thanx <_< | 16:54 |
ignas | np | 16:54 |
fsufitch | hang on while i see wat ur actually talkinga bout | 16:54 |
fsufitch | ohhh, i see | 16:55 |
fsufitch | That's not what i'm looking for though | 16:55 |
fsufitch | (althought that might be useful in putting user images up, so thanks for that) | 16:55 |
fsufitch | see, on this forum, it's a school question forum, so someone might upload a png, a pdf, a py, a rb, a zip, etc etc etc | 16:56 |
fsufitch | i dotn care about the format | 16:56 |
fsufitch | what i want is that after their post there to be a link of the kind of "attachment: myprogram.rb" that the user can click on and see the attachment | 16:56 |
fsufitch | like is it possible to make a universal DownloadView that i can attach to the photo? | 16:57 |
fsufitch | the personphotoview is cool, but i'd rather not have to find mimetypes for every single file i might be processing >_< | 16:58 |
ignas | well - you will have to | 16:59 |
ignas | how else the browser will know the type? | 17:00 |
fsufitch | ugh | 17:00 |
ignas | there is zope.mimetypes | 17:00 |
ignas | or something like that | 17:00 |
fsufitch | ooo | 17:00 |
fsufitch | leme check it out | 17:00 |
ignas | zope.mimetype | 17:00 |
fsufitch | yep | 17:00 |
ignas | mimeType = getUtility(IMimeTypeGetter)( | 17:01 |
ignas | name=filename, data=data, content_type=content_type) | 17:01 |
ignas | zope.file | 17:01 |
ignas | is the library that uses it | 17:02 |
ignas | so you might want to look at zope.file | 17:02 |
fsufitch | ah | 17:02 |
ignas | maybe it has a better schema field for you | 17:02 |
fsufitch | wait, what might simplify this is if it's possible to find the mimetype in the request when i create the forum post | 17:02 |
ignas | yeah, that too might help | 17:03 |
fsufitch | yeah | 17:03 |
ignas | zope.file has Upload view | 17:03 |
fsufitch | if i can find that then, then i can store that too | 17:03 |
ignas | and some other stuff | 17:03 |
fsufitch | sweet | 17:03 |
ignas | so you still might have some use out of it | 17:03 |
fsufitch | alright | 17:03 |
fsufitch | thanks :) | 17:03 |
*** fsufitch has quit IRC | 17:21 | |
ignas | th1a: ping | 18:46 |
th1a | ignas: pong | 18:47 |
ignas | th1a: can you checkout http://staging.schooltool.org/bzr2/schooltool/ignas/schooltool/schooltool_hourly/ | 18:47 |
ignas | somewhere | 18:47 |
ignas | and test the reservation functionality on it | 18:48 |
ignas | just to see if it suits you | 18:48 |
th1a | yep | 18:48 |
ignas | thanks | 18:48 |
ignas | i have added hourly events from 8:00 to 19:00 if there are no timetable events conflicting with hourlies | 18:53 |
ignas | so if you have lessons from 8:00 to 14:00, you will get 14:00-15:00, 15:00-16:00 events after lessons | 18:54 |
ignas | with holes in places where resource is unavailable | 18:55 |
th1a | OK... running on port :7080... | 19:17 |
th1a | Whew... it is still pretty bad. | 19:22 |
th1a | But... perhaps we should leave it in for now. | 19:22 |
ignas | hmm, what would you change? | 19:23 |
th1a | Well, it is bad that I can't easily see what's available when I look at the calendar (I have to mouse over each event). | 19:24 |
th1a | It is bad that I can change the time and create overlapping events. | 19:24 |
ignas | well, conflict resolution imho is a separate feature... | 19:25 |
th1a | Sure. | 19:25 |
ignas | as well as enforcement of - no conflicts | 19:25 |
th1a | My whole point here is that there is a bit of a bees nest of problems. | 19:25 |
ignas | ? | 19:25 |
ignas | not sure what precisely you mean by "bees nest" | 19:26 |
th1a | Like, conflict resolution. | 19:26 |
th1a | Like, poke it and a lot of things fly out. | 19:26 |
ignas | oh | 19:26 |
th1a | I actually think the regular calendar based way of booking is fairly tight now. | 19:27 |
th1a | I don't think right now having more than one way to do booking is helpful. | 19:29 |
th1a | I can try fixing the tests broken by removing the tab myself. | 19:29 |
ignas | nah, i will fix that | 19:30 |
ignas | i just looked at alternate solution | 19:30 |
ignas | that would keep cando people happy ;) | 19:30 |
ignas | because they are not really interested in timetabling part of schooltool | 19:30 |
ignas | as schooltool only claims to have timetabling and resource booking... ;) | 19:30 |
th1a | Yeah... I'm confused though because the resource tab as implemented only really works if you've got timetables implemented. | 19:32 |
th1a | I don't think it is a wasted effort, but it needs more work that I don't want to give it right now. | 19:32 |
ignas | yeah, makes sense, though if you didn't like the hourly grid | 19:33 |
th1a | Also... the actual problem I'd say is that they haven't USED it. | 19:33 |
ignas | I don't think you'd have liked it with timetables ;) | 19:33 |
ignas | because they look pretty much the same, just that intervals are different... | 19:33 |
ignas | th1a: that is also true | 19:33 |
th1a | So the further refinement based on use never happened. | 19:34 |
ignas | and we even added the 3 types of resources kludge | 19:34 |
th1a | Yah... not sure why their use got derailed. | 19:34 |
th1a | In reality, what I'm saying is this needs a fairly sophisticated custom view. | 19:38 |
ignas | yeah, i mean - I understand that our resource booking story is far from complete | 19:38 |
ignas | same with section/person scheduling in schooltool, and a lot of other things though | 19:39 |
th1a | I mean, the whole point is to make a non-calendar centric way of booking, so trying to re-use our calendar view just takes us in a circle. | 19:39 |
ignas | and I guess it's best to leave it to people that will use them | 19:39 |
ignas | like - if SLA wants resource booking and are going to use it, it is better for aelkner to work on it | 19:40 |
th1a | Well... that and we probably need a new set of widgets. | 19:40 |
ignas | than us two try to negotiate for some half baked solution ;) | 19:40 |
th1a | Like a good week calendar view. | 19:40 |
th1a | Like, I click the resources I want to see and then I see a week view with nice little color coded lines showing when each one is booked or available. | 19:41 |
ignas | hmm... | 19:43 |
*** ignas has quit IRC | 20:40 | |
*** mgedmin has joined #schooltool | 20:43 | |
*** ignas has joined #schooltool | 21:16 | |
*** rjelliso has joined #schooltool | 21:20 | |
*** rjelliso has left #schooltool | 21:20 | |
*** dwelsh has joined #schooltool | 21:44 | |
dwelsh | th1a: you around? | 21:44 |
*** dwelsh has quit IRC | 21:52 | |
*** ignas has quit IRC | 21:52 | |
*** wgrant has quit IRC | 21:57 | |
*** jfroche has quit IRC | 21:57 | |
*** wgrant has joined #schooltool | 21:57 | |
*** jfroche has joined #schooltool | 21:57 | |
* th1a needs a little more wait time. | 21:58 | |
*** tdoggette has quit IRC | 21:58 | |
*** th1a_ has joined #schooltool | 22:29 | |
*** tdoggette_ has quit IRC | 22:31 | |
*** th1a has quit IRC | 22:43 | |
*** alga has quit IRC | 22:52 | |
*** alga has joined #SchoolTool | 23:37 | |
*** th1a_ has quit IRC | 23:39 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!