*** mgedmin_ has quit IRC | 00:06 | |
*** timte has quit IRC | 00:06 | |
*** tarek has quit IRC | 00:30 | |
Pupeno | projekt01: more or less, I am here, but some werk came by, so for a couple of weeks I won't be doing Zope it seems. | 00:59 |
---|---|---|
*** SureshZ has left #zope3-dev | 01:22 | |
*** jinty has quit IRC | 01:22 | |
projekt01 | Pupeno, you where asking for a wysiwyg editor? right? | 01:23 |
Pupeno | yes | 01:30 |
projekt01 | Did you see my answer on the mailinglist about the editor and the links to the sources? | 01:30 |
*** J1m has quit IRC | 01:31 | |
Pupeno | projekt01: yes, I saw it. I worked a let with Zope 2 and Plone where I met Epoz and Kupu. I liked Kupu better but it used to had some showstopper bugs at that time. That might have changed, so, if I ever try to do it, I'll start with Kupu. | 01:32 |
projekt01 | Ok, we did a implementation for kupu too at the sprint last year in munich | 01:32 |
Pupeno | I see. | 01:34 |
projekt01 | Yeah, I found the URL again, seems to be still there at: | 01:35 |
projekt01 | http://codespeak.net/svn/kupu/branch/kupu-isar/zope3isar | 01:35 |
projekt01 | Feel free to use the branch and change it if needed, we don't use it anymore. | 01:36 |
Pupeno | I bookmarked it. Thanks. | 01:37 |
projekt01 | Yup, see you. | 01:38 |
*** bradb is now known as bradb-afk | 02:09 | |
*** projekt01 has quit IRC | 03:01 | |
*** yota has quit IRC | 04:08 | |
*** stub has joined #zope3-dev | 04:37 | |
*** stub has left #zope3-dev | 04:37 | |
*** stub has joined #zope3-dev | 04:38 | |
*** RaFromBRC is now known as RaFromBRC|afk | 04:45 | |
*** RaFromBRC|afk has quit IRC | 05:10 | |
*** stub has quit IRC | 05:52 | |
*** deo has quit IRC | 06:39 | |
*** hazmat is now known as replicant | 06:58 | |
*** stub has joined #zope3-dev | 07:14 | |
*** hdima has joined #zope3-dev | 09:16 | |
*** d2m has quit IRC | 09:17 | |
*** j-w has joined #zope3-dev | 09:20 | |
*** d2m has joined #zope3-dev | 09:22 | |
*** hazmat has joined #zope3-dev | 09:48 | |
*** sashav_ has joined #zope3-dev | 10:13 | |
*** bradb-afk has quit IRC | 10:22 | |
*** mooded has joined #zope3-dev | 10:30 | |
*** bradb-afk has joined #zope3-dev | 10:34 | |
*** stu1 has joined #zope3-dev | 10:45 | |
*** stub has quit IRC | 10:45 | |
*** stub has joined #zope3-dev | 10:46 | |
*** zagy has joined #zope3-dev | 10:47 | |
*** strichter has joined #zope3-dev | 10:53 | |
*** srichter has quit IRC | 10:54 | |
*** andrew_m has quit IRC | 11:10 | |
*** yota has joined #zope3-dev | 11:18 | |
*** alga has joined #zope3-dev | 11:22 | |
*** timte has joined #zope3-dev | 11:28 | |
*** faassen has joined #zope3-dev | 11:28 | |
*** andrew_m has joined #zope3-dev | 11:39 | |
*** projekt01 has joined #zope3-dev | 11:41 | |
*** mooded has quit IRC | 11:42 | |
*** tarek has joined #zope3-dev | 11:47 | |
*** povbot has joined #zope3-dev | 12:18 | |
bob2 | hm, is the new auth system documented anywhere yet? | 12:42 |
hdima | zope/app/authentication/README.txt | 12:43 |
bob2 | ah, thanks | 12:44 |
*** __gotcha has quit IRC | 12:51 | |
*** __gotcha__ has joined #zope3-dev | 12:53 | |
*** __gotcha__ is now known as __gotcha | 12:53 | |
*** efge has quit IRC | 12:55 | |
*** mgedmin has joined #zope3-dev | 13:01 | |
*** J1m has joined #zope3-dev | 13:19 | |
*** alga has quit IRC | 13:20 | |
*** efge has joined #zope3-dev | 13:25 | |
*** zagy_ has joined #zope3-dev | 13:30 | |
*** tim2p has joined #zope3-dev | 13:37 | |
tim2p | does anyone know if/where sidnei da silva hangs out on irc? i'm having trouble producing a (working) plugin for his (zope 2) PluggableDiscussion | 13:37 |
efge | tim2p: he's usually at least on #plone | 13:39 |
tim2p | efge: i just asked there too :-). do you know his nick on irc? | 13:39 |
projekt01 | tim2p: dreamcatcher | 13:40 |
tim2p | projekt01: thanks | 13:41 |
philiKON | tim2p, actually, it's "sidnei" these days | 13:45 |
philiKON | and he seems to be in #z3-base more often than in #plone nowadays... | 13:45 |
*** zagy has quit IRC | 13:47 | |
tim2p | philiKON: ok, thanks. i'll keep scouting around | 13:47 |
philiKON | i think it's still pretty early over there | 13:49 |
tim2p | philiKON: ah, he's not in europe? is it brasil? | 13:51 |
philiKON | yep, brazil | 13:52 |
*** vlado has joined #zope3-dev | 13:56 | |
*** mkerrin has joined #zope3-dev | 14:01 | |
*** zagy_ is now known as zagy | 14:02 | |
*** strichter is now known as srichter | 14:05 | |
*** ChanServ sets mode: +o srichter | 14:05 | |
*** regebro has joined #zope3-dev | 14:16 | |
*** Aiste has quit IRC | 14:19 | |
*** Aiste has joined #zope3-dev | 14:20 | |
*** tvon has quit IRC | 14:42 | |
*** vlado has quit IRC | 14:49 | |
*** alga has joined #zope3-dev | 14:51 | |
*** ignas has joined #zope3-dev | 14:52 | |
*** gintas has joined #zope3-dev | 14:53 | |
*** J1m has quit IRC | 14:58 | |
*** mexiKON has joined #zope3-dev | 15:07 | |
*** philiKON has quit IRC | 15:07 | |
*** mexiKON is now known as philiKON | 15:07 | |
*** ignas has quit IRC | 15:21 | |
*** ignas has joined #zope3-dev | 15:32 | |
*** projekt01 has quit IRC | 15:35 | |
*** mkerrin has quit IRC | 15:45 | |
*** SureshZ has joined #zope3-dev | 16:24 | |
*** tvon has joined #zope3-dev | 16:31 | |
*** J1m has joined #zope3-dev | 16:37 | |
*** mkerrin has joined #zope3-dev | 17:08 | |
*** bcsaller has joined #zope3-dev | 17:10 | |
*** bradb-afk is now known as bradb | 17:17 | |
*** mgedmin has quit IRC | 17:18 | |
*** hdima has quit IRC | 17:32 | |
*** ignas has quit IRC | 17:34 | |
*** alga has quit IRC | 17:50 | |
faassen | functional doctests aren't the most enlightening form of documentation.. | 17:51 |
faassen | at least not the one that contain all this nice TCP traffic. it doesn't help figuring out the API. | 17:52 |
Theuni | faassen: is that catalog query stuff also available with a "not" query? :) | 17:56 |
Theuni | (if it get's public one day) | 17:56 |
*** sashav_ has quit IRC | 18:02 | |
faassen | Theuni: well, we have NotEquals, but I need to implement Not still more generally. | 18:06 |
faassen | Theuni: should be reasonably easy I think. | 18:06 |
faassen | now you gave me a name for the top level package name...catalogquerystuff! | 18:07 |
j-w | faassen: nice name indeed :-) | 18:07 |
*** tvon has quit IRC | 18:17 | |
*** mgedmin has joined #zope3-dev | 18:37 | |
J1m | faassen, wrt functional tests, I agree. | 18:39 |
J1m | We've started doing a lot of selenium tests lately. | 18:40 |
J1m | I'd really like to combine some of the strong points of selenium tests (high-level browser control, xpath assertions) and functional tests (doctest format, greater speed, no need to run a browser). | 18:41 |
*** ignas has joined #zope3-dev | 18:41 | |
J1m | BTW, selenium confirms for me that XPATH is a good way to make assertions about responses. | 18:41 |
*** alga has joined #zope3-dev | 18:42 | |
Theuni | faassen: :) | 18:42 |
srichter | maybe a high-level api that simulates browser behavior would be nice | 18:43 |
Theuni | keyboard and mouse? | 18:43 |
srichter | like: press the button having id X | 18:43 |
J1m | Something like mechanise perhaps | 18:43 |
Theuni | Well. Selenium does that pretty good aside using xpath. | 18:43 |
srichter | Theuni: no, I mean for functional tests | 18:43 |
J1m | not mouse and keyboard. | 18:43 |
srichter | the goal would be to run tests without the need of a browser, like functional tests, just on a higher level | 18:44 |
Theuni | hmm | 18:44 |
J1m | more like: "enter test in this field", "submit this button" | 18:44 |
Theuni | I pretty much love Selenium ... I actually dislike the idea of simulating a browser. | 18:44 |
srichter | well, ut we want to automate tests | 18:45 |
J1m | I find the selenium HTML files hard to manage. | 18:45 |
Theuni | we do that with selenium | 18:45 |
srichter | and not every server Zope runs on has a browser | 18:45 |
J1m | We've also found selenium tests to be too slow. | 18:45 |
Theuni | that's a good point though. Question is what your "functional" tests shall assure. | 18:45 |
J1m | If all of our functional tests were selenium tests, they'd take hours to run. | 18:45 |
Theuni | I agree on the managability of the HTML files. I agree that it's slow. | 18:45 |
J1m | functional tests should *only* test the server. | 18:46 |
Theuni | Hmm. Ok. We're more like doing "acceptance" tests then. | 18:46 |
J1m | selenium tests, imo, should be for testing client code. | 18:46 |
srichter | the goal of ftests is to make sure that the UI is not functionally broken | 18:46 |
srichter | iow, you can complete a task at hand | 18:46 |
Theuni | yeah. that's an acceptance test. | 18:46 |
J1m | btw, we've automated our selenium tests. | 18:47 |
J1m | when it matures a bit more, I imagine we'll release what we've done. | 18:47 |
Theuni | zagy made some nightly build/test stuff IIRC ... | 18:47 |
J1m | we also run our selenium tests on IE on wondows using buildbot. | 18:48 |
*** benji_york has joined #zope3-dev | 18:48 | |
J1m | we also run our selenium tests on IE on windows using buildbot. | 18:48 |
J1m | benji_york, did the buildot setup and the selenium automation for us. | 18:48 |
faassen | mechanize is a python library that can simulate browser behavior on a higher level. I wrote some automated tests for silva with it. | 18:50 |
faassen | but they're not maintained, I guess because I didn't integrate them into the test runner. | 18:50 |
faassen | I also automated uploading products and publishing them etc on new zope.org :) | 18:51 |
faassen | as the UI drove me fairly crazy. | 18:51 |
faassen | but I gave that up too as now we do that on our own site with silva. | 18:51 |
J1m | did they make HTTP calls? Or did you figure out how to make mechanize use the publisher? | 18:51 |
srichter | (I do the same with book updates. ;-) | 18:51 |
faassen | no, http calls. I guess it should be integratable in the publisher. | 18:51 |
*** gintas has quit IRC | 18:56 | |
benji_york | I'm interested in writing a front-end to mechanize (or something like it) that would read Selenium tests and run them against the publisher (no network and no browser, but alas no javascript either). | 18:58 |
*** ignas has quit IRC | 18:59 | |
*** ignas has joined #zope3-dev | 18:59 | |
faassen | I'm having trouble setting up a PrincipalFolder from within Python code. | 19:02 |
faassen | I tried to read the functional doctest with the tcp stuff that left me clueless. | 19:03 |
faassen | I have code that seems like it produces the exact same setup as what actually works in a normal folder. | 19:03 |
faassen | but for some reason it doesn't show up in the grant screen. | 19:03 |
faassen | anybody has any clue how to accomplish this? | 19:06 |
*** mp has joined #zope3-dev | 19:10 | |
faassen | never mind, I think I solved it. | 19:10 |
*** mp has quit IRC | 19:11 | |
*** mp has joined #zope3-dev | 19:12 | |
*** SureshZ has quit IRC | 19:16 | |
*** j-w has left #zope3-dev | 19:22 | |
*** j-1 has joined #zope3-dev | 19:26 | |
j-1 | i'm building forms with zc.formlib. | 19:27 |
*** projekt01 has joined #zope3-dev | 19:27 | |
j-1 | validation errors show up just nice in the rendered forms | 19:27 |
j-1 | but I cannot see how to display the invariant errors | 19:27 |
j-1 | uhm, zc.page or zope.formlib of course | 19:30 |
*** j-1 has quit IRC | 19:30 | |
*** j-w has joined #zope3-dev | 19:31 | |
faassen | j-1 -> j-w | 19:31 |
j-w | right | 19:31 |
faassen | and he still wants to know. :) | 19:31 |
j-w | hehe | 19:31 |
faassen | how to show up invariant errors in the forms rendered by zope.formlib, the library of the next generation. | 19:32 |
*** stub has quit IRC | 19:35 | |
*** tarek has quit IRC | 19:38 | |
*** _projekt01 has joined #zope3-dev | 19:43 | |
*** projekt01 has quit IRC | 19:43 | |
*** Aiste has quit IRC | 19:44 | |
*** tav has joined #zope3-dev | 19:47 | |
*** regebro has quit IRC | 19:55 | |
*** jinty has joined #zope3-dev | 19:58 | |
*** zagy has quit IRC | 19:59 | |
*** zagy has joined #zope3-dev | 20:00 | |
*** efge has quit IRC | 20:03 | |
*** faassen has quit IRC | 20:23 | |
*** SureshZ has joined #zope3-dev | 20:36 | |
*** tvon has joined #zope3-dev | 20:37 | |
*** mgedmin has quit IRC | 20:43 | |
*** bradb is now known as bradb-bbl | 20:43 | |
*** SteveA has quit IRC | 20:46 | |
*** SteveA_ has joined #zope3-dev | 20:47 | |
*** deo has joined #zope3-dev | 21:09 | |
*** zagy has quit IRC | 21:17 | |
*** jinty has quit IRC | 21:21 | |
*** jinty has joined #zope3-dev | 21:23 | |
*** bradb-bbl is now known as bradb | 21:27 | |
*** mohsen has joined #zope3-dev | 21:27 | |
*** mohsen is now known as mohsen|away | 21:27 | |
*** mohsen|away is now known as mohsen | 21:28 | |
*** mohsen has quit IRC | 21:39 | |
*** mkerrin has quit IRC | 21:43 | |
*** jabba2k has joined #zope3-dev | 21:48 | |
jabba2k | hi, I have a subclass of unicode here and don't want it to be security proxied. is this possible somehow? | 21:49 |
srichter | you can declare it to be a rock | 21:50 |
jabba2k | how would I do so? | 21:51 |
srichter | see zope.security | 21:51 |
jabba2k | ok, thanks | 21:51 |
srichter | I am not sure what the API is | 21:51 |
*** MiUlEr has joined #zope3-dev | 21:52 | |
*** _projekt01 has quit IRC | 21:55 | |
*** _projekt01 has joined #zope3-dev | 21:55 | |
philiKON | jabba2k, | 21:56 |
philiKON | from zope.security.checker import defineChecker, NoProxy | 21:56 |
philiKON | defineChecker(MessageID, NoProxy) | 21:56 |
philiKON | where you put in whatever your class is for MessageID | 21:56 |
jabba2k | ah thanks | 21:57 |
jabba2k | ah it works, yay! | 21:59 |
philiKON | note that subclasses written in python can never be 100% secure wrt to mutability | 22:00 |
philiKON | if want to be sure, you need to write C code... | 22:00 |
philiKON | (see zope.i18nmessageid.Message, for example) | 22:01 |
jabba2k | yes, i used that as a template :) | 22:01 |
philiKON | :) | 22:02 |
srichter | we really want to register a setUp function that calls defineChecker as well | 22:14 |
srichter | so that tests that require security assertions work correctly as well | 22:14 |
*** jw has quit IRC | 22:27 | |
*** _projekt01 has quit IRC | 22:35 | |
*** _projekt01 has joined #zope3-dev | 22:35 | |
*** RaFromBRC has joined #zope3-dev | 22:38 | |
*** ignas has quit IRC | 22:49 | |
philiKON | srichter, placelesssetup already does that (zope.app.security._protections) | 22:54 |
*** hazmat has quit IRC | 22:56 | |
*** philiKON has quit IRC | 22:57 | |
*** philiKON has joined #zope3-dev | 23:06 | |
*** RaFromBR1 has joined #zope3-dev | 23:14 | |
*** MiUlEr has quit IRC | 23:16 | |
*** RaFromBRC has quit IRC | 23:25 | |
*** sid|whiney has joined #zope3-dev | 23:40 | |
*** sid|whiney has left #zope3-dev | 23:41 | |
*** jinty has quit IRC | 23:43 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!