A few months ago we introduced the ability to distribute files from your project space as releases, allowing owners to upload file releases and mark them as "Featured" to appear in the summary page.
As part of the module there are also a couple of macros that can be used in wiki pages to show a table with a lot of inforamtion about each file. This was very successful, but the tables came by default with a lot of information, sometimes even too much and as a result it did not fit the summary page. Given the wide use across the site we decided to add a couple new macros that allow project members to customise what is displayed.
The first macro is called CustomListDownloads and accepts a list of column names as parameter. The macro will only display the columns that match the list provided and in the order provided. For example typing [[CustomListDownloads(id,file,time,count,author)]] in any wiki page will list all the packages, but only show the ID, filename, date of upload, number of downloads and user. This is how it looks:
The same macro also allows to specify the names of each column, this is for example ideal to for localisation. [[CustomListDownloads(id,file=filename,time=added,count=dls count,author=user who applied)]] will generate this:
We created another macro that works exactly like CustomListDownloads but only shows Featured downloads, it’s called CustomFeaturedDownloads and supports the exact same parameters.
As a final touch we changed the style of the table so that the width would adapt to the page width. This means that you can use these tables in your summary pages and the table will not overlap the information on the right. Of course you should make sure that the number of columns and total width fits the available space.
You can read a brief documentation of the macros in the Projects’ wiki.
PS: we also changed the default order, showing the latest uploaded packages at the top.
Last week we upgraded the codebase of our DiscussionPlugin.The update came with a number of features that we think will be very welcome and on top of those we added our own. Topics flags, better management of subscribers and announcements.
When I search for something online, finding a discussion topic that is marked as "solved" to me is an immediate win, I will go read that topic as soon as I can. With this update of our discussions we have added the ability to mark topics as solved. Only the author of the topicand the moderators can set this flag. Moderators can also take advantage of two other flags, locked and sticky. As expected, the former blocks users from writing new replies and the latter sticks the topic to the top of the discussion.
All flags are reflected in the topic title immediately, so that as users browse a discussion can see them.
If you are a moderator you will see at the bottom of each board that theforms have changed. Managing existing subscribers is now a select box. Deselect the users you want to remove and click "Save".
Adding users is now super-easy, start typing the username you want to add and the server will suggest name completions, pick the one you want and click "Add". Always remember to press "Save" to confirm. This is a two steps process, but allows you to add some users and remove others inone go, if you want to do so. This should also prevent adding users accidentally.
A little under-the-hood update that we did was also to use usernames instead of direct emails. It turned out some people change their emails and of course it wasn’t very useful to send them notifications to address that don’t exist anymore. Well now that should be sorted. If youstill have problems, unsubscribe and subscribe again.
Also, did you notice that all projects have an "Announcements" board? The main difference between this board and all others is that when you write a new topic here it will appear in your project’s summary page. Also, by default only members can write in this board, if you want to change this, visit the admin tab and then "Announcements"; there you canchange rights and also rename the board, for example you might want to have an Italian name such as "Annunci".