| *** MJ has quit IRC | 00:01 | |
| *** RaFromBRC|lunch is now known as RaFromBRC | 00:01 | |
| *** d2m has quit IRC | 00:07 | |
| *** rcrafton has quit IRC | 00:09 | |
| *** jodok has quit IRC | 00:10 | |
| *** norro has quit IRC | 00:15 | |
| *** joao_ has joined #zope3-dev | 00:20 | |
| *** joao_ has quit IRC | 00:21 | |
| *** danielblackburn has joined #zope3-dev | 00:24 | |
| *** danielblackburn_ has quit IRC | 00:24 | |
| *** pcardune_ has joined #zope3-dev | 00:38 | |
| *** philiKON has joined #zope3-dev | 00:38 | |
| *** regebro has quit IRC | 00:43 | |
| *** redir has quit IRC | 00:53 | |
| *** pcardune_vm has quit IRC | 00:55 | |
| *** pcardune has quit IRC | 00:55 | |
| *** benji has quit IRC | 00:58 | |
| *** lucielejard has quit IRC | 01:00 | |
| *** philiKON_ has joined #zope3-dev | 01:01 | |
| *** J1m has quit IRC | 01:02 | |
| *** MatthewWilkes has joined #zope3-dev | 01:05 | |
| *** ktwilight_ has joined #zope3-dev | 01:07 | |
| *** sp0cksbeard has quit IRC | 01:12 | |
| *** philiKON_ has quit IRC | 01:18 | |
| *** philiKON has quit IRC | 01:19 | |
| *** ktwilight has quit IRC | 01:20 | |
| *** hazmat has quit IRC | 01:30 | |
| *** thruflo has quit IRC | 01:35 | |
| *** sm has joined #zope3-dev | 01:41 | |
| *** benji has joined #zope3-dev | 01:42 | |
| *** sm has quit IRC | 01:52 | |
| *** nathany has quit IRC | 01:55 | |
| *** reco_ has joined #zope3-dev | 02:00 | |
| *** b52laptop has quit IRC | 02:01 | |
| *** hazmat has joined #zope3-dev | 02:03 | |
| *** ChanServ sets mode: +o hazmat | 02:03 | |
| *** reco has quit IRC | 02:07 | |
| *** rmarianski has quit IRC | 02:13 | |
| *** greenman has quit IRC | 02:14 | |
| *** greenman has joined #zope3-dev | 02:14 | |
| *** pcardune_ has quit IRC | 02:19 | |
| *** fcorrea has left #zope3-dev | 02:21 | |
| *** danielblackburn has quit IRC | 02:22 | |
| *** lucielejard has joined #zope3-dev | 02:32 | |
| *** reco_ has quit IRC | 02:36 | |
| *** pbugni_ has joined #zope3-dev | 02:42 | |
| *** pbugni has quit IRC | 02:42 | |
| *** projekt01 has joined #zope3-dev | 02:47 | |
| projekt01 | srichter, ayt? | 02:49 |
|---|---|---|
| *** rocky has quit IRC | 02:50 | |
| *** danielblackburn has joined #zope3-dev | 03:04 | |
| *** pbugni_ has quit IRC | 03:11 | |
| *** kev_ has quit IRC | 03:39 | |
| *** ccomb has quit IRC | 03:42 | |
| *** projekt01 has quit IRC | 03:43 | |
| *** benji has quit IRC | 03:51 | |
| *** benji has joined #zope3-dev | 03:52 | |
| *** deo has joined #zope3-dev | 03:56 | |
| benji | thanks fred | 03:57 |
| *** hazmat has quit IRC | 04:01 | |
| *** vinsci has quit IRC | 04:04 | |
| *** srichter has quit IRC | 04:04 | |
| *** markusleist has quit IRC | 04:04 | |
| *** acsr has quit IRC | 04:04 | |
| *** SteveA has quit IRC | 04:04 | |
| *** jfroche has quit IRC | 04:04 | |
| *** Theuni has quit IRC | 04:04 | |
| *** derek|office has quit IRC | 04:04 | |
| *** BjornT has quit IRC | 04:04 | |
| *** lucielejard has quit IRC | 04:04 | |
| *** Aiste has quit IRC | 04:04 | |
| *** kobold has quit IRC | 04:04 | |
| *** _basti_ has quit IRC | 04:04 | |
| *** ktwilight_ has quit IRC | 04:04 | |
| *** salfield has quit IRC | 04:04 | |
| *** ejucovy|out has quit IRC | 04:04 | |
| *** deo has quit IRC | 04:04 | |
| *** RaFromBRC has quit IRC | 04:04 | |
| *** romanofski has quit IRC | 04:04 | |
| *** malthe|away has quit IRC | 04:04 | |
| *** instantfoo has quit IRC | 04:04 | |
| *** benji has quit IRC | 04:04 | |
| *** dunny has quit IRC | 04:04 | |
| *** lisppaste6 has quit IRC | 04:04 | |
| *** timte has quit IRC | 04:04 | |
| *** dokai has quit IRC | 04:04 | |
| *** pelle_ has quit IRC | 04:04 | |
| *** bigkevmcd has quit IRC | 04:04 | |
| *** jeffk has quit IRC | 04:04 | |
| *** tlotze has quit IRC | 04:04 | |
| *** tlotze_ has joined #zope3-dev | 04:09 | |
| *** deo has joined #zope3-dev | 04:09 | |
| *** benji has joined #zope3-dev | 04:09 | |
| *** lucielejard has joined #zope3-dev | 04:09 | |
| *** dunny has joined #zope3-dev | 04:09 | |
| *** RaFromBRC has joined #zope3-dev | 04:09 | |
| *** romanofski has joined #zope3-dev | 04:09 | |
| *** pelle_ has joined #zope3-dev | 04:09 | |
| *** lisppaste6 has joined #zope3-dev | 04:09 | |
| *** timte has joined #zope3-dev | 04:09 | |
| *** malthe|away has joined #zope3-dev | 04:09 | |
| *** _basti_ has joined #zope3-dev | 04:09 | |
| *** Aiste has joined #zope3-dev | 04:09 | |
| *** kobold has joined #zope3-dev | 04:09 | |
| *** bigkevmcd has joined #zope3-dev | 04:09 | |
| *** jeffk has joined #zope3-dev | 04:09 | |
| *** tlotze has joined #zope3-dev | 04:09 | |
| *** instantfoo has joined #zope3-dev | 04:09 | |
| *** dokai has joined #zope3-dev | 04:09 | |
| *** dokai_ has joined #zope3-dev | 04:10 | |
| *** tlotze has quit IRC | 04:10 | |
| *** srichter has joined #zope3-dev | 04:10 | |
| *** vinsci has joined #zope3-dev | 04:10 | |
| *** irc.freenode.net sets mode: +o srichter | 04:10 | |
| *** ktwilight_ has joined #zope3-dev | 04:10 | |
| *** salfield has joined #zope3-dev | 04:10 | |
| *** ejucovy|out has joined #zope3-dev | 04:10 | |
| *** BjornT has joined #zope3-dev | 04:10 | |
| *** markusleist has joined #zope3-dev | 04:10 | |
| *** acsr has joined #zope3-dev | 04:10 | |
| *** Theuni has joined #zope3-dev | 04:10 | |
| *** SteveA has joined #zope3-dev | 04:10 | |
| *** derek|office has joined #zope3-dev | 04:10 | |
| *** jfroche has joined #zope3-dev | 04:10 | |
| *** bigkevmcd has quit IRC | 04:10 | |
| *** bigkevmcd has joined #zope3-dev | 04:11 | |
| *** dokai has quit IRC | 04:11 | |
| *** hazmat has joined #zope3-dev | 04:17 | |
| *** ChanServ sets mode: +o hazmat | 04:17 | |
| *** ejucovy|out has quit IRC | 04:29 | |
| *** ktwilight_ has quit IRC | 04:29 | |
| *** salfield has quit IRC | 04:29 | |
| *** ktwilight_ has joined #zope3-dev | 04:31 | |
| *** salfield has joined #zope3-dev | 04:32 | |
| *** ejucovy|out has joined #zope3-dev | 04:32 | |
| *** MatthewWilkes has quit IRC | 04:33 | |
| *** RaFromBRC has quit IRC | 04:33 | |
| *** devicenull has joined #zope3-dev | 04:36 | |
| *** malthe|a_ has joined #zope3-dev | 04:48 | |
| *** dokai_ has quit IRC | 04:48 | |
| *** instantfoo has quit IRC | 04:48 | |
| *** malthe|away has quit IRC | 04:48 | |
| *** romanofski has quit IRC | 04:48 | |
| *** deo has quit IRC | 04:48 | |
| *** deo has joined #zope3-dev | 04:50 | |
| *** instantfoo has joined #zope3-dev | 04:51 | |
| *** dokai has joined #zope3-dev | 04:53 | |
| *** dokai_ has joined #zope3-dev | 04:53 | |
| *** romanofski has joined #zope3-dev | 04:53 | |
| *** dokai_ has quit IRC | 04:53 | |
| *** niemeyer has quit IRC | 04:53 | |
| *** lucielejard has quit IRC | 04:55 | |
| *** romanofs1i has joined #zope3-dev | 05:01 | |
| *** romanofski has quit IRC | 05:04 | |
| *** danielblackburn has quit IRC | 05:41 | |
| *** greenman has quit IRC | 05:44 | |
| *** jeffk has quit IRC | 05:47 | |
| *** jeffk has joined #zope3-dev | 05:50 | |
| *** pcardune has joined #zope3-dev | 05:52 | |
| *** rmarianski has joined #zope3-dev | 06:04 | |
| *** pcardune has quit IRC | 06:30 | |
| *** jeffk has quit IRC | 06:30 | |
| *** romanofs1i has quit IRC | 06:30 | |
| *** instantfoo has quit IRC | 06:30 | |
| *** ktwilight_ has quit IRC | 06:30 | |
| *** SteveA has quit IRC | 06:30 | |
| *** acsr has quit IRC | 06:30 | |
| *** markusleist has quit IRC | 06:30 | |
| *** jfroche has quit IRC | 06:30 | |
| *** pcardune has joined #zope3-dev | 06:30 | |
| *** jeffk has joined #zope3-dev | 06:30 | |
| *** instantfoo has joined #zope3-dev | 06:30 | |
| *** ktwilight_ has joined #zope3-dev | 06:30 | |
| *** markusleist has joined #zope3-dev | 06:30 | |
| *** acsr has joined #zope3-dev | 06:30 | |
| *** jfroche has joined #zope3-dev | 06:30 | |
| *** SteveA has joined #zope3-dev | 06:30 | |
| *** kobold has quit IRC | 06:45 | |
| *** tlotze_ has quit IRC | 06:45 | |
| *** Aiste has quit IRC | 06:45 | |
| *** _basti_ has quit IRC | 06:45 | |
| *** tlotze has joined #zope3-dev | 06:47 | |
| *** _basti_ has joined #zope3-dev | 06:48 | |
| *** tlotze_ has joined #zope3-dev | 06:48 | |
| *** kobold has joined #zope3-dev | 06:48 | |
| *** Aiste has joined #zope3-dev | 06:48 | |
| *** tlotze_ has quit IRC | 06:49 | |
| *** kobold_ has joined #zope3-dev | 06:52 | |
| *** deo has quit IRC | 06:55 | |
| *** jayaraj has joined #zope3-dev | 07:05 | |
| *** alecm has quit IRC | 07:11 | |
| *** kobold has quit IRC | 07:14 | |
| *** pcardune has quit IRC | 07:38 | |
| *** pcardune has joined #zope3-dev | 07:41 | |
| *** rmarianski has quit IRC | 07:51 | |
| *** jayaraj has quit IRC | 07:59 | |
| *** menesis has joined #zope3-dev | 07:59 | |
| *** baijum has joined #zope3-dev | 08:20 | |
| *** d2m has joined #zope3-dev | 08:21 | |
| *** rmarianski has joined #zope3-dev | 08:31 | |
| *** sm has joined #zope3-dev | 08:41 | |
| *** jukart has joined #zope3-dev | 08:42 | |
| *** pyqwer has joined #zope3-dev | 08:42 | |
| *** yvl has joined #zope3-dev | 08:43 | |
| *** sorin has joined #zope3-dev | 08:46 | |
| *** sorin is now known as sorindregan | 08:47 | |
| *** tarek has joined #zope3-dev | 08:50 | |
| *** kursor has joined #zope3-dev | 08:51 | |
| *** vimes656 has joined #zope3-dev | 08:51 | |
| *** pcardune is now known as taylor | 08:53 | |
| *** taylor is now known as Richard_Stallman | 08:54 | |
| *** quodt has joined #zope3-dev | 08:56 | |
| *** Richard_Stallman is now known as adambosworth | 08:56 | |
| *** adambosworth has left #zope3-dev | 08:57 | |
| *** afd_ has joined #zope3-dev | 09:01 | |
| pyqwer | Hi, I | 09:06 |
| pyqwer | Hi, I'm currently playing around with i18n and poedit - has anyone experience with this? | 09:06 |
| afd_ | pyqwer: #plone people should have a lot of experience with this | 09:06 |
| pyqwer | Ah, good to know. | 09:07 |
| pyqwer | Have you ever done it? | 09:07 |
| pyqwer | They probably don't use the i18nextract utility for that. | 09:07 |
| afd_ | there's the i18ndude | 09:08 |
| pyqwer | My problem is that when I change my code, I need to update the translation - that overwrites my .pot file and my original translation | 09:08 |
| afd_ | which I think works for z3 packages as well | 09:09 |
| pyqwer | I see. | 09:09 |
| pyqwer | I'll ask my questions there, let's see. Thanks1 | 09:10 |
| *** __mac__ has joined #zope3-dev | 09:14 | |
| *** __mac__ has left #zope3-dev | 09:15 | |
| *** kobold_ has quit IRC | 09:18 | |
| *** Aiste has quit IRC | 09:18 | |
| *** kobold_ has joined #zope3-dev | 09:21 | |
| *** Aiste has joined #zope3-dev | 09:21 | |
| *** kobold_ has quit IRC | 09:22 | |
| *** kobold has joined #zope3-dev | 09:22 | |
| *** stub has joined #zope3-dev | 09:24 | |
| *** sm is now known as sm-zzz | 09:31 | |
| *** jukart has quit IRC | 09:33 | |
| *** baijum has quit IRC | 09:33 | |
| *** dokai has quit IRC | 09:33 | |
| *** pelle_ has quit IRC | 09:36 | |
| *** jukart has joined #zope3-dev | 09:36 | |
| *** baijum has joined #zope3-dev | 09:36 | |
| *** dokai has joined #zope3-dev | 09:36 | |
| *** kursor has quit IRC | 09:37 | |
| *** d2m has quit IRC | 09:37 | |
| *** tlotze has quit IRC | 09:37 | |
| *** devicenull has quit IRC | 09:37 | |
| *** vinsci has quit IRC | 09:37 | |
| *** srichter has quit IRC | 09:37 | |
| *** srichter has joined #zope3-dev | 09:38 | |
| *** d2m has joined #zope3-dev | 09:38 | |
| *** kursor has joined #zope3-dev | 09:40 | |
| *** tlotze has joined #zope3-dev | 09:40 | |
| *** devicenull has joined #zope3-dev | 09:40 | |
| *** vinsci has joined #zope3-dev | 09:40 | |
| *** ChanServ sets mode: +o srichter | 09:43 | |
| *** greenman has joined #zope3-dev | 09:48 | |
| *** MJ has joined #zope3-dev | 09:50 | |
| *** malthe|a_ is now known as malthe | 09:50 | |
| *** febb has joined #zope3-dev | 09:52 | |
| *** ghendi has joined #zope3-dev | 09:56 | |
| *** agroszer has joined #zope3-dev | 10:06 | |
| *** sorindregan has quit IRC | 10:08 | |
| *** sorin has joined #zope3-dev | 10:10 | |
| *** sorin is now known as sorindregan | 10:10 | |
| *** ccomb has joined #zope3-dev | 10:12 | |
| *** pelle_ has joined #zope3-dev | 10:18 | |
| *** greenman has quit IRC | 10:21 | |
| *** greenman has joined #zope3-dev | 10:23 | |
| *** rmarianski has quit IRC | 10:27 | |
| *** sunew has joined #zope3-dev | 10:27 | |
| *** jodok has joined #zope3-dev | 10:31 | |
| *** norro has joined #zope3-dev | 10:36 | |
| *** regebro has joined #zope3-dev | 10:38 | |
| pyqwer | afd_: Ok, it seems I managed the translations - msgmerge does the trick... | 10:50 |
| *** kursor has quit IRC | 10:53 | |
| *** harobed has joined #zope3-dev | 11:04 | |
| *** romanofski has joined #zope3-dev | 11:04 | |
| *** jayaraj has joined #zope3-dev | 11:05 | |
| jayaraj | "<div id="toolbar" tal:content="structure provider:worldcookery.Toolbar">" i found this line in world cookery example... i want to know wot is the 'structure' in this? i thought it to be a div tag attribute... but i cant find such an attribute for div when i refered to w3schools.com. then wot it could be? plz help. i have been searching for a long time | 11:21 |
| afd_ | jayaraj: the provider:worldcookery.Toolbar expression will have as a result an html fragment | 11:22 |
| afd_ | you want to render it as html, instead of escaping the tags (which zope does by default) | 11:22 |
| afd_ | that's what the "structure" word is saying there | 11:22 |
| afd_ | to render that result as an html structure, instead of escaping the tags | 11:23 |
| jayaraj | afd_ k i got it friend | 11:23 |
| jayaraj | afd_ thank you... so its a tal keyword right? | 11:24 |
| afd_ | yes | 11:24 |
| jayaraj | afd_ :) | 11:24 |
| *** jpcw2002 has joined #zope3-dev | 11:25 | |
| *** b52laptop has joined #zope3-dev | 11:28 | |
| pyqwer | Hmmm, it seems i18n has problems when the message id contains UTF-8 characters, e.g. german umlauts - is there some solution to this? | 11:43 |
| pyqwer | I initially decided to write the code in german - hence all messages are in german, too. I can circumvent the umlaut-issue via message-ids but that seems not to be possible in ZCML. | 11:44 |
| *** toutpt has joined #zope3-dev | 11:52 | |
| *** kursor has joined #zope3-dev | 12:13 | |
| *** maurits has joined #zope3-dev | 12:17 | |
| *** projekt01 has joined #zope3-dev | 12:22 | |
| *** markusleist has quit IRC | 12:39 | |
| *** dunny has quit IRC | 12:48 | |
| *** tflorac has joined #zope3-dev | 12:51 | |
| *** greenman has quit IRC | 12:59 | |
| *** mkerrin has joined #zope3-dev | 13:02 | |
| tflorac | Hi, | 13:03 |
| tflorac | I'm looking for samples or tutorials about writing z3c.form widgets subclasses. Any link ? | 13:04 |
| *** alga has joined #zope3-dev | 13:06 | |
| afd_ | tflorac: look at the source code, the widgets themselves can be good examples | 13:07 |
| *** b52laptop has quit IRC | 13:08 | |
| *** b52laptop has joined #zope3-dev | 13:08 | |
| tflorac | afd_: I already looked (quickly) at source code and doctests. But I was looking for something which could be more "just follow the steps, Luke !"... | 13:11 |
| tflorac | afd_: what I actually need is a widget to handle a dict-based attribute edition to handle content translation... | 13:13 |
| afd_ | I don't know of any like that (but I haven't been looking for one either) | 13:14 |
| jayaraj | is there any way to know from which page (url) the 'request' is coming? | 13:17 |
| tflorac | afd_: I already designed fields and properties. I developed a similar widget for zope.formlib without many problems. But now I'm a bit stuck with z3c.form... | 13:18 |
| tflorac | jayaraj: request['HTTP_REFERER'] ?? | 13:18 |
| afd_ | tflorac: maybe one of its author can help you, if they're online | 13:18 |
| jayaraj | tflorac: let me check 1 min | 13:18 |
| bigkevmcd | jayaraj: You can't rely on the HTTP_REFERER for much tho' | 13:22 |
| bigkevmcd | jayaraj: especially not for anything involving "security" | 13:23 |
| jayaraj | ic | 13:24 |
| pyqwer | tflorac: Maybe there are examples in z3c.formdemo? | 13:24 |
| *** jpcw2002 has quit IRC | 13:26 | |
| *** b52laptop has quit IRC | 13:31 | |
| *** kursor has quit IRC | 13:31 | |
| *** b52laptop has joined #zope3-dev | 13:32 | |
| *** ghendi has quit IRC | 13:39 | |
| *** toutpt has quit IRC | 13:45 | |
| *** malthe has quit IRC | 13:57 | |
| *** niemeyer has joined #zope3-dev | 14:12 | |
| *** b52laptop has quit IRC | 14:18 | |
| *** jpcw2002 has joined #zope3-dev | 14:23 | |
| *** b52laptop has joined #zope3-dev | 14:24 | |
| *** benji has quit IRC | 14:25 | |
| *** stub has quit IRC | 14:31 | |
| *** jukart has quit IRC | 14:32 | |
| *** ignas has joined #zope3-dev | 14:34 | |
| *** stub has joined #zope3-dev | 14:35 | |
| *** rocky has joined #zope3-dev | 14:37 | |
| *** jodok has quit IRC | 14:37 | |
| *** quodt has quit IRC | 14:39 | |
| *** goschtl has joined #zope3-dev | 14:40 | |
| jayaraj | bigkvmcd: is there any other way to get the same job done without using the http_referer | 14:44 |
| bigkevmcd | jayaraj: you haven't said what your job is | 14:44 |
| jayaraj | i want know from which page the request is generated... | 14:45 |
| jayaraj | or i need to know the currentpage's url | 14:46 |
| bigkevmcd | what are you going to do with it? | 14:47 |
| bigkevmcd | You can get it from the referrer header, you just can't trust that value | 14:47 |
| jayaraj | after serving the request one should be reditrected to the first page | 14:47 |
| tflorac | pyqwer: z3c.formdemo "only" seems to show how to use existing widgets, not how to write new ones... | 14:48 |
| jayaraj | i cant compromise the security though | 14:49 |
| jayaraj | i saw in the world cookery example for the 'login' link it gets the current url and send it along with the url as a property value! is that safe? | 14:51 |
| pyqwer | tflorac: Ok, hmmm - we discussed this issue with Stephan Richter and Roger Ineichen some time ago and came to the conclusion to create a package called z3c.formwidget. | 14:52 |
| jayaraj | bigkevmcd: ^ | 14:52 |
| pyqwer | This should be an addon package that provides some extra widgets and also some kind of skeleton. | 14:53 |
| bigkevmcd | jayaraj: that would be safe enough... | 14:53 |
| pyqwer | But up to now, no one found time to create it - and I personally got around without extra widgets. | 14:53 |
| *** jodok has joined #zope3-dev | 14:53 | |
| pyqwer | So, this z3c.formwidget should be some complement of z3c.schema. | 14:54 |
| *** BjornT_ has joined #zope3-dev | 14:54 | |
| jayaraj | bigkevmcd: you mean the world cookery way? | 14:54 |
| *** BjornT has quit IRC | 14:55 | |
| pyqwer | jayaraj: I don't see why it should be unsafe to use the referrer? I may be wrong but that should never tamper the security. | 14:55 |
| tflorac | pyqwer:OK, I'll wait for it... Until then I'll try to read deeper into doctests, but any guideline would be welcome... ;-) | 14:56 |
| *** yvl has left #zope3-dev | 14:56 | |
| pyqwer | tflorac: Well, maybe I will find some time, however, I have to gain SVN write-access first, moreover I have to learn buildout. | 14:56 |
| jayaraj | bigkevmcd: but i couldn't understand how he gets the current URL.. i searchedthe whole example( i think) but i couldnt find where logic for getting current url is implemented! | 14:56 |
| pyqwer | jayaraj: I don't think you will find it in the worldcookery code. AFAIK it's implemented in the security layer. | 14:57 |
| pyqwer | But I may be wrong. | 14:57 |
| *** quodt has joined #zope3-dev | 14:57 | |
| jayaraj | pyqwer: i have heard its unsafe to use the referer from many source | 14:57 |
| pyqwer | BTW., it's something I'm also interested in as for me, redirection after the login works only in some cases. | 14:58 |
| *** jukart has joined #zope3-dev | 14:58 | |
| pyqwer | jayaraj: If you have a look at Philipps book, page 421 (in case you own it), you will see some code. | 14:59 |
| jayaraj | pyqwer: it works in worldcookery example .. he uses one 'camefrom' attribute for that | 14:59 |
| pyqwer | jayaraj: Yes, but I also don't really know where 'camefrom' is set. | 15:00 |
| jayaraj | pyqwer: thats what i was searching for | 15:00 |
| pyqwer | jayaraj: Yes, found it - as expected - it's in zope.app.authentication.session. | 15:02 |
| jayaraj | 'camefrom' is set and appended to the href of 'login' link in the header. | 15:02 |
| *** jodok_ has joined #zope3-dev | 15:02 | |
| pyqwer | SessionCredentialsPlugin -> line 211. | 15:02 |
| *** srichter has quit IRC | 15:03 | |
| pyqwer | Yes, if the challenge fails, the session plugin simply adds camefrom as a get parameter to the URL - see line 245 | 15:04 |
| jayaraj | pyqwer: i dint get you | 15:04 |
| pyqwer | jayaraj: Just look at the source, you'll see it. | 15:04 |
| *** vimes656_ has joined #zope3-dev | 15:08 | |
| *** mgedmin has joined #zope3-dev | 15:09 | |
| *** rcrafton has joined #zope3-dev | 15:13 | |
| *** jodok has quit IRC | 15:13 | |
| *** vimes656 has quit IRC | 15:19 | |
| norro | hey guys. i can't import usbsock in my zope3 view classes (ImportError). The import works on my console. Do I have to set a path variable or something? | 15:20 |
| jayaraj | pyqwer: which example you are refering to... i am looking at authentication | 15:20 |
| pyqwer | jayaraj: Yes, me too. | 15:21 |
| jayaraj | example2.0.1/auth | 15:21 |
| pyqwer | On page 421 Phillip provides some code for browser/login.py | 15:21 |
| pyqwer | There he reads "request.get('camefrom', '.') | 15:22 |
| jayaraj | yea i have seen that | 15:22 |
| pyqwer | So what he does is extract the URL parameter "camefrom" out of the request. | 15:22 |
| pyqwer | And redirects to it. | 15:22 |
| jayaraj | true | 15:22 |
| jayaraj | but where it gets set? | 15:23 |
| pyqwer | And in the SessionCredentialsPlugin, this URL parameter is set. | 15:23 |
| pyqwer | It's not in the worldcookery code, it's in the Zope3 code. | 15:23 |
| pyqwer | jayaraj: In zope.app.authentication.session. | 15:24 |
| pyqwer | Honestly, look at the Zope3 source. | 15:24 |
| jayaraj | hehehe in zope3 sorce ..ic | 15:24 |
| pyqwer | Believe me - for developing Zope3, you will have to dig into the Zope3 source from time to time. | 15:25 |
| *** menesis has quit IRC | 15:30 | |
| *** benji has joined #zope3-dev | 15:32 | |
| *** baijum has quit IRC | 15:32 | |
| afd_ | norro: maybe you're using the wrong python in the console (use the one used by zope) | 15:32 |
| norro | afd_: indeed. console uses 2.5, zope uses 2.4 | 15:33 |
| norro | thanks | 15:33 |
| *** danielblackburn has joined #zope3-dev | 15:36 | |
| *** toutpt has joined #zope3-dev | 15:37 | |
| jayaraj | pyqwer: Thank you :) my problem solved | 15:41 |
| *** sp0cksbeard has joined #zope3-dev | 15:41 | |
| jayaraj | bigkevmcd: thank you :) | 15:41 |
| pyqwer | jayaraj: Great! | 15:44 |
| jayaraj | pyqwer: :) | 15:45 |
| *** MJ is now known as MJ|away | 15:56 | |
| *** johbo has joined #zope3-dev | 16:00 | |
| *** thruflo has joined #zope3-dev | 16:01 | |
| *** afd__ has joined #zope3-dev | 16:04 | |
| *** MJ|away is now known as MJ | 16:04 | |
| pyqwer | Hmmm, I need some help with i18n - I have this construct: right = _(u"right"); msg = _(u"${right}" mapping={'right' : right}) | 16:10 |
| pyqwer | The problem is that _(u"right") does not seem to be translated here. | 16:10 |
| pyqwer | What can I do about that? | 16:10 |
| *** jodok has joined #zope3-dev | 16:10 | |
| *** afd_ has quit IRC | 16:13 | |
| *** jodok has quit IRC | 16:17 | |
| *** jodok has joined #zope3-dev | 16:17 | |
| *** jodok__ has joined #zope3-dev | 16:18 | |
| *** jodok_ has quit IRC | 16:19 | |
| *** malthe has joined #zope3-dev | 16:23 | |
| *** lucielejard has joined #zope3-dev | 16:25 | |
| *** ghendi has joined #zope3-dev | 16:27 | |
| *** markusleist has joined #zope3-dev | 16:32 | |
| *** ghendi has quit IRC | 16:44 | |
| *** jodok has quit IRC | 16:45 | |
| *** reco has joined #zope3-dev | 16:50 | |
| *** menesis has joined #zope3-dev | 16:51 | |
| *** b52laptop has quit IRC | 16:53 | |
| *** vimes656_ has quit IRC | 16:53 | |
| *** b52laptop has joined #zope3-dev | 16:54 | |
| *** J1m has joined #zope3-dev | 16:55 | |
| *** kursor has joined #zope3-dev | 17:00 | |
| *** jayaraj has quit IRC | 17:06 | |
| *** kursor has joined #zope3-dev | 17:16 | |
| *** pelle_ has quit IRC | 17:21 | |
| *** J1m has quit IRC | 17:28 | |
| *** goschtl has left #zope3-dev | 17:30 | |
| *** sorindregan has quit IRC | 17:34 | |
| *** J1m has joined #zope3-dev | 17:39 | |
| afd__ | what's needed for a located adapter to be available as obj/full.class.path.of.adapter/ ? | 17:44 |
| afd__ | I'm using a minimal layer and I think I'm missing something... | 17:44 |
| pyqwer | afd__: Hmmm, did you register it for the right layer? | 17:48 |
| pyqwer | Ah, no - adapters are not registered for layers, I think... | 17:48 |
| afd__ | yes :) | 17:49 |
| afd__ | and locate="True" doesn't do what I thought | 17:49 |
| afd__ | there is a ++adapter++ traverser, but it's not used in my case | 17:49 |
| pyqwer | So, what exactly are you trying to do? Add the adapter to a container and access it through that? | 17:49 |
| *** vimes656 has joined #zope3-dev | 17:50 | |
| pyqwer | Similar to e.g. a local error reporting utility? | 17:50 |
| afd__ | pyqwer: I want to be able to acces the adapter as container/mypackage.app.MyAdapter/@@index.html | 17:50 |
| *** vimes656 has quit IRC | 17:50 | |
| afd__ | where @@index.html is a page registered for the adapter object | 17:50 |
| afd__ | I know how to write the traverser to get it done | 17:51 |
| afd__ | but I was wondering if I'm missing something | 17:51 |
| pyqwer | Hmmm, sorry, I fear that's beyond my capabilities. Btw., why would you want to do that? | 17:52 |
| *** vimes656 has joined #zope3-dev | 17:52 | |
| afd__ | pyqwer: I'm using a library that has a message store on some containers. The urls generated by the library are like that | 17:52 |
| afd__ | I'm trying to write the front end for that | 17:53 |
| afd__ | but now that I've expressed the problem this way, I think I know what's going on | 17:53 |
| afd__ | the adapter might be "container proxied" | 17:53 |
| afd__ | I'll write the traverser and be done with it | 17:54 |
| pyqwer | that may well be! | 17:54 |
| pyqwer | You can test that via a "print type(myobj)" | 17:54 |
| pyqwer | And you can also register it with "trusted="Yes"" | 17:55 |
| afd__ | ok | 17:55 |
| pyqwer | But careful - then parts of the security are shut off. | 17:55 |
| afd__ | but the adapter it will still be proxied, as far as I know | 17:55 |
| afd__ | just it won't get a proxied context | 17:55 |
| afd__ | and the locate="True" will make it use security of the context | 17:56 |
| pyqwer | Ah 'trusted="True"'. You can see how such traversing adapters are registered in package z3c.layer.pagelet. | 17:56 |
| afd__ | as far as I understand | 17:56 |
| *** rmarianski has joined #zope3-dev | 17:56 | |
| pyqwer | Btw.: Do you have an answer to my i18n problem here: I have this construct: msg1 = _(u"bla"); msg = _(u"${msg1}" mapping={'msg1' : msg1}) | 17:58 |
| pyqwer | When zope translates this construct, the inner string (msg1) is not translated | 17:58 |
| afd__ | thinking | 17:59 |
| *** ccomb has quit IRC | 18:00 | |
| *** MJ has quit IRC | 18:01 | |
| afd__ | try with | 18:01 |
| afd__ | msg1= translate(_('bla'), context=request) | 18:03 |
| afd__ | and then your other part | 18:03 |
| *** ccomb has joined #zope3-dev | 18:03 | |
| * pyqwer trying... | 18:03 | |
| afd__ | I'm not sure about the contex=request part | 18:04 |
| *** b52laptop has quit IRC | 18:06 | |
| *** b52laptop has joined #zope3-dev | 18:07 | |
| *** ignas has quit IRC | 18:07 | |
| pyqwer | afd__: :-) Great, that worked: msg = _(u"${msg1}" mapping={'msg1' : translate(msg1, context=self.request)}) | 18:08 |
| afd__ | :) | 18:08 |
| pyqwer | Thanks! | 18:08 |
| afd__ | np | 18:08 |
| afd__ | maybe you should write this in the wiki.zope.org | 18:08 |
| afd__ | I usually write this sort of stuff in the Zope in Anger section | 18:08 |
| afd__ | although the faq might be just as good | 18:08 |
| *** ignas has joined #zope3-dev | 18:12 | |
| *** norro has quit IRC | 18:19 | |
| *** whit has joined #zope3-dev | 18:24 | |
| *** johbo has quit IRC | 18:30 | |
| *** norro has joined #zope3-dev | 18:33 | |
| *** afd__ has quit IRC | 18:34 | |
| *** sunew has quit IRC | 18:34 | |
| *** ignas has quit IRC | 18:37 | |
| *** alga has quit IRC | 18:38 | |
| *** jukart has quit IRC | 18:44 | |
| *** devicenull has left #zope3-dev | 18:49 | |
| *** nathany has joined #zope3-dev | 18:49 | |
| *** vimes656 has quit IRC | 18:55 | |
| *** romanofski has quit IRC | 18:59 | |
| *** b52laptop has quit IRC | 19:00 | |
| *** tflorac has quit IRC | 19:00 | |
| *** harobed has quit IRC | 19:03 | |
| *** whit has quit IRC | 19:07 | |
| *** mkerrin has quit IRC | 19:07 | |
| *** kobold has quit IRC | 19:07 | |
| *** Aiste has quit IRC | 19:07 | |
| *** whit has joined #zope3-dev | 19:08 | |
| *** mkerrin has joined #zope3-dev | 19:08 | |
| *** kobold has joined #zope3-dev | 19:08 | |
| *** Aiste has joined #zope3-dev | 19:08 | |
| *** benji has quit IRC | 19:12 | |
| *** febb has quit IRC | 19:12 | |
| *** tlotze has quit IRC | 19:12 | |
| *** vinsci has quit IRC | 19:12 | |
| *** benji has joined #zope3-dev | 19:14 | |
| *** goschtl has joined #zope3-dev | 19:15 | |
| *** alecm has joined #zope3-dev | 19:15 | |
| *** quodt has quit IRC | 19:16 | |
| *** febb has joined #zope3-dev | 19:17 | |
| *** vinsci has joined #zope3-dev | 19:17 | |
| *** benji has quit IRC | 19:18 | |
| *** nathany has quit IRC | 19:18 | |
| *** markusleist has quit IRC | 19:18 | |
| *** jodok__ has quit IRC | 19:18 | |
| *** dokai has quit IRC | 19:18 | |
| *** tlotze has joined #zope3-dev | 19:19 | |
| *** benji has joined #zope3-dev | 19:21 | |
| *** nathany has joined #zope3-dev | 19:22 | |
| *** markusleist has joined #zope3-dev | 19:22 | |
| *** jodok__ has joined #zope3-dev | 19:22 | |
| *** dokai has joined #zope3-dev | 19:22 | |
| *** dokai has quit IRC | 19:22 | |
| *** goschtl has quit IRC | 19:24 | |
| *** dokai has joined #zope3-dev | 19:26 | |
| *** jodok__ has quit IRC | 19:30 | |
| *** pbugni has joined #zope3-dev | 19:33 | |
| *** sm-zzz is now known as sm | 19:37 | |
| *** projekt01 has quit IRC | 19:37 | |
| *** malthe is now known as malthe|out | 19:37 | |
| *** andy-chen has joined #zope3-dev | 19:39 | |
| *** tflorac has joined #zope3-dev | 19:39 | |
| *** toutpt has quit IRC | 19:46 | |
| *** tflorac has quit IRC | 19:57 | |
| *** quodt has joined #zope3-dev | 20:02 | |
| *** aCiDBaSe has quit IRC | 20:02 | |
| *** kursor has quit IRC | 20:03 | |
| *** whit has quit IRC | 20:12 | |
| *** mkerrin has quit IRC | 20:15 | |
| *** quodt has quit IRC | 20:15 | |
| *** ss has joined #zope3-dev | 20:21 | |
| *** jodok has joined #zope3-dev | 20:28 | |
| *** ss has quit IRC | 20:30 | |
| *** maurits has quit IRC | 20:31 | |
| *** thruflo has quit IRC | 20:32 | |
| *** menesis has quit IRC | 20:34 | |
| *** jpcw2002 has quit IRC | 20:37 | |
| *** RaFromBRC has joined #zope3-dev | 20:40 | |
| *** edgordon has quit IRC | 20:50 | |
| *** srichter has joined #zope3-dev | 20:54 | |
| *** ChanServ sets mode: +o srichter | 20:55 | |
| *** dunny has joined #zope3-dev | 20:57 | |
| *** whit has joined #zope3-dev | 21:01 | |
| *** whit has quit IRC | 21:14 | |
| *** greenman has joined #zope3-dev | 21:18 | |
| *** agroszer_ has joined #zope3-dev | 21:18 | |
| *** agroszer_ has quit IRC | 21:22 | |
| *** agroszer has quit IRC | 21:37 | |
| *** mgedmin has quit IRC | 21:56 | |
| *** pyqwer has quit IRC | 21:58 | |
| *** rocky has quit IRC | 22:01 | |
| *** sunew has joined #zope3-dev | 22:09 | |
| *** greenman has quit IRC | 22:15 | |
| *** Theuni has quit IRC | 22:31 | |
| *** RaFromBRC is now known as RaFromBRC|errand | 22:39 | |
| *** strichter has joined #zope3-dev | 22:42 | |
| *** srichter has quit IRC | 22:53 | |
| *** whit has joined #zope3-dev | 22:58 | |
| *** whit has quit IRC | 22:59 | |
| *** whit has joined #zope3-dev | 22:59 | |
| *** d2m has quit IRC | 23:02 | |
| *** nathany has quit IRC | 23:10 | |
| *** jodok has quit IRC | 23:12 | |
| *** stub has quit IRC | 23:34 | |
| *** harobed has joined #zope3-dev | 23:35 | |
| *** _srichter has joined #zope3-dev | 23:45 | |
| *** Theuni has joined #zope3-dev | 23:49 | |
| *** vimes656 has joined #zope3-dev | 23:57 | |
| *** Theuni has quit IRC | 23:58 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!