Further Python Scripts For Plone Site Administration

I worked on two new Python scripts for the administration of the LibreOffice extensions and templates website. I need a list of projects that are in the review state private. The second new script lists all releases that are only in the review state pre-release. This means they have not published yet and are not visible for the user of the website. I published the scripts in my repository on Github.com.

Finished Python Script To Get Active and Notactive Users

I worked on my Python script to get a list of active and not active users out of the Plone instance that is running the LibreOffice extensions and templates website and finished this script today. I run this script and got the list of currently active versus nonactive users. I’ll use the results of today to compare them with the results which I get in about two weeks. I’ll use the findings to have a closer look onto some accounts.

Worked On User Database Of The LibreOffice Extensions Website

I had a longer list of potential user that tried to create an account on the LibreOffice extensions and templates website but submitted no valid email address. I had to delete this accounts – currently manually -, because they blow up the database of the site without any value to the project (and potential user, because there is no way to activate them).

Update Of The LibreOffice Extensions Site To Plone 5.0.8

I worked during the last days on the Plone buildout of the LibreOffice extensions and templates website. I updated it – with some support of our service provider for fixing some nasty trace backs / error messages –  to version 5.0.8.  I rolled the new Plone minor version and some updates of our Plone addons out today. The site is running on Plone 5.0.8 yet. The run of the update took only a few minutes. Thus the site was only down for about five minutes or less.

Worked With The Zope Instance

I took some time to set up the environment to forward the Zope server port to my local box. Because I want to log into the Zope Management Interface with the permissions of an admin user I had add one first to the Zope instance. I run the debug instance of the Plone CMS with the command ‚adduser <adminusername> <password>‘ for this purpose.

Then I started the debug-instance with the command ‚fg‘. Once the debug-instance ran in forground (fg) mode, I started the forwarding within a terminal on my local box:
$ ssh -L 8085:localhost:8085 -N <server_name> -v

The <server-name> is the login to the server, whose port I wanted to forward.

The I could reach the forwarded server port in my browser with: http://localhost:8085/manage

This pointed me to the login of the root of the Zope instance and the ZMI. There I could login with the newly created admin user.

Notification About New Projects On The Review List

If a member of the LibreOffice extensions and templates website submitted a new project for publication it was added to the review list. But there is currently no notification of the reviewer about this new entry on the list. Thus the reviewer had to log in to the site constantly to check if there is a new project on the list.

To make the life of the reviewer a bit easier I added a notification by email in case someone submitted a new project for publication. I did this for both Plone addons which drive the LibreOffice extensions and templates site. The site itself runs on Plone 5, a powerful Content Management System.

LibreOffice Extensions and Templates Site: New Plone Add-On Releases

The LibreOffice extensions and templates site runs on the Content Management System Plone 5 with some add-ons. I added together with our service provider some fixes and improvements to this add-ons during the last weeks. I made new releases of this Plone add-ons and uploaded them to the Python Cheeseshop:
https://pypi.python.org/pypi/tdf.templateuploadcenter/0.12
https://pypi.python.org/pypi/tdf.extensionuploadcenter/0.15

LibreOffice Extensions and Templates Site: Fix For Listing Releases

The listing of LibreOffice extension and templates releases and linked releases had an issue. The newest final release was not shown to the user. This issue was caused from the custom URL for the releases. The new releases and linked releases get an URL that placed them at the top of a list, which lead in the reverse order to getting them to the bottom of the list.

I fixed this issue with a new sorting key. The releases are listed in reverse order by the date they were created. The current final release is choosen by its release date in reverse order.

I contributed this fix to the TDF Github repository and delivered it to the LibreOffice extensions and templates website today.

New Release For The LibreOffice Templates Site AddOn

I released an update of a further Plone addon today, that I worked on  together with our service provider within some weeks. The addon drives the templates part of the LibreOffice extensions and templates website. The update creates some improvements for the website and updates the the localisation template and the German localisation with the last string changes. I edited and updated the German localisation file with poedit, a great open source tool.

You could get the new releae of the Plone addon from the ‚cheeseshop‘ (https://pypi.python.org/pypi) with the direct link:
https://pypi.python.org/pypi/tdf.templateuploadcenter/0.11