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 wro

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 v

Re: [Product-Developers] Attaching plone.app.widgets to a custom Dexterity schema.

2014-03-08 Thread David Glick (Plone)
On 2/26/14, 12:28 PM, ajung wrote: I have a custom Dexterity type with a RelationField 54 media = RelationChoice($ 55 title=_(u"label_podcast_item_media"),$ 56 description=_(u"help_podcast_item_media"),$ 57 source=ObjPathSourceBinder(object_provides=IMediaItem.__ident

Re: [Product-Developers] Multi select widget for schema.List() in a Dexterity schema?

2014-02-20 Thread David Glick (Plone)
Try: form.widget('tags', SelectWidget, multiple='multiple', size=5) (requires plone.autoform >= 1.4) David On 2/20/14, 1:47 AM, Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, still getting the In-Out widget. What is the correct widget for rendering a widget? I tried

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 smale

Re: [Product-Developers] Acquisition context inside a Plone behavior

2014-01-29 Thread David Glick (Plone)
It's not a bug. The INameFromTitle adapter is intentionally used before the object is added to the object graph, in order to determine what name it should be given when added. Use a custom INameChooser if the id depends on the container. David On 1/29/14, 1:09 PM, Jens W. Klein wrote: File a

Re: [Product-Developers] SupermodelParseError: Field type plone.app.textfield.RichText specified for field body is not supported

2013-12-03 Thread David Glick (Plone)
On 12/3/13, 12:37 AM, ajung wrote: Hi there, I am receiving the following error using a simple Dexterity 2 based add-on within a text fixture under Plone 4.3.2: File "/home/ajung/.buildout/eggs/zope.testing-3.9.7-py2.7.egg/zope/testing/testrunner/runner.py", line 366, in run_layer setup_

Re: [Product-Developers] changing the order of browser layers

2013-11-11 Thread David Glick (Plone)
On 11/11/13, 9:23 AM, Héctor Velarde wrote: is there a way of changing the order of browser layers order besides doing it on the request? It's determined by the interface resolution order of the interfaces provided by the request. (i.e. request.__provides__.__iro__) The rules are something l

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 backwards-co

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] dexterity + webservice data

2013-10-14 Thread David Glick (Plone)
On 10/14/13 1:36 PM, Bárbara Arena wrote: Hi, i've been working on a product that consumes webservice data using "Suds". We have a main script/method to access each webservice, scripts to parse the results and template pages to show them properly. We were using archgen + archetypes, but since it

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] 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 wrote: --- On Mon, Jan 14, 2013 at 10:56 AM, Nathan Van Gheem wrote: IMO, the query just needs to change to show all 4.x compatible products right now. Not all authors update their products to show they're comp

Re: [Product-Developers] IContextSourceBinder sans five.grok.provides()?

2013-06-03 Thread David Glick (Plone)
On 6/3/13 3:35 PM, Sean Upton wrote: What's the right way to register an function that provides IContextSourceBinder without five.grok.provides()? ZCML? directlyProvides(func, IContextSourceBinder) Dexterity docs need updating for this for Dexterity 2.0 and Plone 4.3? That would be great

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

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 be

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

2013-05-27 Thread David Glick (Plone)
On 5/27/13 3:30 AM, ajung wrote: I have one thing to add. Some person tried to explain me (in a pointless way) how OSS works... Here is the situation: most of us wear more than one head...most of work as integrator and as core developers (in some way). Shouting out "fix this yourself" is not an

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- Has

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

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 http://developer.plone.org/reference_manuals/external/plone

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

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 ... is completely ignored. It is correctly exported through portal_setup after setting it manually through the ZMI but the standard types tool import step ignores this proper

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

2013-05-25 Thread David Glick (Plone)
On 5/25/13 10:07 AM, Steve McMahon wrote: On Sat, May 25, 2013 at 6:48 AM, ajung > wrote: Bringing the discussion back to facts. The documentation http://dexterity-developer-manual.readthedocs.org/en/latest/schema-driven-types.html uses form.schema (fr

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 state-chang

Re: [Product-Developers] collective.googleanalytics

2013-03-28 Thread David Glick (Plone)
On 2/28/13 8:15 AM, Tom Gross wrote: Hey Plone product developers could someone please - review and merge https://github.com/collective/collective.googleanalytics/pull/7 - enable collective.googleanalytics @ travis-CI - make a release on pypi (or add me "iT0m" as maintainer and I'll do it)

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: https://travis-ci.org/collective/

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 & pypi). Re

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 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 it. Yes you can

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

2013-01-06 Thread David Glick (Plone)
I tried adding Plone 4.3 to the list of available versions for product authors to choose, but unfortunately this immediately causes plone.org/products to default to the new version. I don't think we should add it as an option until that gets fixed. David On 1/6/13 9:10 AM, Jon Stahl wrote: +10

Re: [Product-Developers] Java applet reads __ac cookie: zope-root/acl_users vs plone-root/acl_users

2012-12-10 Thread David Glick (Plone)
On 12/10/12 7:32 AM, Jochen Dekeyser wrote: Hi, I am working with Plone 4.1.6. I made a product which includes a Java applet. This applet is used to read a file (=ATBlob) from the plone site and display it. When a user has logged in, and the ATBlob has status "Private", the applet can read the f

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( title

Re: [Product-Developers] Better "Subject" widget for Dexterity types

2012-11-27 Thread David Glick (Plone)
On 11/27/12 4:43 AM, Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Subject widget for Dexterity content types (ICategorization behavior) currently uses a simple textarea (compared to more usable widget for AT types). Is there some more reasonable widget/behavior for 'Subj

Re: [Product-Developers] New style collections: migration, sub collections?

2012-11-01 Thread David Glick (Plone)
On 11/1/12 10:29 AM, Maurits van Rees wrote: Hi, A few quick questions about the new style collections in Plone 4.2, to check that I understand them correctly. Unless I have missed something, old style collections are not migrated to new style when migrating to Plone 4.2. Does someone have

Re: [Product-Developers] KeyError: 'False' when calling view() on a multi adapter

2012-10-30 Thread David Glick (Plone)
On 10/30/12 9:44 AM, Héctor Velarde wrote: well, it got worst: it was solved by removing an unused import of the IHtmlHeadLinks interface: https://github.com/collective/collective.newsflash/commit/86e326c76ed9ebbb28525781289349fe9359d695 Grok's black magic... I can't see how removing that wo

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 git

Re: [Product-Developers] Some Dexterity questions

2012-10-04 Thread David Glick (Plone)
On 10/4/12 1:51 AM, Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, the Dexterity widget for related items seems to support to reference AT content. How about the other way round? Is it supposed to work to reference Dexterity content from AT content? If not: Dexterit

Re: [Product-Developers] dexterity: transform HTML before saving

2012-09-26 Thread David Glick (Plone)
On 9/26/12 5:16 AM, Kees Hink wrote: These answers were very helpful, thanks. In our richtexteditor.js, we now added this setup parameter: params = $.extend( { // ... setup : function(ed) { ed.onSaveContent.add(function(ed, o) { // find all im

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 requests

Re: [Product-Developers] Plone Keyword Manager

2012-09-16 Thread David Glick (Plone)
On 9/16/12 3:53 PM, Héctor Velarde wrote: On 16/09/12 19:13, David Glick (Plone) wrote: 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 github as

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 g

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 prominent