diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-audio.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-audio.js index 9f25956f9..595811209 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-audio.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-audio.js @@ -5,7 +5,7 @@ * - It is known that "webaudio" isn't working on OH3 at the moment: https://github.com/openhab/openhab-webui/issues/743 * - Even though "enhancedjavasound" is provided as a sink, currently it is not clear what the intention is * -* See more background info on openHAB multimedia here: https://www.openhab.org/docs/configuration/multimedia.html +* See more background info on openHAB multimedia here: https://v34.openhab.org/docs/configuration/multimedia.html */ import Blockly from 'blockly' @@ -45,7 +45,7 @@ export default function (f7, sinks, voices) { this.setNextStatement(true, null) this.setColour(0) this.setTooltip('Plays a sound file from the sounds folder to the given sink.') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#play-audio') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#play-audio') } } @@ -82,7 +82,7 @@ export default function (f7, sinks, voices) { this.setNextStatement(true, null) this.setColour(0) this.setTooltip('Plays a sound file from the sounds folder to the given sink at a given volume. \n Note: rather set volume first via thing volume channel, then play sound without volume parameter as it may be more reliable.') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#play-audio-with-volume') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#play-audio-with-volume') } } @@ -118,7 +118,7 @@ export default function (f7, sinks, voices) { this.setNextStatement(true, null) this.setColour(0) this.setTooltip('plays an audio stream from an url to the given sink(s)') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#play-stream') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#play-stream') } } @@ -148,7 +148,7 @@ export default function (f7, sinks, voices) { this.setNextStatement(true, null) this.setColour(0) this.setTooltip('stops the audio stream at the given sink') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#stop-stream') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#stop-stream') } } @@ -183,7 +183,7 @@ export default function (f7, sinks, voices) { this.setNextStatement(true, null) this.setColour(0) this.setTooltip('Speak text at the given device via text-to-speech') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#say') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#say') } } diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-color.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-color.js index 4eabf6f59..b40b365e0 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-color.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-color.js @@ -18,7 +18,7 @@ export default function (f7) { this.setOutput(true, 'String') this.setColour('%{BKY_COLOUR_HUE}') this.setTooltip('converts a colour\'s hex rgb representation to openHAB\'s hue-saturation-brightness string') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#create-hsb-color-from-rgb-color-openhabblocks-color.js') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#create-hsb-color-from-rgb-color-openhabblocks-color.js') } } diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-dateoffsets.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-dateoffsets.js index 57a729ca4..1d02e5620 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-dateoffsets.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-dateoffsets.js @@ -15,7 +15,7 @@ export default function (f7) { this.setOutput(true, 'DayOffset') this.setColour(70) this.setTooltip('today\'s date for Ephemeris check block') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#today') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#today') } } @@ -42,7 +42,7 @@ export default function (f7) { this.setOutput(true, 'DayOffset') this.setColour(70) this.setTooltip('today with a positive or negative day offset for Ephemeris check block') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#today-x-days') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#today-x-days') } } @@ -67,7 +67,7 @@ export default function (f7) { this.setOutput(true, 'ZonedDateTime') this.setColour(70) this.setTooltip('Obtains the current date-time from the system clock in the default time-zone.\nReturns: ZonedDateTime') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-datetime-now') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-datetime-now') } } @@ -101,7 +101,7 @@ export default function (f7) { this.setOutput(true, 'ZonedDateTime') this.setColour(70) this.setTooltip('Obtains the current date-time from the system clock in the default time-zone with a simple positive or negative offset.\nReturns: ZonedDateTime') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-date-now-with-offset') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-date-now-with-offset') } } @@ -129,7 +129,7 @@ export default function (f7) { this.setOutput(true, 'ZonedDateTime') this.setColour(70) this.setTooltip('Creates a ZonedDateTime based on the given input for date and time with nanos set to 0 and the system\'s time-zone. The values need to be valid.\nReturns: ZonedDateTime') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#datetime-with-date-and-time-values') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#datetime-with-date-and-time-values') }, updateShape_: function () { let year = this.appendValueInput('year') @@ -184,7 +184,7 @@ export default function (f7) { this.setOutput(true, 'ZonedDateTime') this.setColour(70) this.setTooltip('A ZonedDateTime with time set to zero') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#date-picker') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#date-picker') } } @@ -227,7 +227,7 @@ export default function (f7) { 'returns ZonedDateTime"\n' this.setTooltip(tooltip) - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-date') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-date') } } @@ -255,7 +255,7 @@ export default function (f7) { this.setOutput(true, 'ZonedDateTime') this.setColour(70) this.setTooltip('ZonedDateTime from a datetime item') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#datetime-from-item') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#datetime-from-item') } } @@ -290,7 +290,7 @@ export default function (f7) { this.setOutput(true, 'zdtTemporalUnit') this.setColour(120) this.setTooltip('click arrow to scroll through year, month, day, hour, minute, second, milli, nano, day of year') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#create-datetime-based-on-a-specific-date-copy-of') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#create-datetime-based-on-a-specific-date-copy-of') }, onClick (nextField) { let block = this.getSourceBlock() @@ -359,7 +359,7 @@ export default function (f7) { this.setOutput(true, 'zdtTemporalUnit') this.setColour(120) this.setTooltip('click arrow to scroll through year, month, day, hour, minute, second, milli, nano, day of year') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#create-datetime-based-on-a-specific-date-copy-of') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#create-datetime-based-on-a-specific-date-copy-of') }, onClick (nextField) { let block = this.getSourceBlock() @@ -429,7 +429,7 @@ export default function (f7) { this.setMutator(new Blockly.Mutator(['oh_zdt_amend_item'])) this.setTooltip('Use a ZonedDateTime as a basis and amend it via particular temporal blocks') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#create-datetime-based-on-a-specific-date-copy-of') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#create-datetime-based-on-a-specific-date-copy-of') }, mutationToDom: function () { let container = Blockly.utils.xml.createElement('mutation') @@ -611,7 +611,7 @@ export default function (f7) { this.setOutput(true, 'String') this.setColour(160) this.setTooltip('converts an ZonedDateTime into a date string') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-string-representation-of-date') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-string-representation-of-date') } } @@ -660,7 +660,7 @@ export default function (f7) { this.setInputsInline(true) this.setColour('%{BKY_LOGIC_HUE}') this.setTooltip('Compares two ZonedDateTimes with each other') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#date-comparison') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#date-comparison') } } @@ -704,7 +704,7 @@ export default function (f7) { this.setInputsInline(true) this.setColour('%{BKY_LOGIC_HUE}') this.setTooltip('Compares two ZonedDateTimes with each other') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#date-comparison-between') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#date-comparison-between') } } @@ -741,7 +741,7 @@ export default function (f7) { this.setOutput(true, 'Number') this.setColour(230) this.setTooltip('Returns the selected field as Number.') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-part-of-datetime') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-part-of-datetime') } } @@ -790,7 +790,7 @@ export default function (f7) { this.setOutput(true, 'Number') this.setColour(230) this.setTooltip('Returns the selected field as Number.') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-difference-between-datetimes') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-difference-between-datetimes') } } diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-dicts.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-dicts.js index b0fb72b24..681c5bec5 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-dicts.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-dicts.js @@ -12,7 +12,7 @@ export default function (f7) { this.updateShape_() this.setOutput(true, 'Dictionary') this.setMutator(new Blockly.Mutator(['dicts_create_with_item'])) - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#dictionary-for-managing-key-value-pairs') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#dictionary-for-managing-key-value-pairs') this.setTooltip('Create a key/value dictionary') }, /** @@ -188,7 +188,7 @@ export default function (f7) { .setCheck('String') this.setInputsInline(true) this.setOutput(true, 'String') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#get-value-of-key-from-dictionary') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#get-value-of-key-from-dictionary') this.setTooltip('Retrieve a specified attribute from the context that could be set from a calling rule or script') } } diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-ephemeris.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-ephemeris.js index ecdb2bb1a..8b1dffb1e 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-ephemeris.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-ephemeris.js @@ -2,7 +2,7 @@ * Ephemeris provides calendar related information * @author stefan.hoehn * -* See more background info on openHAB ephemeris here: https://www.openhab.org/docs/configuration/actions.html#ephemeris +* See more background info on openHAB ephemeris here: https://v34.openhab.org/docs/configuration/actions.html#ephemeris * See usage discussion here: https://community.openhab.org/t/wip-ephemeris-documentation/84536 */ import Blockly from 'blockly' @@ -28,7 +28,7 @@ export default function (f7) { this.setInputsInline(true) this.setTooltip('checks if the given day is a holiday, weekend or weekday') this.setOutput(true, null) - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-ephemeris.html#holiday-weekend-or-weekday-check') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-ephemeris.html#holiday-weekend-or-weekday-check') } } @@ -71,7 +71,7 @@ export default function (f7) { this.setInputsInline(true) this.setTooltip('name of the holiday for the given day') this.setOutput(true, null) - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-ephemeris.html#get-the-holiday-name-for-a-particular-date') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-ephemeris.html#get-the-holiday-name-for-a-particular-date') } } @@ -99,7 +99,7 @@ export default function (f7) { this.setInputsInline(true) this.setTooltip('days from today until the given bank holiday name') this.setOutput(true, null) - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-ephemeris.html#get-the-number-of-days-until-a-specific-holiday') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-ephemeris.html#get-the-number-of-days-until-a-specific-holiday') } } diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-eventbus.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-eventbus.js index ac4dc0ddf..f249a1652 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-eventbus.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-eventbus.js @@ -18,7 +18,7 @@ export default function (f7) { this.setNextStatement(true, null) this.setColour(0) this.setTooltip('Send a command to an item') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#send-command') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#send-command') } } diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-items.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-items.js index e06ad3e79..0b49e4bcd 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-items.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-items.js @@ -16,7 +16,7 @@ export default function (f7) { this.setColour(160) this.setInputsInline(true) this.setTooltip('Pick an item from the Model') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#item') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#item') this.setOutput(true, null) } } @@ -37,7 +37,7 @@ export default function (f7) { this.setOutput(true, 'Array') this.setColour(0) this.setTooltip('Retrieve the members of a group') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-members-of-group') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-members-of-group') this.setOutput(true, null) } } @@ -58,7 +58,7 @@ export default function (f7) { this.setOutput(true, 'Array') this.setColour(0) this.setTooltip('Retrieve the items that have all the given tags') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-items-with-tag') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-items-with-tag') this.setOutput(true, null) } } @@ -86,7 +86,7 @@ export default function (f7) { this.setOutput(true, 'oh_itemtype') this.setColour(0) this.setTooltip('Get an item from the item registry') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-item') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-item') } } @@ -106,7 +106,7 @@ export default function (f7) { this.setOutput(true, 'String') this.setColour(0) this.setTooltip('Get an item state from the item registry') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-state-of-item') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-state-of-item') } } @@ -144,7 +144,7 @@ export default function (f7) { this.setOutput(true, 'String') this.setColour(0) this.setTooltip('Retrieve a specific attribute from the item. Note that groups and tags return a list and should be used with the loops-block \'for each item ... in list\'. ') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-particular-attributes-of-an-item') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-particular-attributes-of-an-item') }, /** * Modify this block to have the correct output type based on the attribute. diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-list.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-list.js index 15733020b..07afc13d2 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-list.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-list.js @@ -20,7 +20,7 @@ export default function (f7) { this.setOutput(true, 'Array') this.setColour('%{BKY_LISTS_HUE}') this.setTooltip('concatenate two arrays returning a new array') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#concatenate-list') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#concatenate-list') } } diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-logging.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-logging.js index bd28ef5d0..7dedab7ed 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-logging.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-logging.js @@ -13,7 +13,7 @@ export default function (f7) { this.setNextStatement(true, null) this.setColour(0) this.setTooltip('Print a message on the console') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-logging.html#print-statement') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-logging.html#print-statement') } } @@ -32,7 +32,7 @@ export default function (f7) { this.setNextStatement(true, null) this.setColour(0) this.setTooltip('Write a message in the openHAB log') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-logging.html#log-statement') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-logging.html#log-statement') } } diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-notifications.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-notifications.js index b67fc17a5..e95bcd715 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-notifications.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-notifications.js @@ -16,7 +16,7 @@ export default function defineOHBlocks_Notifications (f7) { this.setInputsInline(false) this.setColour(0) this.setTooltip('Send a notification message to a specific openhab user') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-notifications.html#send-notification-to-specific-cloud-email-user') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-notifications.html#send-notification-to-specific-cloud-email-user') } } @@ -43,7 +43,7 @@ export default function defineOHBlocks_Notifications (f7) { this.setInputsInline(false) this.setColour(0) this.setTooltip('send a notification to all clients. Provide icon name without prefix') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-notifications.html#send-notification-to-all-devices-and-users') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-notifications.html#send-notification-to-all-devices-and-users') } } @@ -71,7 +71,7 @@ export default function defineOHBlocks_Notifications (f7) { this.setInputsInline(false) this.setColour(0) this.setTooltip('Sends a notification to the log only not to any device') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-notifications.html#send-notification-to-log-only') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-notifications.html#send-notification-to-log-only') } } diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-persistence.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-persistence.js index d4fb78446..bc07242d8 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-persistence.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-persistence.js @@ -47,7 +47,7 @@ export default function defineOHBlocks_Persistence (f7) { } return TIP[methodName] }) - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-persistence.html#get-statistical-value-of-an-item') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-persistence.html#get-statistical-value-of-an-item') }, handleTypeSelection: function (methodName) { if (this.methodName !== methodName) { @@ -148,7 +148,7 @@ export default function defineOHBlocks_Persistence (f7) { return TIP[methodName] }) - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-persistence.html#check-item-change-update-since-a-point-in-time') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-persistence.html#check-item-change-update-since-a-point-in-time') } } @@ -180,7 +180,7 @@ export default function defineOHBlocks_Persistence (f7) { this.setOutput(true, 'ZonedDateTime') this.setColour(0) this.setTooltip('Get the last update time of the provided item') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-persistence.html#provide-last-updated-date-of-an-item') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-persistence.html#provide-last-updated-date-of-an-item') } } diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-scripts.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-scripts.js index 1792a08e7..b47257861 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-scripts.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-scripts.js @@ -22,7 +22,7 @@ export default function defineOHBlocks_Scripts (f7, scripts) { this.setNextStatement(true, null) this.setColour(0) this.setTooltip('Calls a script file which must be located in the $OPENHAB_CONF/scripts folder') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#call-script-file') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#call-script-file') } } @@ -57,7 +57,7 @@ export default function defineOHBlocks_Scripts (f7, scripts) { this.setNextStatement(true, null) this.setColour(0) this.setTooltip('Run a rule or script with a certain UID, and optional parameters') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#run-rule-or-script-created-in-ui') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#run-rule-or-script-created-in-ui') } } @@ -127,7 +127,7 @@ export default function defineOHBlocks_Scripts (f7, scripts) { }) this.setHelpUrl(function () { const type = thisBlock.getFieldValue('type') - return 'https://www.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#transform-values-via-map-regex-or-jsonpath-and-others' + type.toLowerCase() + '/' + return 'https://v34.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#transform-values-via-map-regex-or-jsonpath-and-others' + type.toLowerCase() + '/' }) } } @@ -181,7 +181,7 @@ export default function defineOHBlocks_Scripts (f7, scripts) { } return TIP[contextData] }) - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#retrieve-rule-context-information') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#retrieve-rule-context-information') } } @@ -203,7 +203,7 @@ export default function defineOHBlocks_Scripts (f7, scripts) { this.setInputsInline(false) this.setOutput(true, 'any') this.setColour(0) - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#retrieve-context-attribute-from-rule') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#retrieve-context-attribute-from-rule') this.setTooltip('Retrieve a specified attribute from the context that could be set from a calling rule or script') } } @@ -232,7 +232,7 @@ export default function defineOHBlocks_Scripts (f7, scripts) { this.setPreviousStatement(true, null) this.setNextStatement(true, null) this.setColour(0) - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#inline-script') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#inline-script') this.setTooltip('Allows inlining arbitrary script code which has to be syntactically correct') } } diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-text.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-text.js index 7d57158cb..d0e61b029 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-text.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-text.js @@ -17,7 +17,7 @@ export default function (f7) { this.setOutput(true, 'String') this.setColour('%{BKY_TEXTS_HUE}') this.setTooltip('Returns a carriage return line feed (\\r\\n).') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#crlf') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#crlf') } } @@ -47,7 +47,7 @@ export default function (f7) { this.setOutput(true, 'String') this.setColour('%{BKY_TEXTS_HUE}') this.setTooltip('returns a new string with one, some, or all matches of a pattern replaced by a replacement. The pattern can be a string or a RegEx. If it is a string, all occurences are replaced.') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#text-replace') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#text-replace') } } diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-things.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-things.js index 4c4134cc5..f00f1d2f3 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-things.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-things.js @@ -15,7 +15,7 @@ export default function defineOHBlocks (f7) { this.setColour(160) this.setInputsInline(true) this.setTooltip('Pick a thing from the Thing List') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#thing') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#thing') this.setOutput(true, null) } } @@ -35,7 +35,7 @@ export default function defineOHBlocks (f7) { this.setOutput(true, 'String') this.setColour(0) this.setTooltip('Gets status information of the given thing, e.g. if the thing is online') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-thing-status') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-thing-status') } } diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-timers.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-timers.js index f9b6fd69e..9d02f878f 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-timers.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-timers.js @@ -19,7 +19,7 @@ export default function defineOHBlocks_Timers (f7) { this.setPreviousStatement(true, null) this.setNextStatement(true, null) this.setColour(0) - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#wait-for') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#wait-for') this.setTooltip('Waits for the specified milliseconds') } } @@ -60,7 +60,7 @@ export default function defineOHBlocks_Timers (f7) { this.setPreviousStatement(true, null) this.setNextStatement(true, null) this.setTooltip('Create a named timer') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#after-period-of-time-do-with-timer') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#after-period-of-time-do-with-timer') } } @@ -110,7 +110,7 @@ export default function defineOHBlocks_Timers (f7) { this.setNextStatement(true, null) this.setColour(0) this.setTooltip('Simple Timer creation with control over rule retriggering action') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#after-period-of-time-do-with-timer-with-options-on-retriggering-rule') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#after-period-of-time-do-with-timer-with-options-on-retriggering-rule') } } @@ -169,7 +169,7 @@ export default function defineOHBlocks_Timers (f7) { this.setOutput(true, 'Boolean') this.setColour(0) this.setTooltip('returns true if the timer will be executed as scheduled, i.e. it has not been cancelled or completed') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#timer-is-active') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#timer-is-active') } } @@ -202,7 +202,7 @@ export default function defineOHBlocks_Timers (f7) { this.setOutput(true, 'Boolean') this.setColour(0) this.setTooltip('returns true if the code is currently executing (i.e. the timer activated the code but it is not done running)') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#timer-is-running') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#timer-is-running') } } @@ -234,7 +234,7 @@ export default function defineOHBlocks_Timers (f7) { this.setOutput(true, 'Boolean') this.setColour(0) this.setTooltip('returns true if the code has run and completed.') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#timer-has-terminated') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#timer-has-terminated') } } @@ -264,7 +264,7 @@ export default function defineOHBlocks_Timers (f7) { this.setNextStatement(true, null) this.setColour(0) this.setTooltip('Cancels a named timer') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#cancel-timer') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#cancel-timer') } } @@ -304,7 +304,7 @@ export default function defineOHBlocks_Timers (f7) { this.setNextStatement(true, null) this.setColour(0) this.setTooltip('reschedules the timer to execute at the new time. If the Timer has terminated this method does nothing.') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#reschedule-timer') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#reschedule-timer') } } diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-valuestorage.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-valuestorage.js index 622d6c26a..902e35565 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-valuestorage.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-valuestorage.js @@ -20,7 +20,7 @@ export default function defineOHBlocks_Variables (f7) { this.setNextStatement(true, null) this.setColour(0) this.setTooltip('stores a value with a variable name that can be retrieved on subsequent runs of this rule/script') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-value-storage.html#store-value') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-value-storage.html#store-value') } } @@ -42,7 +42,7 @@ export default function defineOHBlocks_Variables (f7) { this.setOutput(true, null) this.setColour(0) this.setTooltip('retrieves the value that was previously stored for that particular script/rule') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-value-storage.html#get-stored-value') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-value-storage.html#get-stored-value') } } @@ -61,7 +61,7 @@ export default function defineOHBlocks_Variables (f7) { this.setOutput(true, null) this.setColour(0) this.setTooltip('returns whether the given value is undefined') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-value-storage.html#check-if-value-is-undefined') + this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-value-storage.html#check-if-value-is-undefined') } } diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/fields/audiosink-field.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/fields/audiosink-field.js index 2ec98d7be..99ca04c4a 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/fields/audiosink-field.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/fields/audiosink-field.js @@ -2,7 +2,7 @@ * Dropdown field populated with audio sinks found in the system. * CURRENTLY UNUSED * -* See more background info on openHAB multimedia here: https://www.openhab.org/docs/configuration/multimedia.html +* See more background info on openHAB multimedia here: https://v34.openhab.org/docs/configuration/multimedia.html */ import Blockly from 'blockly' diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/map/index.js b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/map/index.js index c36c07872..fceecb8f2 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/map/index.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/map/index.js @@ -28,7 +28,7 @@ export const OhMapPageDefinition = () => new WidgetDefinition('oh-map-page', 'Ma export const OhMapMarkerDefinition = () => new WidgetDefinition('oh-map-marker', 'Map Marker', 'An icon on a map', 'map_pin') .paramGroup(pg('marker', 'Marker', 'General marker settings'), [ LabelParam(), - pt('icon', 'Icon', 'Use oh:iconName (openHAB icon)') + pt('icon', 'Icon', 'Use oh:iconName (openHAB icon)') ]) .paramGroup(pg('position', 'Position', 'Position'), [ ItemParam(), diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/plan/index.js b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/plan/index.js index 5ae498dbb..1612c9af3 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/plan/index.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/plan/index.js @@ -32,7 +32,7 @@ export const OhPlanMarkerDefinition = () => new WidgetDefinition('oh-plan-marker pi('item', 'Item', 'The item whose state to display on this marker') ]) .paramGroup(pg('icon', 'Icon', 'You can customize the styles further with CSS attributes in the iconStyle parameter (in YAML only)'), [ - pt('icon', 'Icon', 'Use oh:iconName (openHAB icon), f7:iconName (Framework7 icon), material:iconName (Material icon) or iconify:iconSet:iconName (Iconify icon, requires being online if not in cache)'), + pt('icon', 'Icon', 'Use oh:iconName (openHAB icon), f7:iconName (Framework7 icon), material:iconName (Material icon) or iconify:iconSet:iconName (Iconify icon, requires being online if not in cache)'), pb('iconUseState', 'Icon depends on state', 'Use the state of the item to get a dynamic icon (for openHAB icons only)'), pn('iconSize', 'Icon Size', 'Size of the icon in pixels (40 by default)'), pn('iconWidth', 'Icon Width', 'Width of the icon in pixels (for openHAB icons only, 40 by default)').a(), diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/standard/cards.js b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/standard/cards.js index 4a3bc711f..96a8104cc 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/standard/cards.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/standard/cards.js @@ -25,7 +25,7 @@ export const OhLabelCardDefinition = () => new WidgetDefinition('oh-label-card', pt('background', 'Background style', 'Background style (in CSS "background" attribute format)'), pt('fontSize', 'Font Size', 'Font size (e.g. "34px")'), pt('fontWeight', 'Font Weight', 'Font weight (e.g. "normal" or "bold")'), - pt('icon', 'Icon', 'Use oh:iconName (openHAB icon), f7:iconName (Framework7 icon), material:iconName (Material icon) or iconify:iconSet:iconName (Iconify icon, requires being online if not in cache)'), + pt('icon', 'Icon', 'Use oh:iconName (openHAB icon), f7:iconName (Framework7 icon), material:iconName (Material icon) or iconify:iconSet:iconName (Iconify icon, requires being online if not in cache)'), pt('iconColor', 'Icon Color', 'Not applicable to openHAB icons').a(), pn('iconSize', 'Icon Size', 'Size of the icon in px').a(), pb('iconUseState', 'Icon depends on state', 'Use the state of the item to get a dynamic icon (for openHAB icons only)').a(), diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/standard/cells.js b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/standard/cells.js index 54348f267..af7b101f5 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/standard/cells.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/standard/cells.js @@ -11,7 +11,7 @@ export const CellParameters = () => [ pt('title', 'Title', 'Title of the cell'), pt('subtitle', 'Subtitle', 'Subtitle of the cell'), pt('footer', 'Footer', 'Footer of the cell'), - pt('icon', 'Icon', 'Use oh:iconName (openHAB icon), f7:iconName (Framework7 icon), material:iconName (Material icon) or iconify:iconSet:iconName (Iconify icon, requires being online if not in cache)'), + pt('icon', 'Icon', 'Use oh:iconName (openHAB icon), f7:iconName (Framework7 icon), material:iconName (Material icon) or iconify:iconSet:iconName (Iconify icon, requires being online if not in cache)'), pt('color', 'Highlight Color', 'Color to use when highlighted'), pt('on', '"On" expression', 'Expression to determine when the card should be highlighted. If blank, determine automatically from the primary bound item if applicable.').a() ] diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/standard/listitems.js b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/standard/listitems.js index 9515bd480..b7fea3805 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/standard/listitems.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/standard/listitems.js @@ -9,7 +9,7 @@ export const ListItemParameters = () => [ pt('title', 'Title', 'Title of the item'), pt('subtitle', 'Subtitle', 'Subtitle of the item'), pt('after', 'After', 'Text to display on the opposite side of the item (set either this or a badge)').a(), - pt('icon', 'Icon', 'Use oh:iconName (openHAB icon), f7:iconName (Framework7 icon), material:iconName (Material icon) or iconify:iconSet:iconName (Iconify icon, requires being online if not in cache)'), + pt('icon', 'Icon', 'Use oh:iconName (openHAB icon), f7:iconName (Framework7 icon), material:iconName (Material icon) or iconify:iconSet:iconName (Iconify icon, requires being online if not in cache)'), pt('iconColor', 'Icon Color', 'Not applicable to openHAB icons').a(), pb('iconUseState', 'Icon depends on state', 'Use the state of the item to get a dynamic icon (for openHAB icons only)').a() ] diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/icon.js b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/icon.js index 2865e8ad3..85d64bfc0 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/icon.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/icon.js @@ -1,7 +1,7 @@ import { pb, pi, pt } from '../helpers.js' export default () => [ - pb('icon', 'Icon', 'oh:iconName or iconName (openHAB icon), f7:iconName (Framework7 icon), material:iconName (Material icon) or iconify:iconSet:iconName (Iconify icon, requires being online if not in cache)'), + pb('icon', 'Icon', 'oh:iconName or iconName (openHAB icon), f7:iconName (Framework7 icon), material:iconName (Material icon) or iconify:iconSet:iconName (Iconify icon, requires being online if not in cache)'), pi('width', 'Width', 'Width of the icon in pixels'), pi('height', 'Height', 'Height of the icon in pixels'), pt('color', 'Color', 'Color of the icon (for F7/Material icons, a Framework7 color theme, for Iconify icons, a CSS color). Not applicable to OH icons.'), diff --git a/bundles/org.openhab.ui/web/src/assets/openhab-js-tern-defs.json b/bundles/org.openhab.ui/web/src/assets/openhab-js-tern-defs.json index f869cdd84..45ca9aa45 100644 --- a/bundles/org.openhab.ui/web/src/assets/openhab-js-tern-defs.json +++ b/bundles/org.openhab.ui/web/src/assets/openhab-js-tern-defs.json @@ -273,12 +273,12 @@ "addItem": { "!doc": "Creates a new Item within openHAB (see JS Scripting docs/Standard Library/Items).", "!type": "fn(itemConfig: ItemConfig) -> Item", - "!url": "https://openhab.org/addons/automation/jsscripting/#itemconfig" + "!url": "https://v34.openhab.org/addons/automation/jsscripting/#itemconfig" }, "replaceItem": { "!doc": "Replaces (upserts) an item. If an Item does not exist with this name, a new Item will be created with the supplied configuration (see JS Scripting docs/Standard Library/Items).", "!type": "fn(itemConfig: ItemConfig) -> Item", - "!url": "https://openhab.org/addons/automation/jsscripting/#itemconfig" + "!url": "https://v34.openhab.org/addons/automation/jsscripting/#itemconfig" }, "removeItem": { "!doc": "Removes an Item from openHAB. The Item is removed immediately and cannot be recovered.", diff --git a/bundles/org.openhab.ui/web/src/components/addons/addon-card.vue b/bundles/org.openhab.ui/web/src/components/addons/addon-card.vue index 4f0e8ee7d..9b40b8fc5 100644 --- a/bundles/org.openhab.ui/web/src/components/addons/addon-card.vue +++ b/bundles/org.openhab.ui/web/src/components/addons/addon-card.vue @@ -143,8 +143,7 @@ export default { }, imageUrl () { if (this.addon.imageLink) return this.addon.imageLink.replace(/^\/\//, 'https://') - let docsBranch = 'final' - if (this.$store.state.runtimeInfo.buildString === 'Release Build') docsBranch = 'final-stable' + let docsBranch = 'final-3.4.x' return `https://raw.githubusercontent.com/openhab/openhab-docs/${docsBranch}/images/addons/${this.addon.id.substring(this.addon.id.indexOf('-') + 1)}.png` } }, diff --git a/bundles/org.openhab.ui/web/src/components/addons/addon-info-table.vue b/bundles/org.openhab.ui/web/src/components/addons/addon-info-table.vue index d4fa52f92..aa42b9912 100644 --- a/bundles/org.openhab.ui/web/src/components/addons/addon-info-table.vue +++ b/bundles/org.openhab.ui/web/src/components/addons/addon-info-table.vue @@ -123,7 +123,7 @@ export default { id: 'documentationLink', title: 'Documentation', afterIcon: 'question_circle_fill', - linkUrl: `https://${this.$store.state.runtimeInfo.buildString === 'Release Build' ? 'www' : 'next'}.openhab.org/addons/${this.addon.type.replace('misc', 'integrations').replace('binding', 'bindings').replace('transformation', 'transformations')}/${this.addon.id.split('-')[1]}` // this.addon.link + linkUrl: `https://v34.openhab.org/addons/${this.addon.type.replace('misc', 'integrations').replace('binding', 'bindings').replace('transformation', 'transformations')}/${this.addon.id.split('-')[1]}` // this.addon.link }) let repository diff --git a/bundles/org.openhab.ui/web/src/components/addons/addon-list-item.vue b/bundles/org.openhab.ui/web/src/components/addons/addon-list-item.vue index 88f4ee232..ad563a556 100644 --- a/bundles/org.openhab.ui/web/src/components/addons/addon-list-item.vue +++ b/bundles/org.openhab.ui/web/src/components/addons/addon-list-item.vue @@ -74,8 +74,7 @@ export default { computed: { imageUrl () { if (this.addon.imageLink) return this.addon.imageLink.replace(/^\/\//, 'https://') - let docsBranch = 'final' - if (this.$store.state.runtimeInfo.buildString === 'Release Build') docsBranch = 'final-stable' + let docsBranch = 'final-3.4.x' return `https://raw.githubusercontent.com/openhab/openhab-docs/${docsBranch}/images/addons/${this.addon.id.substring(this.addon.id.indexOf('-') + 1)}.png` } }, diff --git a/bundles/org.openhab.ui/web/src/components/item/metadata/item-metadata-alexa.vue b/bundles/org.openhab.ui/web/src/components/item/metadata/item-metadata-alexa.vue index f712488cc..320288313 100644 --- a/bundles/org.openhab.ui/web/src/components/item/metadata/item-metadata-alexa.vue +++ b/bundles/org.openhab.ui/web/src/components/item/metadata/item-metadata-alexa.vue @@ -88,7 +88,7 @@ export default { multiple: !!this.metadata.value && this.metadata.value.indexOf(',') > 0, classSelectKey: this.$f7.utils.id(), docUrl: - `https://${this.$store.state.runtimeInfo.buildString === 'Release Build' ? 'www' : 'next'}.openhab.org` + + 'https://v34.openhab.org' + '/link/alexa', ready: false } diff --git a/bundles/org.openhab.ui/web/src/components/item/metadata/item-metadata-ga.vue b/bundles/org.openhab.ui/web/src/components/item/metadata/item-metadata-ga.vue index c1f2e97f0..00d07591e 100644 --- a/bundles/org.openhab.ui/web/src/components/item/metadata/item-metadata-ga.vue +++ b/bundles/org.openhab.ui/web/src/components/item/metadata/item-metadata-ga.vue @@ -28,7 +28,7 @@

