Moving LibreOffice Plone Sites to a new Server

The Document Foundation rent for the LibreOffice project a new more powerful server for the website services. This meant that the LibreOffice extensions- and templates site and the conference site had also to move from the old hardware to the newer one. Because both sites are already running on Plone 4.2.4 the migration was relative easy. I created a new virtual python environment on the new server first. Then I made for both sites their special policy package. This packages contains all add-on that should be loaded into the sites. Once I had done that I worked on a buildout script respectively two with the data for creating the zeoserver with currently two instances. I placed this buildout scripts into an environment that I bootstraped with a special file that I downloaded from a Plone server. The bootstrap script created the necessary directories.

The last step was the call of the buildout process via the executable buildout and the switch with -c and the name of the buildout script, e.g. ‚bin/buildout -c zeo.cfg‘. This took a bit and everything went well. The new Plone environment was created.

Once this was done I moved the database (Data.fs) and the blobstorage into the var directory of the new instance and fired the zeoserver and the instance up. After some test of the new site Florian switched the URLs extensions.libreoffice.org, templates.libreoffice.org and conference.libreoffice.org to the Plone environments on the new server. The sites are much faster now due to the more powerful hardware.

My Home-Hackfest: new Development for LibreOffice Templates-Website

I created a site for the LibreOffice templates last year. The site uses Plone with an add-on product „Plone Software Center“. This add-on works with the objects „project“, „releases-section“, „release“,  „downloadable file“ and „linked file“. This structure is easy to understand for a developer but makes it a bit more difficult for a contributor that would only provide a template for LibreOffice. Thus I decided to rework the template website some time ago, but I had a lack of spare time for the necessary development.

Some month ago I heard and learned a bit about a new content object framework for Plone that should make many development steps a bit easier, the Dexterity content types. I used this new framework to setup the LibreOffice conference website with an add-on for managing the conference program (from Call for Papers to the schedule) (it will need some improvements for the next conference). The conference is over now and I got some space for the development of a new template-site add-on. I just started with a new add-on on the ground of Dexterity. It will provide a multilanguage feature (translatable pages). I started with an overall structure of the new product and developed some Python modules and their views. I read through the slides and content of a training (class) at the Plone conference 2012 and learned another way to create Dexterity  content types. I used this knowledge for the further development of the new template-site add-on. I created a page for a file upload in a different way that makes it easier to create a template for displaying the content (see a first screenshot below). I use currently no special style for the site (page). It’s pure Plone style.

 

First Steps to my first Diazo-Theme for LibreOffice-Plone-Sites

I heard some time ago about a new method to theme Plone sites. It’s the new Diazo-Theming-Engine that is implemented in Plone now.

I started with a try-out of different free Diazo-Themes (see one in the picture below) yesterday and created a new layout product (project) from scratch for this purpose. I worked on this further today and added some more content to this Plone-AddOn. I have uploaded my current work to github.com (https://github.com/andreasma/am.libocontheme).

ODFAuthors-Site with new Layout Product

The Plone site ODFAuthors.org got a security update last week and I noticed that there was an issue with the layout of the site. I investigated and found out that during the run of the buildout script the site got also a new version of the layout product that was customized on the file system. The new version doesn’t contained the customized files and thus I decided to create an own layout product for ODFAuthors on the file system.

Because I could not find a template for this purpose that I could use with paster or templer I used a layout product from another Plone site that I maintain on a resource of The Document Foundation and created a new layout product with a different name out of it. There were some issues with the naming that costs me some evenings of my spare time but in the end I managed it. The new layout product lives is integrated in the Plone-Site ODFAuthors now and everything works as expected. I will make some finetuning of the layout in the next days.

LibreOffice Conference Registration Form

The LibreOffice conference site is running on Plone 4.2.1 and uses an add-on-product, that I created for the conference management. This add-on contains also a form for the registration for the LibreOffice conference in October 2012. I made this form with different fields where the user had to fill in his data. Some of these fields are required, e.g. the first name. Because people sometimes forget to fill in data in the required fields there are some build-in validator. I added two custom ones for the email-address and for the acception of the privacy policy. I hope this helps the users of the form and the organizers of the LibreOffice conference to make the registration process a bit more smooth.

Registration Form for the LibreOffice Conference

The LibreOffice conference will take place in Berlin this Oktober. I’m part of the organizers team and I’m working on a conference organizing tool. We use for the conference website the CMS Plone and I developed an add-on for this CMS from scratch. During the last days I worked on an implementation of a registration form for the conference. I finished my work on a first beta of this form today, once I added successfully a ReCaptcha to the form.

If you want to test the form you can do it on the development site for the conference add-on: http://vm5.documentfoundation.org:9090/conference2. There is an entry „Register for the conference“ near the bottom of the site. You can send your feedback to the mailing address on the front page of the development site or write your feedback into the message field at the bottom of the form.

Conference Site – Check of Email-Address

We use for the next LibreOffice conference a new Plone add-on. It is running on http://conference.libreoffice.org. I’m currently working on a registration form for the conference. I’ve done a bit of the work during my vacation but there are some features missing especially the protection of the form with a captcha.

But there are some other missing features. Today I found out how to validate an email-address and added this feature to my development environment on our TDF-Server. It worked fine for me.

LibreOffice Conference Add-On – Update of Views

During the last weekend I met with other volunteers for an admin weekend in the LinuxHotel in Essen. We talked about and worked on some admin tasks, e.g. I worked with Alex on the add-on for the conference site and added some features. It was much easier to work in a (little) group on that add-on and we had some fun with the results.

And today I added some features to the views of the add-on. I found out how I could create hyperlink to content that is connected via a relation-field. E.g., I implemented a link from the view of a program-track to the room and the speaker. This objects are created not in the same folder as the program, the tracks and talks.

I uploaded the sourcecode changes to my github repository (https://github.com/andreasma/collective.conference) today. They will be available on the development site for the conference add-on (http://vm5.documentfoundation.org:9090/conference2) soon.

LibreOffice 3.6-Beta2 – PDF-Export-Dialog – New Feature Watermark

During the LibreOffice Hackfest in Hamburg in last April I added a new feature to the PDF-Export-Dialog of LibreOffice. Now there is an option to add a watermark in the mode of a string to the pdf-file. I got the new LibreOffice 3.6-beta2 and found my feature in the export dialog and, wow, the strings are translated, thanks to the work of our translation team. They are working very effective mostly behind the screen. But without there work LibreOffice would not such a great office software for so many people with different native language or language environment (for there office work)

.PDF-Export-Dialog - Option Wasserzeichen