[Repoze-dev] chameleon.repoze.org is offline.

2010-12-17 Thread Tim Hoffman
Hi Folks In case you didn't notice, chameleon.repoze.org is offline. T ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev

Re: [Repoze-dev] chameleon.repoze.org is offline.

2010-12-17 Thread Tim Hoffman
permission to access the files on there yet from the hosting provider. Thanks for reporting though. \malthe On 17 December 2010 14:22, Tim Hoffman zutes...@gmail.com wrote: Hi Folks In case you didn't notice, chameleon.repoze.org is offline. T

Re: [Repoze-dev] bfg 1.3 on gae problem scanning

2010-11-03 Thread Tim Hoffman
Hi In my experience I personally wouldn't use scan and in fact I am trying to use zcml as little as possible For any app to be successful on appengine it needs to start fast. zcml parsing is slowing than explicit imports. The docs suggest scan is slow too. Also during startup you can get

Re: [Repoze-dev] repoze.who redirecting form plugin, and the use http response codes 302 vs 303

2010-09-13 Thread Tim Hoffman
a patch (oops I haven't check repoze.who 2.x to see if its already been done there.) Tim On Mon, Sep 13, 2010 at 1:39 PM, Tim Hoffman zutes...@gmail.com wrote: Hi I have run into a bit of a weird problem. I am using repoze.who successfully on appengine (not really relevant ;-) and did some testing

Re: [Repoze-dev] Deform and late binding of source values for checkbox widget and validators

2010-09-08 Thread Tim Hoffman
. Comments are appreciated. - C On Tue, 2010-09-07 at 20:37 +0800, Tim Hoffman wrote: Bummer ;-) I don't think I have a developed an application in the last 10 years that hasn't has to do this. I was quite surprised when I discovered this feature was missing in formish, but it seems

Re: [Repoze-dev] Deform and late binding of source values for checkbox widget and validators

2010-09-07 Thread Tim Hoffman
-scope code only.  You'll need to generate schemas and widgets at render time. - C On Tue, 2010-09-07 at 12:56 +0800, Tim Hoffman wrote: Hi Chris. Am just starting too look at deform in some detail and I have question. One of the things I have struggled with formish has been the fact I

Re: [Repoze-dev] Model-based vs. view-based security

2010-07-29 Thread Tim Hoffman
Hi TH I use a UML modeling tool to generate all my models and form schemas so I TH tend not to write much code in these entities. That's interesting, any pointer/link for this specific tool? I am using enterprise architect. http://www.sparxsystems.com.au/ It can actually reverse

Re: [Repoze-dev] Model-based vs. view-based security

2010-07-28 Thread Tim Hoffman
Hi 2) With the security proxy machinery I can have a view that conditionally displays certain HTML elements (like form fields) depending on the permissions that the accessing user has on the context object. I too came to bfg from zope2 and zope 3 and was used to model based security,

Re: [Repoze-dev] repoze.folder API weirdness

2010-06-17 Thread Tim Hoffman
For what its worth I would follow the current zope object manager semantics. Rgds T On Thu, Jun 17, 2010 at 10:41 PM, Chris Rossi ch...@archimedeanco.comwrote: On Thu, Jun 17, 2010 at 10:08 AM, Tim Hoffman zutes...@gmail.com wrote: I would be concerned if you tried to __setitem__ a new

[Repoze-dev] repoze.org doesn't seem to be responding (at least from Australia)

2010-05-23 Thread Tim Hoffman
Hi Subject says it all.. Anyone else experience it or is it just me ;-) Rgds T ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev

Re: [Repoze-dev] repoze.org doesn't seem to be responding (at least from Australia)

2010-05-23 Thread Tim Hoffman
Looks like its dead again T On Sun, May 23, 2010 at 8:33 PM, Tres Seaver tsea...@palladion.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charlie Clark wrote: Am 23.05.2010, 11:28 Uhr, schrieb Tim Hoffman zutes...@gmail.com: Hi Subject says it all.. Anyone else experience

