Malthe Borch | 1 Dec 2010 09:48
Picon
Gravatar

Archetypes configuration using ZCML

Proposal for inclusion into Products.Archetypes. Otherwise I might
release separately, or drop it altogether.

Now,

I have an implementation that allows you to configure your Archetypes
content using e.g.:

  <five:registerPackage package="." />

  <permission id="type.Add" title="Type: Add type" />

  <at:register
      class=".content.Type"
      permission="type.Add"
      />

Note that with ``at:register``, it's optional to provide a product
name (using ``product`` argument). It defaults to the module name of
the configuration context. This works well.

What happens then is that:

1) The content class is passed to ``atapi.registerType`` on ZCML load.
2) On Zope 2 "initialization", the content class is initialized
automatically (as usual).

Benefits:

1) Avoids cargo-culting
(Continue reading)

Laurence Rowe | 1 Dec 2010 13:44
Picon
Gravatar

Re: Archetypes configuration using ZCML

On 1 December 2010 08:48, Malthe Borch <mborch@...> wrote:
> Proposal for inclusion into Products.Archetypes. Otherwise I might
> release separately, or drop it altogether.
>
> Now,
>
> I have an implementation that allows you to configure your Archetypes
> content using e.g.:
>
>  <five:registerPackage package="." />
>
>  <permission id="type.Add" title="Type: Add type" />
>
>  <at:register
>      class=".content.Type"
>      permission="type.Add"
>      />
>
> Note that with ``at:register``, it's optional to provide a product
> name (using ``product`` argument). It defaults to the module name of
> the configuration context. This works well.
>
> What happens then is that:
>
> 1) The content class is passed to ``atapi.registerType`` on ZCML load.
> 2) On Zope 2 "initialization", the content class is initialized
> automatically (as usual).
>
> Benefits:
>
(Continue reading)

Plone Tests Summarizer | 1 Dec 2010 13:58
Picon

Plone Tests: 5 OK

Summary of messages to the testbot list.
Period Tue Nov 30 13:00:00 2010 UTC to Wed Dec  1 13:00:00 2010 UTC.
There were 5 messages: 1 from ATContentTypes Tests, 1 from Archetypes Tests, 1 from Plone Libraries Tests,
1 from Plone Products Tests, 1 from Plone Tests.

Tests passed OK
---------------

Subject: OK : Plone-3.3 Zope-2.10 Python-2.4.6
From: Plone Products Tests
Date: Wed Dec  1 04:16:12 CET 2010
URL: http://lists.plone.org/pipermail/testbot/2010-December/017088.html

Subject: OK : Plone-3.3 Zope-2.10 Python-2.4.6
From: Plone Libraries Tests
Date: Wed Dec  1 04:21:12 CET 2010
URL: http://lists.plone.org/pipermail/testbot/2010-December/017089.html

Subject: OK : AT-1.5 Plone-3.3 Zope-2.10 Python-2.4.6
From: Archetypes Tests
Date: Wed Dec  1 04:27:28 CET 2010
URL: http://lists.plone.org/pipermail/testbot/2010-December/017090.html

Subject: OK : ATCT-1.3 Plone-3.3 Zope-2.10 Python-2.4.6
From: ATContentTypes Tests
Date: Wed Dec  1 04:33:55 CET 2010
URL: http://lists.plone.org/pipermail/testbot/2010-December/017091.html

Subject: OK (97 packages) : Plone-4.0 Zope-2.12 Python-2.6.5
From: Plone Tests
(Continue reading)

Malthe Borch | 1 Dec 2010 17:00
Picon
Gravatar

Re: Archetypes configuration using ZCML

On 1 December 2010 13:44, Laurence Rowe <l <at> lrowe.co.uk> wrote:
> +1. Archetypes will be with us for some time yet and this seems a
> sensible and noninvasive improvement.

Released as: http://pypi.python.org/pypi/archetypes.configure

> And go with "http://namespaces.plone.org/archetypes" for the
> namespace, it matches other plone zcml namespaces. The only reference
> to "http://plone.org/ns/archetypes/" I can find is the ATXML content
> export/import stuff.

I have used your suggestion. It's arguably much better.

Thanks,

\malthe

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
Dorneles Treméa | 1 Dec 2010 18:01
Gravatar

Re: Fail to install Plone with plone.recipe.plone == 3.1.7

Alex, Wyn,
> 
> On 11/16/10 3:41 AM, Wichert Akkerman wrote:
>> On 11/16/10 09:25 , Alex Clark wrote:
>>> Grrrrr. I thought we fixed this already? In any event, we could add a
>>> redirect, but it's probably "better" IMHO to just cut a new p.r.plone
>>> release. Antiloop has not been the dist server in over a year…
>> 
>> That will not help since everyone will have plone.recipe.plone pinned to
>> a fixed version.
> 
> Ah right. OK fixed I think. Let me know if not (also probably to report 
> this on the admins list, because I sometimes forget to check GMANE.)

