*** rlo has quit IRC | 00:00 | |
*** b52laptop has joined #zope3-dev | 00:16 | |
*** meatballhat has left #zope3-dev | 00:17 | |
*** nerdalert has quit IRC | 00:26 | |
*** jfroche_ has quit IRC | 00:29 | |
*** sp0cksbeard has quit IRC | 00:30 | |
*** pelle_ has joined #zope3-dev | 00:31 | |
*** natea|away has joined #zope3-dev | 00:33 | |
*** pbugni has quit IRC | 00:37 | |
*** pbugni has joined #zope3-dev | 00:37 | |
*** lucielejard has joined #zope3-dev | 00:37 | |
*** timte has quit IRC | 00:41 | |
*** schwendinger has joined #zope3-dev | 00:45 | |
*** philiKON has joined #zope3-dev | 00:50 | |
*** alecm has joined #zope3-dev | 00:54 | |
*** pbugni has quit IRC | 00:56 | |
*** greenman has joined #zope3-dev | 00:56 | |
*** pbugni has joined #zope3-dev | 00:58 | |
*** grahal has quit IRC | 01:00 | |
*** philiKON_ has quit IRC | 01:06 | |
*** lucielejard has quit IRC | 01:11 | |
*** bigkevmcd has quit IRC | 01:13 | |
*** pelle_ has quit IRC | 01:24 | |
*** jodok has quit IRC | 01:34 | |
*** greenman has quit IRC | 01:47 | |
*** faassen has quit IRC | 02:02 | |
*** RaFromBRC has quit IRC | 02:07 | |
*** natea|away is now known as natea | 02:30 | |
*** jinty has quit IRC | 02:31 | |
*** J1m has quit IRC | 02:34 | |
*** hazmat has quit IRC | 02:53 | |
*** hazmat has joined #zope3-dev | 02:54 | |
*** ChanServ sets mode: +o hazmat | 02:54 | |
*** Jell-O-Fishi has quit IRC | 02:56 | |
*** greenman has joined #zope3-dev | 03:14 | |
*** benji has joined #zope3-dev | 03:51 | |
*** b52laptop has quit IRC | 03:51 | |
*** b52GM has joined #zope3-dev | 03:55 | |
*** b52Centos has quit IRC | 04:11 | |
*** lurker has quit IRC | 04:20 | |
*** hazmat has quit IRC | 04:31 | |
*** foxmjay has quit IRC | 04:38 | |
*** alga has quit IRC | 04:42 | |
*** greenman has quit IRC | 04:47 | |
*** natea|dinner has joined #zope3-dev | 04:57 | |
*** natea has quit IRC | 05:03 | |
*** niemeyer has quit IRC | 05:21 | |
*** alecm has quit IRC | 05:51 | |
*** hazmat has joined #zope3-dev | 06:04 | |
*** ChanServ sets mode: +o hazmat | 06:04 | |
*** stub has joined #zope3-dev | 06:12 | |
*** greenman has joined #zope3-dev | 06:12 | |
*** lisppaste6 has quit IRC | 06:59 | |
*** greenman has quit IRC | 07:02 | |
*** baijum has joined #zope3-dev | 07:05 | |
*** lisppaste6 has joined #zope3-dev | 07:10 | |
*** afd_ has joined #zope3-dev | 07:22 | |
*** natea|dinner has quit IRC | 08:10 | |
*** greenman has joined #zope3-dev | 08:14 | |
*** sorin has joined #zope3-dev | 08:15 | |
*** sorin is now known as sorindregan | 08:15 | |
*** d2m has joined #zope3-dev | 08:28 | |
*** zagy has joined #zope3-dev | 08:42 | |
*** schwendinger has quit IRC | 09:02 | |
*** ghendi has joined #zope3-dev | 09:02 | |
*** timte has joined #zope3-dev | 09:08 | |
*** febb has joined #zope3-dev | 09:08 | |
*** naro has joined #zope3-dev | 09:08 | |
*** schwendinger has joined #zope3-dev | 09:16 | |
*** schwendinger has quit IRC | 09:17 | |
*** stu1 has joined #zope3-dev | 09:17 | |
*** hazmat has quit IRC | 09:29 | |
*** jodok has joined #zope3-dev | 09:34 | |
*** alecm has joined #zope3-dev | 09:35 | |
*** stub has quit IRC | 09:36 | |
*** jodok has quit IRC | 09:43 | |
*** yvl has joined #zope3-dev | 09:43 | |
*** alecm has quit IRC | 09:43 | |
*** Aiste has quit IRC | 09:59 | |
*** greenman has quit IRC | 10:25 | |
*** greenman has joined #zope3-dev | 10:28 | |
*** greenman has quit IRC | 10:32 | |
*** Reecha has joined #zope3-dev | 10:32 | |
*** bigkevmcd has joined #zope3-dev | 10:48 | |
*** jfroche has joined #zope3-dev | 10:53 | |
*** Aswin_S has joined #zope3-dev | 10:55 | |
*** jodok has joined #zope3-dev | 10:55 | |
*** jodok_ has joined #zope3-dev | 11:05 | |
*** ChrisW has joined #zope3-dev | 11:08 | |
*** schwendinger has joined #zope3-dev | 11:13 | |
*** schwendinger_ has joined #zope3-dev | 11:14 | |
*** ka-jod has joined #zope3-dev | 11:15 | |
*** schwendinger_ has quit IRC | 11:17 | |
*** henri_ has joined #zope3-dev | 11:20 | |
*** jodok has quit IRC | 11:22 | |
*** jodok has joined #zope3-dev | 11:23 | |
*** lzdych has joined #zope3-dev | 11:26 | |
*** schwendinger has quit IRC | 11:32 | |
*** jinty has joined #zope3-dev | 11:36 | |
*** schwendinger has joined #zope3-dev | 11:37 | |
*** ChrisW has quit IRC | 11:38 | |
*** ChrisW_ has joined #zope3-dev | 11:38 | |
*** ChrisW has joined #zope3-dev | 11:38 | |
*** jodok_ has quit IRC | 11:40 | |
*** lurker has joined #zope3-dev | 11:43 | |
*** b52laptop has joined #zope3-dev | 11:52 | |
*** stu1 is now known as stub | 12:11 | |
*** pbugni has quit IRC | 12:14 | |
*** xenru has joined #zope3-dev | 12:14 | |
*** Reecha has quit IRC | 12:27 | |
*** jodok has quit IRC | 12:31 | |
*** mkerrin has joined #zope3-dev | 12:50 | |
*** Aswin_S has left #zope3-dev | 13:00 | |
*** projekt01 has joined #zope3-dev | 13:03 | |
*** ignas has joined #zope3-dev | 13:10 | |
*** jodok has joined #zope3-dev | 13:36 | |
*** schwendinger has quit IRC | 13:44 | |
*** J1m has joined #zope3-dev | 13:44 | |
*** dunny has quit IRC | 13:47 | |
*** jukart has quit IRC | 13:52 | |
*** jodok has quit IRC | 13:53 | |
*** benji has quit IRC | 14:20 | |
*** lurker is now known as lurker|bbl | 14:25 | |
*** alga has joined #zope3-dev | 14:26 | |
*** J1m has quit IRC | 14:31 | |
*** schwendinger has joined #zope3-dev | 14:37 | |
*** Jell-O-Fishi has joined #zope3-dev | 14:38 | |
*** niemeyer has joined #zope3-dev | 14:46 | |
*** tarek_ has joined #zope3-dev | 14:49 | |
*** rocky|away is now known as rocky | 14:55 | |
*** ChrisW has quit IRC | 14:55 | |
*** tarek has quit IRC | 15:03 | |
*** lurker|bbl has quit IRC | 15:10 | |
*** benji has joined #zope3-dev | 15:12 | |
*** dobee has joined #zope3-dev | 15:17 | |
benji | sure | 15:18 |
---|---|---|
benji | oops; wrong chan | 15:18 |
* baijum wonder now benji type in wrong channel since he only joined here | 15:20 | |
* baijum hmm..may be another irc network.. | 15:22 | |
benji | you discern correctly, grasshopper <wink> | 15:24 |
*** srichter has joined #zope3-dev | 15:27 | |
timte | is that some tech network? | 15:27 |
* baijum these days join SlashNET since Google started their SoC channel there | 15:31 | |
CrippsFX | him ... is it possible to use more than one constraint=<constraint> argument in a schema declaration? | 15:33 |
benji | timte: a private network | 15:33 |
*** ChanServ sets mode: +o srichter | 15:34 | |
CrippsFX | oh ... wait ... I can do that by defining a function, and using constraint=constraint_function | 15:35 |
CrippsFX | ...clever. | 15:35 |
CrippsFX | good morning srichter, how are you doing this beautiful friday? | 15:36 |
srichter | pretty good :-) | 15:38 |
CrippsFX | :) | 15:40 |
CrippsFX | me too ... my foot's finally feeling better. I sprained it last weekend ... I might hit some trails on my bike this weekend ... which is a long weekend for us Canadians ;) | 15:41 |
*** ChrisW has joined #zope3-dev | 15:45 | |
*** schwendinger has quit IRC | 15:49 | |
*** run|home has joined #zope3-dev | 15:49 | |
*** jukart has joined #zope3-dev | 15:50 | |
*** jukart has quit IRC | 15:53 | |
*** Aswin_S has joined #zope3-dev | 15:58 | |
*** henri_ has quit IRC | 15:59 | |
*** norro has joined #zope3-dev | 16:08 | |
*** Reecha has joined #zope3-dev | 16:12 | |
*** baijum has quit IRC | 16:13 | |
*** zagy has quit IRC | 16:17 | |
*** zagy has joined #zope3-dev | 16:18 | |
*** natea|away has joined #zope3-dev | 16:22 | |
*** natea|away is now known as natea | 16:23 | |
*** yvl has quit IRC | 16:25 | |
*** dobee has quit IRC | 16:33 | |
*** J1m has joined #zope3-dev | 16:33 | |
*** zagy has quit IRC | 16:34 | |
*** zagy has joined #zope3-dev | 16:34 | |
*** Aswin_S has quit IRC | 16:38 | |
*** Reecha has quit IRC | 16:41 | |
*** afd_ has quit IRC | 16:59 | |
*** rlo has joined #zope3-dev | 17:15 | |
*** rlo has quit IRC | 17:19 | |
*** febb has quit IRC | 17:29 | |
*** tarek has joined #zope3-dev | 17:33 | |
*** grahal has joined #zope3-dev | 17:35 | |
*** tarek has quit IRC | 17:35 | |
*** sorindregan has quit IRC | 17:36 | |
*** tarek has joined #zope3-dev | 17:37 | |
*** schwendinger has joined #zope3-dev | 17:37 | |
*** ghendi has quit IRC | 17:39 | |
*** tarek__ has joined #zope3-dev | 17:44 | |
*** RedDevils has joined #zope3-dev | 17:44 | |
*** salfield has joined #zope3-dev | 17:45 | |
*** tarek_ has quit IRC | 17:49 | |
*** tarek has quit IRC | 17:51 | |
*** mgedmin has joined #zope3-dev | 17:55 | |
*** Jell-O-Squidy has joined #zope3-dev | 18:05 | |
*** lzdych has quit IRC | 18:05 | |
*** jbb666 has joined #zope3-dev | 18:06 | |
*** timte has quit IRC | 18:06 | |
*** b52laptop has quit IRC | 18:10 | |
*** b52laptop has joined #zope3-dev | 18:12 | |
*** henri_ has joined #zope3-dev | 18:13 | |
*** jodok has joined #zope3-dev | 18:15 | |
*** reco has joined #zope3-dev | 18:16 | |
*** ka-jod has quit IRC | 18:21 | |
*** norro has quit IRC | 18:32 | |
*** Jell-O-Squidy has quit IRC | 18:34 | |
*** schwendinger has quit IRC | 18:36 | |
*** lurker has joined #zope3-dev | 18:37 | |
*** rocky is now known as rocky|away | 18:39 | |
*** meatballhat has joined #zope3-dev | 18:42 | |
*** jukart has joined #zope3-dev | 18:43 | |
*** meatballhat has quit IRC | 18:44 | |
*** meatballhat has joined #zope3-dev | 18:44 | |
*** RaFromBRC has joined #zope3-dev | 18:47 | |
*** dobee has joined #zope3-dev | 18:51 | |
d2m | who do i ask about caching policy at zope.org services ? i get different results (news listing, rss feed) when logged in and when not | 18:52 |
*** ChrisW has left #zope3-dev | 18:52 | |
d2m | could be its a squid misconfiguration for anonymous users | 18:52 |
*** henri_ has quit IRC | 18:52 | |
*** Jell-O-Fishi has quit IRC | 18:52 | |
*** cbcunc has quit IRC | 18:53 | |
*** jukart has quit IRC | 18:53 | |
*** zagy has quit IRC | 18:57 | |
J1m | d2m, that is intentional. | 19:03 |
J1m | logged in should not be cached. | 19:03 |
J1m | anonymous is cached. | 19:04 |
d2m | J1m: i am forced to add a querystring to the URL to get the page returned updated | 19:04 |
J1m | I'm not sure what you are saying. | 19:05 |
J1m | Are you saying that you are getting cached pages when you are logged in? | 19:05 |
d2m | like http://www.zope.org/news.rss is different (old data) from http://www.zope.org/news.rss?param=xyz (current data) | 19:05 |
J1m | Is this anonymous or logged in? | 19:05 |
d2m | works for logged in only | 19:06 |
J1m | Do you understand what caching is? ;) | 19:06 |
d2m | come on, the data is plain old | 19:07 |
J1m | How old? | 19:07 |
d2m | there is 2 month old, last news item is from March 28 | 19:07 |
J1m | OK, that's helpful information. | 19:08 |
d2m | recent news is from May 15 | 19:08 |
J1m | So the issue isn't the difference between logged in or anon. The issue is that we are caching too long. | 19:08 |
J1m | I'll look into that. | 19:09 |
*** projekt01 has quit IRC | 19:09 | |
d2m | Thanks | 19:09 |
*** b52Centos has joined #zope3-dev | 19:09 | |
*** b52lap has joined #zope3-dev | 19:10 | |
*** rocky|away is now known as rocky | 19:16 | |
*** b52GM has quit IRC | 19:25 | |
*** b52laptop has quit IRC | 19:25 | |
*** tarek__ has quit IRC | 19:27 | |
*** dobee has quit IRC | 19:28 | |
*** harobed_ has joined #zope3-dev | 19:33 | |
*** WebMaven has quit IRC | 19:37 | |
*** hazmat has joined #zope3-dev | 19:37 | |
*** ChanServ sets mode: +o hazmat | 19:37 | |
*** zagy has joined #zope3-dev | 19:38 | |
*** alecm has joined #zope3-dev | 19:38 | |
*** jukart has joined #zope3-dev | 19:42 | |
*** pbugni has joined #zope3-dev | 19:44 | |
*** ignas has quit IRC | 19:50 | |
*** sp0cksbeard has joined #zope3-dev | 19:57 | |
*** reco_ has joined #zope3-dev | 20:06 | |
*** reco has quit IRC | 20:06 | |
*** harobed_ has quit IRC | 20:12 | |
*** deo has joined #zope3-dev | 20:35 | |
*** lurker_ has joined #zope3-dev | 20:47 | |
*** lurker has quit IRC | 20:54 | |
*** RaFromBRC is now known as missmoun_ | 21:00 | |
*** schwendinger has joined #zope3-dev | 21:00 | |
*** missmoun_ is now known as RaFromBRC | 21:00 | |
*** mkerrin has quit IRC | 21:02 | |
*** bigkevmcd has quit IRC | 21:22 | |
*** jukart has quit IRC | 21:28 | |
*** schwendinger_ has joined #zope3-dev | 21:30 | |
*** dennis_ has joined #zope3-dev | 21:31 | |
dennis_ | hi! i was referred here from #zope with the following question: does anyone know what condition I can use in a page template (zope 3) to determine if the current user has a given permission? (use case: showing some content, if the user has editing permissions I show an edit link, otherwise not, without having to have 2 nearly identical page templates) | 21:32 |
mgedmin | you cannot do it in the page template directly | 21:41 |
mgedmin | but in view code | 21:41 |
mgedmin | you can use either hasPermission('zope.PermissionName', some_context_object) or (perhaps better) canAccess(some_content_object, 'attribute')/canWrite(some_content_object, 'attribute') | 21:42 |
mgedmin | canAccess/canWrite are in zope.security | 21:42 |
mgedmin | hasPermission is in the same place, only it's actually named checkPermission, not hasPermission | 21:43 |
*** P_Parker has joined #Zope3-dev | 21:44 | |
*** Jell-O-Fishi has joined #zope3-dev | 21:44 | |
*** RedDevils has joined #zope3-dev | 21:44 | |
*** schwendinger has quit IRC | 21:47 | |
*** RedDevils has quit IRC | 21:56 | |
*** P_Parker has left #Zope3-dev | 21:56 | |
*** dobee has joined #zope3-dev | 21:58 | |
*** timte has joined #zope3-dev | 21:59 | |
*** tim__ has joined #zope3-dev | 21:59 | |
dennis_ | mgedmin: hey that works nicely, defined an canEdit method in the view, returning True/False, then that's used to add admin elements to the page. Thanks! | 22:03 |
dennis_ | (using canWrite) | 22:03 |
*** timte has quit IRC | 22:15 | |
*** tim__ has quit IRC | 22:15 | |
*** timte has joined #zope3-dev | 22:15 | |
*** jodok has quit IRC | 22:40 | |
*** alga_ has joined #zope3-dev | 22:43 | |
*** harobed_ has joined #zope3-dev | 22:49 | |
*** jodok has joined #zope3-dev | 22:49 | |
*** salfield_ has joined #zope3-dev | 22:52 | |
*** alga has quit IRC | 22:58 | |
*** whit has quit IRC | 22:59 | |
*** salfield has quit IRC | 23:02 | |
*** reco_ has quit IRC | 23:03 | |
*** reco has joined #zope3-dev | 23:03 | |
*** d2m has left #zope3-dev | 23:13 | |
*** avoine has joined #zope3-dev | 23:14 | |
*** whit has joined #zope3-dev | 23:15 | |
*** jbb666 has quit IRC | 23:19 | |
*** alga has joined #zope3-dev | 23:27 | |
*** dunny has joined #zope3-dev | 23:32 | |
*** reco_ has joined #zope3-dev | 23:34 | |
*** reco has quit IRC | 23:42 | |
*** alga_ has quit IRC | 23:42 | |
*** meatballhat has left #zope3-dev | 23:44 | |
*** naro has quit IRC | 23:46 | |
*** grahal has quit IRC | 23:46 | |
*** whit has quit IRC | 23:47 | |
*** mgedmin has quit IRC | 23:47 | |
*** rocky is now known as rocky|away | 23:58 | |
*** WebMaven has joined #zope3-dev | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!