[Repoze-dev] google wave for apps domain is available - have enabled it for ktstudio.org

2010-05-19 Thread Tim Hoffman
___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev

[Repoze-dev] Issue with enabling the ZCA Global API by Using The ZCA Global Registry

2010-05-06 Thread Tim Hoffman
Hi I am trying to run a combined global zca registry as per the docs http://docs.repoze.org/bfg/1.2/narr/zca.html. I am using the Enabling the ZCA Global API by Using The ZCA Global Registry option globalreg = getGlobalSiteManager() config = Configurator(registry=globalreg)

Re: [Repoze-dev] BFG and GAE

2010-05-05 Thread Tim Hoffman
Hi All We (KT Studio), have a fairly significant site based on BFG (pre 1.1) running on app engine very successfully. (www.polytechnic.wa.edu.au). (We have other bfg based app engine apps in the pipeline). (Also about to go live with a bobo, repoze.what and zope.component/zope.interface, formish

Re: [Repoze-dev] repoze.bfg and gae

2010-04-22 Thread Tim Hoffman
Hi Davide No refactoring is required that I have found to date. You just can't use zodb etc so you need to use appengines models. So you are using the view/traversal/routes/events parts of bfg. I would also suggest you declare views using python rather than using zcml. T On Thu, Apr 22,

Re: [Repoze-dev] repoze.bfg and gae

2010-04-22 Thread Tim Hoffman
Otherwise nothing will show. I would suggest request.POST is defined other wide you would have NoneType has not attribute POST. Rgds T On Thu, Apr 22, 2010 at 9:49 PM, Davide Moro davide.m...@redomino.com wrote: Il giorno gio, 22/04/2010 alle 20.45 +0800, Tim Hoffman ha scritto: Hi Davide

Re: [Repoze-dev] GAE or other 'cloud' choices for bfg apps?

2010-04-17 Thread Tim Hoffman
, Darryl Cousins darryljcous...@gmail.com wrote: Hi Tim, On Thu, Apr 15, 2010 at 1:55 PM, Tim Hoffman zutes...@gmail.com wrote: Hi Iain I have a number of projects on app engine.  Some using repoze.bfg (www.polytechnic.wa.edu.au (paid work), www.fishandlily.com.au (my small business)) and others

Re: [Repoze-dev] GAE or other 'cloud' choices for bfg apps?

2010-04-14 Thread Tim Hoffman
Hi Iain I have a number of projects on app engine. Some using repoze.bfg (www.polytechnic.wa.edu.au (paid work), www.fishandlily.com.au (my small business)) and others just using zope.component and bobo (not public yet). We are using app engines persistence model which is simple and straight

Re: [Repoze-dev] GAE or other 'cloud' choices for bfg apps?

2010-04-14 Thread Tim Hoffman
Hi Iain http://code.google.com/appengine/docs/python/datastore/entitiesandmodels.html Will get you started on app engines high level datastore peristence. T ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org

Re: [Repoze-dev] recommended way to do session variables in a bfg app?

2010-04-12 Thread Tim Hoffman
Hi I am using beaker with bfg on app engine. Works well. (Though I had to make a gae memcache compatible plugin) T On Mon, Apr 12, 2010 at 3:10 AM, Iain Duncan iainduncanli...@gmail.com wrote: Wondering about using session variables in a bfg app. I didn't find any mention of it in the docs,

Re: [Repoze-dev] current repoze.who in PyPI and repoze.what

2010-04-06 Thread Tim Hoffman
Yep thats what found. But at the moment if you easy_install repoze.what you end up with repoze.who.2.0.x and you can't seem to get repoze.who 1.0.18 from PyPI T On Tue, Apr 6, 2010 at 1:26 PM, Chris McDonough chr...@plope.com wrote: On 4/6/10 1:12 AM, Tim Hoffman wrote: Hi I have been

Re: [Repoze-dev] Using traversal with GAE's BigTable

2010-03-30 Thread Tim Hoffman
Hi Have a look at http://code.google.com/p/bfg-pages/ I have used it in a number of projects. Its a very rough and ready cms, with traversal. Across folders etc. mapped to gae entities. It has been used on a number of in production appengine projects. T On Wed, Mar 31, 2010 at 1:29 AM,

Re: [Repoze-dev] Need advise on using session with repoze.bfg

2010-02-18 Thread Tim Hoffman
Hi Yeah I am using beaker on app engine as well with bfg, real easy to setup and it works well. I am using memcache on app engine as the store at the moment as I don't mind if sessions disappear if not used for a little while, but it would be easy to make writes to the session persist in the

Re: [Repoze-dev] Looking for advice on how to use repoze.what to protect a specific resource/entity.

2010-02-16 Thread Tim Hoffman
, Tim Hoffman wrote: Hi I could at the very least evaluate the Owner special principal into the real owner, when I provide the __acl__ registration via the property accessor Most of the project is defined in a uml model and the code is being generated. So declaring the permissions where

[Repoze-dev] Looking for advice on how to use repoze.what to protect a specific resource/entity.

2010-02-15 Thread Tim Hoffman
Hi I am trying to work out how I could protect a specific resource/entity using repoze.what. For instance I have a specific Record, owned by a specific User, and only a user with the Owner permission can Edit the record. I can't work out how you would assign Owner permission to the user only

Re: [Repoze-dev] Looking for advice on how to use repoze.what to protect a specific resource/entity.

2010-02-15 Thread Tim Hoffman
of addressing this kind of situations. But I'm always open to hear alternatives. I hope this is what you were looking for. - Gustavo. On 15/02/10 15:19, Tim Hoffman wrote: Hi I am trying to work out how I could protect a specific resource/entity using repoze.what. For instance I have

Re: [Repoze-dev] Looking for advice on how to use repoze.what to protect a specific resource/entity.

2010-02-15 Thread Tim Hoffman
On 2/15/10 10:19 AM, Tim Hoffman wrote: Hi I am trying to work out how I could protect a specific resource/entity using repoze.what. For instance I have a specific Record, owned by a specific User, and only a user with the Owner permission can Edit the record. I can't work out how you would

Re: [Repoze-dev] Looking for advice on how to use repoze.what to protect a specific resource/entity.

2010-02-15 Thread Tim Hoffman
think that could work, I haven't worked out how I could implement that though. T On Tue, Feb 16, 2010 at 7:24 AM, Tres Seaver tsea...@palladion.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim Hoffman wrote: I was hoping to declare the local role equivalent at the class level

Re: [Repoze-dev] Looking for advice on how to use repoze.what to protect a specific resource/entity.

2010-02-15 Thread Tim Hoffman
need to use abstractions representing things like Owner in the model T On Tue, Feb 16, 2010 at 7:49 AM, Tim Hoffman zutes...@gmail.com wrote: HI Tres The last thing I would love to be able to do would be to declare the permissions at the class level as in (Allow, Owner, edit) And have

Re: [Repoze-dev] Chameleon on GAE

2010-02-04 Thread Tim Hoffman
Hi Malthe On Thu, Feb 4, 2010 at 8:53 PM, Malthe Borch mbo...@gmail.com wrote: On 4 February 2010 13:48, Tim Hoffman zutes...@gmail.com wrote: Do you mean it parses all templates on instance startup.  If so that would be prohibitively expensive if you have a lot of templates. Yes

Re: [Repoze-dev] Chameleon on GAE

2010-02-03 Thread Tim Hoffman
, AFAICT, as of 1.1 it just works.. no need to distinguish between compile time and runtime.  I tested this last night. - C On 2/3/10 8:50 PM, Tim Hoffman wrote: Hi Malthe Do you have a posting somewhere that details how one uses chameleon with appengine. I assume you are precompiling

Re: [Repoze-dev] Chameleon on GAE

2010-01-26 Thread Tim Hoffman
HI Malthe Good news. So whats the secret , pre-compile everything ? T On Tue, Jan 26, 2010 at 7:29 PM, Malthe Borch mbo...@gmail.com wrote: Deep in the mountains of Austria, during a snow storm, Chameleon became compatible with Google App Engine.

Re: [Repoze-dev] Chameleon on GAE

2010-01-26 Thread Tim Hoffman
of the app will be ajax/jquery gui based. T On Tue, Jan 26, 2010 at 7:42 PM, Malthe Borch mbo...@gmail.com wrote: 2010/1/26 Tim Hoffman zutes...@gmail.com: So whats the secret , pre-compile everything ? Same procedure as last year, except we now use the compilation hoops from Genshi which makes

[Repoze-dev] integrating repoze.bfg with OAuth, OpenID, FacebookConnect etc... for authentication

2010-01-25 Thread Tim Hoffman
Hi Folks I am looking for some advice. I need to be able to use multiple authentication sources for a new repoze.bfg based app. Do you think I should should use repoze.who etc... or try and hook the various auth directly under bfg's existing authenctication model ? Thanks Tim

Re: [Repoze-dev] integrating repoze.bfg with OAuth, OpenID, FacebookConnect etc... for authentication

2010-01-25 Thread Tim Hoffman
chr...@plope.com wrote: I don't think it makes much of a difference if you need to write it all from scratch anyway.  Either would be fine. - C Tim Hoffman wrote: Hi Folks I am looking for some advice. I need to be able to use multiple authentication sources for a new repoze.bfg based

Re: [Repoze-dev] integrating repoze.bfg with OAuth, OpenID, FacebookConnect etc... for authentication

2010-01-25 Thread Tim Hoffman
reason to use r.who in this case, sure. Of course, if you don't have enough control when you use r.who, you can always take the code internal if you need to by creating a BFG authentication policy based on the code from these plugins. Tim Hoffman wrote: Hi Chris On the face of it then , I

Re: [Repoze-dev] integrating repoze.bfg with OAuth, OpenID, FacebookConnect etc... for authentication

2010-01-25 Thread Tim Hoffman
.  When you use a custom authentication policy, you can still control the horizontal and vertical of login and logout, whereas with r.who, you typically have less control. - C Tim Hoffman wrote: Hi Chris Control was definately one of the concerns.  But I am only relying on a potential pool

Re: [Repoze-dev] chameleon and appengine

2010-01-10 Thread Tim Hoffman
Hi I am using zpt (tal/metal) on app engine. See http://code.google.com/p/bfg-pages/ T On Mon, Jan 11, 2010 at 12:09 AM, Miuler miu...@gmail.com wrote: Hi, will work chameleon on google appengine? in future? ___ Repoze-dev mailing list

[Repoze-dev] new site based on repoze.bfg

2009-12-01 Thread Tim Hoffman
production instance's performance was being affected by things happening inside google. Which turns out be a known problem (for google engineering that is ;-) In the last 24 hours we moved all of the data to a new instance and all seems well so far (fingers crossed). See ya Tim Hoffman

Re: [Repoze-dev] new site based on repoze.bfg

2009-12-01 Thread Tim Hoffman
Hi Martin On Tue, Dec 1, 2009 at 10:42 PM, Martin Aspeli optilude+li...@gmail.com wrote: Tim Hoffman wrote: Hi Folks I have been working on a site (www.polytechnic.wa.edu.au)  based on repoze.bfg running on app engine for the last few months. Hey, cool, Python people in WA. :) And for you

