When Redmine 2.2.x came out, I just started the editing phase of my book (see the announcement). So I needed to learn new features quickly and to update the book accordingly. Thus, since that time I was not able to work on plugins (the book was published recently). And this is the first my plugin, which comes with Redmine 2.2.x support.
When releasing 0.2.0b I felt too unsure about the stability of the plugin (see the appropriate news). And this feeling appeared to be correct – 0.2.0b was quite buggy (so the "b" in the version is very appropriately). This fact was the main reason for starting preparing the updated version. Another reason – Redmine 2.2.x came later.
Let me remind you, that you can get notifications about new releases of this plugin (and news, if you want) by "subscribing" to this project using the "Subscription" form on the sidebar (to the right).
Also you can now order my book about Redmine, titled "Mastering Redmine" and published by Packt Publishing, using this link, or Amazon, or your Kindle device. Using the book page on Packt Publishing website you can also check the table of contents and the sample chapter.
This the third my plugin I ported to Redmine 2.0 and the first plugin I ported to Redmine 2.1. Unfortunately, the delay between this release and Redmine WikiNG release (the previous port to Redmine 2.0) was still big as I got very busy, then had a vocation, then found difficulties in implementing extended fields under Rails 3 and then got to port for Redmine 2.1, which switches to jQuery...Not much about it besides porting to Redmine 2.x.x and two major bug fixes:
- Vitaly Klimov discovered that issues grouping by custom fields got broken after installing this plugin... Vitaly also made research of the issue, what helped me much! Thanks, Vitaly! The new version does grouping by custom fields just fine! See #2015.
- V.E.O. discovered that you can’t export issues listing to PDF with any extended column enabled! But it’s not the case anymore with this new release. See #2023.
As Redmine 1.4.x introduced multiple repositories support I also did some modifications to reflect these changes... In particular, I added the "Repositories" extended column, which show the number of repositories in the project. Besides I added two other extended columns: "Forums", which shows the number of forums in the project, and "Forum messages", which shows the number of messages in all project forums.
.hrhtml. But, as Redmine 2.x.x does not support this extension any more, this release switches to
.html.erb. Don’t forget to rename your custom field templates!
This version also comes with the Turkish translation, thanks to Ismail Sezen!
Many things, actually, changed in Redmine 2.x.x. Many things also changed in Rails 3... I’m just not sure if everything is fine – need more testing and you will be ones, who will help me with this.
Did you wonder how does one know, when new Redmine version is released?.. I get to know this, usually, by checking #redmine tag in Twitter... How can you know when new Extended Fields is released?.. You can: a) Follow me on Twitter, b) Subscribe to the news feed which is available under the News tab and... c) Oh, yes! You can to the Redmine Extended Fields project using the subscription form on the sidebar! There you can choose what types of notifications you want to receive (down to notifications about commits). This functionality is provided by my Redmine Subscription plugin, which has not been released yet.
P.S. What plugin is the next?.. And the next plugin is... Redmine Extended Profile!
Ok, I ask my users for a company they work in (using Redmine Extended Profile plugin which uses Redmine Extended Fields)... But how do I see what they answer?.. No, really? Of course, I can check profiles. But, hey, right now I have around 150 active (in terms of Redmine) users’ profiles to check!.. Honestly – my opinion is that custom fields are useless unless you can easily list them...
The same applies not only to custom fields. I always wondered how can I list projects and their download counts. Even used SQL to do that! Even planned to write a plugin for this (see #1745)... But I found the workaround! And it became the main feature of the Extended Fields plugin version 0.1.0!
So now the Extended Fields plugin extends... listings! In partucular – users listing and projects listing which are available for administrators. The plugin adds customization to these listings by allowing to specify which columns and/or custom fields to show (like it is already done for issues listing). Besides just columns the plugin also adds special columns allowing to show calculated data (that’s how I get download counts)...
As a part of The Rename the identifier of the project has been renamed to
extended-fields with this release! Most users won’t feel the change! Only those who use SVN. SVN users will need to execute the following command to fix their repositories:
$ svn switch --relocate http://svn.s-andy.com/redmine-fields http://svn.s-andy.com/extended-fields
All users should also consider subscribing to the project using the form (on the sidebar) provided by my new Redmine Subscription plugin (which suffer testing right now – that is by subscribing you also help me testing it). Why subscribing? For example, being subscribed you would get notification about this release and this news...
P.S. I thought about changing plugin name to something what reflects new features as Extended Fields name does not tell anything about listings... But what name? Extended Fields & Listings?.. Extended Columns?.. Maybe Extended Redmine? Well... Fields are related to listings and columns! So decided to leave its current name.
The idea to write the Extended Fields plugin came to me when I was analyzing issues with the Redmine Extended Profile plugin (that’s why the name is so similar).
The Redmine Extended Profile plugin adds many new fields to user profile. Actually the same can be done using just custom fields but unlike custom fields the extended profile fields support "richer" content - links, social usernames which are made links to the social networks when displayed, projects displayed as links etc. Core custom fields cannot be used this way! So that’s why I wrote the Redmine Extended Profile plugin... But later I faced many issues related to the approach I chose. Some users wanted more fields, other users wanted less fields... Some functions conflicted with other plugins... I personally wanted more flexibility!..
When disputing with Daniel Seifert (see #1876) I came to the conclusion that the whole approach was wrong! Instead of adding new fields to user profile I should extend custom fields - to add support for new types, to give more control over displaying etc. Other things which were missing and hard to implement in the Redmine Extended Profile plugin were already implemented for custom fields e.g. visibility control, position etc.
So this was the story!.. Now meet the plugin! The Extended Fields plugin has the following features:
- Adds new custom field types:
- Wiki text (can contain Textile code which is converted to HTML when displayed);
- Link (hypertext link);
- Project (shown as a project link).
- Adds new properties to custom fields:
- Hint (adds specified text below the form element);
- On registration flag for user custom fields (specifies whether the custom field should be asked on registration).
- Adds the possibility to customize how custom fields are rendered by specifying template files for custom fields and custom field formats;
- Improved the custom field form by changing the text field for the "Default value" of the "Text" type to the text area.
For more details on features check this Wiki page...
Also available in: Atom