Timo Stollenwerk | 22 May 2013 18:18
Picon
Favicon

Re: Tagging RF tests

Am 22.05.2013 18:09, schrieb Gil Forcada Codinachs:
> Sorry to get you back so late!
>
> Thanks for the pointers and ideas, still I was thinking in something
> different:
>
> My wish is to be able to run all tests always, but at the same time be
> able to tag some RF tests in a way it's ok if they fail (so that jenkins
> still considers that the build is fine).
>
> The underlying problem is that tests do run fine in our development
> laptops but for some reason (and not much time to investigate) on the
> jenkins server they do fail.

Do they always fail on Jenkins or just randomly? Our coredev robot tests 
used to fail on Jenkins every now and then because sometimes the 
selenium tests try to access a component that has not been fully loaded 
yet. You have to make sure the tests wait until the page has been fully 
loaded (with "Wait until page contains" and "Wait until keyword 
succeeds") before typing in data or testing for content. See for instance

https://github.com/plone/Products.CMFPlone/blob/4.3.x/Products/CMFPlone/tests/robot/test_overlays.robot

for examples.

Timo

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
(Continue reading)

Yuri | 22 May 2013 16:13
Picon

Plone 4.3 takes a lot of time to compose and compress javascripts?

Hi!

  tryng to debug while some pages took long to diplay, I've found that 
the problem was portal_javascripts js that take so long. This happen 
until the javascript is compiled/compressed by portal_javascript. I've 
installed ZopeHealth watch and was able to catch this behaviour. On the 
browser, requesting for example the url:

portal_javascripts/kss-bbb-cachekey-a4a4185a8da6b0ec16ca901b894e999a.js

it returns (until it has finished to compress/compile it) something like 
"internal server error", it can takes more than 15 seconds before giving 
the error.

It seems to happen mostly with this merged composition:

====================

/* Merged Plone Javascript file
  * This file is dynamically assembled from separate parts.
  * Some of these parts have 3rd party licenses or copyright information attached
  * Such information is valid for that section,
  * not for the entire composite file
  * originating files are separated by - filename.js -
  */

/* - kss-bbb.js - */

**omitted**

(Continue reading)

matthew lange | 22 May 2013 00:36
Picon
Gravatar

Supermodel, Dexterity Content types, named relations between content types

Returning to Plone after a bit of hiatus...I have been playing with
the supermodel schema, and I think it is really cool. I have two
questions about the way Plone is moving forward with dexterity content
types, and how they work with each other.
First, I am trying to use the titles of instances of one Dexterity
content type (dctA) to fill the choice parameters for a field in
another content type (dctB).
I see that I can iterate over the instances of  dctA, register these
titles as a vocabulary, and then use the <vocabulary > tag within
supermodel..but the latter part seems to require filesystem level
access.  I would rather not give this access to my
students--preferring to have them focus on the generation of portable
xml models.  Am I missing another more straightforward way that allows
me to call dctA titles as choices for the field directly?  I do see
from supermodel's docs that  "...we can import a choice field with a
source, provided that source can be specified via an importable dotted
name..." But I don't fully understand where my new TTP-created
dexterity content type reside in the dotted-name hierarchy. Am I
missing something simple?

Second, I would like to model via supermodel, the types of
relationships in which specific dexterity content types are capable of
engaging. It seems as though I need plone.app.relationfield for this,
but I wasn't able to find a working example of how this can (now, or
in the future) be modeled within supermodel.

If these features aren't currently possible,are they path for core
Plone/Dexterity/Supermodel development ?

Thanks,
(Continue reading)

Dylan Jay | 20 May 2013 09:27
Favicon
Gravatar

enhanced collections views

Hi,

I'm looking for advise on how to get something like collective.listingviews into the plone core.

- Collections is a powerful tool that lets users choose what items they want to show.
- Page templates is a powerful tool that lets plone developers create new custom views for folders,
collections and items
- Diazo is a powerful tool to for a themer with control panel access to change the layout of collections

Until now there hasn't been much in between. 
ie, if I'm not a plone developer but a themer or site administrator and I want to display more info about items
in a collection, what can I do?
There is the table view for collections but to me it has always seemed a bit of a hack.

This is why we created collective.listingviews was created (In fact we went beyond collection views and
made it so you can display a lot more info about on any content item in plone.) 
So far we've found it to be very useful and have ended up using it on 4-5 different sites. Since we find it so
useful, we think this with some more work, or something very similar would be a useful core feature.

For example the following page was made just using eea.facetednavigation, collective.listingviews and plone.app.theming.
 - http://mhcs.nswgov.pretacloud.com/publicationsandresources#b_start=0

I realise this might not seem that useful to many of you because anyone on this list knows and loves ZPT. You
might ask why do it in a more indirect and roundabout way?
The main reason is that we believe the learning curve is much lower and the chance of the user creating a view
that breaks the site is less since less code is involved.
For some more UI love this could be easier and less error prone still. (note the custom expression above are
an optional part).
The other reason is that separating the definition of the what attributes to list (listingview) vs how this
should be laid out (diazo) allows for diazo patterns to be reused between different views and different
(Continue reading)