Re: [Repoze-dev] new site based on repoze.bfg

2009-12-01 Thread Tim Hoffman
I didn't know you where in Aus, where abouts ? T On Wed, Dec 2, 2009 at 12:07 AM, Martin Aspeli optilude+li...@gmail.com wrote: Malthe Borch wrote: 2009/12/1 Martin Aspeli optilude+li...@gmail.com: Lest I offended anybody, I would like to insert an additional smiley at the end of that last

Re: [Repoze-dev] new site based on repoze.bfg

2009-12-01 Thread Tim Hoffman
, have a local meet up . There are a few of us who have been doing plone/zope locally since early Portal Toolkit days ;-) T On Wed, Dec 2, 2009 at 12:39 AM, Martin Aspeli optilude+li...@gmail.com wrote: Tim Hoffman wrote: I didn't know you where in Aus, where abouts ? West Perth. Martin

Re: [Repoze-dev] new site based on repoze.bfg

2009-12-01 Thread Tim Hoffman
Basically I have the remote_api hooked up inside a plone tool and with adapters that manage the plone - gae mapping. This was all developed before I realized content mirror might be an option. ;) Some kind of generic tool or framework for Plone - GAE integration would be really cool,

Re: [Repoze-dev] new site based on repoze.bfg

2009-12-01 Thread Tim Hoffman
On Wed, Dec 2, 2009 at 12:47 AM, Martin Aspeli optilude+li...@gmail.com wrote: Tim Hoffman wrote: Bloody hell. How long have you been in Perth? Since February. :) Cool, what made you come here? KT Studio was in West Perth (Dumas House) when I started with them in 2001, then we moved

