Commit Graph

401 Commits (184c6dab2f374b8a2107677c9d996eb028775f9c)

Author SHA1 Message Date
Yannick Schaus 60e35a118d
Autofocus most searchbars on desktop (#799)
Focuses searchbars on most dialog boxes
and pages when in desktop mode.
Closes #677.

Fixes searching on new thing type selection screen.
Fixes #683.

Partial styling fix for dark mode w/ filled bars, fixes #780.

Disable smart select popup animations when page transitions
are disabled.

Signed-off-by: Yannick Schaus <github@schaus.net>
2021-01-13 20:24:18 +01:00
Wouter Born e270d759ca
Update bnd to 5.2.0 (#790)
See: https://github.com/bndtools/bnd/wiki/Changes-in-5.2.0

Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-13 09:08:00 +01:00
dependabot[bot] 33365e1681
Bump axios from 0.18.1 to 0.21.1 in /bundles/org.openhab.ui.habot/web (#761)
Bumps [axios](https://github.com/axios/axios) from 0.18.1 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.18.1...v0.21.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-13 09:07:08 +01:00
bigbasec 9f2bcd9241
Adding validation on channel id when adding a channel (#795)
Signed-off-by: Brian Homeyer <bhomeyer@gmail.com>
2021-01-13 08:58:18 +01:00
openhab-bot dec6a7df57
New Crowdin updates (#679)
Incl. 3 new complete translations in:
- Greek
- Hebrew
- Portuguese

Partial translation in:
- Slovak

Fixes for:
- Hungarian
- Ukrainian
2021-01-11 12:27:18 +01:00
Yannick Schaus 0c915431ec
Fix personal widget ordering (again) (#787)
Fixes #766 (second attempt).

Signed-off-by: Yannick Schaus <github@schaus.net>
2021-01-11 12:15:51 +01:00
Jerome Luckenbach 0f5f995686
[Basic UI] Remove Paper UI reference in readme, fix Markdown (#782)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2021-01-10 01:28:02 +01:00
Yannick Schaus 6048cf9f63
Invoke the script editor directly for file-provisioned rules (#776)
Add comments on top of the script describing the triggers.
Fixes #697.

Add syntax highlighting for:
- Python scripts (application/python);
- Ruby scripts (application/x-ruby - upcoming script engine);
- Floor plan page YAML (application/vnd.openhab.uicomponent+yaml;type=plan)

Signed-off-by: Yannick Schaus <github@schaus.net>
2021-01-10 01:26:49 +01:00
Dan Cunningham 22ac54d5a2
Adds refresh interval for images (#778)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-01-10 01:26:09 +01:00
Yannick Schaus 874af99e4d
Inbox: Fix error when deleting, add ability to set custom ID (#775)
Fixes #744.
Closes #474.

Signed-off-by: Yannick Schaus <github@schaus.net>
2021-01-08 21:49:01 +01:00
GiviMAD 6026e9380e
Show correct alexa metadata categories for group items (#767)
Signed-off-by: Miguel <miguelwork92@gmail.com>
2021-01-08 18:17:52 +01:00
Yannick Schaus 60063d2a77
Don't show edit/save buttons in model if item is not editable (#774)
Fixes #694.

Signed-off-by: Yannick Schaus <github@schaus.net>
2021-01-08 16:51:46 +01:00
Yannick Schaus 266f5e56cf
Only show list indexes on mobile devices (#773)
Remove list index in binding selection.

Fixes #755.
Fixes #752.
Fixes #704.

Signed-off-by: Yannick Schaus <github@schaus.net>
2021-01-08 16:51:15 +01:00
Yannick Schaus 4fde77e6ec
Consider alarms part of equipment in location glance badges (#772)
Fixes #708.

Signed-off-by: Yannick Schaus <github@schaus.net>
2021-01-08 16:50:44 +01:00
Yannick Schaus d6ef512968
Consider blinds open when state is ON or 0 in blinds glance (#771)
Fixes #747.
Fixes #746.

Signed-off-by: Yannick Schaus <github@schaus.net>
2021-01-08 16:50:25 +01:00
Yannick Schaus e0cff13aed
Fix measurement badges display condition (#770)
Fixes #750.

Signed-off-by: Yannick Schaus <github@schaus.net>
2021-01-08 16:50:06 +01:00
Yannick Schaus e510e6f07b
Fallback to UIDs if things have no label during sorting (#769)
Fixes #762.
(but there is probably also an issue in the core
that strips the labels sometimes).

Signed-off-by: Yannick Schaus <github@schaus.net>
2021-01-08 16:49:47 +01:00
Yannick Schaus e2bdd81484
Fix personal widgets ordering (#768)
Fixes #766.

Signed-off-by: Yannick Schaus <github@schaus.net>
2021-01-08 16:49:23 +01:00
Garth Bushell 813aa25256
Take all door subclasses in door location glance badge (#727)
(except GarageDoor which has its own badge)

Signed-off-by: Garth Bushell <garth@garthy.com>
2021-01-03 20:52:58 +01:00
Holger Hees e8450799d7
[habpanel] Remove ItemStateEvent detection (#737)
Signed-off-by: Holger Hees <holger.hees@gmail.com>
2021-01-03 20:51:03 +01:00
Wouter Born abcc52e7cc
Update license headers to 2021 (#739)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-02 00:00:39 +01:00
Eiko Wagenknecht 771bdf4979
Fix #714 - Sort popup dialogs by name and jump to selected item on open (#724)
Signed-off-by: Eiko Wagenknecht <eiko.wagenknecht@web.de>
2020-12-31 18:15:44 +01:00
Eiko Wagenknecht 70b423d408
Fix #538 - Do not concatenate search for items (#726)
Remove misleading code - searchIn parameter is not parsed for virtual lists

Signed-off-by: Eiko Wagenknecht <eiko.wagenknecht@web.de>
2020-12-31 18:13:59 +01:00
Eiko Wagenknecht 7d6579a622
Fix #722 - Show current GA metadata when editing (#723)
Signed-off-by: Eiko Wagenknecht <eiko.wagenknecht@web.de>
2020-12-29 15:43:13 +01:00
Eiko Wagenknecht 77106ab53a
Fix #720 - Fix various problems with google assistant metadata UI (#721)
Signed-off-by: Eiko Wagenknecht <eiko.wagenknecht@web.de>
2020-12-29 15:32:50 +01:00
Eiko Wagenknecht cd96fc3eff
Fix #684 - Allow diacritics in search bars (#718)
Signed-off-by: Eiko Wagenknecht <eiko.wagenknecht@web.de>
2020-12-28 18:33:13 +01:00
Dan Cunningham 292f8341e8
CSP: allow blob: URLs (#698)
Needed in the somes for video streams in the video card. 

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2020-12-27 12:37:09 +01:00
Wouter Born a06a3371e8
Apply Spotless (#680)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-22 13:06:53 +01:00
jenkins 8c0a5c1639 [unleash-maven-plugin] Preparation for next development cycle. 2020-12-21 13:06:46 +00:00
Yannick Schaus f9a834bd36
Fix website link in setup wizard
Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-20 15:13:12 +01:00
Yannick Schaus d7976dc210
Rules: add item state update to action module wizard (#675)
Depends on https://github.com/openhab/openhab-core/pull/1970.

Also:
- Add abiilty to create a Blockly script directly.

- Only update statuses that changed in the rules list (might help with #673 and similar to #466/#439).

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-20 14:51:54 +01:00
hubsif 5fde929035
Add a digital clock card widget to the standard library (#670)
Closes #669.

Also-by: Yannick Schaus <github@schaus.net>
Signed-off-by: Hubert Nusser<hubsif@gmx.de>
2020-12-20 14:50:34 +01:00
Yannick Schaus 1c41a91bb1
Clean up debugging console log messages (#676)
Remove most of the debug logging in the Javascript console,
or adjust the log levels.

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-20 14:25:55 +01:00
openhab-bot 1392a98658
New Crowdin updates (#664)
* New translations en.json (Ukrainian)

* New translations en.json (Ukrainian)

* New translations en.json (French)

* New translations en.json (German)

* New translations en.json (German)

* New translations en.json (German)
2020-12-20 13:41:16 +01:00
Yannick Schaus 9c9c8bfa8e
[Items grammar] Accept all types as base types for groups (#659)
Fixes #616.

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-17 19:22:59 +01:00
Yannick Schaus 36ba1a555f
Improve item name generation from channel (#660)
Fixes #549 (hopefully for good this time?).

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-17 19:22:43 +01:00
Yannick Schaus e037b6d49a
Add web frame widget (#661)
Allows to put a webpage in an iframe.

Requested in https://community.openhab.org/t/oh3-show-html-content-in-an-custom-widget-iframe/110417.

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-17 19:22:29 +01:00
openhab-bot dd77a171f8
New Crowdin updates (#642)
* New translations en.json (Russian)

* New translations en.json (Russian)

* New translations en.json (Hebrew)

* New translations en.json (Greek)

* New translations en.json (Greek)

* New translations en.json (Greek)

* New translations en.json (Hebrew)

* New translations en.json (Greek)

* New translations en.json (Czech)

* New translations en.json (Czech)

* New translations en.json (Slovenian)

* New translations en.json (Slovenian)

* New translations en.json (Slovenian)

* New translations en.json (Slovenian)

* New translations en.json (Slovenian)

* New translations en.json (Slovenian)

* New translations en.json (Slovenian)

* New translations en.json (Slovenian)

* New translations en.json (Slovenian)

* New translations en.json (Hebrew)

* New translations en.json (Hebrew)

* New translations en.json (Hebrew)

* New translations en.json (Czech)

* New translations en.json (Czech)

* New translations en.json (Czech)

* New translations en.json (French)

* New translations en.json (Czech)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Hungarian)

* New translations en.json (Greek)
2020-12-17 19:22:16 +01:00
Gautier d8ef369895
New Video Card widget (#648)
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2020-12-17 19:04:32 +01:00
Jerome Luckenbach f91906bfb1
openHAB 3 Docs preparation - Remove ESH references (#641)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2020-12-17 16:51:24 +01:00
Yannick Schaus f7a8579753
Wrong operator precedence in number parameter step (#658)
Fixes #643.

Validate numbers on blur only
Allows to input "-" temporarily, fixes #519.
Don't show the clear button (it gets over the stepper arrows on some browsers).

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-17 16:49:37 +01:00
Yannick Schaus baf0f31f5c
Refresh overview page key when going back to home (#657)
Fixes #518 (and possibly other problems).

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-17 16:48:45 +01:00
Yannick Schaus 55068a68b1
Corrects deviations from spec in glance badges (#656)
Display lock icon if there are locks, whatever their state,
according to the spec in #556. Fixes #651.

Add missing alarms (not in the title like #556 but in
the glance area.

Don't consider non-finite values when computing measurement averages. Fixes #650.

Change styles of setpoint badge. Fixes #649.

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-17 16:48:26 +01:00
Yannick Schaus 2bbd5243ad
Disable slider in item action module wizard (#655)
The rule designer's new action module wizard
has a slider to help set the command for dimmers,
rollershutters & numbers but it doesn't work well
and prevents the input of command values
outside the range, which might prove problematic
(in particular there's no way anymore to set a
rollershutter item to UP/DOWN/STOP...).
So disable it for now.

Also fix bugs with the "thing" trigger wizard.

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-17 16:47:54 +01:00
Yannick Schaus 1b15ea44f7
Change links to docs to redirects (#654)
Change links to the docs throughout the app
to short redirect links so they can change and
be updated without updating the code.

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-17 16:47:35 +01:00
Yannick Schaus 99292f2456
Photo browser action: allow to parse the array of photos (#653)
Fix bug that detects a JSON object instead of
an array.

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-17 16:47:14 +01:00
Yannick Schaus bf44997fe4
Add keys to location control to prevent component reuse (#652)
Fixes #569.
Fixes #568. (probably)

Add some margins.

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-17 16:46:55 +01:00
Yannick Schaus 1286896056
Avoid the colorpicker entering endless loops (#644)
As reported in https://community.openhab.org/t/wiki-building-pages-in-the-oh3-ui-documentation-draft-1-3/104382/58
Sometimes the colorpicker enter infinite loops
sending the same command endlessly, due to
either rounding errors in the HSB components
or other causes.

These fixes should make it better and avoid
these situations.

Add a key to the widget preview in the model
details to avoid reusing widgets when the
configuration differs.

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-17 16:46:41 +01:00
Yannick Schaus e16bf67a3e
Fix startlevel parameter casing (#638)
Replace hardcoded startlevels with module config sheet

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-14 11:54:29 +01:00
Yannick Schaus e6d81d5a38
Use summary=true for lists & counters (#640)
Use the summary option added to some API resources in
https://github.com/openhab/openhab-core/pull/1827
when displaying counters or lists that don't
need the entire object.

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-14 11:49:05 +01:00