Gil Forcada Codinachs | 17 May 2013 12:52
Picon
Gravatar

Tagging RF tests

Hi all,

Robot Framework allows to tag tests in a free text way[1]. That allows you to group tests together, run just some, exclude others, allow some tests to fail but not others...


As I see right now, this can not be used with our plone.app.testing infrastructure and more importantly with our integration with Jenkins.

Would be welcomed a pull request to work on this? What would you like to be on that pull request? A way to tell the test runner which are the tags to exclude/include which are the critical ones...?

Did anyone take a look at that so we don't step into each other?


Cheers,
Gil Forcada

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Plone-developers mailing list
Plone-developers@...
https://lists.sourceforge.net/lists/listinfo/plone-developers
Kees Hink | 15 May 2013 19:42
Picon
Gravatar

Ready for merge: configurable image scaling

Hi,

I worked on a way to make the quality of scaled images a setting in the 
image handling controlpanel.

I'd be grateful if someone could take a look at it: 
https://dev.plone.org/ticket/13337

Cheers,

Kees

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
Kees Hink | 15 May 2013 16:58
Picon
Gravatar

coding style: ignore case when ordering imports?

The example on

http://developer.plone.org/reference_manuals/external/plone.api/contribute/conventions.html#grouping-and-sorting 
made me think that imports should be ordered alphabetically, regardless 
of case, so plone.api before Products.CMFCore.

To some, sorting alphabetically seems to imply capitalized modules 
first, so Products.* before plone.*.

What style shall we adopt?

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
Jean-Michel FRANCOIS | 15 May 2013 13:43
Picon
Gravatar

Git commit message convention

Hi,

I have just read the git commit message convention of the AngularJS project at http://goo.gl/iJ3E3
and I just fall in love with it.

Why not apply this to the plone core packages ? Is there already a plone-core convention for this ?

Regards / Cordialement,
JeanMichel FRANCOIS

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Plone-developers mailing list
Plone-developers@...
https://lists.sourceforge.net/lists/listinfo/plone-developers
Andrew Mleczko | 14 May 2013 21:57
Gravatar

Plone Framework Team Meeting – 14 May, 2013

Attending: Andrew, Craig, David, Eric, Johannes, Ross

* David will run the next meeting (28/05) and Johannes the following
(11/06), thanks!

* Collections: folderish plus migration from Topic to Collection (new
PLIP #13561)
  * all team members please add your votes

* plone.app.multilingual (#13091):
    * Ramon is working on a release.

* new set of widgets for Plone (plone.app.widgets) (PLIP #13476)
   * David is going to review it

* Define extra member properties TTW (PLIP #13350)
   * David: This is an ambitious PLIP, and it makes for an impressive
through-the-web demo. Good work! But the implementation scares me
because of the excessive dynamic creation of new schema instances and
adapter registrations and because nothing is tested

* Ship Chamelon (2.x)/five.pt with Plone by default (PLIP #12198)
  * Ross will do a review

 * include workflow manager (PLIP #10804)
  * Nathan will not have time to finish it. Any volunteers?

* Folder Contents Improvements (PLIP #13267)
  * Johannes will review it

* Remove portal_skins from Products.CMFPlone (PLIP #13260)
   * In progress 60-70% done
   * Planned to work on pre-Plone Symposium East sprint

* The PLIP process documentation is not up-to-date
   * toutput: When you feel development is complete, please change the
ticket resolution to "Please Review". But this ticket status doesn't
exists.
   * Ross will check it, thanks!

* Please test already merged PLIPs - plone.app.event (#10886) and
Factor out Products.ATContentTypes dependency from Products.CMFPlone
(#12344)

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
Marcio Mazza | 14 May 2013 20:32
Picon
Gravatar

Will you attend Ploneconf 2013?

Hello folks,

The Ploneconf 2013 Organizing Committee is working very hard to bring you a great conference.
We need your help to make some important decisions.
Please take a couple of minutes to answer this short survey. (My timing was 2 minutes.)

Go to http://www.ploneconf.org/surveys/will-you-attend-ploneconf-2013

Thank you. Do help us.

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Plone-developers mailing list
Plone-developers@...
https://lists.sourceforge.net/lists/listinfo/plone-developers
Andrew Mleczko | 14 May 2013 19:08
Gravatar

Re: Please review plip #12453

On Sun, Apr 28, 2013 at 2:44 PM, Jean-Michel FRANCOIS
<toutpt@...> wrote:
> Reading the documentation about plip process:
>> When you feel development is complete, please change the ticket resolution
>> to "Please Review".
>
> but this ticket status doesn't exists. So please could you review this plip
> and fix documentation about this ?
> http://plone.org/community/processes/plips

Can smb please fix the documentation?

a.

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d

Gmane