Re: [Repoze-dev] would like to registerViews in python but not via decorator

2009-11-25 Thread Tim Hoffman
On Thu, Nov 26, 2009 at 4:43 AM, Chris McDonough chr...@plope.com wrote: Tim Hoffman wrote: Hi Chris I am trying to register some views directly through python and not using the view decorator, I have tried using code very similiar to repoze.bfg.testing. However after doing so, whilst I can look

[Repoze-dev] would like to registerViews in python but not via decorator

2009-11-23 Thread Tim Hoffman
Hi Chris I am trying to register some views directly through python and not using the view decorator, I have tried using code very similiar to repoze.bfg.testing. However after doing so, whilst I can look the view up by doing a

[Repoze-dev] Any ideas on how one might do routes after traversal

2009-09-17 Thread Tim Hoffman
Hi Folks I have always used traversal rather than routes(url dispatch) , but I just happen to have a requirement to potentially use such a schema however to complicate things I need to use a hybrid model, but I really need to use routes after traversal rather than before as described in

Re: [Repoze-dev] Any ideas on how one might do routes after traversal

2009-09-17 Thread Tim Hoffman
HI Chris Yeah , I thought that might be the answer. Thanks anyway T On Fri, Sep 18, 2009 at 12:54 AM, Chris McDonough chr...@plope.com wrote: Tim Hoffman wrote: Hi Folks I have always used traversal rather than routes(url dispatch) , but I just happen to have a requirement to potentially

