Favicon

ANN: eGenix mxODBC Zope Database Adapter 2.0.2

________________________________________________________________________
ANNOUNCEMENT

                     mxODBC Zope Database Adapter

                            Version 2.0.2

                     for Zope and the Plone CMS

                Available for Zope 2.10 and later on
        Windows, Linux, Mac OS X, FreeBSD and other platforms

This announcement is also available on our web-site for online reading:
http://www.egenix.com/company/news/eGenix-mxODBC-Zope-DA-2.0.2-GA.html

________________________________________________________________________
INTRODUCTION

The eGenix mxODBC Zope Database Adapter allows you to easily connect
your Zope or Plone installation to just about any database backend on
the market today, giving you the reliability of the commercially
supported eGenix product mxODBC and the flexibility of the ODBC
standard as middle-tier architecture.

The mxODBC Zope Database Adapter is highly portable, just like Zope
itself and provides a high performance interface to all your ODBC data
sources, using a single well-supported interface on Windows, Linux,
Mac OS X, FreeBSD and other platforms.

This makes it ideal for deployment in ZEO Clusters and Zope hosting
(Continue reading)

Picon

Re: captcha patch

Greetings,

I have prepared a comprehensive patch for this package because I think
there should be alternative/ready-to-plug-in captchas for Plone that
do and do not require external services (like recaptcha). Also I have
some questions below..

>> Also, sha1 is redundant here, right?
>
> sha1 is indeed redundant there, only used to create a quick
> 40-character session id; your method does just fine for the amount of
> entropy provided by the original code.

I have added a function _generate, which avoids one more redundant
sha1 call per session (in image() and audio()).

Q1: Are image() and audio() called at the same time? The image is
inserted with <img src=, so image() is called immediately, but audio
is inserted as <a href=, so audio() is called if and when the user
clicks on the audio link right? maybe image() should save the
challenge for audio(), no?
but there is _verify_session in image()/audio(). so that makes
everything nice and correct right? we should not listen to the audio,
then enter the text in the image :D Just to understand the working a
little bit better.. Ok I just got it :)

> Note that sys.maxint is used; so on 64-bit systems this method
> generates 2^63 elements.

my dev machine and my vps is 32-bits. In C, int is always 32 bits, and
(Continue reading)

Alberto Lopes | 8 Feb 23:16
Gravatar

Re: Visual integration of an external tool

Is Diazo the technology behind the plone.org and nabble integration?

Em 07/02/2012 03:07, "Christian Ledermann" <christian.ledermann-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> escreveu:
yes diazo (not plone.app.theming afaik) or deliverance can do that.

On Mon, Feb 6, 2012 at 6:40 PM, Alberto Lopes <alberto-VDLNLiH7NE3QT0dZR+AlfA@public.gmane.org> wrote:
> Dear friends,
>
> I am thinking about integrating an external web app to my Plone site. The
> idea is to make something like what Plone.org does to Nabble - they are two
> different apps (both would be hosted by me), but the integrate visually.
>
> Authentication integration would be a plus, but not a requirement.
>
> What would be the best approach for this? Does the new Diazo theming system
> help me here?
>
> Regards,
>
> Alberto
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Plone-Users mailing list
> Plone-Users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plone-users
>



--
Best Regards,

Christian Ledermann

Nairobi - Kenya
Mobile : +254 702978914

<*)))>{

If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.

1) Don’t drive species to extinction

2) Don’t destroy a habitat that species rely on.

