Re: [Product-Developers] do Dexterity objects provide IContentType?

2014-05-16 Thread David Glick (Plone)
It should work as long as your object provides some interface that provides IContentType. Dexterity does this automatically for auto-generated schemas. If you're using your own schema in Python you have to do alsoProvides(schema, IContentType) yourself. On 5/16/14, 1:21 PM, Héctor Velarde

Re: [Product-Developers] Archetypes Event-derived type without content actions menu

2014-04-02 Thread David Glick (Plone)
On 4/1/14, 2:02 AM, ajung wrote: Hi there, we have legacy system (not out code) running on Plone 4.2.6. It contains a custom AT-based event type. This type shows up with an empty div.contentActions while all other types show the standard Plone menu bar. The empty div is generated through this

Re: [Product-Developers] #sprint topic name

2014-02-08 Thread David Glick (Plone)
Done :) On 2/8/14, 9:04 AM, Roel Bruggink wrote: Can we get the #sprint channel's topic to The Plone sprinting channel . http://plone.org/events/sprints so it works for all sprints? -- Roel Bruggink http://www.fourdigits.nl/mensen/roel-bruggink Four Digits BV http://www.fourdigits.nl

Re: [Product-Developers] How to group fields in dexterity? Nested fieldsets possible?

2014-01-31 Thread David Glick (Plone)
On 1/31/14, 11:30 AM, Maik Derstappen wrote: Hi, i'm looking for a way, to group some fields in a dexterity model. What i can do is, using a fieldset with plone.autoform, but this results in tabs in the edit form, which is ok. But what i whant is, inside one tab (fieldset) i will have some

Re: [Product-Developers] status of newsletter packages

2013-10-30 Thread David Glick (Plone)
On 10/30/13, 1:44 AM, Mikko Ohtamaa wrote: on the other side, are there any other packages to solve the newsletter use case? what are you using nowadays? http://kb.mailchimp.com/article/how-to-code-html-emails Developing newsletters? Never again. Not even once.

Re: [Product-Developers] conventions on version numbering

2013-10-30 Thread David Glick (Plone)
On 10/30/13, 12:17 PM, Héctor Velarde wrote: according to our versioning scheme conventions, we should do the following: Given a version number MAJOR.MINOR.PATCH, increment the: * MAJOR version when you make incompatible API changes, * MINOR version when you add functionality in a

Re: [Product-Developers] anyone interested in moving PloneGetPaid to git?

2013-06-11 Thread David Glick (Plone)
On 6/9/13 1:55 PM, Paul J Stevens wrote: On 06/07/2013 06:34 PM, David Glick wrote: The censored packages have effectively been forked, so yes, that makes sense so that special find-links are not needed to install the packages. If you tell me your gmail account and pypi user I'll make sure you

Re: [Product-Developers] anyone interested in moving PloneGetPaid to git?

2013-06-07 Thread David Glick
The censored packages have effectively been forked, so yes, that makes sense so that special find-links are not needed to install the packages. If you tell me your gmail account and pypi user I'll make sure you have access. Thanks for volunteering! David Glick (mobile) On Jun 7, 2013, at 6:34

Re: [Product-Developers] Plone 4.3 compatibility for plone.org products (was Plone 4.2 compatibility for plone.org products)

2013-06-04 Thread David Glick (Plone)
On 6/1/13 8:12 AM, Luca Fabbri wrote: On Mon, Jan 14, 2013 at 9:32 PM, Jon Stahl jonst...@gmail.com wrote: --- On Mon, Jan 14, 2013 at 10:56 AM, Nathan Van Gheem vangh...@gmail.com wrote: IMO, the query just needs to change to show all 4.x compatible products right now. Not all authors

Re: [Product-Developers] pissed Generating the Dexterity boilerplate for Plone 4.3/pissed

2013-05-28 Thread David Glick (Plone)
On 5/27/13 11:46 PM, ajung wrote: David Glick (Plone) wrote Thanks for pointing out some specific places where the Dexterity documentation is out of date. Steve McMahon and I are working on fixing this. Additional specific suggestions for improvements, as opposed to general griping, would

Re: [Product-Developers] Plone 4.3: AttributeError: 'FileChunk' object has no attribute 'read'

2013-05-26 Thread David Glick (Plone)
The FileChunk error was fixed in https://github.com/plone/plone.namedfile/commit/c0de399d826a19eba7d58f8501432c8ca8ecd381, released in plone.namedfile 2.0.3, and will be part of the next Plone 4.3.x release. David On 5/26/13 10:26 AM, Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE-