Re: [Repoze-dev] page directive sci-fi

2009-09-13 Thread Tim Hoffman
, 2009 at 10:29 PM, Tim Hoffman t...@zute.net wrote: Hi I am not too sure about making this the default 'view' implementation or at least we need to retain the existing the simpler view directive. I many cases I am/need to identify the template used much later in the process, so for me baking

Re: [Repoze-dev] owrap layout through zcml

2009-09-12 Thread Tim Hoffman
HI Chris I a way you describing something simliar to what we have in zope2, in that from a tal expression we have access to (via acquisition) all of the portal tools etc... I wonder if a couple of hi level functions could be put into the namespace, (or the view for instance) that allow you to

Re: [Repoze-dev] Fwd: repoze.bfg.xmlrpc - httpserver hangs

2009-09-10 Thread Tim Hoffman
+0800, Tim Hoffman wrote: I found that if you run zope3 server under paste you get the same thing, whereas if you use twisted it works fine.  See this thread I posted last year. https://mail.zope.org/pipermail/zope3-users/2008-October/008261.html T On Wed, Sep 9, 2009 at 11:32 PM

[Repoze-dev] Fwd: repoze.bfg.xmlrpc - httpserver hangs

2009-09-09 Thread Tim Hoffman
I found that if you run zope3 server under paste you get the same thing, whereas if you use twisted it works fine.  See this thread I posted last year. https://mail.zope.org/pipermail/zope3-users/2008-October/008261.html T On Wed, Sep 9, 2009 at 11:32 PM, simahawksimah...@gmail.com wrote: hi