the redirect worked for a few days... but since last weekend it's
failing again:

$ wget http://antiloop.plone.org/download/ZopeVersionControl-0.3.4.tar.gz
--2010-12-01 15:00:43--  http://antiloop.plone.org/download/ZopeVersionControl-0.3.4.tar.gz
Resolving antiloop.plone.org (antiloop.plone.org)... 82.94.219.235
Connecting to antiloop.plone.org (antiloop.plone.org)|82.94.219.235|:80... failed: Connection refused.

Does it rings any bell? :-)

--
Dorneles Treméa
Enfold Systems
http://www.enfoldsystems.com
Fax +1 832 201 8856
Office +1 713 942 2377 Ext 211
(Continue reading)

David Glick | 1 Dec 2010 18:56
Favicon

Re: Archetypes configuration using ZCML

On 12/1/10 8:00 AM, Malthe Borch wrote:
> On 1 December 2010 13:44, Laurence Rowe <l <at> lrowe.co.uk> wrote:
>> +1. Archetypes will be with us for some time yet and this seems a
>> sensible and noninvasive improvement.
> Released as: http://pypi.python.org/pypi/archetypes.configure
Great!  Thanks Malthe; this sounds like a nice improvement.

----------		
David Glick
 Web Developer
 davidglick@...
 206.286.1235x32

Groundwire: You Are Connected		
 http://groundwire.org		

Online tools and strategies for the environmental movement.  Sign up for Groundwire News!
 http://groundwire.org/email-capture

Check out our 2010 Website Benchmarks Report. How do you stack up?
 http://groundwire.org/resources/articles/2010-website-benchmarks-report

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
Alex Clark | 1 Dec 2010 20:06
Favicon
Gravatar

Re: [Admins] Fail to install Plone with plone.recipe.plone == 3.1.7

antiloop sucks! (restarted apache)

2010/12/1 Dorneles Treméa <dorneles-MXdtDD4G5ePQT0dZR+AlfA@public.gmane.org>
Alex, Wyn,
>
> On 11/16/10 3:41 AM, Wichert Akkerman wrote:
>> On 11/16/10 09:25 , Alex Clark wrote:
>>> Grrrrr. I thought we fixed this already? In any event, we could add a
>>> redirect, but it's probably "better" IMHO to just cut a new p.r.plone
>>> release. Antiloop has not been the dist server in over a year…
>>
>> That will not help since everyone will have plone.recipe.plone pinned to
>> a fixed version.
>
> Ah right. OK fixed I think. Let me know if not (also probably to report
> this on the admins list, because I sometimes forget to check GMANE.)

the redirect worked for a few days... but since last weekend it's
failing again:

$ wget http://antiloop.plone.org/download/ZopeVersionControl-0.3.4.tar.gz
--2010-12-01
15:00:43--  http://antiloop.plone.org/download/ZopeVersionControl-0.3.4.tar.gz
Resolving antiloop.plone.org (antiloop.plone.org)... 82.94.219.235
Connecting to antiloop.plone.org (antiloop.plone.org)|82.94.219.235|:80... failed: Connection refused.

Does it rings any bell? :-)

--
Dorneles Treméa
Enfold Systems
http://www.enfoldsystems.com
Fax +1 832 201 8856
Office +1 713 942 2377 Ext 211
Skype dtremea

_______________________________________________
Admins mailing list
Admins-G3yHMj00SlOLbbK5bonKug@public.gmane.org
http://lists.plone.org/mailman/listinfo/admins



--
Alex Clark · http://aclark.net
Author · http://aclark.net/admin

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Plone-developers mailing list
Plone-developers@...
https://lists.sourceforge.net/lists/listinfo/plone-developers
Ross Patterson | 1 Dec 2010 21:40
Favicon
Gravatar

Re: Archetypes configuration using ZCML

Malthe Borch <mborch@...> writes:

> Proposal for inclusion into Products.Archetypes. Otherwise I might
> release separately, or drop it altogether.
>
> Now,
>
> I have an implementation that allows you to configure your Archetypes
> content using e.g.:
>
>   <five:registerPackage package="." />
>
>   <permission id="type.Add" title="Type: Add type" />
>
>   <at:register
>       class=".content.Type"
>       permission="type.Add"
>       />
>
> Note that with ``at:register``, it's optional to provide a product
> name (using ``product`` argument). It defaults to the module name of
> the configuration context. This works well.
>
> What happens then is that:
>
> 1) The content class is passed to ``atapi.registerType`` on ZCML load.
> 2) On Zope 2 "initialization", the content class is initialized
> automatically (as usual).
>
> Benefits:
>
> 1) Avoids cargo-culting

+10 here.  The CMF and AT boilerplate have always been way too much.

Ross

> 2) DRY
> 3) Uses the common ZCML pattern
>
> Downsides:
>
> 1) Too little, too late?
>
> Notes:
>
> On the XML namespace for the the meta-directive, it's somewhat unclear
> to me if the ``at`` prefix should be bound to
>
>   "http://plone.org/ns/archetypes/" or "http://namespaces.plone.org/archetypes"
>
> Comments are welcome.
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
Alexander Limi | 2 Dec 2010 02:49
Favicon
Gravatar

Re: Dexterity based content attribute import blueprint

Did you hear back from them yet? :)

On Fri, Nov 19, 2010 at 12:45 PM, Rok Garbas <rok.garbas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
hey guys,


i've just did a gig before conference where we did the migration to
dexterity content types. sad thing about it is that its still in their
private repo and i will talk to them and try to add this blueprint to
plone.app.transmogrifier.

it might take some time since they are in big hurry to finish on time,
but at least they will give me permission to send you the blueprint
(they were talking to contribute it back to plone.app.transmogrifier
anyway, but after the project ).


this just tells me more that we need a page for transmogrifier, i
already got green light from martijn (author)... hopefully holidays
will come soon, to actually do something in this direction.


lp rok

2010/11/19 Joshua LaPlace <jlaplace-/awGbKECNgO/3pe1ocb+swC/G2K4zDHf@public.gmane.org>:
>
> Rok,
>
> We are working on a migration project where the final site will have content
> types based on dexterity.  Do you know if there is a blueprint for setting
> attributes on dexterity based content?  I know that plone.app.transmogrifier
> has a blueprint for archetypes based content but I have not been able to
> find one for dexterity based content so far.
>
> --
> Joshua LaPlace
> Enfold Systems
> http://www.enfoldsystems.com
> Office | +1 713 942 2377 Ext 213
> Fax | +1 832 201 8856



--
Rok Garbas, Python.Zope.Plone consulting
web: http://garbas.si
phone(si): +386 70 707 300
phone(es): +34 68 941 79 62
email: rok-k5+lt39nHzj1KXRcyAk9cg@public.gmane.org

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Plone-developers mailing list
Plone-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-developers



--
Alexander Limi · http://twitter.com/limi · http://limi.net



------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Plone-developers mailing list
Plone-developers@...
https://lists.sourceforge.net/lists/listinfo/plone-developers
Dylan Jay | 2 Dec 2010 05:18
Favicon
Gravatar

where the features/roadmap for deco are?

Hi,

Anyone know where the high-level roadmap for of future deco features  
is located?

We are preparing to put in a bid for a largish Intranet project based  
on Plone. Part of what is needed is flexible layouts/dashboards with  
widgets similar to igoogle (dnd etc). I've included some usecases at  
the bottom of this email.

My proposal at the moment centres around creating a new dashboard type  
in plone that would combine aspects of anz.dashboard and  
Products.Collage (and collective.collage.portlets).

A deco based solution would be preferable. I have played around with  
Deco as it is now. I've also found a lot of technical documentation.  
I'm trying to search for the location of a roadmap or documentation  
that tell me how close the final Deco system might fit my requirements.

Specifically I'm looking to answer :-

- Would there be a way to have permissions such that certain users see  
different things. For instance in Collage you can set sharing  
permissions such that certain cells disappear depending on your role/ 
groups. Other cells move up to take up the remaining space. Group  
portlets is another implementation of this idea. Would deco enable this?

- Would there be a way to set roles so that the operations of layout  
can be done without giving that user the ability to edit the tiles,  
and visa versa?

- Would there be a way to lock the location of tiles such that only  
those with permission to unlock could move them. Unlocked tiles can be  
moved by those with normal layout permission but they can't move the  
locked tiles.

- Would be a way of selecting from a list of pre-existing layouts ie  
layout reuse? e.g. A collaboration space layout can be switched to, or  
a simple discussion space layout.

Intranet usecase we're working towards are :-

1. Create folder
2. Select Display and select "default dashboard"
3. Changes view to that similar to anz.dashboard with a default widget  
of summary view
4. Add page - creates page normally. return to folder
5. Click "add widget"
6. popup dialog to browse content of folder (+ others). select page  
that was added, new widget created with contents.
7. Now in layout mode. Widget can be dragged around and resized.
6. Click "done". back to view mode.
7. If you have edit permission for an item then there is always a  
"pencil" icon to edit it.
9. If item is content then you have access to sharing etc. If you  
don't have permission to view it, it's not shown.
10. User clicks "add widget" and selects from list of portlets and  
creates portlet. This can be moved around like any other widget.

Additional
- each widget has a lock icon. clicking lock means it can't be moved  
around. A folder has two new local roles "can layout", "can unlock"
- a layout can be saved as a default view and then becomes available  
via the "display" menu. Locked widgets in a templated layout can't be  
unlocked except in the template.
- User can create content such as discussion forum. If widget or page  
exists that is looking for a particular content that doesn't exist it  
will not show. When it exists it will show up automatically. same was  
as portlets.
- inline edit for content widgets?

---
Dylan Jay
Plone Solutions Manager. www.pretaweb.com
P +612 80819071   M +61421477460
skype - dylan_jay    twitter - djay75

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev

Gmane