Re: [Product-Developers] pissed Generating the Dexterity boilerplate for Plone 4.3/pissed

2013-05-25 Thread David Glick (Plone)
On 5/25/13 6:55 AM, ajung wrote: After reversing engineering: the problem here is in GenericSetup. The configuration for property name=schema.../property is completely ignored. It is correctly exported through portal_setup after setting it manually through the ZMI but the standard types tool

Re: [Product-Developers] pissed Generating the Dexterity boilerplate for Plone 4.3/pissed

2013-05-25 Thread David Glick (Plone)
On 5/25/13 4:40 AM, ajung wrote: Rant continuing Even the Dexterity documentation is outdated for Plone 4.3 http://dexterity-developer-manual.readthedocs.org/en/latest/schema-driven-types.html Please use the copy of the manual at

Re: [Product-Developers] KSS removal / workflow menu

2013-05-17 Thread David Glick (Plone)
On 5/17/13 9:32 AM, Sean Upton wrote: So KSS changeWorflowState and its wicked assumptions have broken [1,2] two add-ons I have developed, enough so that I feel highly motivated to get my packages updated to work on Plone 4.3 (on 4.2.x now). Does 4.3 implement an XMLHTTPRequest-based

Re: [Product-Developers] multi version CI: extending from Dexterity KGS in buildout.plonetest?

2013-03-27 Thread David Glick (Plone)
On 3/27/13 7:33 AM, Héctor Velarde wrote: yesterday I successfully started testing various add ons against different versions of Plone and Python using Travis CI and our good old testing configurations in buildout.plonetest. you can see some nice examples in:

Re: [Product-Developers] Ask for release of LinguaPlone

2013-01-17 Thread David Glick (Plone)
You should have access now. cheers, David On 1/17/13 5:39 AM, Jean-Michel FRANCOIS wrote: Hi ! I need a new release for LinguaPlone. There is one year of changes inside ! I'm ready to assume the release if you give me rights (user toutpt on both plone.org http://plone.org pypi).

Re: [Product-Developers] Plone 4.3 compatibility for plone.org products (was Plone 4.2 compatibility for plone.org products)

2013-01-14 Thread David Glick (Plone)
On 1/14/13 4:16 AM, Luca Fabbri wrote: On Tue, Jan 8, 2013 at 9:28 PM, Alex Clark acl...@aclark.net wrote: On 2013-01-06 20:13:46 +, Jean Jordaan said: Hi Luca, Where is the code of the PSC used by plone.org? If you start from https://github.com/plone/Products.PloneOrg you should find

Re: [Product-Developers] Dexterity: make a list field required

2012-12-05 Thread David Glick (Plone)
I think you can also say min_length=1 ... but the error message in case the list is too short might be cryptic, IIRC. David On 12/5/12 10:57 AM, Christian Ledermann wrote: OK figured out a workaround: def isnotempty(value): return bool(value) layers = schema.List(

Re: [Product-Developers] please release collective.portlet.actions

2012-10-13 Thread David Glick (Plone)
On 10/12/12 7:57 PM, Alex Clark wrote: On 2012-10-12 14:32:44 +, Tom Gross said: There is no automated way. But adding a buildout based on one of these http://svn.plone.org/svn/collective/buildout/plonetest/ (any reason to not have these on github?) I am interested in moving them to

Re: [Product-Developers] Plone Keyword Manager

2012-09-17 Thread David Glick (Plone)
On 9/17/12 2:39 PM, jimterangi wrote: I've noticed name discrepancies alot with things getting moved on to git hub. It is definitely not very good for community driven development, such as Plone. On the contrary, I think github's tools for tracking issues and doing peer review of pull

Re: [Product-Developers] Plone Keyword Manager

2012-09-16 Thread David Glick (Plone)
On 9/16/12 6:24 AM, Héctor Velarde wrote: hi there! who is the current maintainer of Products.PloneKeywordManager? Looks like no one had done any work on it until you for the past year. The owners on PyPI are dunlapm, jessesnyder, saily, tdesvenain. By the way, I notice that it got moved to

Re: [Product-Developers] release archetypes.querywidget

2012-09-08 Thread David Glick (Plone)
On 9/3/12 2:50 AM, Jens W. Klein wrote: Hi, after fixing bug https://dev.plone.org/ticket/13144 it would be nice to have a release, is this possible? This would help anybody using new collections together with add ons which are modifing the raw query, i.e. Solgema.fullcalender is a

Re: [Product-Developers] Plone Community and Development – Things of note (2012-08-23)

2012-08-26 Thread David Glick (GW)
. ___ Product-Developers mailing list product-develop...@lists.plone.org https://lists.plone.org/mailman/listinfo/plone-product-developers -- David Glick Web Developer davidgl...@groundwire.org 206.286.1235x32 Groundwire is now hiring a Web Developer http

Re: [Product-Developers] Thinking about CMF site fixture/layer for plone.testing

2012-05-12 Thread David Glick
? Also, is there any point in using / requiring CMFDefault if a fixture based on CMFCore will suffice? My goal would be only adding extra dependency on CMFCore only. +1 for not requiring CMFDefault, and for the proposal in general. David -- David Glick Web Developer davidgl

Re: [Product-Developers] [plone.app.iterate] Why is working copy support tied to versioning?

2012-04-25 Thread David Glick (GW)
copy support and versioning) independent of each other. I'm not sure. I just glanced through plone.app.iterate and didn't see anything that would obviously make it require versioning. In what way does it fail without versioning? David -- David Glick Web Developer davidgl

