[Zope-Coders] Zope tests: 8 OK

2005-09-18 Thread Zope tests summarizer
Summary of messages to the zope-tests list.
Period Sat Sep 17 11:01:02 2005 UTC to Sun Sep 18 11:01:02 2005 UTC.
There were 8 messages: 8 from Zope Unit Tests.


Tests passed OK
---

Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux
From: Zope Unit Tests
Date: Sat Sep 17 22:23:37 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-September/003111.html

Subject: OK : Zope-2_6-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Sat Sep 17 22:25:07 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-September/003112.html

Subject: OK : Zope-2_7-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Sat Sep 17 22:26:37 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-September/003113.html

Subject: OK : Zope-2_7-branch Python-2.4.1 : Linux
From: Zope Unit Tests
Date: Sat Sep 17 22:28:07 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-September/003114.html

Subject: OK : Zope-2_8-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Sat Sep 17 22:29:37 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-September/003115.html

Subject: OK : Zope-2_8-branch Python-2.4.1 : Linux
From: Zope Unit Tests
Date: Sat Sep 17 22:31:07 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-September/003116.html

Subject: OK : Zope-trunk Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Sat Sep 17 22:32:37 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-September/003117.html

Subject: OK : Zope-trunk Python-2.4.1 : Linux
From: Zope Unit Tests
Date: Sat Sep 17 22:34:07 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-September/003118.html

___
Zope-Coders mailing list
Zope-Coders@zope.org
http://mail.zope.org/mailman/listinfo/zope-coders


[Zope] Text field and module import questions

2005-09-18 Thread Ivan Stout
Greetings,

It appears that the text input field I have created using a dtml method
has a default space character when you click in the field. Is there a
way to get rid of this?

Also, I have a python script that I would like to import a python
module, but when I run it Zope complains the user does not have
authorization. Is there a way around this?

Thanks.

Ivan
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Text field and module import questions

2005-09-18 Thread David Pratt
Hi Ivan.  Script Python scripts permit a limited number of modules to 
be used for security reasons. You will get these types of errors 
whenever you try to import a module that is not allowed.  The best way 
to use other modules in Zope is by developing a product - like a simple 
tool product. You can import whatever modules you would like and place 
security restrictions on the methods you create (in a way that is 
consistent with how they will be used and who will use them).


I think on zope.org you will find an example tool product and example 
content type products.  I believe there are also examples of example 
plone and cmf products as well. This  will be of interest if you are 
developing in one of these CMSs and provides a good starting point.


If you search the archives of this list you may also find additional 
information on allowing specific modules into your Script Python since 
I recall this coming up before.  From my perspective, the security 
measures in Zope are there to help you create secure applications.  You 
can query the archives of this list at:


http://aspn.activestate.com/ASPN/Mail/Browse/Threaded/zope-List

Regards,
David

Also, I have a python script that I would like to import a python 
module, but when I run it Zope complains the user does not have 
authorization. Is there a way around this?

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Help with virtual hosting Zope on different ports

2005-09-18 Thread Michael Sanborn
I have two Zope versions running behind Apache 1.3 (on FreeBSD 4)
using different ports on the same server. The only domain name
currently assigned to the server is for a Squishdot site on the older
Zope version (2.5.1) that I haven't been able to upgrade, and I don't
want to spend the time figuring it out right now. The newer Zope
version (2.8.1) has a Plone site that I would like to run as a domain
of its own.

Can someone help me figure out the combination of Apache rewrite rules
and Zope/Plone products I would need to use to accomplish this?

Just to try to make it clear, what I want is:

request: oldsite.com
result: myserver:8093/oldsite

request: newsite.com
result: myserver:8580/newsite

This is possible, isn't it?

If it helps, here are the existing rewrite rules:

VirtualHost oldsite.com
ServerName oldsite.com
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /u2/oldsite
ScriptAlias /cgi-bin/ /u2/oldsite.cgi-bin/
RewriteEngine on
RewriteCond %{HTTP:Authorization}  ^(.*)
RewriteRule ^/(oldsite/)?(.*) /usr/local/Zope/Zope.cgi/oldsite/$2
[e=HTTP_CGI_AUTHORIZATION:%2,t=application/x-httpd-cgi,l]
ErrorLog /u2/oldsite.admin/oldsite.errors
TransferLog /u2/oldsite.admin/oldsite.access
/VirtualHost

VirtualHost www.oldsite.com
ServerName www.oldsite.com
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /u2/oldsite
ScriptAlias /cgi-bin/ /u2/oldsite.cgi-bin/
RewriteEngine on
RewriteCond %{HTTP:Authorization}  ^(.*)
RewriteRule ^/(oldsite/)?(.*) /usr/local/Zope/Zope.cgi/oldsite/$2
[e=HTTP_CGI_AUTHORIZATION:%2,t=application/x-httpd-cgi,l]
ErrorLog /u2/oldsite.admin/oldsite.errors
TransferLog /u2/oldsite.admin/oldsite.access
/VirtualHost

Thanks in advance for any assistance,

Michael Sanborn
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope Technical Solutions Early-Bird Registration

2005-09-18 Thread Brian Lloyd
A reminder to register by September 24th to get the early 
bird rate for the upcoming Zope Technical Solutions class 
on October 24-27.  It will be held at our Fredericksburg, 
VA headquarters.  

This four day course familiarizes students with Zope 
software from introductory through advanced topics. We 
will demonstrate the flexibility and effectiveness of 
Zope as an Open Source web development and content
management environment. We will also explore Zope 
architecture and provide hands-on exercises using Zope to 
develop and manage a robust web site.

We offer opportunities to meet with Zope's engineering 
teams during lunch, including Jim Fulton, our CTO.

Course Objectives: After completing this course students
will understand:

  - Zope's use of objects, methods, etc.
  - Zope's Management Interface.
  - Zope's server-side scripting language (DTML).
  - Page Templates.
  - Web site content creation and management.
  - Web site security through user privileges and roles.
  - Using Zope to integrate web sites with existing +
relational databases.
  - Downloading/installing a Zope Product, and
  - Introduction to CMF.

The course is intended for those interested in using a
full-featured open source environment to develop and 
manage robust corporate internet or intranet web sites. 
This includes web site designers, content
creators, content   managers and web developers.
Participants should be familiar with HTML and basic web 
architecture (e.g., how a web server and web browser work 
together). Knowledge of object-oriented concepts and SQL 
is recommended.

For more detailed information about the course, including
pricing, travel and accommodations, please go to our 
website:
http://www.zope.com/training/zope_technical_solutions.html 

Payment authorization is available at
http://www.zope.com/training/payment_authorization.html


Brian Lloyd[EMAIL PROTECTED]
V.P. Engineering   540.361.1716  
Zope Corporation   http://www.zope.com 
 
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )