Home Blog Docs Tutorials Scripts Tests About

Tags

2009

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov

2008

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec

2007

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec

2006

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec

2005

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec

2004

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec

2003

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec

2002

Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec

Today's Work

Today I transitioned into being Zope web administrator. There are still prblems with permissions I need to work out. We checked performance of feline and it is faster. It looks like Steve did a CVS checkout while it was in a broken state, which caused some 503 errors. We fixed that by copying the Products directory over from zps. Things look good to go once we the info on the wiki and do a test plan.

Posted on Fri, 29 Mar 2002 Tags:

Today's Work

This morning I got appointed Zope web administrator to free up Jim's time so that he can do some programming. I was also asked to lead testing on feline, the new proposed new web server. I tested large file support and started sitecheck running.

Posted on Thu, 28 Mar 2002 Tags:

Today's Work

I revised the xml parsing code in rss_client.py to suck less. I did some of the writing for the next Zope Zealots talk, but not as much as I wanted because of time spent in meetings. I submitted a request to install and test plan for mirror.py.

Posted on Wed, 27 Mar 2002 Tags:

Today's Work

Today I finished writing the code for the next Zope Zealots talk. I worte a dtml page theat geberates an RSS file and a client method that reads the RSS file, parses it, and displays the result.

Posted on Tue, 26 Mar 2002 Tags:

Today's Work

Today I worked on a talk for the Zope Zealots on xml-rpc. That meant learning about it myself. I've written a method where Zope is the client. I also want to write one where Zope is the server.

Posted on Mon, 25 Mar 2002 Tags:

Today's Work

My web page has a new look, courtesy of Xara Webstyle.

I figured out how to set up protections on a Zope object so it is only visible to some users. Here is the report.

Here's how I set up protections so that only members of the stis group can view them. First, I added the role STISonly to the folder containing the objects to be hidden. And I created a user folder and added the use stis in this same folder. I believe these changes could also be made in any folder above the objects to be hidden.

I clicked on the security tab of the objects to be protected and unchecked "Acquire Permission Settings." I checked the same protections on STISonly that were checked on Internal. I then unchecked all permissions on Anonymous and Internal.

I tested these changes when logged in as Internal and as stis and they behaved as expected, denying access to internal users and allowing it to stis. But there was one remaining problem. The code on the index_html page that tested if the user had permission to access a page was not returning the correct result. The problem was that the second argument to has_permission was enclosed in quotes. It should instead have looked like this.

AUTHENTICATED_USER.has_permission('View',teamhomenumbers_confidential)

This code will not work if the object name contains non-word characters such as a dot. In that case the second parameter should have the form

_['strange.name'].

Posted on Fri, 22 Mar 2002 Tags:

Today's Work

I gave the Zope Zealots talk today, tested permissions in Zope Zealots, and and investigated adding security on a stis folder.

Posted on Thu, 21 Mar 2002 Tags:

Today's Work

An article on Zope performance under Solaris.

A one line script to number lines in a file:

perl -ne 'printf "%2d: %s", $., $_;' file

I finished the Zope Zealots talk and put it online. In the process I wrote my once and for all structured text reformatting Perl module. And I changed the weblog module to call it. My export.pl script was reviewed by the group. I was asked to modify it to save an old version of the export file.

There's a bug in mkdepend that adds a bogus file at the end of the SRC line.

Posted on Wed, 20 Mar 2002 Tags:

Today's Work

I've been working on the tutorial for the Zope Zealots talk. I switched over to talking about a cut down version of the export task. However, I wasted the morning trying to figure out a way to tuen off echo when reading the password. During the afternoon we had a the performance close out meeting where we complained that we weren't allowed to buy Linux servers. Then Steve came in and told us he had decided to request buying Linux servers, regardless of the politics. After the meeting I went back to writing up the talk.

Posted on Tue, 19 Mar 2002 Tags:

Today's Work

This morning I investigated a problem Grace was having with cut and paste in Zope. I couldn't duplicate the problem and when I visited her, she couldn't reproduce the problem either. So fixing the problem has been put on hold. After that, I worked on producing the talk for the Zope Zealots tutorial. I wrote a demo to show how to use Perl and LWP to run a Zope form externally to Zope. Unfortunately, I ran into a 503 error that I couldn't resolve. Once again Zope defeats my best efforts to debug it.

Posted on Mon, 18 Mar 2002 Tags:

Next posts