Upgrading to 2022.6

Default NAR changes

Structures changes

asset

Fields changes

  • imgbnksrc (added)

    • Type: sentence

    • Nature:

    • Label: image bank source

    • Default value:

    • Order: 7000

    • Remote name:

    • Max size: 0

    • Attachment:

    • In list:

    • Editable: false

    • Viewable: false

    • Mandatory: false

    • Null if empty: false

    • Auto carriage return: false

    • Index: Not indexed

    • i18n: false

    • i18n for:

    • Tags:

  • alloweddomains (added)

    • Type: childmultilngdb

    • Nature: cspsource

    • Label:

    • Default value:

    • Order: 10000

    • Remote name:

    • Max size: 0

    • Attachment:

    • In list:

    • Editable: false

    • Viewable: false

    • Mandatory: false

    • Null if empty: false

    • Auto carriage return: false

    • Index: Not indexed

    • i18n: false

    • i18n for:

    • Tags:


assetauthor

Fields changes

  • externalid (added)

    • Type: data

    • Nature:

    • Label: external id

    • Default value:

    • Order: 1100

    • Remote name:

    • Max size: 0

    • Attachment:

    • In list:

    • Editable: false

    • Viewable: false

    • Mandatory: false

    • Null if empty: false

    • Auto carriage return: false

    • Index: Not indexed

    • i18n: false

    • i18n for:

    • Tags:


cspsource

Issues

WXM-13625

Description

WXM-13625 Add default implementation for asset embedding limitation.

user

Issues

WXM-13673

Tags

Added

  • rest_api_dam_lock

Instances changes

cspsource

cspsource/1 (ADDED)


cspsource/3 (ADDED)

  • activated: 1

  • child:

  • created: 18/03/2022 16:44:49

  • id: 3

  • modified: 18/03/2022 16:44:49

  • name: localhost

  • owner: 18

  • parent:

  • status: 2


cspsource/4 (ADDED)


cspsource/5 (ADDED)

  • activated: 1

  • child:

  • created: 18/03/2022 17:54:47

  • id: 5

  • modified: 18/03/2022 17:54:47

  • name: *.wedia-group.com

  • owner: 18

  • parent:

  • status: 2


cspsource/6 (ADDED)

  • activated: 1

  • child:

  • created: 23/06/2022 11:39:49

  • id: 6

  • modified: 23/06/2022 11:39:49

  • name: localhost:9000

  • owner: 18

  • parent:

  • status: 2


cspsource/7 (ADDED)

  • activated: 1

  • child:

  • created: 23/06/2022 12:13:17

  • id: 7

  • modified: 23/06/2022 12:13:17

  • name: http://localhost:9000

  • owner: 18

  • parent:

  • status: 2


pkgroletemplate

pkgroletemplate/997

  • permissions


pkgroletemplate/998

  • permissions


pkgroletemplate/999

  • permissions


resolution

resolution/25 (ADDED)

  • activated: 1

  • child:

  • created: 26/10/2022 17:40:09

  • description: The original text file

  • id: 25

  • modified: 26/10/2022 17:40:09

  • name: Original

  • nature: 66

  • owner: 1

  • parent:

  • position: 0

  • shortname: O

  • status: 2

  • variation: original

Plugins changes

PACKAGED_ImgBank (ADDED)

plugin.xml

  • Services:

    • com.wedia.packaged.utils.PackagedImgBankPlugin (com.noheto.extensions.interfaces.services.IPluginLifeCycleBusinessService)

    • com.wedia.packaged.rest.ImgBankAPIService (com.noheto.extensions.interfaces.services.AbstractPluginApiService)

  • Parameters:

    • destination_library:

      • type: string

      • mandatory: true

      • description: Destination media library for assets coming from the image bank

      • default value: asset

    • destination_asset_status:

      • type: string

      • mandatory: true

      • description: Status id for the created assets

      • default value: 2

    • source_image_bank:

      • type: json

      • mandatory: true

      • description: Config used to connect to the Image bank in order to import assets to the DAM. Please make sure that you are using a limitless account to avoid a limit on the number of api calls per hour

      • default value:

      [ { "type": "shutterstock", "token": "TOKEN" } ]
    • metadata_mapping:

      • type: json

      • mandatory: false

      • description: Mapping for the properties between the DAM and the Image bank. Data will be copied from the image bank to the DAM for all the props in the config

      • default value:

      { "description": "description", "contributor": { "id": "photograph.externalid", "display_name": "photograph.name" }, "keywords": "ai_concepts" }
    • imgBank_name_wearing_prop:

      • type: string

      • mandatory: true

      • description: Asset's prop which will receive and wear the image bank name

      • default value: imgbnksrc

    • synchronisation_frequency:

      • type: json

      • mandatory: true

      • description: Config which defines the synchronisation frequency

      • default value:

      { "frequency":"daily", "fetchingHour":"23:00:00" }
    • owner:

      • type: string

      • mandatory: true

      • description: User id to use for as owner/creator of the imported assets

      • default value: 1

    • media_type:

      • type: string

      • mandatory: true

      • description: Media types to retrieve. We can retrieve images,videos or audios. The '*' regroups them all

      • default value: *

    • synchro_task_on_startup:

      • type: boolean

      • mandatory: true

      • description: Synchronization task launched automatically on plugin activation

      • default value: false