[Repoze-dev] ? about owrap

2009-08-25 Thread Tim Hoffman
regards Tim Hoffman ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev

[Repoze-dev] Simple repoze.bfg based CMS for GAE

2009-07-23 Thread Tim Hoffman
Hi Folks Finally got my some code into shape. The simple cms based on repoze.bfg running on gae that I have been blathering about for a while is up and running at www.fishandlily.com.au. A sample site is at repoze-bfg-gae.appspot.com and from there you can look at the code if you want to. It

[Repoze-dev] How to specify xmlrpc view bindings in zcml ?

2009-07-06 Thread Tim Hoffman
Hi I seem to remember seeing on this list (or somewhere else on the net ;-) an example of using zcml to specify an xmlrpc view ( - probably not explaining it well here ) but the for the life of me I can't find such a thing anywhere , I know I am not dreaming, I hope! Can anyone point me in the

Re: [Repoze-dev] How to specify xmlrpc view bindings in zcml ?

2009-07-06 Thread Tim Hoffman
to include install instructions, I think we'd be golden. So I've done just that (see http://docs.repoze.org/xmlrpc/) and made a new 0.3 release with the updated docs. - C On 7/6/09 10:42 PM, Tim Hoffman wrote: Hi all Thanks guys, I thought I was going mad, All your responses made it look

Re: [Repoze-dev] bfg form generation

2009-06-29 Thread Tim Hoffman
Hi Iain I am using formish with some success at the moment. You need the latest copy from github, rather than whats in PyPI and if you want to use the FileUpload widget you may need to build a custom FileResource handler (I am running on GAE so write temp files to the filesystem is not an option

Re: [Repoze-dev] unifying url dispatch and traversal

2009-06-05 Thread Tim Hoffman
Hi On Fri, Jun 5, 2009 at 11:33 PM, Chris McDonoughchr...@plope.com wrote: Paul and Tres recently taught a repoze.bfg tutorial at the Plone Symposium at Penn State.  Tres mentioned to me that, by the reactions of the tutorial attendees, he thought having two separate-but-equal ways to do

Re: [Repoze-dev] Changes to Chameleon compilation system

2009-05-09 Thread Tim Hoffman
HI Chris Sunday morning, forgot to reply-all sorry Will forward the other emails now T On Sun, May 10, 2009 at 9:29 AM, Chris McDonough chr...@plope.com wrote: On 5/9/09 9:10 PM, Tim Hoffman wrote: The more I think/understand the way chameleon works the less likely I think it is going

[Repoze-dev] Fwd: Changes to Chameleon compilation system

2009-05-09 Thread Tim Hoffman
is only compiled as used and then cached and reused again pretty soon. T On Sun, May 10, 2009 at 9:03 AM, Tim Hoffman t...@zute.net wrote: Or at least it doesn't create .pyc in the file system. T On Sun, May 10, 2009 at 9:00 AM, Tim Hoffman t...@zute.net wrote: Hi Just so you know

[Repoze-dev] repoze.bfg on gae with zope.pagetemplate and helper routines

2009-05-04 Thread Tim Hoffman
Hi I am new to the list (and pretty new to repoze) I have put together a module which includes bindings for zope.pagetemplate with direct support for metal macros, plus a bunch of helper utils that make things a bit easier when using google app engine, I was thinking of calling it repoze.gae. A

Re: [Repoze-dev] repoze.bfg on gae with zope.pagetemplate and helper routines

2009-05-04 Thread Tim Hoffman
to BFG; repoze is also a namespace package but contains packages not related to BFG). I can get you access to the repoze SVN repository if you'd like to become a committer: http://repoze.org/contributing.html On 5/4/09 9:00 PM, Tim Hoffman wrote: Hi I am new to the list (and pretty new