IRC log of #zope for Thursday, 2010-03-25

*** webmaven has quit IRC00:01
*** teratorn has joined #zope00:04
*** Arfrever has quit IRC00:04
*** MatthewWilkes has joined #zope00:15
*** redir has joined #zope00:15
*** tim_rich has quit IRC00:18
*** vezult has quit IRC00:20
*** daMaestro has quit IRC00:37
*** fredvd has joined #zope00:38
*** timte has quit IRC00:44
*** TresEquis has quit IRC00:49
*** jim_SFU has quit IRC01:02
*** Kabz|4D has joined #zope01:04
*** Kabz|4D has quit IRC01:09
*** purserj has quit IRC01:15
*** purserj has joined #zope01:15
*** alecm has joined #zope01:27
*** webmaven has joined #zope01:39
*** benji has joined #zope01:46
*** neo|4D has joined #zope01:56
*** neo|4D has quit IRC02:01
*** neo|4D has joined #zope02:01
*** neo|4D has quit IRC02:02
*** sunew has quit IRC02:17
*** tiwula has quit IRC02:17
*** webmaven has quit IRC02:23
*** redir has quit IRC02:23
*** pthulin has quit IRC02:27
*** mcdonc has quit IRC02:29
*** alecm has quit IRC02:29
*** teratorn has quit IRC02:29
*** factor has quit IRC02:29
*** TheJester has quit IRC02:29
*** fredvd has quit IRC02:29
*** JaRoel|4D has quit IRC02:29
*** davisagli has quit IRC02:29
*** alvaro_ has quit IRC02:29
*** flox has quit IRC02:29
*** benji has quit IRC02:29
*** dunny has quit IRC02:29
*** do3cc has quit IRC02:29
*** betabug has quit IRC02:29
*** fgs has quit IRC02:29
*** MatthewWilkes has quit IRC02:29
*** smita has quit IRC02:29
*** BGaddie has quit IRC02:29
*** febb has quit IRC02:29
*** aaronv has quit IRC02:29
*** sashav has quit IRC02:29
*** kosh has quit IRC02:29
*** jham has quit IRC02:29
*** jfroche has quit IRC02:29
*** Gogo|tty has quit IRC02:29
*** menesis has quit IRC02:29
*** mr_jolly has quit IRC02:29
*** MrTango has quit IRC02:29
*** zagy has quit IRC02:29
*** olaf has quit IRC02:29
*** zenwryly has quit IRC02:29
*** rodgort has quit IRC02:29
*** lcpfnvc has quit IRC02:29
*** jan_s has quit IRC02:29
*** pingviini has quit IRC02:29
*** milosn has quit IRC02:29
*** BugeyeD has quit IRC02:29
*** [Arfrever] has quit IRC02:30
*** mcdonc has joined #zope02:30
*** tiwula has joined #zope02:31
*** jan_s has joined #zope02:31
*** [Arfreve1] has joined #zope02:32
*** benji has joined #zope02:32
*** alecm has joined #zope02:32
*** fredvd has joined #zope02:32
*** teratorn has joined #zope02:32
*** Gogo|tty has joined #zope02:32
*** JaRoel|4D has joined #zope02:32
*** dunny has joined #zope02:32
*** menesis has joined #zope02:32
*** davisagli has joined #zope02:32
*** mr_jolly has joined #zope02:32
*** factor has joined #zope02:32
*** alvaro_ has joined #zope02:32
*** MrTango has joined #zope02:32
*** zagy has joined #zope02:32
*** TheJester has joined #zope02:32
*** flox has joined #zope02:32
*** olaf has joined #zope02:32
*** do3cc has joined #zope02:32
*** lcpfnvc has joined #zope02:32
*** rodgort has joined #zope02:32
*** betabug has joined #zope02:32
*** fgs has joined #zope02:32
*** zenwryly has joined #zope02:32
*** BugeyeD has joined #zope02:32
*** kosh2 has joined #zope02:32
*** aaronv has joined #zope02:32
*** pingviini has joined #zope02:32
*** sashav has joined #zope02:32
*** jham has joined #zope02:32
*** febb has joined #zope02:32
*** BugeyeD has quit IRC02:32
*** BugeyeD has joined #zope02:32
*** MatthewWilkes has joined #zope02:32
*** smita has joined #zope02:32
*** BGaddie has joined #zope02:32
*** milosn has joined #zope02:32
*** jfroche has joined #zope02:33
*** davisagli has quit IRC02:33
*** sm has joined #zope02:35
*** mr_jolly has quit IRC03:02
*** sashav has quit IRC03:03
*** daMaestro has joined #zope03:10
*** alvaro_ has quit IRC03:12
*** fredvd has quit IRC03:16
*** ders has joined #zope03:39
*** jan_s has quit IRC03:47
*** newbery has joined #zope03:54
*** ders has quit IRC04:02
*** aaronv has quit IRC04:02
*** jham has quit IRC04:04
*** daMaestro has quit IRC04:04
*** [Arfreve1] has quit IRC04:04
*** MatthewWilkes has quit IRC04:04
*** smita has quit IRC04:04
*** BGaddie has quit IRC04:04
*** [Arfrever] has joined #zope04:05
*** daMaestro has joined #zope04:05
*** jham has joined #zope04:05
*** MatthewWilkes has joined #zope04:06
*** smita has joined #zope04:06
*** BGaddie has joined #zope04:06
*** ders has joined #zope04:11
*** jim_SFU has joined #zope04:15
*** RaFromBRC has quit IRC04:29
*** baijum has joined #zope04:30
*** redir has joined #zope04:32
*** davisagli has joined #zope04:37
*** davisagli has quit IRC04:38
*** ders has quit IRC04:40
*** ders has joined #zope05:08
*** ders has quit IRC05:16
*** alecm has quit IRC05:34
*** ders has joined #zope05:37
*** ders has quit IRC05:38
*** ders has joined #zope05:41
*** davisagli has joined #zope05:44
*** ders has quit IRC05:44
*** dayne has joined #zope05:45
*** allisterb has joined #zope05:54
*** alecm has joined #zope06:00
*** dayne has quit IRC06:05
*** ders has joined #zope06:10
*** alecm has quit IRC06:23
*** alecm has joined #zope06:24
*** factor has quit IRC06:27
*** sidnei has quit IRC06:28
*** factor has joined #zope06:29
*** sidnei has joined #zope06:34
*** ders has quit IRC06:48
*** baijum has quit IRC06:58
*** baijum has joined #zope07:22
*** tiwula has quit IRC07:22
*** daMaestro has quit IRC07:36
*** [Arfrever] has quit IRC07:45
*** febb has quit IRC07:47
*** [Arfrever] has joined #zope07:52
*** r0ver has left #zope07:53
*** baijum has quit IRC07:58
*** digitalmortician has joined #zope08:19
*** timte has joined #zope08:21
*** davisagli has quit IRC08:25
*** davisagli has joined #zope08:29
*** MatthewWilkes has quit IRC08:57
*** JaRoel|4D has quit IRC08:59
*** davisagli has quit IRC09:04
*** aiko74 has joined #zope09:06
*** newbery has quit IRC09:08
*** phimic has joined #zope09:29
*** planetzopebot has quit IRC09:33
*** planetzopebot has joined #zope09:34
*** aaronv has joined #zope09:39
*** menesis1 has joined #zope09:39
*** menesis has quit IRC09:39
*** ccomb has quit IRC09:44
*** redir has quit IRC09:56
*** Kabz|4D has joined #zope10:00
*** neo|4D has joined #zope10:04
*** JaRoel|4D has joined #zope10:07
*** aaronv has quit IRC10:08
*** hever has joined #zope10:09
*** JaRoel|4D has quit IRC10:09
*** JaRoel|4D has joined #zope10:10
*** pthulin has joined #zope10:13
*** kosh2 is now known as kosh10:13
*** mr_jolly has joined #zope10:18
*** goschtl has joined #zope10:22
*** sashav has joined #zope10:41
*** thetet has joined #zope10:43
*** smita has quit IRC10:47
*** baijum has joined #zope10:51
*** regebro has joined #zope11:05
*** eperez has joined #zope11:05
*** vortec has joined #zope11:07
*** mgedmin has joined #zope11:08
*** emrojo has joined #zope11:09
*** alecm has quit IRC11:11
*** emrojo has quit IRC11:31
*** mr_jolly has left #zope11:37
*** runyaga_ has quit IRC11:45
*** fredvd has joined #zope11:52
*** opsec has quit IRC11:56
*** TomBlockley has joined #zope11:57
*** factor has quit IRC11:58
*** opsec has joined #zope12:12
*** evilbungle has joined #zope12:20
*** TheJester has quit IRC12:24
*** TheJester has joined #zope12:37
*** emrojo has joined #zope12:41
*** sunew has joined #zope12:44
*** teix has joined #zope12:45
*** sunew has quit IRC12:49
*** teix has quit IRC12:49
*** vortec has quit IRC12:55
*** aaronv has joined #zope13:02
*** benji has quit IRC13:11
*** RichardBarrell has joined #zope13:12
*** menesis1 has quit IRC13:31
*** emrojo has quit IRC13:37
*** dayne has joined #zope13:37
*** emrojo has joined #zope13:43
*** RichardBarrell has quit IRC13:46
*** allisterb_ has joined #zope13:48
*** allisterb_ has quit IRC13:49
*** allisterb has quit IRC13:49
*** allisterb has joined #zope13:50
heverHow can I add an alias for an folder? all /javascript contents should be available under /js ...14:03
planetzopebotGiving roles to visitors using HTTP headers (RedTurtle Technology)  http://blog.redturtle.it/redturtle-blog/giving-roles-to-visitors-using-http-headers14:04
*** MrWu has joined #zope14:09
*** benji has joined #zope14:12
*** agroszer has joined #zope14:15
*** kleist has joined #zope14:15
*** dayne has quit IRC14:28
*** menesis has joined #zope14:31
*** redir has joined #zope14:33
*** digitalmortician has quit IRC14:37
*** redir has quit IRC14:39
*** rosepruyne has joined #zope14:44
*** digitalmortician has joined #zope14:45
*** rosepruyne has left #zope14:45
*** rosepruyne has joined #zope14:47
*** zagy has quit IRC14:48
*** TinoW_ is now known as TinoW14:49
*** zagy has joined #zope14:50
*** zagy has joined #zope14:52
*** zagy has joined #zope14:53
*** rosepruyne has left #zope14:53
*** huajie has joined #zope14:56
*** ccomb has joined #zope15:15
*** zagy has quit IRC15:18
*** jwhisnant has joined #zope15:19
*** zagy has joined #zope15:19
*** dayne has joined #zope15:21
*** digitalmortician has quit IRC15:27
*** digitalmortician has joined #zope15:31
*** redir has joined #zope15:34
*** smita has joined #zope15:40
*** RichardBarrell has joined #zope15:41
*** smita has quit IRC15:49
*** kevinkal has joined #zope15:51
*** dayne has quit IRC16:00
*** phimic has quit IRC16:01
planetzopebotmxODBC Zope DA 2.0.0 (Zope.org)  http://www.zope.org/Members/lemburg/mxODBC_Zope_DA/mxODBC_Zope_DA_2_0_016:04
*** dayne has joined #zope16:06
*** dayne has quit IRC16:10
*** jim_SFU has joined #zope16:14
*** phimic has joined #zope16:16
*** factor has joined #zope16:16
*** alecm has joined #zope16:20
*** sashav has quit IRC16:22
*** webmaven has joined #zope16:22
*** allisterb has quit IRC16:26
*** dunny has quit IRC16:29
*** TomBlockley_ has joined #zope16:37
*** TomBlockley_ has quit IRC16:37
*** TomBlockley_ has joined #zope16:40
*** TomBlockley has quit IRC16:41
*** TomBlockley_ is now known as TomBlockley16:41
*** evilbungle_ has joined #zope16:42
*** evilbungle__ has joined #zope16:44
*** evilbungle_ has quit IRC16:44
*** _bluetouff has quit IRC16:45
*** evilbungle has quit IRC16:47
*** touff has joined #zope16:50
*** MrWu has quit IRC16:51
*** vezult has joined #zope16:58
*** digitalmortician has quit IRC16:58
*** dayne has joined #zope17:02
*** teix has joined #zope17:02
*** evilbungle__ has quit IRC17:03
*** sunew has joined #zope17:06
*** dayne has quit IRC17:07
*** evilbungle has joined #zope17:10
*** pepeu has joined #zope17:11
*** MatthewWilkes has joined #zope17:12
*** pthulin has quit IRC17:12
*** tisto has joined #zope17:14
*** tisto has left #zope17:14
*** timte has quit IRC17:19
*** phimic has quit IRC17:27
*** jdenney has joined #zope17:41
*** thetetet has joined #zope17:43
*** thetet has quit IRC17:43
jdenneyhow can I repeat over a dict and tal:content both the key and value? tal:repeat gives me the keys but then how do I access the value without going into python:17:46
*** dvschramm has joined #zope17:48
teixjdenney: you don't17:48
teixjdenney: when you need to get value of some dynamic key you need to use python: expression17:49
*** tiwula has joined #zope17:51
jdenneyteix: nuts, i hate using python:17:51
teixjdenney: are those keys are fixed?17:52
jdenneyteix: fixed for the duration of the loop, not fixed, fixed ;-)17:53
teixjdenney: ah then you can iterate a list of dicts and just use "dict/a_fixed_key_name" to get key's value17:54
*** digitalmortician has joined #zope17:56
*** TomBlockley has quit IRC17:56
jdenneyah I see, no they need to be dynamic.17:56
jdenneyCan I access I list of tuples any easier..again without having to do python: tuple[0]17:56
*** TomBlockley has joined #zope17:57
*** TomBlockley has quit IRC17:57
*** TomBlockley has joined #zope17:57
*** smita has joined #zope17:57
teixjdenney: zpt TAL only likes to play with dicts :)17:58
*** evilbungle_ has joined #zope17:58
*** evilbungle has quit IRC17:59
jdenneyteix: dang.  OK cheers.18:01
*** baijum has quit IRC18:02
*** redir has quit IRC18:04
vezultis there any way to force a redirect in a __before_traverse__ hook?18:05
vezultI'm extending the session manager to check if a client is "logged in", and redirect to a login page if they are not18:05
vezultHowever, the response object is not passed in to my function....is there any better place/method to do this?18:07
*** fredvd|meeting has joined #zope18:09
*** fredvd has quit IRC18:09
*** fredvd|meeting is now known as fredvd18:09
jdenneyvezult: You not using the standard authentication utilities? These should do this by default.18:11
*** dvschramm has quit IRC18:12
vezultjdenney, I want to force the use of a particular login page. I believe I can bypass that page, just by posting the proper values to any url18:17
vezultwhich would authticate me18:18
vezulteg. __ac_name, __ac_user,18:18
vezult__ac_password, rather18:18
*** MatthewWilkes has quit IRC18:19
vezultso, I'd like to set a flag in the client's session which indicates that they have logged in via a particular page18:20
vezultand force the user to go to that page, if they have not yet18:20
jdenneyHmm I don't know Z2 very well, mainly Z3.  But you can set I specific login page using the standard Session Authentical utility, if your not logged in it directs you to the login page, if you are logged in it doesn't bother.  If not the self.request.RESPONSE.redirect("") is what you usually do.18:26
*** goschtl has quit IRC18:41
*** mgedmin has quit IRC18:41
*** menesis has quit IRC18:44
*** r0ver has joined #zope18:46
*** SpankyFromBRC has joined #zope18:48
*** TresEquis has joined #zope18:50
*** davisagli has joined #zope18:52
*** digitalmortici-1 has joined #zope18:59
*** digitalmortician has quit IRC19:01
*** vezult has quit IRC19:05
*** vezult has joined #zope19:06
*** huajie has quit IRC19:07
*** sunew has quit IRC19:08
*** mcdonc has quit IRC19:15
*** redir has joined #zope19:15
vezultso, should request.URL always contain the same value, or does it change at various points throughout the process of handling the request?19:17
vezultin the before traverse hook, at least, request.URL always contains 'proto://domain' rather than the full url19:18
vezultseems to19:18
vezultam I wrong about that?19:18
TresEquisvezult: it gets built up incrementally during publishing19:19
TresEquisit should be in final state by the time your application code is called19:19
*** mcdonc has joined #zope19:20
*** pepeu has quit IRC19:21
vezultTresEquis: is there any way I can get at what the client actually requested?19:22
TresEquisREAQUEST['ACTUAL_URL']19:23
TresEquiswon't have #fragments (because the client never sends them)19:23
*** neo|4D has quit IRC19:23
vezultTresEquis, excellent. Thanks19:24
koshI don't suppose anyone here has played with resourceDirectory and ++resource++ stuff in zope 2.9 have they?19:25
koshfor 2.12 I made a product that works flawlessly but on 2.9 I just can't get it to work19:26
*** tarek has quit IRC19:27
*** tarek has joined #zope19:28
*** MatthewWilkes has joined #zope19:30
*** Kabz|4D has quit IRC19:32
*** JaRoel|4D has quit IRC19:34
*** sunew has joined #zope19:39
TresEquis2.9 is using a much older set of Z3 APIs19:39
TresEquislike, 3.1 (circa 2006) vs. 3.4 or ZTK19:40
TresEquisoops, s/3.1/3.2/19:41
koshI looked through the source code and the Five in 2.9 does support resourceDirectory19:41
koshthe code for it looks identical to 2.1219:41
koshbut myserver/++resource++Something/someitem.bar   gives NotFound while on 2.12 it returns the object19:42
*** regebro1 has joined #zope19:42
*** regebro1 has quit IRC19:42
*** regebro has quit IRC19:42
TresEquisdiff the Products/Five versions between the two, then19:42
koshresourceDirectory is partly in Five and partly in zope.app.publisher and the stuff seems to be in 2.919:43
*** Kabz|4D has joined #zope19:44
*** menesis has joined #zope19:46
TresEquisthe implementation in Five.browser.resource is substantially grottier in 2.919:47
koshit would just make my life simpler if it worked on 2.9 also19:49
koshmakes it easier to transition stuff to 2.1219:49
*** Arfrever has joined #zope19:51
koshI will send an email to the list maybe someone there will know19:52
*** emrojo has quit IRC19:55
*** fredvd has quit IRC19:59
TresEquisgood plan20:03
TresEquisI'm not working actively with 2.9 any longer20:04
koshI am slowly transitioning stuff to 2.1220:04
koshhowever some things that worked fine in 2.9 break in 2.1220:04
TresEquisI still use 2.10 (for Plone3), but prefer to work in 2.1220:04
koshso transition is not as smoothe as I would like20:04
koshof course I have also made it harder to settings up the new setup on a rackspace cloud setup with zeo and zope with a cluster setup20:05
koshit took me a bit to get that working right20:05
*** jdenney has left #zope20:05
koshI modified exUserFolder to use the session folder shared over zeo instead of a class var20:06
koshso login works across zope servers so they all load balance right20:06
koshthe whole setup is now working very very nicely20:06
koshany zope server can answer any request, auth is kept, shopping cart stuff etc is all kept20:06
koshright now running 1 zeo and 4 zopes with apache to load balance and 1 thread for each zope server20:06
*** agroszer has quit IRC20:08
koshstill don't get why rackspace calls their virtaulized servers cloud servers since there is nothing cloud about it20:08
koshit is a dedicated ammount of memory, cpu, disk etc at a fixed location on a hardware virtualized machine20:08
*** ccomb has quit IRC20:08
bigkevmcdkosh: cloud is a fuzzy idea20:09
koshwell the rackspace ones have good rates20:10
koshand easy to setup and clone20:10
koshso I have been working on a very nice 2.12 setup and once I have everything working perfectly and we test sites we will move them over and create more servers as we go20:11
*** neo|4D has joined #zope20:12
*** neo|4D has quit IRC20:15
*** MatthewWilkes has quit IRC20:15
TresEquisI've looked at Zope from both sides now, and still somehow20:16
TresEquisits clouds, illusions, I recall -- I really don't know Zope ... at all ;)20:16
koshmost of zope I do very well with20:20
koshthe zope 3 stuff they added in I find very very nasty to deal with20:20
koshat least if this stuff was all defined in python it would be easier to debug20:20
koshbut resourceDirectory looks like a very simple way to solve this problem if it works20:22
koshI basically am doing a monkeypath on the Python Script product edit interface20:23
koshto replace the textarea with a nice javascript text editing area which has been very nice to work with20:23
koshsyntax highlighting, search and replace etc20:23
*** marcellobs has quit IRC20:26
*** agroszer has joined #zope20:26
*** TomBlockley has quit IRC20:27
*** evilbungle_ has quit IRC20:28
*** Kabz|4D_ has joined #zope20:29
*** Kabz|4D has quit IRC20:29
*** hever has quit IRC20:30
*** Kabz|4D_ has quit IRC20:34
*** smita has quit IRC20:36
*** JaRoel|4D has joined #zope20:38
*** tarek has quit IRC20:39
*** tarek has joined #zope20:40
*** astoon has joined #zope20:46
*** kiorky_ has joined #zope20:50
*** evilbungle has joined #zope21:04
*** eperez has quit IRC21:08
*** astoon has left #zope21:13
*** teix has left #zope21:18
*** astoon has joined #zope21:25
*** agroszer has quit IRC21:26
*** kleist has quit IRC21:31
*** thetetet has quit IRC21:33
*** evilbungle has quit IRC21:36
*** qwebirc95286 has joined #zope21:38
*** qwebirc95286 has quit IRC21:39
*** mcdonc has quit IRC21:43
*** ccomb has joined #zope21:51
*** sashav has joined #zope21:52
*** mcdonc has joined #zope21:59
*** tiwula has quit IRC22:04
*** tiwula has joined #zope22:06
*** kiorky__ has joined #zope22:09
*** RaFromBRC has joined #zope22:20
*** agroszer has joined #zope22:30
*** agroszer has quit IRC22:36
*** sashav has quit IRC22:42
*** astoon has quit IRC22:46
*** drudi has joined #zope22:47
*** dunny has joined #zope22:55
*** fredvd has joined #zope23:01
*** jwhisnant has quit IRC23:02
*** RaFromBRC has quit IRC23:04
*** kevinkal has quit IRC23:08
*** astoon has joined #zope23:15
*** dunny has quit IRC23:19
*** Kabz|4D has joined #zope23:22
*** JaRoel|4D has quit IRC23:22
*** drudi has quit IRC23:36
*** JaRoel|4D has joined #zope23:36
*** dbfrombrc|mobile has joined #zope23:48
*** dbfrombrc|mobile has quit IRC23:48
*** redir has quit IRC23:49
*** dbfrombrc|mobile has joined #zope23:50
*** dbfrombrc|mobile has quit IRC23:51
*** ccomb has quit IRC23:52
*** ccomb1 has joined #zope23:52
*** jim_SFU has quit IRC23:54
*** benji has quit IRC23:55

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