Clone wiki

confluence-hideandseek-plugin / v1.2.0 / Hide-And-Seek_1.2.0

Table of Contents

About

The Hide And Seek plugin for Confluence

The plugin also provides some detailed information about each page version, like

  • Title of the page at that version

Installation

Hide and Seek is a type two plugin, please follow the installation instructions as given by Atlassian: Installation steps via Universal Plugin Manager

Usage

At the moment there are different possibilities to delete page revisions:

Remove single page versions

Useful to delete information that shouldn't have found their way into a wiki page, e.g. passwords.

You must have permission to edit/delete the selected page (or be space or global administrator) to delete a page version.

  1. Goto to the page whose page version you want to delete.
  2. Open Edit Page History page from pages Tools menu. Screenshot: Tools menu
  3. Find the page version you would like to delete. Screenshot: Edit Page History page
  4. Select it and press Delete selected versions (Screenshot: Delete page version) or press Remove this version in the table row.

Important: This operation is not reversible!

Purge page versions of a space by time period

Useful to free space from data base or fulfill country/company regulations (e.g. data privacy).

You must be space or global administrator to purge page versions.

  1. Goto to the advanced space administration page by Browse > Advanced.
  2. Select Page Version Management in the left menu. Screenshot: Page Version Management
  3. Configure the time period for which page versions in this space should be purged.
    1. never - deactivates this functionality.
    2. just this once - will immediately start a job to purge all page versions in the current space which match your configuration. This operation may take a while and you won't get any result information.
    3. always automatically - will activate a nightly job to purge all page versions in the current space which match your configuration. The jobs schedule can be configured by the administrator (see: Scheduled Job with name Delete old page revisions). Screenshot: Scheduled Job for automatical deletion

Important: This operation is not reversible!

Purge page versions globally by time period

Useful to free space from data base or fulfill country/company regulations (e.g. data privacy).

You must be global administrator to purge page versions.

  1. Goto to the administration console.
  2. Select Page Version Management > Configuration in the left menu.
  3. You can see all spaces with their page version configuration. Screenshot: Configuration overview Select Configuration in tab menu to change global configuration.
  4. Configure the time period for which page versions in this space should be purged. Screenshot: Global Page Version Management
    1. never - deactivates this functionality.
    2. just this once - will immediately start a job to purge all page versions globally which match your configuration. This operation may take a while and you won't get any result information.
    3. always automatically - will activate a nightly job to purge all page versions globally which match your configuration. The jobs schedule can be configured by the administrator (see: Scheduled Job with name Delete old page revisions). Screenshot: Scheduled Job for automatical deletion

Important: This operation is not reversible!

Screenshots

Select new entry in page menu

Select page history

View of the edit page history page

Edit page history view (You can see who deleted which page versions)

Page two: View of the edit page history page

Edit page history view (You can see an entry deleted by an administration task)

Deleting a single page version

Deleting single page version

Deleting multiple page versions

Deleting multiple page versions

Space Admin: Delete page versions automatically

Delete page versions automatically

Administration: Space configuration overview

Space configuration overview

Administration: Delete page versions automatically

Delete page versions automatically

Administration Console: Scheduled job to delete page versions automatically

Scheduled job to delete page versions automatically

For plugin developers

The plugins Edit page history page is extendible for other plugins. To add own web resources assign the context com.pirateninjaunicorn.hideandseek.editpagehistory-context like this:

	<web-resource key="myResource" name="My Resource">
		<resource type="download" name="style.css" location="/css/style.css" />
		<context>com.pirateninjaunicorn.hideandseek.editpagehistory-context</context>
	</web-resource>

Additionally there are two entry points for web items:

Page version modification

To add an operation for a single page version (at the right side of the table), set your web items section to system.content.history/modify.

Example:

	<web-item name="My WebItem" key="myWebItem" section="system.content.history/modify">
		<label key="my-web-item.label"></label>
		<link linkId="my-web-item-link">/link/to/my/content</link>
	</web-item>

Bulk modification on several page versions

To add an action which operates on several page versions (at the top of the table), set your web items section to system.content.history/bulkmodify.

Example:

	<web-item name="My WebItem" key="myWebItem" section="system.content.history/bulkmodify">
		<label key="my-web-item.label"></label>
		<link linkId="my-web-item-link">/link/to/my/content</link>
	</web-item>

Updated