Re: [Product-Developers] plone.app.theming and password reset

2012-04-25 Thread David Glick (GW)
log (with no 'Ignored exception types') So it seems to be an error in the rules.xml I suppose, can somebody point me into the right direction to debug this? Maybe an issue with a relative link and the Diazo theme not copying the BASE tag properly? Just a guess. David -- David Glick

Re: [Product-Developers] Introducing collective.grok

2012-04-17 Thread David Glick
about it too much. We should avoid hard dependencies on things that some people aren't going to want, but managing a gazillion packages is a pain. David -- David Glick Web Developer davidgl...@groundwire.org 206.286.1235x32 GiveBIG is coming! Mark your calendar for May 2

Re: [Product-Developers] Automatically generating CHANGELOG.txt from Github commits

2012-04-11 Thread David Glick (GW)
This would make Python egg release process even better and more automatic with jarn.mkrelease and buddies. Only if everyone remembers to add the [release notes] tag when committing. Good luck with that. -- David Glick Web Developer davidgl...@groundwire.org 206.286.1235x32 GiveBIG

Re: [Product-Developers] RichTextWidget wysiwyg editor not displaying actual value after action

2012-04-04 Thread David Glick
()) self.updateWidgets() David -- David Glick Web Developer davidgl...@groundwire.org 206.286.1235x32 The Engagement Party 2012. So much more fun than the wedding reception. http://www.npoengagementparty.com ___ Product-Developers

Re: [Product-Developers] tinycme.xml resource types

2012-04-04 Thread David Glick
experience enough pain here to put forth effort to fix it. David -- David Glick Web Developer davidgl...@groundwire.org 206.286.1235x32 The Engagement Party 2012. So much more fun than the wedding reception. http://www.npoengagementparty.com

Re: [Product-Developers] How to display borg.localrole in Sharing tab

2012-03-23 Thread David Glick
! -- David Glick Web Developer davidgl...@groundwire.org 206.286.1235x32 The Engagement Party 2012. So much more fun than the wedding reception. http://www.npoengagementparty.com ___ Product-Developers mailing list product-develop

Re: [Product-Developers] archetypes.uploadreferencewidget release

2012-03-22 Thread David Glick
package owners even if deo can't do that? Ask on the catalog-sig mailing list. David -- David Glick Web Developer davidgl...@groundwire.org 206.286.1235x32 The Engagement Party 2012. So much more fun than the wedding reception. http://www.npoengagementparty.com

Re: [Product-Developers] ANN: plone-devstart (please help test)

2012-03-13 Thread David Glick (GW)
can build those checks into Plone's setup.py though, so much the better -- so I'd much rather consider Martin's script as very useful research toward that end rather than as a wrong direction. David David Glick Web Developer davidgl...@groundwire.org 206.286.1235x32 [http://gw-logo.s3

Re: [Product-Developers] ANN: plone-devstart (please help test)

2012-03-12 Thread David Glick (GW)
, such as to change the default encoding. David David Glick Web Developer davidgl...@groundwire.org 206.286.1235x32 [http://gw-logo.s3.amazonaws.com/gw-email-signature.png] The NPO Engagement Party 2012.http://www.npoengagementparty.com So much more fun than the wedding reception

Re: [Product-Developers] ANN: plone-devstart (please help test)

2012-03-11 Thread David Glick
development set up, so I don't understand the stop energy from people. plone-devstart and ZopeSkel are complementary tools. David David Glick Web Developer davidgl...@groundwire.org 206.286.1235x32 [http://gw-logo.s3.amazonaws.com/gw-email-signature.png] The NPO Engagement Party 2012.http

Re: [Product-Developers] [Dexterity] How to register a browser:page?

2012-02-12 Thread David Glick
Dexterity content, but only list it as an available layout in the FTI for your type. (Probably my least favorite of the options.) David -- David Glick Web Developer davidgl...@groundwire.org 206.286.1235x32 Engagement technology for social and environmental change. http

Re: [Product-Developers] invariant validator for add form has no context?

2012-01-19 Thread David Glick (GW)
to the form than to the schema, but it sounds like this add form is a special case anyway). You can also try aq_parent(request['PUBLISHED']) as a way to get the parent of the published object, which should be the container that the form is a view of in this case. David -- David Glick

