| *** ignas has joined #schooltool | 03:46 | |
| *** alga has quit IRC | 04:51 | |
| *** ignas has quit IRC | 04:51 | |
| *** mgedmin has quit IRC | 05:06 | |
| *** yvl has joined #schooltool | 10:55 | |
| *** alga has joined #SchoolTool | 12:21 | |
| *** alga_ has joined #SchoolTool | 14:32 | |
| *** alga has quit IRC | 14:32 | |
| *** jelkner has joined #schooltool | 15:16 | |
| *** ignas has joined #schooltool | 15:52 | |
| *** fsufitch has joined #schooltool | 16:11 | |
| fsufitch | ignas: ping | 16:12 |
|---|---|---|
| ignas | fsufitch: pong | 16:13 |
| fsufitch | how would i handle a zope.schema.Object so that formlib plays nicely and makes it into an input? | 16:13 |
| fsufitch | btw, its schema is zope.app.file.interfaces.IFile | 16:13 |
| fsufitch | i saw that i'm supposed to use a CustomWidgetFactory, but i have no idea how to do it | 16:15 |
| *** fsufitch has quit IRC | 16:15 | |
| *** fsufitch has joined #schooltool | 16:16 | |
| fsufitch | ignas: sorry, net timeout | 16:16 |
| fsufitch | did you get my msgs? | 16:16 |
| ignas | yes | 16:27 |
| ignas | sorry got distracted | 16:28 |
| fsufitch | it's okay | 16:28 |
| fsufitch | i see there's a FileWidget in zope.app.form.browser.textwidgets | 16:28 |
| ignas | hmm | 16:29 |
| ignas | no idea, really, look for FileWidget in schooltool code I guess | 16:29 |
| fsufitch | schooltool uses file uploads? | 16:29 |
| fsufitch | ignas: there is no FileWidget in schooltool | 16:33 |
| ignas | hmm | 16:44 |
| ignas | but we are using file uploads | 16:44 |
| ignas | person picture | 16:44 |
| ignas | is uploaded | 16:44 |
| fsufitch | ignas: i can't even find anything when i grep for "Image" | 17:10 |
| ignas | IReadPerson | 17:11 |
| ignas | photo = zope.schema.Bytes( | 17:11 |
| ignas | it seems that just Bytes gives the file upload field | 17:12 |
| fsufitch | hm | 17:13 |
| fsufitch | well i did use bytes, but here it's supposed to be a generic file | 17:13 |
| fsufitch | and bytes doesn't take care about the original filename | 17:14 |
| fsufitch | ... which is a problem | 17:14 |
| fsufitch | like, i can get the data inside the file into Message.attachment | 17:14 |
| fsufitch | but then when i output it, it has no mimetype or filename | 17:14 |
| ignas | hmm | 17:15 |
| ignas | in that case - as in #zope3-dev | 17:15 |
| fsufitch | *ask | 17:15 |
| fsufitch | okay :) | 17:15 |
| ignas | because i really don't know for sure at the moment | 17:15 |
| fsufitch | alright | 17:15 |
| *** fsufitch has quit IRC | 17:29 | |
| *** ignas has quit IRC | 18:11 | |
| *** ignas has joined #schooltool | 18:11 | |
| *** replaceafill has joined #schooltool | 18:46 | |
| aelkner | yvl: ayt? | 19:52 |
| *** ignas has quit IRC | 20:01 | |
| yvl | hi aelkner | 20:04 |
| yvl | status: obsolete packages removed, functional and unit tests fixed for all packages except message | 20:11 |
| yvl | I'll fix them some time soon, as I'm kind of on vacation... | 20:12 |
| *** yvl has quit IRC | 20:18 | |
| *** mgedmin has joined #schooltool | 20:58 | |
| *** jcrowley has joined #schooltool | 21:17 | |
| *** jcrowley has left #schooltool | 21:18 | |
| *** rjelliso has joined #schooltool | 21:49 | |
| *** elarson has joined #schooltool | 21:49 | |
| *** elarson has quit IRC | 21:49 | |
| *** rjelliso has quit IRC | 22:12 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!