- + Google Assistant Integration Documentation

diff --git a/bundles/org.openhab.ui/web/src/components/item/metadata/item-metadata-homekit.vue b/bundles/org.openhab.ui/web/src/components/item/metadata/item-metadata-homekit.vue index f71ed9b1d..a8f45571f 100644 --- a/bundles/org.openhab.ui/web/src/components/item/metadata/item-metadata-homekit.vue +++ b/bundles/org.openhab.ui/web/src/components/item/metadata/item-metadata-homekit.vue @@ -53,7 +53,7 @@

- + HomeKit integration documentation

diff --git a/bundles/org.openhab.ui/web/src/pages/about.vue b/bundles/org.openhab.ui/web/src/pages/about.vue index 9818f0007..01bab24c9 100644 --- a/bundles/org.openhab.ui/web/src/pages/about.vue +++ b/bundles/org.openhab.ui/web/src/pages/about.vue @@ -10,8 +10,8 @@

openHAB {{ $store.state.runtimeInfo.version }}
{{ $store.state.runtimeInfo.buildString }}

-

-

+

+

diff --git a/bundles/org.openhab.ui/web/src/pages/developer/blocks/blocks-edit.vue b/bundles/org.openhab.ui/web/src/pages/developer/blocks/blocks-edit.vue index 5d3623805..ac0611f86 100644 --- a/bundles/org.openhab.ui/web/src/pages/developer/blocks/blocks-edit.vue +++ b/bundles/org.openhab.ui/web/src/pages/developer/blocks/blocks-edit.vue @@ -274,7 +274,7 @@ export default { config: { template: '/* Incomplete example skeleton, check out\n' + - ' https://openhab.org/link/blocklib-tutorial\n' + + ' https://v34.openhab.org/link/blocklib-tutorial\n' + ' to learn how to build block libraries */\n' } } diff --git a/bundles/org.openhab.ui/web/src/pages/home/overview-tab.vue b/bundles/org.openhab.ui/web/src/pages/home/overview-tab.vue index 284527a0d..219855b87 100644 --- a/bundles/org.openhab.ui/web/src/pages/home/overview-tab.vue +++ b/bundles/org.openhab.ui/web/src/pages/home/overview-tab.vue @@ -16,9 +16,9 @@
- + - +
diff --git a/bundles/org.openhab.ui/web/src/pages/settings/addons/addon-details.vue b/bundles/org.openhab.ui/web/src/pages/settings/addons/addon-details.vue index 2be1eb38b..1887539b7 100644 --- a/bundles/org.openhab.ui/web/src/pages/settings/addons/addon-details.vue +++ b/bundles/org.openhab.ui/web/src/pages/settings/addons/addon-details.vue @@ -215,8 +215,7 @@ export default { imageUrl () { if (!this.addon) return null if (this.addon.imageLink) return this.addon.imageLink.replace(/^\/\//, 'https://') - let docsBranch = 'final' - if (this.$store.state.runtimeInfo.buildString === 'Release Build') docsBranch = 'final-stable' + let docsBranch = 'final-3.4.x' return `https://raw.githubusercontent.com/openhab/openhab-docs/${docsBranch}/images/addons/${this.addon.id.substring(this.addon.id.indexOf('-') + 1)}.png` }, addonDescription () { @@ -234,7 +233,7 @@ export default { if (!this.addon) return '' if (this.serviceId && this.serviceId !== 'karaf' && this.addon.link) return this.addon.link if (this.addon.id.indexOf('-') > 0) { - let url = `https://${this.$store.state.runtimeInfo.buildString === 'Release Build' ? 'www' : 'next'}.openhab.org` + + let url = 'https://v34.openhab.org' + `/addons/${this.addon.type.replace('misc', 'integrations').replace('binding', 'bindings').replace('transformation', 'transformations')}` + `/${this.addon.id.split('-')[1]}` return url @@ -288,13 +287,12 @@ export default { processDescription () { if (!this.addon.description && this.addon.author === 'openHAB') { // assuming the add-on is an official one (distribution), try to fetch the documentation from GitHub - let docsBranch = 'final' - if (this.$store.state.runtimeInfo.buildString === 'Release Build') docsBranch = 'final-stable' + let docsBranch = 'final-3.4.x' let addonTypeFolder = '_addons_' + this.addon.type if (this.addon.type === 'misc') addonTypeFolder = '_addons_io' if (this.addon.type !== 'automation') addonTypeFolder += 's' let addonId = this.addon.id.split('-')[1] - let docUrl = (this.$store.state.runtimeInfo.buildString === 'Release Build') ? 'https://www.openhab.org' : 'https://next.openhab.org' + let docUrl = (this.$store.state.runtimeInfo.buildString === 'Release Build') ? 'https://v34.openhab.org' : 'https://next.openhab.org' docUrl += `/addons/${this.addon.type}/${addonId}` let docSrcUrl = `https://raw.githubusercontent.com/openhab/openhab-docs/${docsBranch}/${addonTypeFolder}/${addonId}` diff --git a/bundles/org.openhab.ui/web/src/pages/settings/rules/script/blockly-editor.vue b/bundles/org.openhab.ui/web/src/pages/settings/rules/script/blockly-editor.vue index 36f266d53..4fd4a4b90 100644 --- a/bundles/org.openhab.ui/web/src/pages/settings/rules/script/blockly-editor.vue +++ b/bundles/org.openhab.ui/web/src/pages/settings/rules/script/blockly-editor.vue @@ -231,7 +231,7 @@