...
activated: 1
child:
created: 13/01/2023 09:39:44
id: 10180
modified: 13/01/2023 09:39:57
name: Manage Search
namede: Forschung verwalten
namefr: Configurer la recherche
owner: 1
parent:
position: 0
rubrique: 10151
status: 6
target:
url: /wedia-config/dam/portal/search/filters
Plugins changes
PACKAGED_BASES (ADDED)
...
PACKAGED_BOV3_DashboardWidgets
plugin.xml
Parameters:
UPDATED remove_widgets:
default value:
Old:
Code Block language json { "bloc_object_contents": true, "articles": true, "expiringAssets": "${surfer.properties.roleid ne '28' and surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4'}", "news": true, "my_projects": true, "mediacore_proposed": true, "galleryelements": true, "bloc_authorizedusers": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4'}", "PACKAGED_BOV3_DashboardWidgets_userrequests": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4'}", "PACKAGED_BOV3_DashboardWidgets_candidates_keywords": "${surfer.properties.roleid ne '28' and surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4'}", "PACKAGED_BOV3_DashboardWidgets_pendingassets": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4'}", "PACKAGED_BOV3_DashboardWidgets_rejectedassets": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '28' and surfer.properties.roleid ne '4'}" }
New:
Code Block language json { "bloc_object_contents": true, "articles": true, "expiringAssets": "${surfer.properties.roleid ne '28' and surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '998' and surfer.properties.pkgroletemplate ne '997'}", "news": true, "my_projects": true, "mediacore_proposed": true, "galleryelements": true, "bloc_authorizedusers": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '997'}", "PACKAGED_BOV3_DashboardWidgets_userrequests": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '997'}", "PACKAGED_BOV3_DashboardWidgets_candidates_keywords": "${surfer.properties.roleid ne '28' and surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '998' and surfer.properties.pkgroletemplate ne '997'}", "PACKAGED_BOV3_DashboardWidgets_pendingassets": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '997'}", "PACKAGED_BOV3_DashboardWidgets_rejectedassets": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '28' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '998' and surfer.properties.pkgroletemplate ne '997'}" }
...
PACKAGED_CONFIGS (ADDED)
...
PACKAGED_Fonts (ADDED)
...
PACKAGED_Security
plugin.xml
Parameters:
UPDATED permissions_inferring:
default value:
Old:
Code Block language json [ { "class": "com.wedia.packaged.security.inferring.impl.MassimportInferenceProvider", "init": { "massimportjob": [ "v1/objectdata/changestatus/start/2/$anyowner", "v1/objectdata/delete/2/$anyowner", "v1/objectdata/insert/$newcreation", "v1/objectdata/update/2/$anyowner", "v1/objectdata/view/2/$anyowner" ], "massimportitem": [ "v1/objectdata/changestatus/$anyaction/2/$anyowner", "v1/objectdata/changestatus/$anyaction/9/$anyowner", "v1/objectdata/changestatus/$anyaction/14/$anyowner", "v1/objectdata/changestatus/$anyaction/8/$anyowner", "v1/objectdata/changestatus/$anyaction/13/$anyowner", "v1/objectdata/delete/2/$anyowner", "v1/objectdata/delete/9/$anyowner", "v1/objectdata/delete/14/$anyowner", "v1/objectdata/delete/8/$anyowner", "v1/objectdata/delete/13/$anyowner", "v1/objectdata/insert/$newcreation", "v1/objectdata/update/2/$anyowner", "v1/objectdata/update/9/$anyowner", "v1/objectdata/update/14/$anyowner", "v1/objectdata/update/8/$anyowner", "v1/objectdata/update/13/$anyowner", "v1/objectdata/view/$anystatus/$anyowner", "v1/objectfile/sendfile/$anystatus/$anyowner/$anyconfidentiality" ], "wkfmassimportitem": [ "v1/objectdata/view/$anystatus/$anyowner" ], "wkfmassimportjob": [ "v1/objectdata/view/$anystatus/$anyowner" ] } } ]
New:
Code Block language json [ { "class": "com.wedia.packaged.security.inferring.impl.DamimportInferenceProvider", "init": { "damimport": [ "v1/objectdata/changestatus/$anyaction/$anystatus/$anyowner", "v1/objectdata/delete/$anystatus/$anyowner", "v1/objectdata/insert/$newcreation", "v1/objectdata/update/$anystatus/$anyowner", "v1/objectdata/view/$anystatus/$anyowner" ] } }, { "class": "com.wedia.packaged.security.inferring.impl.MassimportInferenceProvider", "init": { "massimportjob": [ "v1/objectdata/changestatus/start/2/$anyowner", "v1/objectdata/delete/2/$anyowner", "v1/objectdata/insert/$newcreation", "v1/objectdata/update/2/$anyowner", "v1/objectdata/view/2/$anyowner" ], "massimportitem": [ "v1/objectdata/changestatus/$anyaction/2/$anyowner", "v1/objectdata/changestatus/$anyaction/9/$anyowner", "v1/objectdata/changestatus/$anyaction/14/$anyowner", "v1/objectdata/changestatus/$anyaction/8/$anyowner", "v1/objectdata/changestatus/$anyaction/13/$anyowner", "v1/objectdata/delete/2/$anyowner", "v1/objectdata/delete/9/$anyowner", "v1/objectdata/delete/14/$anyowner", "v1/objectdata/delete/8/$anyowner", "v1/objectdata/delete/13/$anyowner", "v1/objectdata/insert/$newcreation", "v1/objectdata/update/2/$anyowner", "v1/objectdata/update/9/$anyowner", "v1/objectdata/update/14/$anyowner", "v1/objectdata/update/8/$anyowner", "v1/objectdata/update/13/$anyowner", "v1/objectdata/view/$anystatus/$anyowner", "v1/objectfile/sendfile/$anystatus/$anyowner/$anyconfidentiality" ], "wkfmassimportitem": [ "v1/objectdata/view/$anystatus/$anyowner" ], "wkfmassimportjob": [ "v1/objectdata/view/$anystatus/$anyowner" ] } } ]
security.xml
ADDED pkgV1ConfigResolver(action)
Code Block |
---|
(
/* action is isAvailable */
(
LOWER(arguments.action) = 'read'
AND
NBCOMMONELEMENTS(surfer.pkgsecurity_v1_configresolver, LOWER(arguments.action)) > 0
)
OR
(
LOWER(arguments.action) = 'write'
AND
NBCOMMONELEMENTS(
REPLACE(surfer.pkgsecurity_v1_configresolver, LOWER('writeLayer:'), LOWER('write::')),
'write::'
) > 0
)
OR
(
LOWER(arguments.action) = LOWER('writeLayer')
AND
(
NBCOMMONELEMENTS(surfer.pkgsecurity_v1_configresolver, CONCAT(LOWER(arguments.action), ':', '$anylayer')) > 0
OR
NBCOMMONELEMENTS(surfer.pkgsecurity_v1_configresolver, CONCAT(LOWER(arguments.action), ':', layer)) > 0
)
)
) |
ADDED pkgV1Bundles(action)
Code Block |
---|
(
/* action is isAvailable */
(
LOWER(arguments.action) = 'view'
AND
(
NBCOMMONELEMENTS(surfer.pkgsecurity_v1_bundles, CONCAT(LOWER(arguments.action), ':', REPLACE(LOWER(basename), '/', '>'))) > 0
OR
NBCOMMONELEMENTS(surfer.pkgsecurity_v1_bundles, CONCAT(LOWER(arguments.action), ':', LOWER('$anybundle'))) > 0
)
)
OR
(
LOWER(arguments.action) = 'update'
AND
(
/* Attention, on remplace les / par des > dans les permissions */
NBCOMMONELEMENTS(surfer.pkgsecurity_v1_bundles, CONCAT(LOWER(arguments.action), ':', REPLACE(LOWER(basename), '/', '>'), ':', LOWER(locale))) > 0
OR
NBCOMMONELEMENTS(surfer.pkgsecurity_v1_bundles, CONCAT(LOWER(arguments.action), ':', LOWER('$anybundle'), ':', LOWER(locale))) > 0
OR
NBCOMMONELEMENTS(surfer.pkgsecurity_v1_bundles, CONCAT(LOWER(arguments.action), ':', REPLACE(LOWER(basename), '/', '>'), ':', LOWER('$anylocale'))) > 0
OR
NBCOMMONELEMENTS(surfer.pkgsecurity_v1_bundles, CONCAT(LOWER(arguments.action), ':', LOWER('$anybundle'), ':', LOWER('$anylocale'))) > 0
)
)
) |
...
WXM_ANALYTICS_V2
plugin.xml
Parameters:
ADDED dxm_published_asset_roles:
type: string
mandatory: true
description: Liste des rôles ayant le droit de voir le rapport dxm dans le datalist
default value: 4,27
ADDED loadmore_limit:
type: integer
mandatory: true
description: Limite maximale pour la fonctionnalité 'Charger Plus'
default value: 500
...
WXM_BO_Options
plugin.xml
Parameters:
ADDED com.wedia.dam.EDIT_PREVIEW_VARIATIONS:
type: string
mandatory: false
description: Defines variations used to show an editor. we add after all com.wedia.dam.VIEW_PREVIEW_VARIATIONS.
default value: bo.editor.fast,bo.editor
UPDATED com.wedia.dam.VIEW_PREVIEW_VARIATIONS:
description:
Define players used in BO dataview/dataedit for left preview and for old browsers. In dataedit, we add before all ['bo.editor'].-->Define players used in BO dataview/dataedit for left preview and for old browsers. In dataedit, we use EDIT_PREVIEW_VARIATIONS + VIEW_PREVIEW_VARIATIONS.
default value:
Old:
Code Block language json bo.player,animatedBig,thumbnailBig,default
New:
Code Block language json bo.player.fast,bo.player,animatedBig,thumbnailBig,default
UPDATED com.wedia.dam.VIEW_PREVIEW_VARIATIONS(Accept: image/webp):
description:
Defines variations used in BO dataview/dataedit for left preview and for modern browsers. In dataedit, we add before all ['bo.editor'].-->Defines variations used in BO dataview/dataedit for left preview and for modern browsers. In dataedit, we use EDIT_PREVIEW_VARIATIONS + VIEW_PREVIEW_VARIATIONS.
default value:
Old:
Code Block language json bo.player,animatedBig.webp,animatedBig,thumbnailBig.webp,thumbnailBig,poster,default
New:
Code Block language json bo.player.fast,bo.player,animatedBig.webp,animatedBig,thumbnailBig.webp,thumbnailBig,poster,default
...
WXM_Fast_Players (ADDED)
plugin.xml
Services:
com.wedia.dam.PluginLifeCycleBusinessService
(com.noheto.extensions.interfaces.services.IPluginLifeCycleBusinessService
)com.wedia.dam.FastPlayers
(com.noheto.extensions.interfaces.services.InstallableService
)
Parameters:
FAST_PLAYERS_PREVIEW_VARIATIONS:
type:
string
mandatory:
false
description: Define players used to display preview before bo.player or bo.editor.
default value:
animatedBig,thumbnailBig,default
FAST_PLAYERS_PREVIEW_VARIATIONS(Accept: image/webp):
type:
string
mandatory:
false
description: Define players used to display preview before bo.player or bo.editor.
default value:
animatedBig.webp,animatedBig,thumbnailBig.webp,thumbnailBig,default
...
WXM_PENDO
plugin.xml
Services:
ADDED
com.wedia.pendo.LifeCycle
(com.noheto.extensions.interfaces.services.IPluginLifeCycleBusinessService
)ADDED
com.wedia.pendo.RestApi
(com.noheto.extensions.interfaces.services.AbstractPluginApiService
)
...
WXM_Wysiwyg_Editor
plugin.xml
Parameters:
ADDED allowFieldLevelRestrictions:
type: boolean
mandatory: false
description: For Froala Only, can the colors,font and fontSizes be defined at field level ?
default value: true
ADDED showRTLCorrector:
type: boolean
mandatory: false
description: For Froala Only, enable a button to correct the text direction of the selected text ?
default value: false
Plugin Config changes
WXM_RESTAPI
...
WXM_Fast_Players
Activated:
true
...
WXM_ANALYTICS_V2
plugin.xml
Parameters:
loadmore_limit:
type:
integer
mandatory:
false
description:
Limite maximale pour la fonctionnalité 'Charger Plus'
default value:
500
...
PACKAGED_Fonts
Activated:
true
...
PACKAGED_VueConfigAppI18n
Activated:
true
...
WXM_CONFIG_RESOLVER
Activated:
true
Parameters:
ADDED config_settings:
type:
JSON
mandatory:
true
description:
Configuration of mappings and bases
default value:
Code Block language json { "mappings": { "portal": "starter-kit@project-dev@project", "portal@picker": "starter-kit@project-dev@project@$starter-kit-picker@:userAgent", "portal@picker@office": "starter-kit@project-dev@project@$starter-kit-picker@office@:userAgent", "portal@picker@office@outlook": "starter-kit@project-dev@project@$starter-kit-picker@office@outlook@:userAgent", "wediaConfig": "__wedia_config", "portal@$mobile_device": "starter-kit@project-dev@project@$starter-kit-mobile", "portal@picker$mobile_device": "starter-kit@project-dev@project@$starter-kit-picker@$starter-kit-mobile", "portal@picker@office@$mobile_device": "starter-kit@project-dev@project@$starter-kit-picker@office@$starter-kit-mobile", "portal@picker@office@outlook@$mobile_device": "starter-kit@project-dev@project@$starter-kit-picker@office@outlook@$starter-kit-mobile" }, "postProcessors": { "surferRole": "fr.wedia.confres.core.model.processor.SurferRolePostProcessor", "userAgent": { "processor": "fr.wedia.confres.core.model.processor.UserAgentPostProcessor", "config": [ { "pattern": ".*Mobi.*", "name": "$starter-kit-mobile" } ] } }, "baseLocations": { "starter-kit": "PACKAGED_BASES", "emptyObj": "PACKAGED_BASES", "__wedia_config": "PACKAGED_BASES" } }
Portal upgrades
Home Page - Dropdown configuration changes
...