Florian Hotze
c9f2a4effd
Downgrade vue-fragment as the upgrade broke oh-repeater in some circumstances ( #2514 )
...
When we upgrade to Vue 3, we can remove this dependency as Vue 3 has
this functionality integrated, see
https://api.vueframework.com/guide/migration/fragments.html .
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-30 22:00:58 +01:00
Florian Hotze
57025c3832
Chart calendar axis: Don't override user-defined dayLabel and monthName settins ( #2513 )
...
This e.g. allows to set dayLabel.nameMap
(https://echarts.apache.org/en/option.html#calendar.dayLabel.nameMap ).
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-30 19:58:02 +01:00
Florian Hotze
673ef9b1ca
Things (inbox) list: Improve condition for reversed checkbox style ( #2512 )
...
Follow-up for #2472 .
Improve the condition to only show the reversed order where really
required.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-30 12:58:02 +01:00
Florian Hotze
2539d6dcf3
Analyzer: Fix analyzer not initially visible on iOS 17.4 ( #2511 )
...
When the analyzer was opened on iOS/iPadOS 17.4 devices, the screen stayed blank until the controls were opened.
ECharts logged the following warning to the console:
[ECharts] Can't get DOM width or height.Please check dom.clientWidth and dom.clientHeight.
They should not be 0.For example, you may need to call this in the callback of window.onload.
Reported on the community:
https://community.openhab.org/t/openhab-4-1-release-discussion/152252/188?u=florian-h05 .
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-29 17:24:03 +01:00
Florian Hotze
4d5a4a4a81
Downgrade pkce-challenge to fix authentication for insecure (HTTP) contexts ( #2510 )
...
Regression from #2488 .
Version 4.x of pkce-challenge uses the Web Crypto API, which is only
available in secure contexts (https) in most browsers.
This broke the login when accessing the UI over an insecure (plain HTTP)
connection.
See https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API .
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-29 14:52:40 +01:00
openhab-bot
01203e1c61
New Crowdin updates ( #2494 )
2024-03-29 11:11:32 +01:00
dependabot[bot]
85d3e477fd
Bump express from 4.18.2 to 4.19.2 in /bundles/org.openhab.ui/web ( #2507 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.2 to 4.19.2.
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-29 11:10:52 +01:00
Florian Hotze
5507555908
Charts config: Add gauge and pie chart types ( #2509 )
...
Those are imported in
974e28e9ba/bundles/org.openhab.ui/web/src/components/widgets/system/oh-chart-component.vue (L47)
and should therefore work.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-27 10:01:12 +01:00
Florian Hotze
974e28e9ba
Script edit: Fix dirty handling ( #2508 )
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-26 12:12:23 +01:00
Florian Hotze
ea59ce14e2
Upgrade Framework7 to latest v5 version ( #2506 )
...
Framework7 v6 requires Vue 3, so we need to upgrade to Vue 3 as well
when upgrading to Framework7 v6.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-26 02:20:45 +01:00
Florian Hotze
72f53e6ff8
Rule edit: Fix rule module title and description regression ( #2505 )
...
Fixes regression from #2471 .
See https://github.com/openhab/openhab-webui/pull/2471#discussion_r1538237708 .
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-26 02:08:33 +01:00
Florian Hotze
abdffc62d2
Make marked and diacritic dependencies and not dev dependencies ( #2504 )
...
They are actual dependencies for Main UI's code, therefore they should
not be dev but main dependencies.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-25 16:35:04 +01:00
Florian Hotze
576142fe0a
Upgrade dev dependencies ( #2503 )
...
This upgrades most dev dependencies to their latest (compatible) version.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-25 16:23:34 +01:00
Florian Hotze
aa7543ffb5
Things list: Fix location tab ( #2501 )
...
Regression from #2499 .
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-25 14:05:33 +01:00
stefan-hoehn
e5749f6fd6
[blockly] Fix multilineedit rendering issue ( #2496 )
...
Fixes the the dreaded blockly multilineedit rendering issue.
More info can be found at: https://github.com/google/blockly-samples/issues/2235
The solution is to make sure that the hidden textarea style neither has a background of none or transparent.
---------
Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>
2024-03-25 13:52:20 +01:00
Florian Hotze
577568d167
Sitemap edit: Fix attribute-details styling applies globally ( #2500 )
...
Fixes #2456 .
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-24 23:48:39 +01:00
Florian Hotze
6ed3683cd4
Things list: Only show "no location" optionally for sort-by location ( #2499 )
...
Closes #2486 .
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-24 23:15:38 +01:00
Florian Hotze
3a37d014dd
Rule edit: Always create script field for script action/condition ( #2497 )
...
Fixes #2461 .
Depends on https://github.com/openhab/openhab-core/pull/4148 .
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-24 22:31:26 +01:00
Florian Hotze
b876572de2
Fix deprecation warning in unit test ( #2498 )
...
See
https://v1.test-utils.vuejs.org/api/wrapper/isvueinstance.html#isvueinstance .
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-24 22:30:20 +01:00
dependabot[bot]
f2f9f58146
Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /bundles/org.openhab.ui/web ( #2493 )
...
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware ) from 5.3.3 to 5.3.4.
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-24 21:50:48 +01:00
jimtng
6b321a766a
Item edit: Validate name on load ( #2495 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-03-24 21:32:56 +01:00
stefan-hoehn
32b8b88e47
[blockly] Fix missing event property causes JS error ( #2476 )
...
See https://community.openhab.org/t/blockly-proposal-to-change-contextual-info-blocks/154403/27 .
Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>
2024-03-24 21:26:48 +01:00
Florian Hotze
a81bb0dd3a
GHA Main UI checks: Run unit tests ( #2491 )
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-23 10:00:44 +01:00
jimtng
1bebae32ea
Link channel to Item: Include error message on name validation failure ( #2487 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-03-21 19:43:54 +01:00
Mark Herwege
162cc1ada4
Fix webpack asset filename ( #2484 )
...
Resolves https://github.com/openhab/openhab-webui/issues/2483
The webpack [ext] template string already includes a leading . (see https://webpack.js.org/configuration/output/#template-strings ).
This PR removes the the extra dot that was added.
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2024-03-21 19:17:50 +01:00
Florian Hotze
8bb84162ad
Upgrade & Clean-up webpack loaders ( #2490 )
...
Updates webpack loaders and removes `vue-style-loader` as it is not used.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 19:16:30 +01:00
Florian Hotze
70b2df201b
Upgrade Vue from 2.6.12 to 2.7.16 ( #2489 )
...
Also upgrade unit test dependencies and unit test and and ESLint config
See https://v2.vuejs.org/v2/guide/migration-vue-2-7 for Vue migration guide.
See https://github.com/vuejs/vue-test-utils/ and https://github.com/vuejs/vue-jest for unit tests.
See https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.0.0 for ESLint rule changes.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 18:59:22 +01:00
Florian Hotze
577d6ed842
Upgrade vuex
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 17:24:54 +01:00
Florian Hotze
d5a510e8fe
Upgrade yaml
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 17:24:54 +01:00
Florian Hotze
77901b425a
Upgrade vue-i18n & Silence translation fallback warnings
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 17:24:54 +01:00
Florian Hotze
8e9acce538
Upgrade vue-grid-layout
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 17:24:54 +01:00
Florian Hotze
5752856c7d
Upgrade vue-fullscreen
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 17:24:54 +01:00
Florian Hotze
29f3c1be00
Upgrade vue-fragment
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 17:24:54 +01:00
Florian Hotze
e39d476655
Upgrade tern
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 17:24:54 +01:00
Florian Hotze
12546605be
Remove sprintf-js
...
This dependency was not used and hence can be removed.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 17:24:54 +01:00
Florian Hotze
6e3d483f9d
Upgrade qrcode
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 17:24:54 +01:00
Florian Hotze
7d35ec8d92
Upgrade pkce-challenge
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 17:24:54 +01:00
Florian Hotze
bcdab18cae
Upgrade moo & nearley
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 17:24:54 +01:00
Florian Hotze
9a4d454943
Upgrade lodash
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 17:24:54 +01:00
Florian Hotze
e494e9ec68
Upgrade leaflet
...
Map and floor-plan pages were tested and are still working.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 17:24:54 +01:00
Florian Hotze
1694973960
Upgrade jssip
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 17:24:54 +01:00
Florian Hotze
14854e03b7
Upgrade dayjs
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 17:24:54 +01:00
Florian Hotze
afaa80b182
Upgrade cronstrue
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 17:24:54 +01:00
Florian Hotze
52cb6ff142
Upgrade jse-eval with plugins
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-21 17:24:54 +01:00
dependabot[bot]
67163b0423
Bump follow-redirects from 1.15.5 to 1.15.6 in /bundles/org.openhab.ui/web ( #2477 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.5 to 1.15.6.
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 20:02:06 +01:00
Arne Seime
f784419eb5
Only load ignored inbox items in inbox view ( #2400 )
...
Depends on https://github.com/openhab/openhab-core/pull/4108 .
In most places, the inbox content is loaded only to show a count of items in inbox.
For any decent size systems the inbox may contain hundreds of entries that are ignored,
which equates to lots of unnecessary data being transferred and processed in the browser.
---------
Signed-off-by: Arne Seime <arne.seime@gmail.com>
2024-03-18 19:57:09 +01:00
openhab-bot
970afa0b58
New Crowdin updates ( #2479 )
2024-03-18 19:46:23 +01:00
Holger Friedrich
912f8645e7
Upgrade to Karaf 4.4.5 ( #2458 )
...
For release notes, see:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12353604&projectId=12311140
Refs: openhab/openhab-core#4133
---------
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-03-18 15:32:11 +01:00
lolodomo
1613dfd236
[BasicUI] Create header row only when needed ( #2344 )
...
For buttongrid/mapview/video/webview elements, avoids generating HTML
code for header row when it is hidden.
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-03-17 20:34:21 +01:00
Florian Hotze
021c3d8a43
Upgrade echarts and vue-echarts & Add fallback for visualMap when using heatmap ( #2450 )
...
This upgrades `echarts` and `vue-echarts` to the latest versions.
`@vue/composition-api` was added as dependency because `vue-echarts`
needs it on Vue 2.
See
https://echarts.apache.org/handbook/en/basics/release-note/v5-upgrade-guide/
and https://github.com/ecomfe/vue-echarts#migration-to-v6 for upgrade
guides.
This also adds a fallback default for `visualMap` because it is required
to define a `visualMap` when using a heatmap, otherwise echarts fails to
render the chart.
Even though the docs and the chart-designer mentioned this until now, it
worked without defining a visualmap, which would not be the case anymore
(and therefore break charts - defining a visual map is easy though)
without providing a fallback.
---------
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-14 20:56:29 +01:00