IRC log of #zope3-dev for Tuesday, 2009-09-08

*** lisppaste6 has quit IRC00:03
*** jpcw has quit IRC00:03
*** hath|away has quit IRC00:03
*** chaoflow has quit IRC00:03
*** J1m has quit IRC00:04
*** lisppaste6 has joined #zope3-dev00:04
*** jpcw has joined #zope3-dev00:04
*** hath|away has joined #zope3-dev00:04
*** chaoflow has joined #zope3-dev00:04
*** sunoano has quit IRC00:04
*** sunoano has joined #zope3-dev00:06
*** hath|away is now known as hathawsh00:11
*** romanofski has joined #zope3-dev00:26
*** dunny has joined #zope3-dev00:29
*** pcardune has joined #zope3-dev00:30
*** jpcw has quit IRC00:31
*** alecm has quit IRC00:37
*** matthal has joined #zope3-dev00:47
*** alecm has joined #zope3-dev00:54
*** dbfrombrc has joined #zope3-dev00:59
*** nyo1 has joined #zope3-dev01:24
*** nyo has quit IRC01:27
*** alecm has quit IRC01:38
*** J1m has joined #zope3-dev02:12
*** nyo1 has quit IRC02:13
*** J1m has quit IRC02:22
*** srichter has joined #zope3-dev02:33
*** ChanServ sets mode: +o srichter02:33
*** matthal has quit IRC02:37
*** hathawsh is now known as hath|away02:49
*** sunoano has quit IRC03:38
*** sunoano has joined #zope3-dev03:39
*** ignas has quit IRC04:04
*** hath|away is now known as hathawsh04:20
*** ignas has joined #zope3-dev04:35
*** matthal has joined #zope3-dev04:39
*** hathawsh is now known as hath|away05:07
*** hath|away is now known as hathawsh05:08
*** dbfrombrc has quit IRC05:08
*** mgedmin has quit IRC05:20
*** ignas has quit IRC05:45
*** jhauser_ has joined #zope3-dev05:46
*** hathawsh is now known as hath|away05:47
*** hath|away is now known as hathawsh05:53
*** dunny has quit IRC05:54
*** dunny has joined #zope3-dev05:55
*** jhauser has quit IRC06:03
*** jhauser_ is now known as jhauser06:03
*** davisagli has joined #zope3-dev06:17
*** kursor has joined #zope3-dev06:36
*** allisterb_ has joined #zope3-dev06:38
*** allisterb has quit IRC06:45
*** redir has quit IRC06:58
*** pcardune has quit IRC07:05
*** fcorrea has joined #zope3-dev07:14
*** kursor has left #zope3-dev07:22
*** pcardune has joined #zope3-dev07:48
*** redir has joined #zope3-dev07:52
*** sunoano has quit IRC07:59
*** sunoano has joined #zope3-dev08:06
*** pcardune has quit IRC08:10
*** kobold has quit IRC08:11
*** BjornT_ has joined #zope3-dev08:15
*** kobold has joined #zope3-dev08:16
*** BjornT has quit IRC08:21
*** jukart_ has joined #zope3-dev08:33
*** baijum has joined #zope3-dev08:35
*** pcardune has joined #zope3-dev08:40
*** romanofski has quit IRC08:49
*** agroszer has joined #zope3-dev09:03
*** JaRoel|4D has joined #zope3-dev09:23
*** redir has quit IRC09:35
*** sweh has joined #zope3-dev09:36
*** davisagli_ has joined #zope3-dev09:37
*** JaRoel|4D has quit IRC09:38
*** pcardune has quit IRC09:56
*** El_Rolando has joined #zope3-dev10:22
*** BjornT_ is now known as BjornT10:25
*** kaeru_ has joined #zope3-dev10:25
*** goschtl has joined #zope3-dev10:37
*** kaeru has quit IRC10:49
*** davisagli_ has quit IRC10:52
*** harobed has joined #zope3-dev11:03
*** MJ has joined #zope3-dev11:09
*** DrogoNevets has joined #zope3-dev11:17
*** J1m has joined #zope3-dev11:20
*** troter has joined #zope3-dev11:22
*** JaRoel|4D has joined #zope3-dev11:25
*** JaRoel|4D has quit IRC11:29
*** sweh has quit IRC11:36
*** projekt01 has joined #zope3-dev11:39
*** junkafarian has joined #zope3-dev11:49
*** sweh has joined #zope3-dev11:57
*** Theuni1 has joined #zope3-dev12:00
*** hathawsh is now known as hath|away12:02
DrogoNevetsI have given a browser:page a menu and title, I want to use the title outside of the menu (as well as within it) how can I do this?12:03
*** hath|away is now known as hathawsh12:04
*** Theuni1 has left #zope3-dev12:08
*** troter has quit IRC12:21
*** tisto has joined #zope3-dev12:23
*** matthal has quit IRC12:24
*** jpcw has joined #zope3-dev12:30
*** reinout has joined #zope3-dev12:31
*** romanofski has joined #zope3-dev12:43
*** romanofs1i has joined #zope3-dev12:46
*** alga has joined #zope3-dev12:47
*** menesis has joined #zope3-dev12:47
*** romanofski has quit IRC12:48
*** menesis has quit IRC12:59
*** menesis has joined #zope3-dev12:59
*** romanofs1i is now known as romanofski13:01
*** hathawsh is now known as hath|away13:04
*** Theuni1 has joined #zope3-dev13:04
*** hath|away is now known as hathawsh13:07
*** hathawsh is now known as hath|away13:17
*** ignas has joined #zope3-dev13:18
*** hath|away is now known as hathawsh13:21
*** JaRoel|4D has joined #zope3-dev13:24
*** ignas has quit IRC13:26
*** ignas has joined #zope3-dev13:27
*** hathawsh is now known as hath|away13:34
*** kaeru_ is now known as kaeru13:40
*** malthe has joined #zope3-dev13:44
*** mcdonc has quit IRC13:46
*** mcdonc has joined #zope3-dev13:46
*** J1m has quit IRC13:51
*** mintsauce has joined #zope3-dev13:56
*** JaRoel|4D has quit IRC13:56
*** pyqwer has joined #zope3-dev14:04
*** Theuni1 has quit IRC14:08
*** zagy has quit IRC14:21
*** mintsauce has quit IRC14:23
*** baijum has quit IRC14:28
*** baijum has joined #zope3-dev14:29
*** jfkw has joined #zope3-dev14:30
*** tisto has quit IRC14:33
*** fcorrea has quit IRC14:37
*** jhauser has quit IRC14:39
*** tisto has joined #zope3-dev14:51
*** benji has joined #zope3-dev14:55
*** Theuni1 has joined #zope3-dev15:05
*** povbot has joined #zope3-dev15:17
*** redir has joined #zope3-dev15:17
*** baijum has quit IRC15:17
*** jpcw has quit IRC15:20
*** Theuni1 has left #zope3-dev15:25
*** jhauser has joined #zope3-dev15:32
*** fcorrea has joined #zope3-dev15:38
*** romanofski has quit IRC15:46
*** J1m has joined #zope3-dev15:52
*** baijum has joined #zope3-dev15:55
*** lurkymclurkleton has joined #zope3-dev16:02
*** mcdonc_ has joined #zope3-dev16:03
*** sunoano has quit IRC16:04
*** nyo has joined #zope3-dev16:06
*** sunoano has joined #zope3-dev16:08
*** Drogo has joined #zope3-dev16:11
*** baijum has quit IRC16:12
*** DrogoNevets has quit IRC16:12
*** mcdonc has quit IRC16:15
*** mcdonc_ is now known as mcdonc16:15
*** Drogo has quit IRC16:17
*** gary_poster has joined #zope3-dev16:18
*** jamur2 has joined #zope3-dev16:20
*** redir has quit IRC16:25
*** malthe_ has joined #zope3-dev16:25
*** edgordon has quit IRC16:28
*** MJ has quit IRC16:32
*** Theuni1 has joined #zope3-dev16:33
*** aaronv has joined #zope3-dev16:36
*** redir has joined #zope3-dev16:40
*** malthe has quit IRC16:41
*** malthe_ is now known as malthe16:43
*** mgedmin has joined #zope3-dev16:46
*** malthe has quit IRC16:50
*** kaeru has quit IRC16:51
*** malthe has joined #zope3-dev16:52
*** nyo has quit IRC16:53
*** Theuni1 has quit IRC16:58
*** drudi has joined #zope3-dev17:03
*** dunny has quit IRC17:04
*** kaeru has joined #zope3-dev17:05
*** davisagli_ has joined #zope3-dev17:08
*** shentonfreude has joined #zope3-dev17:09
*** kaeru has quit IRC17:10
*** redir has quit IRC17:14
*** yotaff has joined #zope3-dev17:16
*** mintsauce has joined #zope3-dev17:16
*** edgordon has joined #zope3-dev17:24
*** hazmat has joined #zope3-dev17:25
*** ChanServ sets mode: +o hazmat17:25
*** davisagli_ has quit IRC17:26
*** reinout has quit IRC17:29
*** sweh has quit IRC17:31
*** redir has joined #zope3-dev17:58
*** jpcw has joined #zope3-dev18:00
*** kursor has joined #zope3-dev18:02
*** jukart_ has quit IRC18:04
*** El_Rolando has quit IRC18:13
*** davisagli has quit IRC18:19
*** davisagli has joined #zope3-dev18:20
*** projekt01 has quit IRC18:21
*** davisagli has quit IRC18:24
*** PsychoAcqua has quit IRC18:25
*** fcorrea has quit IRC18:37
*** Count-Duckula has joined #zope3-dev18:40
*** davisagli has joined #zope3-dev18:40
*** alecm has joined #zope3-dev18:40
*** nyo has joined #zope3-dev18:44
*** pcardune has joined #zope3-dev18:47
Count-DuckulaIf I have a class with 2 interfaces, one being a limited set of the other.  How do I set different write permission on the content object if accessed through the different interfaces?  I.e. Person class needs permission="ManageContent" to set_schema="IPerson".  But the person is allowed to change their phone number.  set_schema="IPersonPhoneNumber" permission="OtherPermission".  I'm getting a DuplicateConfiguration error18:48
mgedminapparently the two interfaces intersect18:53
*** zagy has joined #zope3-dev18:53
*** danfairs has joined #zope3-dev18:53
*** danfairs has quit IRC18:54
*** mcdonc has quit IRC18:55
*** mcdonc has joined #zope3-dev18:58
*** sawdog has joined #zope3-dev19:01
*** zagy_ has joined #zope3-dev19:08
*** hath|away is now known as hathawsh19:10
*** edgordon has quit IRC19:25
*** zagy has quit IRC19:31
*** zagy_ is now known as zagy19:31
*** goschtl has left #zope3-dev19:36
*** junkafarian has quit IRC19:36
*** zagy has quit IRC19:42
*** zagy_ has joined #zope3-dev19:42
*** zagy_ is now known as zagy19:42
gary_posterCount-Duckula: one option is to use attribute names instead of entire schemas in your zcml.  another option is to have two sub interfaces, which do not intersect and are divided along the lines of the restrictive/permissive division you describe. Combine those into IPerson, and then have your security configuration use the sub interfaces for the security declarations.19:49
Count-Duckulagary_poster: Thanks, will have a think of the best solutin19:58
*** Count-Duckula has quit IRC20:00
*** zagy has quit IRC20:01
*** fcorrea has joined #zope3-dev20:03
*** alga has quit IRC20:05
*** harobed has quit IRC20:07
*** pcardune has quit IRC20:07
*** allisterb_ has quit IRC20:12
*** pcardune has joined #zope3-dev20:13
*** ignas has quit IRC20:15
*** menesis has quit IRC20:22
*** jukart has joined #zope3-dev20:26
*** mcdonc has quit IRC20:35
*** agroszer has quit IRC20:36
*** agroszer has joined #zope3-dev20:37
*** jukart has quit IRC20:37
*** mgedmin has quit IRC20:43
*** edgordon has joined #zope3-dev20:45
*** mcdonc has joined #zope3-dev20:47
*** mintsauce has joined #zope3-dev20:51
mintsauceHow would i change this: <link rel="stylesheet" type="text/css" href="html.css" tal:attributes="href context/++resource++files/stylesheets/html.css" /> to add a random string at the end to stop caching?20:53
hazmatmintsauce, you could expose a random string generating function to a view, and use the string: tal syntax to join the resource url and the random string function output20:56
hazmatalternatively subclassing the resource def, to output no cache headers, or using a wsgi middleware to do it20:57
*** mcdonc has quit IRC20:57
*** mcdonc has joined #zope3-dev20:57
*** jfkw has quit IRC20:58
mintsauceWondering if <meta http-equiv="expires" content="0"> might be easier ...21:00
mintsaucesubclassing the resource def, to output no cache headers - sounds interesting, but im not sure I'd know where to start...21:01
*** lurkymclurkleton has quit IRC21:02
*** agroszer_ has joined #zope3-dev21:02
*** agroszer has quit IRC21:03
hazmatthe subclass resource, is probably the most involved/work of those solutions21:04
*** kursor has quit IRC21:11
mintsauceThanks for advice :)21:12
*** mintsauce has quit IRC21:13
*** kursor has joined #zope3-dev21:14
*** jpcw has quit IRC21:16
*** sunew has joined #zope3-dev21:18
*** gary_poster is now known as gary-away21:22
*** malthe has quit IRC21:26
*** lurkymclurkleton has joined #zope3-dev21:27
*** kursor has quit IRC21:29
*** redir has quit IRC21:30
*** hathawsh is now known as hath|away21:38
*** pcardune has quit IRC21:54
*** matthal has joined #zope3-dev21:54
*** dbfrombrc has joined #zope3-dev22:01
*** tisto has quit IRC22:02
*** lurkymclurklet-1 has joined #zope3-dev22:05
*** lurkymclurkleton has quit IRC22:07
*** JaRoel|4D has joined #zope3-dev22:11
*** alecm has quit IRC22:21
*** sunew has quit IRC22:26
*** gary-away is now known as gary_poster22:27
*** markusleist has joined #zope3-dev22:39
*** gary_poster_ has joined #zope3-dev22:42
*** alecm has joined #zope3-dev22:47
*** hath|away is now known as hathawsh22:47
*** mcdonc_ has joined #zope3-dev22:48
*** agroszer_ has quit IRC22:48
*** dbfrombrc has quit IRC22:48
*** gary_poster_ has quit IRC23:00
*** gary_poster__ has joined #zope3-dev23:00
*** mintsauce has joined #zope3-dev23:05
mintsauceI'm hacking about trying to create my own url shortener for items in my zodb. Is it possible to access OOBTree objects via their hash values?23:06
*** allisterb has joined #zope3-dev23:07
mcdoncnot that i know of23:07
mintsauceAlso, when i poke about with objects in pdb, what is the string mentioned at the end. e.g.  "object at 0x2bb62b0"23:07
mcdoncthe memory location23:08
mintsaucecan't err, get to it via that then?23:08
mintsauce(why is is always shown, out of interest)23:08
*** alga has joined #zope3-dev23:08
mcdoncits a python thing23:09
mcdonc>>> class Foo:23:09
mcdonc...     pass23:09
mcdonc...23:09
mcdonc>>> Foo23:10
mcdonc<class __main__.Foo at 0x1b18a0>23:10
mintsauceLooks like the only way is to create my own integer id for each record (and then base64 that)23:10
*** ignas has joined #zope3-dev23:10
mcdoncthis might be helpful23:11
mcdonchttp://svn.repoze.org/playground/redir/repoze.tattoo/trunk/repoze/tattoo/codec.py23:11
mcdoncor not23:11
mcdonci dunno23:11
mcdoncthat package is a url shortener ftr23:12
mintsauceYeah there's a few around: http://code.google.com/p/urly/23:14
mintsauceI've gone with an adaptation of the one mentioned in the accepted answer here: http://stackoverflow.com/questions/561486/how-to-convert-an-integer-to-the-shortest-url-safe-string-in-python23:15
*** ignas has quit IRC23:23
*** cbcunc has joined #zope3-dev23:27
*** pyqwer has quit IRC23:30
*** pcardune has joined #zope3-dev23:30
*** jpcw has joined #zope3-dev23:31
*** mintsauce has quit IRC23:35
*** dunny has joined #zope3-dev23:40
*** nyo has quit IRC23:43
*** jpcw has quit IRC23:51

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!