Repository navigation
content-sharing 2.4.0
·
26 commits
to main
since this release
The Shared links panel shows the address of every link, ready to copy. Upgrade from any 2.3.x.
Each link's address, with Copy link
Under each link's content, the panel shows the address the link opens and a Copy link button. Until now an address could only be copied from the content it was created on.
- The panel builds the address the way the Content Editor field does, from the same code, so both always show the same address.
- For a link to published content it is the address visitors hold: the key the live workspace serves while there is one. A key regenerated in authoring and not yet published leaves the old address working, and that is the one shown.
- Export CSV and Export JSON leave the addresses out on purpose: an export is a file that gets passed around, and every address in it would be a working link.
Fixed
- Share addresses dropped Jahia's context path, so on an instance not served from the web root every generated link pointed to the wrong place. Addresses are now built under the context path, and a path given in the
originoption of the field is kept. Instances served from the root see no change.
Verified
On Jahia 8.2.3.2 with jContent 3.8.1, with links seeded in every state: the panel's addresses equal the editor field's; a copied address opens for a visitor with no session; a link revoked but still live opens and one not yet published does not; no cell overflows at 1440 or 1280 px.
