IRC log of #zope for Friday, 2010-03-19

*** hax404 has quit IRC00:07
*** hever has quit IRC00:10
*** tarek has joined #zope00:26
*** spamsch has quit IRC00:30
*** dayne has quit IRC00:32
*** BGaddie has quit IRC00:32
*** f10w has quit IRC00:32
*** itchi has quit IRC00:32
*** dayne has joined #zope00:36
*** BGaddie has joined #zope00:36
*** f10w has joined #zope00:36
*** itchi has joined #zope00:36
*** pthulin has quit IRC00:39
*** davisagli has joined #zope00:41
*** dayne has quit IRC00:46
*** BGaddie has quit IRC00:46
*** f10w has quit IRC00:46
*** itchi has quit IRC00:46
*** davisagli has quit IRC00:48
*** dayne has joined #zope00:50
*** BGaddie has joined #zope00:50
*** f10w has joined #zope00:50
*** itchi has joined #zope00:50
*** tarek has quit IRC00:53
*** RaFromBRC has quit IRC00:53
*** tarek has joined #zope00:54
*** dayne has quit IRC00:56
*** BGaddie has quit IRC00:56
*** f10w has quit IRC00:56
*** itchi has quit IRC00:56
*** RaFromBRC has joined #zope00:59
*** dayne has joined #zope00:59
*** BGaddie has joined #zope00:59
*** f10w has joined #zope00:59
*** itchi has joined #zope00:59
*** davisagli has joined #zope01:02
*** kittonian_ has joined #zope01:10
*** tarek has quit IRC01:11
*** milosn_ has joined #zope01:12
*** milosn has quit IRC01:14
*** kittonian has quit IRC01:14
*** mcdonc has joined #zope01:19
*** thetet has joined #zope01:23
*** kittonian__ has joined #zope01:23
*** davisagli has quit IRC01:23
*** kittonian_ has quit IRC01:27
*** River_Rat has quit IRC01:27
*** jfroche has quit IRC01:27
*** jfroche has joined #zope01:27
*** River_Rat has joined #zope01:28
*** TomBlockley has quit IRC01:30
*** kittonian__ is now known as kittonian01:34
*** BugeyeD has quit IRC01:37
*** BugeyeD has joined #zope01:38
*** dayne has quit IRC01:42
*** digilord has left #zope02:14
*** thetet has quit IRC02:14
*** jham has quit IRC02:15
*** kevinkal has joined #zope02:19
*** smita has joined #zope02:32
*** jham has joined #zope02:36
*** daMaestro has quit IRC03:26
*** allisterb_ has joined #zope03:27
*** allisterb has quit IRC03:28
*** aaronv has quit IRC03:28
*** mcdonc has quit IRC03:28
*** mcdonc has joined #zope03:36
*** tiwula has quit IRC03:38
*** daMaestro has joined #zope03:38
*** tiwula has joined #zope03:50
*** benji has joined #zope04:04
*** mr_jolly has quit IRC04:14
*** RaFromBRC has quit IRC04:16
*** tarek has joined #zope04:33
*** benji has quit IRC04:43
*** dayne has joined #zope05:09
*** dayne has quit IRC05:39
*** axelix has joined #zope05:43
*** bhagat has joined #zope06:23
*** Skywise has left #zope06:39
*** tarek has quit IRC06:39
*** factor has quit IRC06:46
*** factor has joined #zope06:50
*** opsec has quit IRC06:59
*** daMaestro has quit IRC07:03
*** opsec has joined #zope07:12
*** tiwula has quit IRC07:35
*** hexsprite has quit IRC07:59
*** spamsch has joined #zope08:02
*** sashav has quit IRC08:24
*** timte has joined #zope08:40
*** goschtl has joined #zope08:54
*** sashav has joined #zope09:01
*** redir has quit IRC09:16
*** planetzopebot has quit IRC09:33
*** planetzopebot has joined #zope09:34
*** Hypergraphe has quit IRC09:40
*** phimic has joined #zope09:58
*** pthulin has joined #zope09:59
*** TomBlockley has joined #zope10:22
*** tisto has joined #zope10:23
*** axelix has quit IRC10:25
*** spamsch has quit IRC10:27
*** TomBlockley has quit IRC10:34
*** milosn_ is now known as milosn10:38
*** digitalmortician has joined #zope10:41
*** hever has joined #zope10:43
*** mr_jolly has joined #zope10:46
*** Arfrever has joined #zope11:06
*** ccomb has joined #zope11:13
*** newbery has quit IRC11:15
*** evilbungle has joined #zope11:16
*** JaRoel|4D has joined #zope11:17
*** Kabz|4D has joined #zope11:17
*** newbery has joined #zope11:20
*** Kabz|4D_ has joined #zope11:21
*** Kabz|4D has quit IRC11:23
*** neo|4D has joined #zope11:27
*** digitalmortician has quit IRC11:31
*** MJ has joined #zope11:31
*** seppo14 has joined #zope11:41
*** TomBlockley has joined #zope11:45
*** TomBlockley has quit IRC11:45
*** TomBlockley has joined #zope11:45
*** MatthewWilkes has joined #zope11:45
*** MJ is now known as MJ|1011:45
*** skt has joined #zope11:49
*** spamsch has joined #zope12:00
*** smita has quit IRC12:02
*** smita has joined #zope12:05
*** smita has quit IRC12:16
*** smita has joined #zope12:17
*** mgedmin has joined #zope12:30
*** jdenney has joined #zope12:39
*** goschtl has quit IRC12:52
*** digitalmortician has joined #zope13:08
*** mcdonc_ has joined #zope13:20
*** dayne has joined #zope13:20
*** mcdonc has quit IRC13:23
*** mcdonc_ is now known as mcdonc13:23
*** pingviin2 has joined #zope13:24
*** do3cc_ has joined #zope13:25
*** rnix_ has joined #zope13:25
*** TomBlockley_ has joined #zope13:28
*** zenwryly` has joined #zope13:28
*** TomBlockley has quit IRC13:29
*** pingviini has quit IRC13:29
*** zenwryly has quit IRC13:29
*** do3cc has quit IRC13:29
*** rnix has quit IRC13:29
*** TomBlockley_ is now known as TomBlockley13:29
*** redir has joined #zope13:45
*** digitalmortician has quit IRC13:47
*** aaronv has joined #zope13:49
*** dayne has quit IRC13:49
*** emrojo has joined #zope13:59
*** bhagat has quit IRC14:00
*** digitalmortician has joined #zope14:02
*** aaronv has quit IRC14:02
*** _bluetouff has joined #zope14:06
*** agroszer has joined #zope14:08
*** teix has joined #zope14:18
*** huajie has joined #zope14:33
*** aaronv has joined #zope14:39
*** Kabz|4D_ is now known as Kabz|4D14:40
*** kevinkal has quit IRC14:48
*** tisto has quit IRC14:50
*** aaronv has quit IRC14:59
*** _bluetouff has quit IRC15:00
*** _bluetouff has joined #zope15:05
*** kevinkal has joined #zope15:14
*** benji has joined #zope15:16
*** emrojo has quit IRC15:18
*** neo|4D has quit IRC15:21
*** neo|4D has joined #zope15:21
*** jwhisnant has joined #zope15:34
*** skt has quit IRC15:37
*** jim_SFU has joined #zope15:49
*** jim_SFU has quit IRC15:49
*** jim_SFU has joined #zope15:50
*** kevinkal is now known as kevinkal|busy15:58
*** sim_sim has joined #zope15:59
*** sunew has joined #zope16:02
*** TomBlockley has quit IRC16:02
*** MatthewWilkes has quit IRC16:10
sim_simhi all. I was wondering, in zc.tesetup, i can not figure out the difference between markeers :zcml-layer: and :functional-zcml-layer:. Thanks a lot16:12
*** MatthewWilkes has joined #zope16:12
*** red_ has joined #zope16:13
sim_simBy the way, my main problem is that, some unit test and functionnal test, are not properly identified as functionnal or unit one. Eg : i use layer in unittest and it seems z3c.testsetup flags them as functionnal, but they are not. Can not use the -f and -u flag properly16:14
mgedminzope.testing considers all tests using a layer to be "functional" tests16:15
mgedminiirc16:16
mgedminor maybe it knows about layers inheriting from the default UnitTestLayer, however it's actually called?16:16
mgedminI don't remember16:16
sim_simmgedmin, is there a way this behaviour can be changed ?16:16
sim_simeasily16:16
mgedminwell, first make sure I have described it accurately16:16
sim_sim:]16:16
mgedminthen send a patch for zope.testing ;)16:17
sim_simlol k16:17
sim_simdamn16:17
*** dunny has quit IRC16:23
sim_simmgedmin, do you know where this behavior could be specifically described ?16:23
mgedminthe behaviour of bin/test -u?  in zope.testing.testrunner somewhere16:23
sim_simright16:24
sim_simI do not still have the reflex to crawl the code source16:24
mgedminfound it16:24
mgedminjust a sec16:24
mgedminsim_sim, http://zope3.pov.lt/trac/browser/zope.testing/trunk/src/zope/testing/testrunner/options.py#L61516:26
sim_simmgedmin, thanks a lot, going to have a look at that16:26
mgedminthere's also some kind of logic in http://zope3.pov.lt/trac/browser/zope.testing/trunk/src/zope/testing/testrunner/filter.py#L3016:27
sim_simbtw, should not it be in z3c.testsetup than zope.testing ?16:27
mgedminand see this bug: https://bugs.launchpad.net/zope.testing/+bug/40208616:27
mgedminI don't know what z3c.testsetup does16:27
sim_simratjer than *16:27
mgedminI've never used it16:27
*** digitalmortician has quit IRC16:28
sim_simhttp://pypi.python.org/pypi/z3c.testsetup#available-markers-for-configuring-the-tests16:28
sim_simthat was is used in my code16:28
sim_simwhat *16:28
*** aaronv has joined #zope16:30
*** aaronv has quit IRC16:36
*** neo|4D_ has joined #zope16:36
*** neo|4D has quit IRC16:37
*** neo|4D_ is now known as neo|4D16:37
*** red_ has left #zope16:38
*** tarek has joined #zope16:41
*** sashav has quit IRC16:50
*** TomBlockley has joined #zope16:51
*** matthewwilkes_ has joined #zope16:52
*** MatthewWilkes has quit IRC16:55
*** phimic has quit IRC16:59
*** evilbungle has quit IRC17:16
*** evilbungle has joined #zope17:17
*** allisterb_ has quit IRC17:18
*** allisterb has joined #zope17:19
*** matthewwilkes_ is now known as MatthewWilkes17:27
*** r0ver has joined #zope17:27
*** sawdog has joined #zope17:32
*** sim_sim has quit IRC17:32
*** bowe has joined #zope17:34
*** allisterb_ has joined #zope17:39
*** allisterb has quit IRC17:41
*** spamsch has quit IRC17:42
*** aaronv has joined #zope17:46
*** cbcunc has quit IRC17:47
*** tarek has quit IRC17:50
*** alecm has joined #zope17:52
*** r0ver has left #zope17:52
*** fredvd has joined #zope17:53
*** agroszer has quit IRC17:53
*** zagy has quit IRC17:54
*** allisterb_ has quit IRC17:56
*** bowe has left #zope17:56
*** bowe has joined #zope17:56
*** MatthewWilkes has quit IRC17:58
bowehello all... i have a Zope-2.10.6 question about proxying roles for a custom registration-type behavior for anonymous users.18:01
boweI've created a Script Python, which searches the catalog for an object, which works when logged in as my admin user.18:01
bowei set the Proxy on it to Manager, and then invoke it as an Anonymous user.18:02
boweThe catalog search doesn't find the object as expected... am I missing something simple?18:02
boweAlso, is there a "Zope3ish" way of elevating priviliges that I could be using instead of a Script Python proxy approach?18:03
*** huajie has quit IRC18:03
*** TresEquis has joined #zope18:07
*** allisterb has joined #zope18:08
*** sm has quit IRC18:09
*** tiwula has joined #zope18:09
*** sm has joined #zope18:09
*** neo|4D has quit IRC18:11
*** neo|4D has joined #zope18:12
*** neo|4D has quit IRC18:13
*** Kabz|4D has quit IRC18:19
*** zenwryly` is now known as zenwryly18:19
*** JaRoel|4D has quit IRC18:20
*** allisterb has quit IRC18:26
*** Arfrever has quit IRC18:28
*** davisagli has joined #zope18:30
*** digitalmortician has joined #zope18:31
*** timte has quit IRC18:33
*** sunew has quit IRC18:47
*** allisterb has joined #zope18:49
*** factor has quit IRC18:51
*** r0ver has joined #zope18:51
moo---bowe: browserview18:53
moo---bowe: they run in trusted context18:53
*** MJ|10 has quit IRC18:54
*** factor has joined #zope18:55
bowemoo---: browserview? is this a reference to ZCML browser:page's ?18:55
*** hever has quit IRC18:55
*** hever has joined #zope18:56
bowek... found it...18:56
moo---bowe: yes18:56
boweis there any way to get a view to proxy another role?  (invoked as Anonymous, but able to do Manger_ish things)18:57
moo---bowe: why?18:58
moo---bowe: view has priviledged access18:58
moo---bowe: there is no securitymanager18:58
*** allisterb_ has joined #zope18:59
moo---all security you have is who can call the view18:59
moo---permission="" in browser:page ZCML18:59
moo---after that it is normal python and no more restrictedpython anymore18:59
bowehmm... but view called as anonymous cannot find objects in the catalog that manager can,19:00
boweand if i use ...19:00
moo---bowe: ah19:00
moo---bowe: you need to use different catalog method19:00
bowe unrestrictedSearchResults(), i cannot <brain>.getObject() on the result..19:00
moo---bowe: there is different queries for trusted and untrusted searches19:00
moo---bowe: yes you can19:00
bowehmm. something else must be happening then... I'll take a close look.....19:01
*** sig11 has left #zope19:01
bowethanks for encouragement ;)..19:01
*** allisterb has quit IRC19:01
*** pthulin has quit IRC19:07
bowemoo---: What i'm looking up is a Plone 3.1.7 Archetype object... could it be providing another layer of security that's getting in my way?19:12
*** timte has joined #zope19:13
boweI need to get a better grok of what the SecurityManager is, i guess....19:13
moo---bowe: what's your exception?19:14
bowemoment...19:14
moo---bowe: ah19:14
moo---bowe: http://www.mail-archive.com/zope-dev@zope.org/msg17514.html19:14
boweexcellent!  thanks.....19:15
*** alecm_ has joined #zope19:17
*** alecm has quit IRC19:19
*** alecm_ is now known as alecm19:19
*** Arfrever has joined #zope19:20
bowemoo---: yep, worked like a champ.  Good, that's the way i thought things should work, but between Zope/Plone there's only about a gazillian layers where things can get confusing ;).19:22
*** alecm has quit IRC19:28
*** alecm has joined #zope19:28
*** evilbungle has quit IRC19:34
*** alecm has quit IRC19:36
moo---bowe: yep. good info. wrote it down here: https://svn.plone.org/svn/collective/collective.developermanual/trunk/source/searching_and_indexing/query.txt19:38
*** jdenney has left #zope19:39
*** kevinkal|busy has quit IRC19:41
*** kevinkal has joined #zope19:42
*** spamsch has joined #zope19:46
*** zagy has joined #zope19:46
*** alecm has joined #zope19:49
*** timte has quit IRC19:51
*** zagy has quit IRC19:53
*** TomBlockley has quit IRC19:53
*** bigkevmcd has quit IRC20:07
*** mgedmin has quit IRC20:08
*** timte has joined #zope20:09
*** spamsch has quit IRC20:11
*** timte has quit IRC20:16
*** tiwula has quit IRC20:23
*** sidnei has quit IRC20:28
*** timte has joined #zope20:41
*** RaFromBRC has joined #zope20:42
*** seppo14 has quit IRC20:53
*** sidnei has joined #zope20:57
*** allisterb has joined #zope21:07
*** agroszer has joined #zope21:10
*** spamsch has joined #zope21:10
*** allisterb_ has quit IRC21:10
*** toutpt has joined #zope21:12
*** allisterb_ has joined #zope21:13
*** allisterb has quit IRC21:14
*** JaRoel|4D has joined #zope21:15
*** tiwula has joined #zope21:27
*** digitalmortician has quit IRC21:28
*** digitalmortician has joined #zope21:28
*** allisterb has joined #zope21:32
*** mcdonc has quit IRC21:33
*** mcdonc has joined #zope21:35
*** allisterb_ has quit IRC21:36
*** alecm has quit IRC21:42
*** mcdonc has quit IRC21:42
*** mcdonc has joined #zope21:42
*** alecm has joined #zope21:44
*** RaFromBRC is now known as RaFromBRC|away21:54
bowemoo---: good stuff.. thanks for sharing!  one comment... around line 10, you use getMultiadapter to acquire catalog, while i've adopted context.restrictedTraverse("@@plone_tools").catalog()... it seems a simpler approach, perhaps more expensive?  (also, in your notes, you mention catalog but demonstrate tools.url()  )21:59
moo---bowe: more expensive21:59
moo---bowe: sry for tools.url() fixing it now...21:59
bowei had suspected, but lots of recent plone code seems to use it...21:59
*** kevinkal has quit IRC22:01
*** timte has quit IRC22:02
*** timte has joined #zope22:03
moo---bowe: people are lazy :P22:03
moo---bowe: and they are not aware of ITools, since no one really hasn't advertised it22:04
moo---bowe: ok, fixed the doc for you22:06
*** agroszer has quit IRC22:09
*** Gogo|tty has quit IRC22:11
*** TheJester has quit IRC22:11
*** kosh has quit IRC22:11
*** bobo_b has quit IRC22:11
*** purserj has quit IRC22:11
*** betabug has quit IRC22:11
*** fgs has quit IRC22:11
boweexodus!22:12
*** fredvd has quit IRC22:14
*** bobo_b has joined #zope22:15
*** purserj has joined #zope22:15
*** betabug has joined #zope22:15
*** fgs has joined #zope22:15
*** Gogo|tty has joined #zope22:15
*** TheJester has joined #zope22:15
*** kosh has joined #zope22:15
moo---bowe: btw they are HTML compiled here http://plonemanual.twinapex.fi22:15
*** marksd has joined #zope22:16
*** mr_jolly has quit IRC22:17
*** dunny has joined #zope22:18
*** daMaestro has joined #zope22:18
*** redir has quit IRC22:19
*** marksd is now known as madmax_22:21
bowemoo---: yet again, excellent stuff... thanks!22:23
moo---bowe: yeah. working on tonight how to get it to plone.org22:23
*** sawdog has quit IRC22:24
*** webmaven has joined #zope22:36
*** purserj has quit IRC22:39
*** purserj has joined #zope22:39
*** hever has quit IRC22:44
*** TresEquis has quit IRC22:45
*** hever_ has joined #zope22:46
*** teix has left #zope22:47
*** madmax_ has quit IRC22:49
*** hever_ has quit IRC22:51
*** kevinkal has joined #zope22:53
*** hever has joined #zope22:57
*** r0ver has left #zope22:59
*** jwhisnant has quit IRC23:05
*** tarek has joined #zope23:16
*** mcdonc has quit IRC23:18
*** RaFromBRC|away is now known as RaFromBRC23:24
*** zagy has joined #zope23:27
*** aaronv has quit IRC23:34
*** jim_SFU has quit IRC23:37
*** bowe has left #zope23:39
*** opsec has quit IRC23:40
*** webmaven has quit IRC23:46
*** tiwula has quit IRC23:46
*** sashav has joined #zope23:49
*** tiwula has joined #zope23:51
*** astoon has joined #zope23:53
*** opsec has joined #zope23:55

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