Base URL Handling

On  we released version 2.3.0 of Userscripts for Confluence!

This version stores URLs provided for Userscripts as relative to the Confluence base URL.

New and Noteworthy

Base URLs

No storing the full URL to a resource makes it easier for migrations of a Confluence instance. The API stays the same, but internally all URLs to resources on the Confluence server are stored relative to the base URL of Confluence.

Injection Framework

This version uses Spring Java Config instead of Spring Scanner as its injection framework.

List of Changes

Key Summary T P Status Resolution Description
USR4C-27 Store Confluence URLs as Base URLs New Feature Major Done Fixed

When storing URLs to scripts and documentation that have the prefix of the Confluence URL we should store the URL without the base URL prefix.

These URLs would be easier to maintain, for instance if the database stays the same, but the Confluence URL is changed.

The URLs will still be retrieved as absolute URLs, but the base URL may have changed.

USR4C-26 Use Spring Config instead of Spring Scanner Improvement Minor (migrated) Done Fixed

Replace the Atlassian Scanner with Spring Java Config.

USR4C-28 Allowlist issue is reported twice Bug Minor (migrated) Done Fixed

If the user specifies an URL for the script that points to a remote host that is not on the allowlist, the issue is reported twice.