Thank you & (Resize sidebar, Delete attachments, Custom ActivityStream)

Hello, we have been using XWiki in my research group (4 users) for more than a year and I would like to thank the developers for this product. We are currently on v16.2 but thinking about upgrading to 17.4.3.

We create about half of the pages by hand, and the other half we make using python scripts I wrote, publishing simulation results including tables, graphs, drop-downs (usually with the “Show/Hide” macro) and some other basic stuff. For our use and the requirement that we host our own server, it’s a great fit. We previously used Confluence but we had to migrate away from it due to operational constraints (self-hosting, etc.).

I have a few simple questions at this point:

  1. Is it possible to configure the sidebar to be resizeable?
  2. Is there a way to automatically delete unused attachments? Sometimes we use temp naming for PNG files which we upload, then we overwrite the page and the old attachments persist.
  3. Is there a way to exclude certain pages from the Activity Stream on the Dashboard? Sometimes we regenerate (say) 50 pages from research data, and this has the effect of spamming the Activity Stream and losing recently edited pages.
  4. I would be happy to support developers with bounties for missing features we need. What’s the procedure for this?

Thanks in advance, ian

1 Like

Im not a Developer but I think I can answer your first point: Resizing the panel sidebars was already introduced in 17.3:
Release Notes for XWiki 17.3.0 (XWiki.org)

So you will benefit from that after upgrading!

2 Likes

Welcome to the forum!!

  1. As @TomTheWise already mentioned, newer versions of XWiki come with this functionality out-of-the-box. You can resize and collapse both sidebars.
  2. As far as I know, not out-of-the box. You’d probably have to create a script to do that. Maybe @vmassol knows more about it.
  3. If you’re talking about the Activity (legacy) macro, I think you could achieve something like this with the tags functionality (?). Only show pages that have a certain tag. I’m not sure if you can exclude pages based on tags though.

  1. The Contributing page on xwiki.org is what you’re looking for!

Hello ian,

To my knowledge, there’s no built-it functionality for this, nor extensions. But you can try code snippet developed by community XWiki Attachment Cleanup Script.

Note, that Activity Stream is deprecated since XWiki 10.9RC1. You can use exclusive filters for this, according to Notifications Application.

1 Like

This is a difficult topic, see Finding unused attachments on page

The best way is to use the “minor edit” feature when saving pages. This will prevent the change from being listed in the activity stream. See https://www.xwiki.org/xwiki/bin/view/Doc/XS/Extensions/XWikiStandardFlavor/User/EditPage/CommonEditActions/ and https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/VersionControl#HMajorandMinorVersions

Now if you really want to customize the activity stream, it’s possible, see https://extensions.xwiki.org/xwiki/bin/view/Extension/Notifications%20Macro/ and especially the space and page parameters.

You’ll need to edit the dashboard page:

The feature is not deprecated! It’s just that the stream is now using the {{notifications}} macro to display the stream (it used to use a macro called {{activity}} which is deprecated).

Thanks, and I’m very happy that you like XWik! :slight_smile:

The simplest is to sponsor the development of these features by contact XWiki SAS, the top companies sponsoring the development of XWiki, see https://www.xwiki.org/xwiki/bin/view/Main/Support#HProfessionalSupport, and ask them for an estimation to develop the feature you’d like.

If you just want to help the XWiki project, you could also take some paid support from XWiki SAS (It reinvest the money it makes into paying developers to work on the XWiki open source project).

Thx!

1 Like

Thank you for the detailed and helpful responses here! I will follow up!