WXM_CART2

plugin.xml

  • Parameters:

    • UPDATED previewsProfiles:

      • default value:

    • UPDATED shareProfiles:

      • default value:


WXM_CONFIG_RESOLVER (ADDED)

plugin.xml

  • Parameters:

    • temp_dir_path:

      • type: string

      • mandatory: true

      • description: Temporary files directory path

      • default value: ${java.io.tmpdir}/_wedia_config_resolver_temp

    • work_dir_path:

      • type: string

      • mandatory: true

      • description: Working files directory path

      • default value: ${app.san}/_wedia_config_resolver

    • default_contribution_plugin:

      • type: string

      • mandatory: false

      • description: The name of the plugin that provides the default contributions (postprocessors...)

      • default value: ````

    • default_holding_plugin:

      • type: string

      • mandatory: false

      • description: The name of the plugin that stores the configuration folder (/res/config-resolver/configs))

      • default value:

    • config_settings:

      • type: json

      • mandatory: true

      • description: Configuration of mappings and bases

      • default value:

    • discover_external_config_settings:

      • type: boolean

      • mandatory: true

      • description: Enable external mappings, post processors and bases look up

      • default value: true

    • discover_external_config_settings_exclusions:

      • type: json

      • mandatory: true

      • description: List of plugins ignored when looking up for external mappings, post processors and bases

      • default value:

    • api_uri_segment:

      • type: string

      • mandatory: false

      • description: The default URI prefix for API services

      • default value: ````

    • default_service_debug:

      • type: boolean

      • mandatory: true

      • description: Default debug mode enabled in API services (in development mode)

      • default value: false

    • fs_lock_enabled:

      • type: boolean

      • mandatory: true

      • description: Activation of the lock system

      • default value: true

    • lock_config:

      • type: json

      • mandatory: true

      • description: Configuration of the lock system

      • default value:

    • fs_lock_auto:

      • type: boolean

      • mandatory: true

      • description: Automatically set a lock when invoking file modification or deletion services

      • default value: false

    • command_submit_manager_config:

      • type: json

      • mandatory: true

      • description: Configuration of the batch command system for writing or deleting configuration files

      • default value:

    • fs_backup_files:

      • type: boolean

      • mandatory: true

      • description: Activation of the automatic backup system when writing or deleting configuration files

      • default value: true

    • enable_cache:

      • type: boolean

      • mandatory: true

      • description: Activation of the cache system

      • default value: true

    • cache_flush_config:

      • type: json

      • mandatory: true

      • description: Cache FLush configuration

      • default value:

security.xml


WXM_Multiupdate (ADDED)

plugin.xml

  • Services:

    • com.wedia.multiupdate.MultiupdateApi (com.noheto.extensions.interfaces.services.AbstractPluginApiService)

    • com.wedia.multiupdate.PluginLifeCycle (com.noheto.extensions.interfaces.services.IPluginLifeCycleBusinessService)

  • Parameters:

    • data.favorite.action:

      • type: string

      • mandatory: false

      • description:

      • default value: Replace

    • html.favorite.action:

      • type: string

      • mandatory: false

      • description:

      • default value: Replace

    • text.favorite.action:

      • type: string

      • mandatory: false

      • description:

      • default value: Replace

    • sentence.favorite.action:

      • type: string

      • mandatory: false

      • description:

      • default value: Replace

    • child.favorite.action:

      • type: string

      • mandatory: false

      • description:

      • default value: Set

    • childmulti.favorite.action:

      • type: string

      • mandatory: false

      • description:

      • default value: Set

    • childmultilng.favorite.action:

      • type: string

      • mandatory: false

      • description:

      • default value: Set

    • childmultilngdb.favorite.action:

      • type: string

      • mandatory: false

      • description:

      • default value: Set

    • dater.favorite.action:

      • type: string

      • mandatory: false

      • description:

      • default value: Set

    • datetime.favorite.action:

      • type: string

      • mandatory: false

      • description:

      • default value: Set

    • integer.favorite.action:

      • type: string

      • mandatory: false

      • description:

      • default value: Set

    • money.favorite.action:

      • type: string

      • mandatory: false

      • description:

      • default value: Set

    • decimal.favorite.action:

      • type: string

      • mandatory: false

      • description:

      • default value: Set


WXM_PENDO (ADDED)

plugin.xml

  • Parameters:

    • activatedInBO:

      • type: boolean

      • mandatory: true

      • description: is Pendo activated on the back-office?

      • default value: true

    • activatedInFO:

      • type: boolean

      • mandatory: true

      • description: is Pendo activated on the portal?

      • default value: true


WXM_VARIATIONS_API

plugin.xml

  • Parameters:

    • UPDATED akamai.network:

      • default value:

        • Old:

        • New:

WXM_RESTAPI

In this release the possibility to enable CSRF token check on API requests that are authenticated by cookie (X-WEDIA-API-TOKEN) has been integrated (In particular, all requests made by the Portal). This control is not enabled by default: to enable it, you have to go to the WXM_RESTAPI plugin configuration and set the value true for the csrfTokenControl property. For more details on the configuration of the plugin, see here.

Authenticated bearer requests are not affected by this control.

If you have project APIs used as part of Portal extensions, it will be necessary to protect them as well, by integrating a token control into your code. The details of how to integrate this control are explained here.