Writer Plugins 5.0.0

Compatibility

  • Writer >=3.9.0

Released 2017-12-13

Upgrade notes

Example config for image gallery to enable image archive information dialog:

{ 
  "id": "se.infomaker.imagegallery", 
  "name": "imagegallery", 
  "url": "https://plugins.writer.infomaker.io/releases/{PLUGIN_VERSION}/im-imagegallery.js", 
  "style": "https://plugins.writer.infomaker.io/releases/{PLUGIN_VERSION}/im-imagegallery.css", 
  "enabled": true, 
  "mandatory": false, 
  "data": { 
    "imageInfoEnabled": true
  } 
} 

Example config for image gallery to enable crops tool:

{
  "id": "se.infomaker.imagegallery",
  "name": "imagegallery",
  "url": "https://plugins.writer.infomaker.io/releases/{PLUGIN_VERSION}/im-imagegallery.js",
  "style": "https://plugins.writer.infomaker.io/releases/{PLUGIN_VERSION}/im-imagegallery.css",
  "enabled": true,
  "mandatory": false,
  "data": {
    "cropsEnabled": true,
    "crops": {
      "16:9": [16, 9],
      "8:5": [8, 5],
      "4:3": [4, 3],
      "1:1": [1, 1]
    }
  }
}

WPLUG-140 Improved publish/draft flow - allow continued editing of published articles

Updated configuration

The configuration is updated to support

  • Different save button labels for each state
  • Conditional actions and transitions

The plugin is incompatible with configurations for plugin version 4.1.0 and older

See README.md for configuration details

New document information field

To make it possible to visualize that an article has a version that is published and the currently edited article has a different state, e.g. draft, a specific status field has been introduced in the NewsML:

<itemMeta>
  <itemMetaExtProperty type="imext:haspublishedversion" value="false"/>
</itemMeta>

In order for the automatic publish functionality to work, the newsML template must contain the field

More information is found here

New Open Content scheduled update service

The publish flow now support automatic publishing of articles with its companion service OC Scheduled Updater. It may be configured to listen for articles with pubStatus stat:withheld and a pubStart date that is older than current time.

Open content changes

In order for the OC Scheduled updater to correcly set the imext:haspublishedversion itemMetaExtProperty, a new property has to be created in Open Content. This property should be included in the config file for OC Scheduled updater and be set to true when the publish action is triggered.

Issues

New Feature

  • WPLUG-199 - Image archive info support for Image Gallery plugin
  • WPLUG-193 - Crop tools support for Image Gallery plugin

Improvement

  • WPLUG-201 - Add ability to update version property of package.json
  • WPLUG-140 - Improved publish/draft flow - allow continued editing of published articles

Bug

  • WPLUG-206 - Empty namespaces created when editing author concepts results in invalid xml
  • WPLUG-194 - Customer specific validation: Tag validation does not filter out category tags