Commit Graph

634 Commits (3.3.0.M6)

Author SHA1 Message Date
openhab-bot 228308910d Preparation for tag creation (Tag name: '3.3.0.M6'). 2022-06-05 17:51:52 +00:00
J-N-K f699f11dfc
Support formatting labels in charts in Basic UI (#1379)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-04 19:57:39 +02:00
Wouter Born cbf32cc069
Update bnd to 6.3.0 (#1403)
For release notes, see:

https://github.com/bndtools/bnd/wiki/Changes-in-6.3.0

Related to openhab/openhab-core#2991

Signed-off-by: Wouter Born <github@maindrain.net>
2022-06-04 11:54:05 +02:00
stefan-hoehn f1851e9be2
[blockly] add help button to OH docs, provide blockly source maps for debugging (#1401)
Signed-off-by: Stefan Höhn <stefan.hoehn@nfon.com>
2022-06-03 21:08:12 +02:00
Wouter Born a8d5c0ced5
Upgrade SAT to 0.13.0 (#1399)
See the [0.13.0](https://github.com/openhab/static-code-analysis/milestone/20?closed=1) milestone for all changes in this release.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-05-29 23:00:13 +02:00
Gautier c4493ee96e
Configuration options for location context labels in Equipment and Properties card of homepage tabs. (#1395)
Options available are the path in model (joining parents label), the parent label, the item name or nothing. The possibility to trim beginning or end of path is also configurable.
If nothing is selected, will display the footer defined in metadata (if any).

Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2022-05-29 20:42:30 +02:00
Gautier c8edabd586
Prevent some undesired 'NULL' labels in lists for un-typed Groups. (#1398)
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2022-05-29 20:06:53 +02:00
stefan-hoehn 75e69dc1bb
Blockly: add more datetime support, type-independent log block , CRLF block (#1382)
Expand openHAB toolbar category on desktops only.

Signed-off-by: Stefan Höhn <stefan.hoehn@nfon.com>
Also-by: Yannick Schaus <github@schaus.net>
2022-05-29 19:59:03 +02:00
Gautier 0e678f496e
Addition of page action configuration option to override vars in target page. (#1394)
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2022-05-20 23:43:51 +02:00
Gautier 49c2a9ad74
Fixes item value hidden for equipment accordion button (#1396)
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2022-05-20 23:40:56 +02:00
Gautier 7302a311a1
Canvas layout bug fixes and edition mode UI improvements (#1393)
Display of optional id in edition.
Display of size/position during resize/drag action.
Temporarily promote active item on top for clarity and to avoid having popup menu hidden by other items.
Fix bug where canvas items would snap to grid in run mode upon user interaction if grid is enabled.
Allow positioning widgets on the borders of canvas layouts.
Multiple canvas items selection and moving.
Selection using shift key, moving around via dragging or arrow keys.

Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2022-05-20 23:39:07 +02:00
Sami Salonen 3553ba7a82
add ignore commands checkbox to expire metadata config (#1388)
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-05-10 21:38:58 +02:00
Gautier 4375e05db0
Fixes the parsing of the model for Location cards following PR #1307. (#1385)
Changes the parsing of the model so that Equipment or Points that are respectively sub-Equipment or Part Of an Equipment while having a Location parent can be displayed in the relevant Location tab card.

Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2022-05-04 20:20:40 +02:00
Mark Herwege da8621c622
Add option to use the item's displayState in oh-input (#1350)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-05-01 00:21:54 +02:00
Łukasz Dywicki 17961655d2
Allow resource overrides for main UI (#1359)
Allows using a OSGi bundle fragment to put new/additional resources
(ex. patch/app/index.html, patch/app/css/xyz.css etc.) to override built-in resources
like CSS or the logo.
Closes #551.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
2022-04-30 16:50:05 +02:00
Gautier 26a535fd3b
New option to display equipment as accordion in Locations cards (#1307)
* New option to display equipment as accordion in Locations cards, with the possibility to promote the main item of the equipment (widgetOrder == 0) as the accordion opening item, while keeping the functionality of the control.

* Improvements to equipment display in model pages.
  - Removed duplicate filtering and sorting of model items (2-3 fold execution time reduction).
  - Factorized some equipment display code.
  - Renamed equipment options.
  - Implementation of accordion style for equipment in Equipment page.
  - Slots assigned to the custom list item widget are now copied to base widget so that accordion chevron and is displayed 
and open even works for custom widgets used as equipment accordion open button.
  - Detection of loop in semantic model to prevent stack overflow error and indicate correction path.

Signed-off-by: Gautier Taravella <tarag@mailbox.org>
Also-by: Yannick Schaus <github@schaus.net>
2022-04-30 16:32:44 +02:00
Wouter Born f7721e87bd
Upgrade to Karaf 4.3.7 (#1377)
Syncs the karaf.version so the new Maven plugin is used.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-28 22:01:19 +02:00
J-N-K b7500b5551
Add DateTimeTrigger in rules configuration (#1357)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-04-25 19:21:31 +02:00
J-N-K 7f1a547288
Add .gradle/ to .gitignore (#1356)
IntelliJ IDEA adds files in .gradle/. These should be ignored.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-04-22 10:51:51 +02:00
J-N-K d0b1a448e8
Upgrade Maven builds to Node.js v16 and npm v8 (#1353)
For Main UI & Basic UI, with appropriate changes for the latter.
Leaving HABot to current versions for now until the build is fixed.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-04-19 20:02:57 +02:00
Flole998 76c4dc9795
Use forceAsItem-option from sitemaps (#1256)
Depends-on: openhab/openhab-core#2657

Signed-off-by: Flole <flole@flole.de>
2022-04-19 19:57:09 +02:00
Holger Friedrich ea6726d724
UI: Thing configuration: Mask passwords in configuration read from files (#1342)
For things configured via configuration files, the UI now masks passwords
by default. The behavior is now similar to things created in
the UI: passwords are only displayed after a click on the icon.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-04-05 22:43:28 +02:00
eugen 6f383399a8
Add support for additional homekit accessories (#1347)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-04-05 21:12:25 +02:00
stefan-hoehn fbb9a7ff51
[blockly] change help urls to official OH blockly rules docs (#1337)
Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
2022-04-05 21:04:00 +02:00
Wouter Born 77872f281e
Remove HABot service configuration (#1345)
There is now a HABot service configuration entry without any configuration parameters because those got removed in #1031.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-26 20:30:29 +01:00
Yannick Schaus a181fbbb25
Fix incorrect parameter group definition (#1344)
Bug introduced in #1313 and breaking config sheets in various parts of the UI.

Fixes #1343.
Fixes  https://github.com/openhab/openhab-core/issues/2850.

Signed-off-by: Yannick Schaus <github@schaus.net>
2022-03-21 18:13:43 +01:00
Wouter Born 88b823e06e
Remove openhab-iconset-classic feature (#1340)
The bundle of this feature is now part of the openhab-runtime-ui feature.

See openhab/openhab-distro#1371

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-13 12:26:19 +01:00
Wouter Born 97f18398d3
Add GitHub Actions CI build (#1341)
* Add GHA CI build (Java 11/17)
* Add GHA build status badge
* Update required Java version range used by the enforcer plugin

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-13 12:25:22 +01:00
J-N-K 4727a76106
bump compiler tooling (#1339)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-03-12 21:45:37 +01:00
Gautier 9a19a2549f
Provide another configurable action on oh-label-card and oh-button components upon tap and hold (or contextual menu call on desktop). (#1313)
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2022-03-09 17:54:11 +01:00
Mark Herwege 06221ba59e
Add ignore state update checkbox to expire metadata config (#1325)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-03-08 19:09:45 +01:00
J-N-K b19c17c9f1
Add IntelliJ IDEA metadata directory to gitignore (#1329)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-03-08 19:00:23 +01:00
J-N-K 4b6f62d078
Add aggregation function for play/pause (#1335)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-03-08 18:59:29 +01:00
stefan-hoehn f2f7641913
[blockly] move all date blocks to own category, modify some documentation (#1321)
Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
2022-03-03 23:32:20 +01:00
eugen da7cfce772
[MainUI] New HomeKit group mapping editor (#1317)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-03-03 23:28:47 +01:00
dependabot[bot] e7da516b14
Bump follow-redirects in /bundles/org.openhab.ui/web (#1311)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.0 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.0...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 23:24:09 +01:00
dependabot[bot] 94e53c0583
Bump ajv from 6.8.1 to 6.12.6 in /bundles/org.openhab.ui/web (#1310)
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.8.1 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.8.1...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 23:23:32 +01:00
dependabot[bot] 675faee906
Bump handlebars from 4.3.3 to 4.7.7 in /bundles/org.openhab.ui/web (#1308)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.3.3 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.3.3...v4.7.7)

---
updated-dependencies:
- dependency-name: handlebars
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 23:22:56 +01:00
Jeremy b0e0e1ea07
Fix alexa cubic symbol uom (#1312)
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2022-03-03 23:22:23 +01:00
J-N-K c3d4743e45
Add ability to link Group items (#1330)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-03-03 23:21:44 +01:00
Ben Clark db49a0eca8
Use full list of item types for groups (#1128)
Signed-off-by: Ben Clark <ben@benjyc.uk>
2022-03-03 23:15:40 +01:00
Jeremy 80ecb997cf
Fix alexa toggle state attribute (#1328)
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2022-03-03 22:48:14 +01:00
dependabot[bot] 0da62ecd51
Bump lodash from 4.17.20 to 4.17.21 in /bundles/org.openhab.ui/web (#1267)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

---
updated-dependencies:
- dependency-name: lodash
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 22:19:45 +01:00
Wouter Born 8378aefe7e
Fix more SAT findings (#1318)
This fixes ~100 SAT findings. It also adds some more null annotations to the HABot classes.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-01 09:16:53 +01:00
Frank Seidinger 8b91b2336e
Extract first line from multi-line thing description for the ThingType list item (#1306)
Fixes #1304.

Signed-off-by: Frank Seidinger <fs@frank-seidinger.de>
2022-02-10 17:40:01 +01:00
Stewart Cossey 38358a703f
Floor plan features and bugfix (#1302)
* Add extra Leaflet Tooltip Settings
* Add direction, offset and opacity tooltip configuration.
* Adjustable tooltip colour
* Add icon rotation and iconStyle.
* tooltipStyle Bugfix (Marker code was checking for 'tooltipStyles' instead of 'tooltipStyle')

Closes #825.
Fixes #1301.

Signed-off-by: Stewart Cossey <stewart.cossey@gmail.com>
2022-02-06 18:25:57 +01:00
Georg Siebke 7648724497
Floorplan: Set tap option to false (#1297)
Fixes #389.
Fixes #1296.

Signed-off-by: Georg Siekbe <mail@georgsiebke.de>
2022-02-06 18:22:22 +01:00
Stewart Cossey 6e060228e1
Add tern definitions for event, items.getItems (#1292)
Added event terns for the Trigger Types for both nashorn and openhab-js.
Add groupNames to Item (openhab/openhab-js#86)
Add getItems

Signed-off-by: Stewart Cossey <stewart.cossey@gmail.com>
2022-01-31 14:00:57 +01:00
Gautier 39fa259590
oh-label-item: only show state in after slot if not defined with after prop (#1285)
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2022-01-24 17:35:40 +01:00
Gautier 79d0a8a844
Location sensitive model tab pages sorting (#1281)
- When sorting 2 locations (Locations tab), sorting is first performed according to the ancestors widgetOrder, so that locations within the same parent appear grouped according to the choice of the administrator, then use the widgetOrder among all locations of the same parent, before finally using lexicographical comparison.

- When sorting 2 equipment (Equipment tab) or 2 properties (Properties tab), sorting is performed according to the widgetOrder. If undefined (or equal), sorting is performed according to the location (taking into account all ancestors). then only if undefined does lexicographical comparison takes place.

Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2022-01-21 19:41:02 +01:00