Re: [Product-Developers] Named vocabularies, dexterity, autocompletewidget...

2012-01-18 Thread David Glick (GW)
, or at least I found it impossible using grok.implements It would need to be on the vocabulary returned by the vocabulary factory, not on the factory. I think. David -- David Glick Web Developer davidgl...@groundwireconsulting.com 206.286.1235x32 Groundwire Consulting is here. http

Re: [Product-Developers] invariant validator for add form has no context?

2012-01-18 Thread David Glick
as stored in a thread-local variable during traversal. So it will work as long as you're using it in code accessed via the web (i.e. most of the time) but not if you use it from a script run via bin/instance run...unless you take care to set up that thread-local yourself. David David Glick Web

Re: [Product-Developers] GenericSetup: Upgrade dependencies?

2012-01-16 Thread David Glick
hard to do with a Python upgrade step. See the upgrade_product function in Megaphone's upgrade steps for an example: http://svn.plone.org/svn/collective/collective.megaphone/trunk/src/collective/megaphone/upgrades/__init__.py David -- David Glick Web Developer davidgl

Re: [Product-Developers] collective.z3cform.datagridfield + plone.app.relation.RelationList

2011-12-01 Thread David Glick
related to http://code.google.com/p/dexterity/issues/detail?id=180 ? If that helps we can merge Asko's patch, but I'd like to have some tests for it. David -- David Glick Web Developer davidgl...@groundwireconsulting.com 206.286.1235x32 Groundwire Consulting is here. http

Re: [Product-Developers] Dexterity - hide content created by logged in user

2011-11-25 Thread David Glick
way is to give your content type a workflow that does not assign the Modify portal content permission to the Owner role. David -- David Glick Web Developer davidgl...@groundwireconsulting.com 206.286.1235x32 Groundwire Consulting is here. http://groundwire.org/about/FAQ

Re: [Product-Developers] dexterity [newbie] : how to disable a Field widget

2011-11-13 Thread David Glick
model at this point. So one could do in a custom form: def updateWidgets(self): self.widgets['field1'].disabled = True David -- David Glick Web Developer davidgl...@groundwireconsulting.com 206.286.1235x32 Groundwire Consulting is here. http://groundwire.org/about

Re: [Product-Developers] dexterity [newbie] : how to disable a Field widget

2011-11-13 Thread David Glick
On 11/13/11 8:14 PM, Karl Johan Kleist wrote: David Glick-3 wrote: That is also an option, but doesn't quite meet the use case that was described (if the user lacks the write permission and the form is in input mode, then the field will not show up at all, rather than showing up disabled

Re: [Product-Developers] c.r.omelette release

2011-09-12 Thread David Glick
spaces. Can you please cut a release. David has meanwhile released 0.12. Thanks! And neglected to reply to list to say that I had done so, because I didn't notice that Tom's email had been addressed to a list. Sorry! David -- David Glick Web Developer davidgl

Re: [Product-Developers] collective.recipe.backup: support for collective.recipe.filestorage checked in

2011-08-25 Thread David Glick
for your contribution. FWIW, the in-house backup script that we use with collective.recipe.filestorage reads zope.conf and/or zeo.conf to figure out what storages exist and where they are. It's pretty dumb about the parsing though; just some regexes. David -- David Glick

Re: [Product-Developers] location field on Dexterity based content types

2011-08-04 Thread David Glick
have more success asking Dexterity questions in the Dexterity google group: http://groups.google.com/group/dexterity-development David -- David Glick Web Developer davidgl...@groundwire.org 206.286.1235x32 Online tools and strategies for the environmental movement

Re: [Product-Developers] IObjectModifiedEvent, object modified or added?

2011-07-28 Thread David Glick
. That should only be set if the object has been committed to the ZODB. (But test and make sure it works for your case...there may be other scenarios like if savepoints are used.) -- David Glick Web Developer davidgl...@groundwire.org 206.286.1235x32 Online tools and strategies