3) Don’t change the climate in ways that will result in the above.

}<(((*>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Joe Bigler | 8 Feb 17:21
Picon
Gravatar

Editors cannot submit pages in Plone 4 they have not created

We are currently migrating from Plone 2.5 to Plone 4.  On the 2.5 site, we
changed permissions so that Editors could edit all pages in a folder where
they have the editor role.  The editor role is assigned to groups in the
sharing tab.  In Plone 4, Editors cannot submit pages for review that they
do not have ownership of.  The Private state shows up in the State label in
the View tab, but the drop down to change state is inactive.  If I assign
them the global editor role, they can submit, but we only want them to edit
pages where they have the local editor role, not the entire site.

Editors have permissions:  Modify Portal Content and Request Review.

Any suggestions are appreciated.

--
View this message in context: http://plone.293351.n2.nabble.com/Editors-cannot-submit-pages-in-Plone-4-they-have-not-created-tp7266336p7266336.html
Sent from the General Questions mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Mikko Ohtamaa | 8 Feb 15:37

server4you.net and other (cheap) middle European dedicated hosting

Hi,

Plone is hungry for memory. Multiple Plones are grasshopper swarm.

I am planning to migrate to new serves and I have found this offering
ridiculous attractive (based on the marketing material):

http://www.server4you.net/

Does anyone have experience with server4you?

Can anyone recommend other middle European hosting providers? I don't know
why all good hosting seem to come from there...

Hopefully unlimited traffic (at least inside data center), at least 24 GB of
mem and disk space up to 2 TB.

-Mikko

-----

Follow me in Twitter 

Read my blog 

--
View this message in context: http://plone.293351.n2.nabble.com/server4you-net-and-other-cheap-middle-European-dedicated-hosting-tp7265879p7265879.html
Sent from the General Questions mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
JimL | 8 Feb 11:45
Picon
Picon
Favicon
Gravatar

Ploneformgen - enabling a field dependent on another field's value

Hi,

I've Ploneformgen installed, and am trying to use the "enabling expression"
on the "overrides" tab.

Basically I'm trying to have a particular field on the form to only be
enabled when a previous field (id = are-you-external-to-the-centres) is
filled with "Yes". (Ideally I'd like my field to become a required field on
this condition, but I cannot seem to find a way to do that).

Here's the Tales expression I've written:

python:test(folder.['are-you-external-to-the-centres'].value=='Yes',True,False)

However, this does not seem to work and my field is always available.

Cheers,  Jim

--
View this message in context: http://plone.293351.n2.nabble.com/Ploneformgen-enabling-a-field-dependent-on-another-field-s-value-tp7265295p7265295.html
Sent from the General Questions mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Larry Pitcher | 7 Feb 00:11
Gravatar

Diazo on CentOS Linux

Hi all,

Just wanted to point you to a small article I wrote after fighting with
CentOS Linux and plone.app.theming. The fix is not hard, just a bit hard
to find.

Here's a link:

www.catapultsolutions.net/resources/using-a-diazo-theme-on-centos-6.2.html

I hope someone will find this useful.

--

-- 
Larry Pitcher
Catapult Solutions

Web:     www.catapultsolutions.net
Email:   larry.pitcher@...
Office:  509.849.2660
Mobile:  509.629.1376
Skype:   larry.pitcher

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
ajung | 6 Feb 20:20

alm.solrindex compatible version for Solr 3.4/3.5?

Has anyone a alm.solrindex version running together with Solr 3.4/3.5?

The current code-base assume that the 'docid' field of the Solr field
definition would be an integer. In addition there is code inside the
alm.solrindex implementation making the assume assumption or requirement).
However in this is not compatible with Solr 3.4/3.5 since this will raise a
(documented) "core not found error" error on the Solr side unless you define
the field 'docid' as 'string'. However this conflicts with code where an
IISet() for storing the documents ids (which are now strings and not ints).

-aj

--
View this message in context: http://plone.293351.n2.nabble.com/alm-solrindex-compatible-version-for-Solr-3-4-3-5-tp7259518p7259518.html
Sent from the General Questions mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
Alberto Lopes | 6 Feb 16:40
Gravatar

Visual integration of an external tool

Dear friends,


I am thinking about integrating an external web app to my Plone site. The idea is to make something like what Plone.org does to Nabble - they are two different apps (both would be hosted by me), but the integrate visually. 

Authentication integration would be a plus, but not a requirement.

What would be the best approach for this? Does the new Diazo theming system help me here?

Regards,

Alberto
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Picon

captcha patch

Hi,

I have a patch for the latest collective.captcha package.

At the moment _generate_session selects a session id from a set of
2^31 elements. So in the same 5/10 minutes period, it would take about
2^15 sessions to include two sessions that get the very same captcha
challenge (Birthday paradox). Even getting K-collisions (K many same
session ids, same challenge in 5/10 minutes) is just a little bit more
expensive than 2^15.
Also, sha1 is redundant here, right?

Still 2^15 could be too much for a practical attack. That would mean
generating a lot of images in 5 min, so this is very likely not a
practical security issue. At most you would get nasty bot comments. I
dont know, who would dare to implement this, cheap captcha solvers in
the 3rd world is possibly cheaper..

Anyway, attached is a patch for bringing session id collision
possibility to an acceptable level. Am I right about this?

Thanks,
Serhat
--- browser/captcha.py	(revision 248220)
+++ browser/captcha.py	(working copy)
@@ -1,6 +1,6 @@
 # Zope Captcha generation
 import os.path
-import random
+from random import getrandbits
 try:
     from hashlib import sha1
 except ImportError: # Python < 2.5
@@ -49,7 +49,7 @@
     def _generate_session(self):
         """Create a new session id"""
         if self._session_id is None:
-            id = sha1(str(random.randrange(sys.maxint))).hexdigest()
+            id = hex(getrandbits(64))[2:-1]
             self._session_id = id
             self._setcookie(id)

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
John DeStefano | 6 Feb 14:33
Picon
Gravatar

modify or disable site contact form

How does one modify the template for the site contact for in Plone
4[.1.3], or disable site contact email completely?  In Plone 3.x,
there was an object called `/contact-info` that one could easily
customize, but re-introducing such an object in Plone 4 results in a
traceback.

Thanks,
~John

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2

Gmane