Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Document Properties Marker
doctyperelease-note
overridefalse
Short DescriptionSafe Mode Support and System Properties for Userscripts
NameUserscripts for Confluence 2.4.0
Short Name
Parent
Parent Property
property-nameName
hide
Audience
Name List
doctyperole
render-no-hits-as-blanktrue
property-restrict-value-rangetrue
propertyAudience
empty-as-nonetrue

Subject
Name List
doctypesubject
propertySubject

Categories
Name List
doctypecategory
property-restrict-value-rangetrue
propertyCategories

Tags
Tag List
propertyTags
hide
Flagshide
Iteration

Iteration
valuefilledreleased

hide
Type
Name List
doctyperelease-note-type
render-no-hits-as-blanktrue
property-restrict-value-rangetrue
propertyType

Version2.4.0hide
Product

Static Document Link
documentUserscripts for Confluence

hide
Release Date

17

hide
Sponsors
Name List
doctypestakeholder,organization,person,role
render-no-hits-as-blanktrue
propertySponsors

Sort Key0002.0004.00000hide

...

Section
titleNew and Noteworthy

This release provides the following new and noteworthy features.

Section
titleSafe Mode

The 

Static Document Link
documentSafe Mode
allows administrators to deactivate the main services of this app via a
Static Document Link
documentSystem Property
. The system property can be set with the Java Virtual Machine when the machine is started.

In case any service of this app causes trouble on your Confluence instance, you can now deactivate a specific set of services for maintenance. This adds another option to Disabling and enabling apps, where apps are disabled via the Universal Plugin Manager.

Section
titleSystem Property Service

The new REST service 

Static Document Link
documentSystem Properties Service
allows Confluence administrators to configure system properties defined by Userscripts for Confluence.

This way the System property can be accessed and altered at runtime via a REST client.

Section
titleAbsolute URL Fix

The previous Version fails to handle remote URLs properly. This version fixes that issue.

Also local URLs to attachments are now tested to have the correct base URL of the Confluence server (see Upgrade instructions below).

Section
titleRequirements

Section
titleBreaking Changes

...

Section
titleInstallation Instructions
Simply install the app via the Atlassian Marketplace or the downloaded OBR artifact.
Section
titleUpgrade Instructions

Prior to upgrading to the new version, please check that scripts that are attached to pages of your Confluence have the correct base URL.

Caution Box
titleCheck Script Base URLs for attached Scripts!

In case you have moved your Confluence server from one domain to another domain, previous versions of the app were able to find the locally stored scripts none the less.

For instance a script at https://old.example.com/confluence/{path.to.an.attachment}/whatever.js would be found even if the same Confluence server has the script now at https://new.example.com/confluence/{path.to.an.attachment}/whatever.js.

The reason for this is that the server simply looks if there is the attachment without checking the base URL. With this version those scripts will no longer be found.

Therefore, you need to check that all URLs pointing to an attachment do have the correct base URL. The correct base URL is the base URL of your Confluence Server.

This is a very special issue that very likely has no effect on your installation. It is highly recommended to check them! Otherwise some of your userscripts may not work after the upgrade!

Section
titleList of Changes
Jira
serversmartics JIRA
columnIdsissuekey,summary,issuetype,priority,status,resolution,description
columnskey,summary,type,priority,status,resolution,description
maximumIssues1000
jqlQueryproject = 'USR4C' && (fixVersion = '2.4.0') ORDER BY type DESC, priority DESC
serverId79ad43bc-d289-364e-bfc7-46c09847bebd

...